|
Make your own SDcard Linux image
Posted at 7/27/2015 10:22:00
View:3977
|
Replies:5
Print
Only Author
[Copy Link]
1#
Last edited by sghazagh In 7/27/2015 10:25 Editor
Hi all,
Can anyone help what I am doing wrong that I cannot pack my own "linuxroot" into the update
image?
Here is what I am doing:
-----------------------------
1) Have downloaded the official Ubuntu 14.04 SD image and unpacked it in my Linux machine
2) unpacked "update.img" in the folder
3) modified "linux-rootfs.img" by adding additional 2GB to allow me to copy all my own rootfs stuff
4) mounted both my own rootfs and official linux-rootfs.img into the two different mount points
5) have deleted all the official rootfs contents and copied all my rootfs contents into it
6) unmount both rootfs and so the official linux-rootfs.img has my stuff in it.
7) try to pack the update.img but it does not do it properly. The new_update.img creates quickly and I believe it doesn't add the newly modified "linux-rootfs.img" into it
I had a look at "parameter" file but the size of linux-rootfs partition is mentioned with "-". I assume the size not required to be specified as when I use the original "linux-rootfs.img" file the packing procedure works again and it takes more time to generate update.img!
Any help will be appreciated.
It would be gratefull if you correct my procedure or teach me the right way to create my own Linux SD card image to be able to boot my Firefly RK3288 device.
Many many thanks...
{Busybee, I think you are the one can help me ;) }
|
|