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

edited September 15 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 2019.04 release. The next firmware update is expected to be u-boot 2019.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 boot animation from first partition with the path boot.bmp
  3. Attempts to read u-boot script from first partition with the path boot.scr
  4. Attempts to read custom configuration ini from first partition with the path boot.ini
  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, double 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 PXE ADDR
  • 08000000 128M 32K SCRIPT ADDR
  • 08008000 128M+32K 480K FDT ADDR
  • 08080000 128.5M 127.5M KERNEL ADDR
  • 11000000 272M 32M SPLASH IMAGE
  • 13000000 304M RAMDISK
  • 10000000 256M 256M FASTBOOT BUFFER
boot.ini configuration options
  • cvbs=1 #disables cvbs output
  • efuse=rw #enables writing of efuse

Comments

Sign In or Register to comment.