|
mkimage.sh loops forever
Posted at 8/19/2015 03:25:25
View:3840
|
Replies:3
Print
Only Author
[Copy Link]
1#
I'm trying to follow this tutorial and it looks like mkimage.sh loops forever (I stopped watch when processing system.img reached 9.5GB interestingly du show about 470MB).
[16:22:51] pietrushnic:firefly-rk3288 gitmaster*) $ ./mkimage.sh
TARGET_PRODUCT=rk3288
TARGET_HARDWARE=rk30board
system filesysystem is ext4
create boot.img without kernel... done.
create recovery.img with kernel and with out resource... done.
create misc.img.... done.
create system.img...
I'm using e2f2ba5dd349 tag: Firefly-RK3288_Android4.4_201504181055. I wonder what is the purpose of loop in mkimage.sh:
while [ "$ok" = "0" ]; do
make_ext4fs -l $system_size $MAKE_EXT4FS_ARGS >/dev/null 2>&1 &&
tune2fs -c -1 -i 0 $IMAGE_PATH/system.img >/dev/null 2>&1 &&
ok=1 || system_size=$(($system_size + 5242880))
done
Looks like I'm looping here forever. My system.img from ./out/target/product/rk3288/system.img file size is 399306712.
Any idea how to pass mkimage.sh script ?
|
|