4 RK3328 key features we might use in U-Boot:
5 * CPU: ARMv8 64bit quad-core Cortex-A53
7 * DRAM: 4GB-16MB dual-channel
8 * eMMC: support eMMC 5.0/5.1, suport HS400, HS200, DDR50
9 * SD/MMC: support SD 3.0, MMC 4.51
10 * USB: USB2.0 EHCI host port *2
11 * Display: RGB/HDMI/DP/MIPI/EDP
14 * regulator: pwm regulator for CPU B/L
16 * debug console: UART2
18 In order to support Arm Trust Firmware(ATF), we need to use the
19 miniloader from rockchip which:
21 * load and verify ATF image
22 * load and verify U-Boot image
24 Here is the step-by-step to boot to U-Boot on rk3328.
26 Get the Source and prebuild binary
27 ==================================
31 > git clone https://github.com/ARM-software/arm-trusted-firmware.git
32 > git clone https://github.com/rockchip-linux/rkbin
33 > git clone https://github.com/rockchip-linux/rkflashtool
38 > cd arm-trusted-firmware
40 > make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3328 bl31
46 > make CROSS_COMPILE=aarch64-linux-gnu- evb-rk3328_defconfig all
49 =======================
54 Package image for miniloader
55 ================================
57 > cp arm-trusted-firmware/build/rk3328/release/bl31.bin rkbin/rk33
58 > ./rkbin/tools/trust_merger rkbin/tools/RK3328TRUST.ini
59 > ./rkbin/tools/loaderimage --pack --uboot u-boot/u-boot-dtb.bin uboot.img
61 > mv trust.img ./image/
62 > mv uboot.img ./image/rk3328evb-uboot.bin
66 Power on(or reset with RESET KEY) with MASKROM KEY preesed, and then:
68 > ./rkflashtool/rkflashloader rk3328evb
70 You should be able to get U-Boot log message in console/UART2 now.