Evening,
I followed the scripts from @daniel-hung available here:
To create my own SD card image. It works flawlessly when using the pre-built boot.img and rootfs.img. I can even swap in my own custom kernel boot.img and it will install.
Leaving the build directories untouched and literally just swapping out my own custom rootfs.img for a linaro pre-built one and the installer breaks when trying to flash. I was able to do this last week but I swapped to a different dragonboard 410c and for some reason…
Logging into the booted installer image I’m seeing this in the console and syslog when installing successfully the linaro pre-built.
root@linaro-installer:~# [ 56.991789] mmcblk0: p1
[ 58.537644] mmcblk0: p1 p2
[ 58.682873] blk_update_request: I/O error, dev loop0, sector 0
[ 59.859961] mmcblk0: p1 p2 p3
[ 61.088999] mmcblk0: p1 p2 p3 p4
[ 61.230785] blk_update_request: I/O error, dev loop0, sector 0
[ 62.424996] mmcblk0: p1 p2 p3 p4 p5
[ 63.685819] mmcblk0: p1 p2 p3 p4 p5 p6
[ 64.801180] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 64.930209] blk_update_request: I/O error, dev loop0, sector 0
[ 66.123696] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[ 68.331009] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[ 70.295071] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[ 76.085188] random: crng init done
And when trying to install my custom rootfs.img:
[ 357.174211] random: crng init done
[ 379.760079] mmcblk0: p1
[ 381.321826] mmcblk0: p1 p2
[ 382.525689] mmcblk0: p1 p2 p3
[ 382.627490] blk_update_request: I/O error, dev loop0, sector 0
[ 383.721720] mmcblk0: p1 p2 p3 p4
[ 383.879656] blk_update_request: I/O error, dev loop0, sector 0
[ 384.993637] mmcblk0: p1 p2 p3 p4 p5
[ 386.136437] mmcblk0: p1 p2 p3 p4 p5 p6
[ 387.277063] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 387.447637] blk_update_request: I/O error, dev loop0, sector 0
[ 388.639639] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[ 390.714145] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[ 391.946512] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
I’d love to troubleshoot this further but don’t know where to look. I think the installer is a compiled binary called ‘recovery’ which is running on the system. I don’t know how to invoke it from the command line or where it’s configuration is stored. I’d like to find out what in my rootfs is breaking the install script.
When I fastboot flash my rootfs to the dragonboard, it runs. So there is something that the installer does not like…
Thoughts?