Hi, I'm trying to build image for Rock 4 using latest kirkstone branch and I face an error while u-boot compilation.
| /home/przemoch/yocto/build/tmp/work/rockchip_rk3399_sapphire_excavator-poky-linux/u-boot-rockchip/1_2017.09-r0/git/common/lrz.c: In function 'zmodem_rx':
| /home/przemoch/yocto/build/tmp/work/rockchip_rk3399_sapphire_excavator-poky-linux/u-boot-rockchip/1_2017.09-r0/git/common/lrz.c:2431:47: error: 'now' may be used uninitialized [-Werror=maybe-uninitialized]
| 2431 | if (stop_time && now>=stop_time) {
| | ~~~~~~~~~~^~~~~~~~~~~~~~~~~
| /home/przemoch/yocto/build/tmp/work/rockchip_rk3399_sapphire_excavator-poky-linux/u-boot-rockchip/1_2017.09-r0/git/common/lrz.c:2401:40: note: 'now' was declared here
| 2401 | time_t now;
| | ^~~
and then
| cc1: all warnings being treated as errors
| make[2]: *** [/home/przemoch/yocto/build/tmp/work/rockchip_rk3399_sapphire_excavator-poky-linux/u-boot-rockchip/1_2017.09-r0/git/scripts/Makefile.build:280: common/lrz.o] Error 1
then bitbake fails.
I resolved it by creating u-boot-rockchip.bbappend containing
Hi, I'm trying to build image for Rock 4 using latest kirkstone branch and I face an error while u-boot compilation.
and then
then bitbake fails.
I resolved it by creating
u-boot-rockchip.bbappend
containingI'm using
rockchip-rk3399-sapphire-excavator
machine (btw, I'm not sure if it is the right one for Rock 4SE) with following configuration