u-boot Firmware Guide for La Frite AML-S805X-AC

edited July 2020 in 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.
  1. Attempts to read secondary device tree from first partition with the path dtb/libre-computer/aml-s805x-ac/platform.dtb
  2. Attempts to read primary device tree from the first partition with the path dtb/amlogic/meson-gxl-s805x-libretech-ac.dtb
  3. Attempts to read boot animation from first partition with the path boot.bmp
  4. Attempts to read u-boot script from first partition with the path boot.scr
  5. Attempts to read and boot the EFI bootloader from first partition with the path EFI/boot/BOOTAA64.EFI
You can override the u-boot behavior by creating boot.scr with your own script.

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


Sign In or Register to comment.