Luckfox Pico Pro Max编译SDK过程中的错误
-
1.使用Luckfox-SDK-VMware.zip的虚拟机
2.选择版本FASTBOOT进行编译
luckfox@luckfox:~/Luckfox/luckfox-pico$ ./build.sh lunch
28. BoardConfig_IPC/BoardConfig-SPI_NAND-Busybox-RV1106_Luckfox_Pico_Pro_Max-IPC_FASTBOOT.mk
boot medium(启动介质): SPI_NAND
system version(系统版本): Busybox
hardware version(硬件版本): RV1106_Luckfox_Pico_Pro_Max
application(应用场景): IPC_FASTBOOT
----------------------------------------------------------------
Which would you like? [default:0]: 28
[build.sh:info] Lunching for Default BoardConfig_IPC/BoardConfig-SPI_NAND-Busybox-RV1106_Luckfox_Pico_Pro_Max-IPC_FASTBOOT.mk boards...
[build.sh:info] switching to board: /home/luckfox/Luckfox/luckfox-pico/project/cfg/BoardConfig_IPC/BoardConfig-SPI_NAND-Busybox-RV1106_Luckfox_Pico_Pro_Max-IPC_FASTBOOT.mk
[build.sh:info] Running build_select_board succeeded.
3.编译过程报错,如何解决
mkfs.erofs /home/luckfox/Luckfox/luckfox-pico/output/out/fastboot/rootfs_erofs.img /home/luckfox/Luckfox/luckfox-pico/output/out/rootfs_uclibc_rv1106 -Enoinline_data
mkfs.erofs 1.5
Build completed.
/home/luckfox/Luckfox/luckfox-pico/output/out/fastboot/rv1106g-luckfox-pico-pro-max-fastboot.dtb
comp = <kernel_c>;
comp = <ramdisk_c>;
load = <ramdisk_r>;
/home/luckfox/Luckfox/luckfox-pico/output/out/sysdrv_out/pc/mk-fitimage.sh:error filesize of /home/luckfox/Luckfox/luckfox-pico/output/out/fastboot/rootfs_erofs.img go beyond the limit 0x1400000
/home/luckfox/Luckfox/luckfox-pico/output/out/sysdrv_out/pc/mk-fitimage.sh:error please check kernel's dts ramdisk_r/ramdisk_c
[build.sh:error] Running build_mkimg failed!
[build.sh:error] exit code 1 from line 2286:
I just used the latest SDK version and I get a similar error message : /mnt/data/devel/embedded/LuckFox/SDK/luckfox-pico/output/out/fastboot/rv1106g-luckfox-pico-pro-max-fastboot.dtb
comp = <kernel_c>;
comp = <ramdisk_c>;
load = <ramdisk_r>;
/mnt/data/devel/embedded/LuckFox/SDK/luckfox-pico/output/out/sysdrv_out/pc/mk-fitimage.sh:error filesize of /mnt/data/devel/embedded/LuckFox/SDK/luckfox-pico/output/out/fastboot/rootfs_erofs.img go beyond the limit 0x1400000
/mnt/data/devel/embedded/LuckFox/SDK/luckfox-pico/output/out/sysdrv_out/pc/mk-fitimage.sh:error please check kernel's dts ramdisk_r/ramdisk_c
[build.sh:error] Running build_mkimg failed!
[build.sh:error] exit code 1 from line 2308:
==> How to solve the problem ?
Make sure the SDK is completely cleaned or re-downloaded before compiling fastboot, as fastboot is particularly sensitive to partition sizes. Residual files from compiling other configurations may cause the partition to be larger than expected, preventing the firmware from being successfully packaged.

