Closed annadm99 closed 1 year ago
Okay so I was able to build u-boot with docker, if someone is facing the same issue what you have to do is run: sudo apt remove gcc-aarch64-linux-gnu
and export PATH="/usr/local/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin:$PATH"
Now i have a new issue... And I just realized that i am not the only one... there's a discussion on the forum link
When running ./build/mk-kernel.sh rk3566-radxa-cm3-raspcm4io
i get
CC lib/bug.o
MKIMAGE arch/arm64/boot/dts/rockchip/overlay/rockchip-fixup.scr
/bin/sh: 1: mkimage: not found
scripts/Makefile.lib:330: recipe for target 'arch/arm64/boot/dts/rockchip/overlay/rockchip-fixup.scr' failed
make[3]: *** [arch/arm64/boot/dts/rockchip/overlay/rockchip-fixup.scr] Error 127
scripts/Makefile.build:637: recipe for target 'arch/arm64/boot/dts/rockchip/overlay' failed
make[2]: *** [arch/arm64/boot/dts/rockchip/overlay] Error 2
scripts/Makefile.build:637: recipe for target 'arch/arm64/boot/dts/rockchip' failed
make[1]: *** [arch/arm64/boot/dts/rockchip] Error 2
arch/arm64/Makefile:150: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs....
(...)
AR drivers/net/wireless/rockchip_wlan/built-in.a
AR drivers/net/wireless/built-in.a
AR drivers/net/built-in.a
AR drivers/built-in.a
MAKE KERNEL IMAGE FAILED.
Hi guys, so i followed all the steps provided by the readme and this tutorial LINK but i cannot build the kernel. I checked the errors over the internet but i couldn't solve the problem. I run the PART 2 in a new ubuntu VM and when trying to build the kernel with sudo (
sudo ./build/mk-kernel.sh rk3566-radxa-cm3-raspcm4io
) i get this:So I tried to start again and do it with docker (PART 1). But when i run
./build/mk-uboot.sh rk3566-radxa-cm3-raspcm4io
i get the following error:Thanks in advance