radxa-repo / rbuild

Radxa Image Builder (Maintenance mode)
https://radxa-repo.github.io/rbuild/
GNU General Public License v3.0
53 stars 44 forks source link

Error build debian for rock5b using custom uboot. #49

Open DhimanAirao opened 6 months ago

DhimanAirao commented 6 months ago

I tried to build the debain bullseye for ROCK5B. I am using my custom Uboot and Kernel. I tried following command to build the cli image.

./rbuild -k /home/user/rk3588-sdk/out/packages/debian/linux-image-5.10.66-1-rockchip-gc428536281d6_5.10.66-1-rockchip_arm64.deb -f /home/user/rk3588-sdk/out/packages/rk3588-rock-5b-rk-ubootimg_2017.09-g8b4ecf0859-230203_all.deb rock-5b bullseye cli

It builds everything till it reaches the setp to Install Rdaxa Firmware. During this step it shows error related to 'setup.sh' file from uboot folder. When I use Radxa official firmware it's uboot contains this file but my custom uboot package doesn't have this file. I compile this uboot from the guide provided by Radxa.

Please help me figure out how to solve this error.

Screenshot from 2024-01-12 19-04-47

RadxaYuntian commented 6 months ago

rbuild is designed to work with kernel and U-Boot package created by bsp. Please rebuild your packages according to bsp documentation.

I think you are likely following the tutorial on Wiki, which is deprecated. @peterwang2050