Date: Fri, 3 Aug 2018 11:32:24 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: Emmanuel Vadot <manu@bidouilliste.com> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: booting current from nano-neo/allwinner now failes Message-ID: <E11A8270-1B4D-4BEC-B42F-F0D53E99CB8F@cs.huji.ac.il> In-Reply-To: <0842173A-A76E-48D7-9B46-3419F5CAB70C@cs.huji.ac.il> References: <F926A7B8-F908-449C-9563-61CEB4C2CBAF@cs.huji.ac.il> <20180802204537.26af888414c4561b624fafd3@bidouilliste.com> <B1A10EF9-C683-4EDA-8327-76B4DB7C6151@cs.huji.ac.il> <20180803074355.cc6feef658039a899aff1841@bidouilliste.com> <0842173A-A76E-48D7-9B46-3419F5CAB70C@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
some time later - actually several hours - I made a new image and - using latest ubldr and with boot.scr I think my problem is the sd image, it doesn=E2=80=99t like my MBR = because as=20 opposed to you I get: =E2=80=A6 Probing all disk devices=E2=80=A6 Checking unit=3D0 slice=3D<auto> partition=3D<auto>=E2=80=A6 as opposed tour case where after the =E2=80=A6 you get good. - so switching to EFI it get stuck: U-Boot SPL 2018.07 (Aug 01 2018 - 17:37:02 +0300) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2018.07 (Aug 01 2018 - 17:37:02 +0300) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO DRAM: 512 MiB MMC: SUNXI SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default = environment Failed (-5) In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0=20 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found EFI removable media binary efi/boot/bootarm.efi libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disks on usb... Disk usb0 not ready Disk usb1 not ready Disk usb2 not ready Disk usb3 not ready Scanning disks on mmc... MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Found 3 disks 493860 bytes read in 25 ms (18.8 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC ## Starting EFI application at 42000000 ... Consoles: EFI console =20 FreeBSD/arm EFI loader, Revision 1.1 (Fri Aug 3 10:00:59 IDT 2018 danny@pe-44) Command line arguments: l EFI version: 2.70 EFI Firmware: Das U-Boot (rev 0.00) Console: efi (0) Load Path: /\efi\boot\bootarm.efi Load Device: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/USB(0x6,0x0)/HD(1,0x01,0,0xc0= f,0x1ffe0) Trying ESP: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/USB(0x6,0x0)/HD(1,0x01,0,0xc0= f,0x1ffe0) Setting currdev to disk0p1: Trying: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/USB(0x6,0x0)/HD(2,0x01,0,0x20= c2e,0x3df3c2) Setting currdev to disk0p2: ubenv not found Loading /boot/defaults/loader.conf /boot/kernel/kernel text=3D0x6cf66c data=3D0x68938+0x4f048 = syms=3D[0x4+0x807e0+0x4+0xd2a75] efi-autoresizecons: Neither Graphics Output Protocol nor Universal = Graphics Adapter present Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Using DTB provided by EFI at 0x47ffb000. EHCI failed to shut down host controller. Kernel entry at 0x53000180... Kernel args: (null) modulep: 0xc08e1000 relocation_offset 0 I will now try to build a new MBR/image =E2=80=A6 cheers, danny > On 3 Aug 2018, at 09:08, Daniel Braniss <danny@cs.huji.ac.il> wrote: >=20 >=20 >=20 >> On 3 Aug 2018, at 08:43, Emmanuel Vadot <manu@bidouilliste.com> = wrote: >>=20 >> On Fri, 3 Aug 2018 08:16:06 +0300 >> Daniel Braniss <danny@cs.huji.ac.il <mailto:danny@cs.huji.ac.il>> = wrote: >>=20 >>>=20 >>>=20 >>>> On 2 Aug 2018, at 21:45, Emmanuel Vadot <manu@bidouilliste.com> = wrote >>> ... >>>> Did you also update ubldr.bin ? (not just ubldr) >>> I did, and it went straight to net boot, and failed. >>>=20 >>> ... >>>>=20 >>>> Also please consider switching to efi boot, just deleting boot.scr = and >>>> copying loader.efi as EFI/BOOT/bootarm.efi is enough. >>>=20 >>> no problem, i?ll try ASAP. >>> Q: this to the FAT partition? >>>=20 >>> my fat did not have the boot.scr, adding it did not change things >>=20 >> Based on your first mail you did have it >=20 > I was trying to answer too many questions with a one liner :-) > I first tried booting an old sd image with latest current but old = u-boot, old FAT stuff, and got stuck. > I then upgraded the u-boot, got different results=20 > then upgraded ubldr[.bin] > different results but no success, adding the boot.scr didn=E2=80=99t = seem to make a=20 > difference. > In any case I will try efi boot ASAP with latest ubldr. >=20 >=20 >>=20 >>> BTW, iboot.scr has some binary stuff, is that ok? >>=20 >> yes it's supposed to be a binary file. >>=20 >>>=20 >>> thanks, >>> danny >>>=20 >>>>=20 >>>>> in any case I would like to help but things are getting too = complicated :-) >>>>>=20 >>>>>=20 >>>>> thanks, >>>>> danny >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> _______________________________________________ >>>>> freebsd-arm@freebsd.org <mailto:freebsd-arm@freebsd.org> mailing = list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm = <https://lists.freebsd.org/mailman/listinfo/freebsd-arm> >>>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org = <mailto:freebsd-arm-unsubscribe@freebsd.org>" >>>>=20 >>>>=20 >>>> --=20 >>>> Emmanuel Vadot <manu@bidouilliste.com = <mailto:manu@bidouilliste.com>> <manu@freebsd.org = <mailto:manu@freebsd.org>> >>>=20 >>=20 >>=20 >> --=20 >> Emmanuel Vadot <manu@bidouilliste.com <mailto:manu@bidouilliste.com>> = <manu@freebsd.org <mailto:manu@freebsd.org>> >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11A8270-1B4D-4BEC-B42F-F0D53E99CB8F>