Uboot

From Rockchip open source Document
Jump to: navigation, search

We recommand use below command to build U-Boot. It will use RK_UBOOT_DEFCONFIG in device/rockchip/.BoardConfig.mk to build U-Boot. Please modify RK_UBOOT_DEFCONFIG if it don't match your board. 

In your linux SDK root directory.

./build.sh uboot

Or, you can use a separate command. In your linux SDK root directory. enter to U-Boot directory. 

cd u-boot

For RK3399 sapphire-excavator board, VS-RK3399 board, Rock960 board. Use below command to build the U-Boot: 

./make.sh evb-rk3399

For firefly-rk3399 board. Use below command to build the U-Boot: 

./make.sh firefly-rk3399

For all other rk3399 board. Use below command to build the U-Boot: 

./make.sh rk3399

For firefly-rk3288 board. Use below command to build the U-Boot: 

./make.sh firefly-rk3288

For rk3288-evb-act8846 board. Use below command to build the U-Boot: 

./make.sh evb-rk3288

For rk3288-evb-rk808 board. Use below command to build the U-Boot: 

./make.sh fennec-rk3288

For rk3288 tinker board. Use below command to build the U-Boot: 

./make.sh tinker-rk3288

For phytec-rk3288 board. Use below command to build the U-Boot: 

./make.sh phycore-rk3288

For rk3288-evb-rk1608 board. Use below command to build the U-Boot: 

./make.sh evb-rk3288-rk1608

For all other rk3288 board. Use below command to build the U-Boot: 

./make.sh rk3288

For all rk1808 board. Use below command to build the U-Boot: 

./make.sh rk1808

For px30 board. Use below command to build the U-Boot: 

./make.sh evb-px30

For all other px30 board. Use below command to build the U-Boot: 

./make.sh px30

For all RK3399Pro board. Use below command to build the U-Boot: 

./make.sh rk3399pro

It will generate 3 binary image: rk3xxx_loader_vx.xx.xxx.bin, trust.img, uboot.img. 

rk3xxx_loader_vx.xx.xxx.bin: Rockchip miniloader. rk3xxx is the part number of the chip. vx.xx.xxx is the version number. Please flash this binary to miniloader partition. 

trust.img: ARM Trusted Firmware, Please flash this binary to trust partition

uboot.img: The U-Boot image, Please flash this binary to uboot partition

u-boot/
├── rk3399_loader_v1.09.112.bin
├── trust.img
└── uboot.img

Rockchip now only offically support miniloader+U-Boot boot to simplify the customer product design.  You can refer to boot option page for more boot path. But do remember that you should do it all by your own. Rockchip won't provide technical support for these boot option.