Rockchip Buildroot

Исходный код в github

Из buildroot-external собирается:

u-boot-rockchip.bin

Кастомное Ядро Rockchip 6.1

DTB

rootfs.ext2

Сборка использует драйвер rockchip-bifrost с close-source пользовательскими библиотеками.

git clone https://github.com/inmys/buildroot-external-inmys.git -b nms-sm-rk3588
git clone https://github.com/JeffyCN/rockchip_mirrors.git --depth=1 -b buildroot-2024 buildroot-2024
git clone https://github.com/JeffyCN/mirrors.git --depth=1 -b kernel-6.1 kernel
git clone https://github.com/JeffyCN/mirrors.git --depth=1 -b gstreamer-rockchip external/gstreamer-rockchip
git clone https://github.com/airockchip/rknn-toolkit2.git --depth=1 external/rknn-toolkit2
ln -s rknn-toolkit2/rknpu2 external/rknpu2
git clone https://github.com/JeffyCN/mirrors.git --depth=1 -b libmali external/libmali
git clone https://github.com/JeffyCN/mirrors.git --depth=1 -b mpp-dev external/mpp
git clone https://github.com/JeffyCN/mirrors.git --depth=1 -b linux-rga-multi external/linux-rga
git clone https://gitlab.com/rk3588_linux/linux/external/camera_engine_rkaiq --depth=1 external/camera_engine_rkaiq
#freeze commit for br
cd buildroot-2024
git checkout b7deec98b7f692372ebc9b1e15ee89d9aa9a5b6b
cd ../
#build
make BR2_EXTERNAL=$PWD/buildroot-external-inmys -C buildroot-2024 O=$PWD/output br-rk_defconfig
cd output
make
#result: output/images/Image, output/images/rk3588-inmys-smarc-evm.dtb, output/images/rootfs.ext2 output/images/u-boot-rockchip.bin

Прошивка устрйства

Инструкция

Example-бинарники