blob: 083a591fc525c57ce898d8a5662bce6ad7eb4bb1 [file] [log] [blame]
Neil Armstrong4778a372024-09-20 15:33:34 +02001.. SPDX-License-Identifier: GPL-2.0+
2
3U-Boot for Libre Computer AML-S905D3-CC 'Solitude' (S905D3)
4===========================================================
5
6AML-S905D3-CC is a Single Board Computer manufactured by Libre Computer Technology with
7the following specifications:
8
9 - Amlogic S905D3 Cortex-A55 quad-core SoC
10 - 2 or 4GB LPDDR4 SDRAM
11 - Gigabit Ethernet
12 - HDMI 2.1 display
13 - 40-pin GPIO header
14 - 4 x USB 3.0 Host, 1 x USB 2.0 Type-C
15 - eMMC 5.x SM Interface for Libre Computer Modules
16 - microSD
17 - Infrared receiver
18
19Schematics are available on the manufacturer website.
20
21U-Boot Compilation
22------------------
23
24.. code-block:: bash
25
26 $ export CROSS_COMPILE=aarch64-none-elf-
27 $ make aml-s905d3-cc_defconfig
28 $ make
29
30U-Boot Signing with Pre-Built FIP repo
31--------------------------------------
32
33.. code-block:: bash
34
35 $ git clone https://github.com/LibreELEC/amlogic-boot-fip --depth=1
36 $ cd amlogic-boot-fip
37 $ mkdir my-output-dir
38 $ ./build-fip.sh aml-s905d3-cc /path/to/u-boot/u-boot.bin my-output-dir
39
40Then write U-Boot to SD or eMMC with:
41
42.. code-block:: bash
43
44 $ DEV=/dev/boot_device
45 $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1
46 $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=440