* Since, 8.0(O), due to this commit https://android.googlesource.com/platform/system/extras/+/63362e153f799f41d3e0dd256d8b8281da3f2672 , cache.img compilation gets failed . * Reason is when we set the size of ext4 file to a group size of 128M(in our case, cache.img size is 128mb), it get crashed when compile a ext4 file because: group size = Blocks per group(32768) * Block size(4096) last_group_size is set to 0 and aux_info.groups to 1 But, if aux_info.groups <= 1 , critical_error: "filesystem size too small" is called. * Yes, this is a bug in make_ext4fs. * Fixing this issue for our device has two ways, one is switch to mke2fs as it works fine, second either revert the above changes from ext4_utils or fix code. * According to report, mke2fs is upstream tool of make_ext4fs, and in future google will permanently switch to it. So better to use this on our device instead of putting hands on repo codes. |
||
---|---|---|
.. | ||
bootloader | ||
brandy | ||
buildroot | ||
linux-4.9 | ||
tools | ||
build.sh | ||
README |
Examples: 1. Build linux-3.3 image for EVB $cd lichee/ $./build.sh -p sun6i $./build.sh pack 2. Build linux kernel android $./build.sh -p sun6i_fiber 3. Build linux test package $./build.sh -p sun6i_dragonboard