INMYS WIKI

Инженерами для инженеров

Инструменты пользователя

Инструменты сайта


boards:nms-sm-rk3588:buildroot:start

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
boards:nms-sm-rk3588:buildroot:start [2024/07/15 16:09] – создано Артем Слеповboards:nms-sm-rk3588:buildroot:start [2025/03/06 09:27] (текущий) – [Rockchip Buildroot] Артем Слепов
Строка 1: Строка 1:
-====== Rockchip Buidlroot ======+====== Rockchip Buildroot ====== 
 +[[https://github.com/inmys/buildroot-external-inmys/tree/nms-sm-rk3588|Исходный код в github]] 
 + 
 +Из buildroot-external собирается: 
 +  * u-boot-rockchip.bin 
 +  * Кастомное Ядро Rockchip 6.1  
 +  * DTB 
 +  * rootfs.ext2 
 + 
 +Сборка использует драйвер rockchip-bifrost с close-source пользовательскими библиотеками. 
 + 
 +<code> 
 +git clone https://github.com/inmys/buildroot-external-inmys.git -b nms-sm-rk3588 
 +export GIT_SSL_NO_VERIFY=1 #needs only for gitlab.inmys 
 +git clone https://gitlab.inmys.online/rk3588/buildroot-2024.git 
 +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 
 +</code> 
 + 
 +===== Прошивка устрйства ===== 
 +  * [[https://wiki.inmys.ru/doku.php?id=boards:nms-sm-rk3588:bringup:start|Инструкция]] 
 +  * [[https://disk.yandex.ru/d/Gy6LUfTtZtOOzQ|Example-бинарники для V1]] 
 + 
boards/nms-sm-rk3588/buildroot/start.1721059742.txt.gz · Последнее изменение: 2024/07/15 16:09 — Артем Слепов