LibreComputer LaFrite (AML-S805X-AC) is an S805X (GXL) board with 512MB or 1GB of RAM and 16MB SPI boot flash. The board runs upstream U-Boot from SPI, and has no SD card slot, so you can boot the AMLGX box
or lafrite
images written to a USB stick or eMMC module. Default boot order is:
- SPI (built-in)
- EMMC (optional module)
- USB (socket furthest from the GPIO header)
LibreComputer preinstalls their eMMC modules with Android, so if you power on the board with the module attached it will always boot into Android. To erase Android or overwrite with LibreELEC the board must first boot from USB without the module attached. Once in LibreELEC booted from USB, the module can be attached, detected, and erased or imaged with the lafrite
image:
- Power on the Board, and boot the AMLGX
box
image from USB - Attach the eMMC module, and from the SSH console:
- Run
emmctool d
to detect the module - Run
emmctool z
to erase (zero) the module - Copy the
lafrite
image to/storage/
on the USB stick - Run
emmctool w /storage/LibreELEC-AMLGX.arm-11.0.0-lafrite.img.gz
to write thelafrite
image to the eMMC module. - Power off the board, remove the USB stick
- Power on the board, and LibreELEC will boot to eMMC and resize /storage
LibreComputer provides U-Boot firmware files for updating the SPI flash. LibreELEC does not need a minimum version to boot, but newer U-Boot firmware fixes some graphical on-screen glitches seen in the early boot stages. To update:
- Download the latest U-Boot
.bin
and.scr
files to a FAT formatted USB stick - Rename the
.scr
file toboot.scr
- Connect the USB drive to the socket furthest from the GPIO header
- Power on the board
- Current U-Boot checks if the new image matches existing firmware, and when it does not (as it is newer) the firmware will be updated. When complete:
- Power off the board and remove the USB stick
The debugging UART is accessible on the 40pin GPIO header:
- TX (Green) on Pin 3
- RX (Grey) on Pin 5
- GND (Black) on Pin 6