RK平台修改system分区大小 error: ext4_allocate_best_fit_partial: failed to allocate 5104 blocks, out of space?
郑重声明:本人原创博文,都是实战,均经过实际项目验证出货的
转载请标明出处:攻城狮2015
Platform: Rockchip
CPU:3368
OS:Android 6.0.1
Kernel: 3.10
问题描述
在编译固件的时候如下提示,说明系统分区分配不够,没内存
make_ext4fs -s -T -1 -S out/target/product/rk3368/root/file_contexts -L system -l 1073741824 -a system out/target/product/rk3368/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/rk3368/system out/target/product/rk3368/system
error: ext4_allocate_best_fit_partial: failed to allocate 5104 blocks, out of space?
Creating filesystem with parameters:
Size: 1073741824
解决方法
通常我们需要修改SYSTEM分区大小,BOARD_SYSTEMIMAGE_PARTITION_SIZE计算方式
**2147483648&