u-boot Firmware Guide for La Frite AML-S805X-AC
The boot priority of La Frite is as follows: SPI then eMMC. The boot ROM of the SoC will try to load the u-boot binary from those two locations. We will refer to the u-boot binary as firmware. You can find the latest firmware for La Frite here.
The current version of the firmware shipping with La Frite's SPI NOR is is u-boot 2020.04 release. The next firmware update is expected to be u-boot 2020.10.
u-boot is configured to load from the first FAT32 or ext2/3/4 partition on the eMMC and then USB drives. If it fails to find the necessary boot files, it will attempt to boot from TFTP server configured by DHCP.
To interrupt the normal boot process and enter the u-boot command line, tap ESC after power on. From there you can manually enter u-boot commands.
For example, you can create an extlinux.conf in the path extlinux/extlinux.conf and then run `run boot_extlinux` to load it and boot Linux that way.
Memory layout for La Frite is as follows:
The current version of the firmware shipping with La Frite's SPI NOR is is u-boot 2020.04 release. The next firmware update is expected to be u-boot 2020.10.
u-boot is configured to load from the first FAT32 or ext2/3/4 partition on the eMMC and then USB drives. If it fails to find the necessary boot files, it will attempt to boot from TFTP server configured by DHCP.
- Attempts to read secondary device tree from first partition with the path dtb/libre-computer/aml-s805x-ac/platform.dtb
- Attempts to read primary device tree from the first partition with the path dtb/amlogic/meson-gxl-s805x-libretech-ac.dtb
- Attempts to read boot animation from first partition with the path boot.bmp
- Attempts to read u-boot script from first partition with the path boot.scr
- Attempts to read and boot the EFI bootloader from first partition with the path EFI/boot/BOOTAA64.EFI
To interrupt the normal boot process and enter the u-boot command line, tap ESC after power on. From there you can manually enter u-boot commands.
For example, you can create an extlinux.conf in the path extlinux/extlinux.conf and then run `run boot_extlinux` to load it and boot Linux that way.
Memory layout for La Frite is as follows:
- 01000000 16M 512K TEXTBASE
- 01080000 16.5M 111.5M pxdfile_addr_r
- 08000000 128M 32K scriptaddr
- 08008000 128M+32K 480K fdt_addr_r
- 08080000 128.5M 127.5M kernel_addr_r
- 10000000 256M 48M kernel_comp_addr_r
- 13000000 304M ramdisk_addr_r
Comments
Is there a default keyboard type that U-Boot is requiring to use the eMMC as USB for flashing?
Charles, KG5BVE
Ok, latest rc5 u-boot firmware update fixed the issue for me.
http://share.loverpi.com/board/libre-computer-project/libre-computer-board/aml-s805x-ac/firmware/u-boot-2019-04-r5.bin
I would love to install the recent firmware update 2021-07-r1. But when the system finds the file, after selecting USB booting, it returns the error "incorrect file". Please advise
You could also modify the .scr file yourselft, but I can't warrantee that'll work correctly
Actually, I got stuck after correcting the flawed boot.scr file and recomputing the SHA as u-boot hung up due to a 'wrong CRC' and I could not figure out where to store the modified SHA file.
Thanks again for your help , very much appreciated.......
Thanks a mellion,
Barry