blob: e756b3a8ffcc8ce377dd3e80ec7a84767ab00b42 [file] [log] [blame]
Quentin Schulz00a6f602023-01-09 11:36:45 +01001Introduction
2============
3
4The PX30-uQ7 (Ringneck) SoM is a ยตQseven-compatible (40mmx70mm, MXM-230
5connector) system-on-module from Theobroma Systems[1], featuring the
6Rockchip PX30.
7
8It provides the following feature set:
9 * up to 4GB DDR4
10 * up to 128GB on-module eMMC (with 8-bit 1.8V interface)
11 * SD card (on a baseboard) via edge connector
12 * Fast Ethernet with on-module TI DP83825I PHY
13 * MIPI-DSI/LVDS
14 * MIPI-CSI
15 * USB
16 - 1x USB 2.0 dual-role
17 - 3x USB 2.0 host
18 * on-module companion controller (STM32 Cortex-M0 or ATtiny), implementing:
19 - low-power RTC functionality (ISL1208 emulation)
20 - fan controller (AMC6821 emulation)
21 - USB<->CAN bridge controller (STM32 only)
22 * on-module Espressif ESP32 for Bluetooth + 2.4GHz WiFi
23 * on-module NXP SE05x Secure Element
24
25Here is the step-by-step to boot to U-Boot on px30.
26
27Get the Source and build ATF binary
28===================================
29
30 > git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
31
32Compile the ATF
33===============
34
35 > cd trusted-firmware-a
36 > make CROSS_COMPILE=aarch64-linux-gnu- PLAT=px30 bl31
37 > cp build/px30/release/bl31/bl31.elf ../u-boot/bl31.elf
38
39Compile the U-Boot
40==================
41
42 > cd ../u-boot
43 > make CROSS_COMPILE=aarch64-linux-gnu- ringneck-px30_defconfig all
44
45Flash the image
46===============
47
48Copy u-boot-rockchip.bin to offset 32k for SD/eMMC.
49
50SD-Card
51-------
52
53 > dd if=u-boot-rockchip.bin of=/dev/sdb seek=64
54
55eMMC
56----
57
58rkdeveloptool allows to flash the on-board eMMC via the USB OTG interface with
59help of the Rockchip loader binary.
60
61 > git clone https://github.com/rockchip-linux/rkdeveloptool
62 > cd rkdeveloptool
63 > autoreconf -i && ./configure && make
64 > git clone https://github.com/rockchip-linux/rkbin.git
65 > cd rkbin
66 > ./tools/boot_merger RKBOOT/PX30MINIALL.ini
67 > cd ..
68 > ./rkdeveloptool db rkbin/px30_loader_v1.16.131.bin
69 > ./rkdeveloptool wl 64 ../u-boot-rockchip.bin