Page 1 of 1

max_leb_cnt calculation problem

Posted: 2024-12-22 15:23
by robit
Hi,

When I tried to reduce the image size by disabling these two options in the
BoardConfig-SPI_NAND-Buildroot-RV1103_Luckfox_Pico_Mini_B-IPC.mk file
pic1.jpg
the compilation gave "max_leb_cnt too low error"
pic2.jpg
by re-enabling them the image creation was succesfull.
pic3.jpg
Is there an error in the required size calculating equation?

Thanks,

Re: max_leb_cnt calculation problem

Posted: 2024-12-23 1:04
by Crocodile
Hello, the spi-nand of Luckfox Pico Mini B is only 128MB, if you disable RK_BUILD_APP_TO_OEM_PARTITION will put the files originally placed in the OEM partition under the rootfs, the default OEM partition will still occupy the space of the SPI-nand, and finally the rootfs partition will be full and prompt "max_cnt too low error"