1.. SPDX-License-Identifier: GPL-2.0+
2
3U-Boot for ODROID-GO-ULTRA (S922X)
4==================================
5
6The ODROID GO ULTRA is a portable gaming device with the following characteristics:
7
8 - Amlogic S922X SoC
9 - RK817 & RK818 PMICs
10 - 2GiB LPDDR4
11 - On board 16GiB eMMC
12 - Micro SD Card slot
13 - 5inch 854×480 MIPI-DSI TFT LCD
14 - Earphone stereo jack, 0.5Watt 8Ω Mono speaker
15 - Li-Polymer 3.7V/4000mAh Battery
16 - USB-A 2.0 Host Connector
17 - x16 GPIO Input Buttons
18 - 2x ADC Analog Joysticks
19 - USB-C Port for USB2 Device and Charging
20
21U-Boot Compilation
22------------------
23
24.. code-block:: bash
25
26    $ export CROSS_COMPILE=aarch64-none-elf-
27    $ make odroid-go-ultra_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 odroid-go-ultra /path/to/u-boot/u-boot.bin my-output-dir
39
40Then write the image 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
47