Building the image


I’m trying to build an image to flash on the Rockpi S.
I followed this documentation:
The problem I have is that I can’t get the U-Boot to build, because the config file is missing.
./build/ rockpis #For ROCK Pi S
./build/ rockpis #For ROCK Pi S
Building U-boot for rockpis board!
Using rockpi-s-rk3308_defconfig
*** Can’t find default configuration
scripts/kconfig/Makefile:121: recipe for target
‘rockpi-s-rk3308_defconfig’ failed
make[2]: *** [rockpi-s-rk3308_defconfig] Error 1
Makefile:479: recipe for target ‘rockpi-s-rk3308_defconfig’ failed
make[1]: *** [rockpi-s-rk3308_defconfig] Error 2
Makefile:461: recipe for target ‘__build_one_by_one’ failed
make: *** [__build_one_by_one] Error 2

I’m pretty sure I failed at checkouting the right branch, but could it be something else?

@poddingue prob need to do a @jack as think your the first

try the stable-4.4-rockpis branch rather than master -b stable-4.4-rockpis

from u-boot dir
git branch -a

git checkout stable-4.4-rockpis

git branch

to check

It has started now, thanks a lot Stuart!
I have another error later on…
load addr is 0x600000!
pack input ./u-boot-dtb.bin
pack file size: 569853
crc = 0xc1a4ac87
pack uboot.img success!
Image Type: Rockchip RK33 (SD/MMC) boot image
Data Size: 12288 bytes
cat: …/rkbin/bin/rk33/rk3308_miniloader_v1.13.bin: Aucun fichier ou
dossier de ce type

Rockchip-bsp actually just pulls in all the separate repos build, kernel, rkbin, rootfs, u-boot.
With each one being the root of a git repo.

You might have to go into each and set each by doing the git checkout stable-4.4-rockpis in each.

Maybe you can just go to the root of rockchip-bsp git checkout stable-4.4-rockpis and that will check them all out correct.

git branch in each just to check that its correct.
git branch -a to see what is available.

Dunno as have not got a RockPiS but thought it might be that you where not checked out correct.
Still might wrong so check other than that, that is all I know and for now its stick with

1 Like

Hi, to meet the need of building target images for rockpis board, we have added one branch, stable-4.4-rockpis, for the git repo rockchip-bsp. See

About debug console.

Specially, image
use UART2 debug console.

The other images including the images compiled from the rockchip-bsp source code are all using UART0 debug console.

Thanks, I will have a look at it.