OpenWrt 21.02.x comes with Kernel 5.4, not 4.19. So I guess this is a custom proprietary firmware partially based on OpenWrt, but not OpenWrt 21.02…? In that case, please also advertise it as “OpenWrt-based firmware” or something like that, because official openwrt.org doesn’t support this board yet and that’s the requirement for using the OpenWrt trademark without permission, see also https://openwrt.org/trademark
but i guess they replace kernel from openwrt (if it is 21.04, have not found versioninfo in the repo) with the rockchips vendor-kernel + bpi modifications (in repo /kernel)
Yes, this is based on openwrt-21.02 and it also looks like they are building Linux 5.4 here.
However, even that would only qualify to be called “custom firmware based on OpenWrt” (just like Raspbian is a custom distribution based on Debian).
debian zip file contains a update.img, i tried “mounting” this with losetup and ran partprobe like i did for other images. it looks like there are no partitions in the image. also fdisk do not see any partition table. can this image directly flashed to an sdcard or do i need to change/add anything? can i only write this image using the rockchip-sdcard-tool?
hi Frank-W,
after you compiled BPI-R2PRO’s BSP by the script build.sh, you got the file “update.img”, it is image for SD boot. it is one very special vendor’s image. we also don’t know the image partition format. So you can’t use “partprobe” and “mount” utility to access it. you can only flash update.img into SD card by vendor’s special SD burning tool.
So could you write the update.img above to sdcard with the tool and dd from it to get a real sd-image? As i have no native windows here (only vm where i already tried - tool aborts after writing a small chunk) and other user will have problems too.
Except i can only use my (mainline) way and have then no way to compare functionality.
How to convert openwrt standard image (openwrt-21.02-snapshot-r0-938b4b14d-bananapi-armv8-ext4.img) to update.img ? Is it possible or using build.sh is the only way to generate image?