I try to use make_ext4fs to generate rootfs image ( ubuntu version), but it won't work after I use fastboot to flash it.
After booting into kernel, the HDMI clearly didn't work.
Did anyone successfully use make_ext4fs to generate rootfs image ?
This is what I did.
sudo simg2img linaro-vivid-alip-qcom-snapdragon-arm64-20150727-80.img rootfs.img.raw
//use the official released rootfs.img
sudo mount -t ext4 rootfs.img.raw mountfolder
//mount it on a folder named mountfolder
sudo make_ext4fs -l size_of_rootfs.img.raw rootfs.img mountfolder
//use make_ext4fs to generate imaged to be flashed by fastboot
or use sparse format
sudo make_ext4fs -l size_of_rootfs.img.raw -s rootfs.img mountfolder
//use make_ext4fs to generate imaged to be flashed by fastboot with sparse format
Whether I used sparse format or not, it won't work.
Does anyone ever succeed on this ?
Thanks for any help.