ACBIAS wrote: ↑2024-04-27 6:24
Currently luckfox pico is tied to:
- builldroot 2023.02.06
- Linux kernel 5.10.110
- Busybox 1.36.1
Where in the SDK are those versions defined ? What would it take to use another version of any of those components ?
Hello, buildroot and busybox are placed under <Luckfox-pico Sdk>/sysdrv/tools/board/. When executing the build.sh script, it will decompress and compile according to the .mk file. Rockchip has added many patches for the rv1106, directly replacing them will cause most patches to not be correctly applied.
On the kernel side, rv1106 has not been merged into the mainline kernel support. The kernel here has been heavily modified by Rockchip. Using a different version of the kernel requires complex driver porting operations. Additionally, the hardware of rv1106 has not been fully open-sourced by Rockchip, which greatly increases the difficulty without detailed information.
Considering all these factors, if you need to retain a fully functional system, it is not recommended to replace the kernel version. If only replacing the root filesystem, you can refer to blogs in the community that discuss porting the Alpine system
https://wiki.luckfox.com/Luckfox-Pico/L ... e-Linux-1/. They use a method of replacing the root filesystem folder to bypass the complex Rockchip image creation process. Following their approach can greatly reduce the difficulty of using other root filesystems.
Currently, Luckfox's system building capabilities are indeed less extensible compared to other platforms. We hope to understand your reasons for planning to replace versions, as this will help us further improve the Luckfox-pico SDK.