u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07
Emmanuel Vadot
manu at bidouilliste.com
Sat Oct 26 17:50:44 UTC 2019
On Sat, 26 Oct 2019 13:30:46 -0400
Gary Otten <gdotten at gmail.com> wrote:
> I placed the file loader.efi in the /efi/boot/ directory , uboot didn't
> appear to find it. I also renamed loader.efi to bootaa64.efi. Results
> for both attempts are below.
>
> loader.efi placed in /efi/boot/
> ***************************************************************
> U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400)
> DRAM: 1024 MiB
> Trying to boot from MMC1
> NOTICE: BL31: v2.1(release):
> NOTICE: BL31: Built : 10:11:05, Oct 20 2019
> NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
> NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino
> NOTICE: BL31: PMIC: Detected AXP803 on RSB.
>
>
> U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology
>
> CPU: Allwinner A64 (SUN50I)
> Model: Olimex A64-Olinuxino
> DRAM: 1 GiB
> MMC: mmc at 1c0f000: 0, mmc at 1c10000: 1
> Loading Environment from FAT... Card did not respond to voltage select!
> In: serial
> Out: serial
> Err: serial
> Net: phy interface7
> eth0: ethernet at 1c30000
> starting USB...
> Bus usb at 1c1a000: USB EHCI 1.00
> Bus usb at 1c1a400: USB OHCI 1.0
> Bus usb at 1c1b000: USB EHCI 1.00
> Bus usb at 1c1b400: USB OHCI 1.0
> scanning bus usb at 1c1a000 for devices... 1 USB Device(s) found
> scanning bus usb at 1c1a400 for devices... 1 USB Device(s) found
> scanning bus usb at 1c1b000 for devices... 1 USB Device(s) found
> scanning bus usb at 1c1b400 for devices... 1 USB Device(s) found
> scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> 32443 bytes read in 8 ms (3.9 MiB/s)
> Card did not respond to voltage select!
>
> Device 0: unknown device
> ethernet at 1c30000 Waiting for PHY auto negotiation to complete.........
> TIMEOUT !
> BOOTP broadcast 1
>
>
>
> I renamed loader.efi to bootaa64.efi, the result is below placed in
> /efi/boot/
> **********************************************************************
>
> U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400)
> DRAM: 1024 MiB
> Trying to boot from MMC1
> NOTICE: BL31: v2.1(release):
> NOTICE: BL31: Built : 10:11:05, Oct 20 2019
> NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
> NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino
> NOTICE: BL31: PMIC: Detected AXP803 on RSB.
>
>
> U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology
>
> CPU: Allwinner A64 (SUN50I)
> Model: Olimex A64-Olinuxino
> DRAM: 1 GiB
> MMC: mmc at 1c0f000: 0, mmc at 1c10000: 1
> Loading Environment from FAT... Card did not respond to voltage select!
> In: serial
> Out: serial
> Err: serial
> Net: phy interface7
> eth0: ethernet at 1c30000
> starting USB...
> Bus usb at 1c1a000: USB EHCI 1.00
> Bus usb at 1c1a400: USB OHCI 1.0
> Bus usb at 1c1b000: USB EHCI 1.00
> Bus usb at 1c1b400: USB OHCI 1.0
> scanning bus usb at 1c1a000 for devices... 1 USB Device(s) found
> scanning bus usb at 1c1a400 for devices... 1 USB Device(s) found
> scanning bus usb at 1c1b000 for devices... 1 USB Device(s) found
> scanning bus usb at 1c1b400 for devices... 1 USB Device(s) found
> scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> 32443 bytes read in 8 ms (3.9 MiB/s)
> Found EFI removable media binary efi/boot/bootaa64.efi
> Scanning disk mmc at 1c0f000.blk...
> Card did not respond to voltage select!
> Scanning disk mmc at 1c10000.blk...
> Disk mmc at 1c10000.blk not ready
> Found 3 disks
> BootOrder not defined
> EFI boot manager: Cannot load any image
> 607648 bytes read in 34 ms (17 MiB/s)
> Consoles: EFI console
> efipart_readwrite: rw=1, blk=0 size=1 status=2
> efipart_readwrite: rw=1, blk=64 size=1 status=2
> efipart_readwrite: rw=1, blk=1 size=1 status=2
> efipart_readwrite: rw=1, blk=30375936 size=1 status=2
> efipart_readwrite: rw=1, blk=0 size=1 status=2
> efipart_readwrite: rw=1, blk=64 size=1 status=2
> efipart_readwrite: rw=1, blk=1 size=1 status=2
> efipart_readwrite: rw=1, blk=30375936 size=1 status=2
> FreeBSD/arm64 EFI loader, Revision 1.1
>
> Command line arguments: loader.efi
> EFI version: 2.80
> EFI Firmware: Das U-Boot (rev 8217.4096)
> Console: efi (0)
> Load Path: /efi\boot\bootaa64.efi
> Load Device:
> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000)
> Trying ESP:
> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000)
> Setting currdev to disk0p1:
> efipart_readwrite: rw=1, blk=0 size=1 status=2
> efipart_readwrite: rw=1, blk=64 size=1 status=2
> efipart_readwrite: rw=1, blk=1 size=1 status=2
> efipart_readwrite: rw=1, blk=30375936 size=1 status=2
> efipart_readwrite: rw=1, blk=0 size=1 status=2
> efipart_readwrite: rw=1, blk=64 size=1 status=2
> efipart_readwrite: rw=1, blk=1 size=1 status=2
> efipart_readwrite: rw=1, blk=30375936 size=1 status=2
> Trying:
> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x64800,0x1c93800)
> Setting currdev to disk0p2:
> efipart_readwrite: rw=1, blk=0 size=1 status=2
> efipart_readwrite: rw=1, blk=64 size=1 status=2
> efipart_readwrite: rw=1, blk=1 size=1 status=2
> efipart_readwrite: rw=1, blk=30375936 size=1 status=2
> efipart_readwrite: rw=1, blk=0 size=1 status=2
> efipart_readwrite: rw=1, blk=64 size=1 status=2
> efipart_readwrite: rw=1, blk=1 size=1 status=2
> efipart_readwrite: rw=1, blk=30375936 size=1 status=2
> Failed to find bootable partition
> ## Application terminated, r = 14 in 1 seconds
> EFI LOAD FAILED: continuing...
> Card did not respond to voltage select!
>
> Device 0: unknown device
> ethernet at 1c30000 Waiting for PHY auto negotiation to complete.......
When was this loader.efi built ?
All the needed commits have made the 12-stable and 12.1 branch so you
shouldn't have this problem.
> On Fri, Oct 25, 2019 at 4:18 AM Emmanuel Vadot <manu at bidouilliste.com>
> wrote:
>
> >
> > Hi Gary,
> >
> > On Thu, 24 Oct 2019 19:37:48 -0400
> > Gary Otten <gdotten at gmail.com> wrote:
> >
> > > The 2019.10 u-boot I compiled with with the a64-olinuxino_defconfig
> > > configuration doesn't find the UFS partition the old one 2019.07 that is
> > in
> > > the ports pre-compiled does. Is there a configuration setting that I
> > must
> > > set before compiling? Or did I overlook something else? Is my SD card
> > > layout appropriate, or causing the problem?
> > >
> > >
> > ***********************************************************************************
> > > U-Boot SPL 2019.07 (from the pre-made package) (this works)
> > > (partial bootup txt)
> > >
> > > Initializing modules: ZFS UFS
> > > Load Path: /efi\boot\bootaa64.efi
> > > Load Device:
> > >
> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000)
> > > Probing 3 block devices.....* done
> > > ZFS found no pools
> > > UFS found 1 partition
> > > Consoles: EFI console
> > > FreeBSD/arm64 EFI loader, Revision 1.1
> > >
> > > Command line arguments: loader.efi
> > > EFI version: 2.70
> > > EFI Firmware: Das U-Boot (rev 8217.1792)
> > > Console: efi (0)
> > > Load Device:
> > >
> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x96800,0x1c8b800)
> > > Trying ESP:
> > >
> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x96800,0x1c8b800)
> > > Setting currdev to disk0p2:
> > > Loading /boot/defaults/loader.conf
> > > Loading /boot/device.hints
> > > Loading /boot/loader.conf
> > > Loading /boot/loader.conf.local
> > > -
> > > Loading kernel...
> > >
> > >
> > *******************************************************************************
> > >
> > >
> > > U-Boot SPL 2019.10 (Compiled by myself)
> > > (partial bootup txt)
> > >
> > > Initializing modules: ZFS UFS
> > > Load Path: /efi\boot\bootaa64.efi
> > > Load Device:
> > >
> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000)
> > > Probing 3 block devices...... done
> > > ZFS found no pools
> > > UFS found no partitions
> > > Failed to load '/boot/loader.efi'
> > > panic: No bootable partitions found!
> > > ## Application terminated, r = 1
> > > EFI LOAD FAILED: continuing...
> > > Card did not respond to voltage select!
> > > Device 0: unknown device
> > > ethernet at 1c30000 Waiting for PHY auto negotiation to complete.........
> > > TIMEOUT !
> > > BOOTP broadcast 1
> > > BOOTP broadcast 2
> > > BOOTP broadcast 3
> > >
> > ****************************************************************************************************
> > > My SD card layout.
> > >
> > > da2 MBR (15G)
> > > free (993k)
> > > 1 efi (200M)
> > > free (100M)
> > > 2 freebsd (active) (14G)
> > >
> > >
> > > da2s2 BSD (14G)
> > > 1 freebsd-ufs (14G)
> > > _______________________________________________
> > > freebsd-uboot at freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-uboot
> > > To unsubscribe, send any mail to "freebsd-uboot-unsubscribe at freebsd.org"
> >
> > You are using boot1.efi as EFI/BOOT/BOOTAA64.EFI while you should use
> > loader.efi directly.
> > U-Boot 2019.10 changed some stuff related to alignement for IO and
> > only loader.efi was updated to cope with this changed.
> > boot1.efi was never really supported on aarch64.
> >
> > Cheers,
> >
> > --
> > Emmanuel Vadot <manu at bidouilliste.com>
> >
> _______________________________________________
> freebsd-uboot at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-uboot
> To unsubscribe, send any mail to "freebsd-uboot-unsubscribe at freebsd.org"
--
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
More information about the freebsd-uboot
mailing list