11-25-2021, 12:37 PM
complete instructions that I just tried:-
This worked on my ubuntu virtualbox machine that I use for Armbian builds once I had installed gcc-aarch64-linux-gnu
It wouldn't compile on my Manjaro desktop (even with aarch64-linux-gnu-gcc installed)
Code:
git clone --depth=1 -b next-dev https://github.com/rockchip-linux/u-boot.git u-boot
git clone --depth=1 https://github.com/rockchip-linux/rkbin.git rkbin
cd u-boot
wget https://gitlab.com/sndwvs/images_build_kit/-/raw/arm/patch/u-boot/rk3568/01-add-u-boot-quartz64.patch
patch -p1 < 01-add-u-boot-quartz64.patch
ln -sf ../rkbin/bin/rk35/rk3568_bl31_v1.24.elf bl31.elf
ln -sf ../rkbin/bin/rk35/rk3568_bl32_v1.05.bin tee.bin
make rk3566-quartz64_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- -j4 && make CROSS_COMPILE=aarch64-linux-gnu- -j4 u-boot.itb
tools/mkimage -n rk356x -T rksd -d ../rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.08.bin:spl/u-boot-spl.bin idblock.bin
This worked on my ubuntu virtualbox machine that I use for Armbian builds once I had installed gcc-aarch64-linux-gnu
It wouldn't compile on my Manjaro desktop (even with aarch64-linux-gnu-gcc installed)