1 Here is the step-by-step to boot to U-Boot on rk3368.
3 Get miniloader and trust.img form rockchip vendor u-boot source code
4 ==============================================================================
5 > git clone https://github.com/rockchip-linux/u-boot.git rockchip-uboot
7 > make rk3368_defconfig /*chose px5_defconfig if you run a px5 platform here*/
10 Compile the upstream U-Boot
11 ===========================
13 > make CROSS_COMPILE=aarch64-linux-gnu- sheep-rk3368_defconfig all
15 Package u-boot for miniloader
16 ================================
17 > ../rockchip-uboot/tools/loaderimage --pack --uboot u-boot.bin u-boot.img
19 Flash the image by rkdeveloptool
20 ================================
21 rkdeveloptool can get from https://github.com/rockchip-linux/rkdeveloptool.git
23 Power on(or reset with RESET KEY) with MASKROM KEY preesed, and then:
24 > rkdeveloptool db ./rockchip-uboot/rk3368_loader_v2.00.256.bin
25 > rkdeveloptool wl 0x6000 ./rockchip-uboot/trust.img
26 > rkdeveloptool wl 0x4000 ./u-boot/u-boot.img
29 You should be able to get U-Boot log message from boot console:
31 U-Boot 2017.05-rc3-01094-g9ddd1e8-dirty (May 15 2017 - 15:57:23 +0800)
33 Model: Rockchip sheep board
35 MMC: dwmmc@ff0f0000: 0
36 Using default environment
41 Net: Net Initialization Skipped
43 Hit any key to stop autoboot: 0