Currently, I have  a functional Yocto image in `.wic.gz` format, and I have a 
~7GB eMMC storage. I then set the size for the partition in my `.wks` to ~7GB 
also, but this makes the flashing process painfully long (by doing `gzwrite 
mmc`). Hence, I thought of having a minimal Linux image (since, AFAIK, U-boot 
does not the tools to manipulate partitions and filesystem) with tools to do 
storage partition and filesystem creation. I then can flash this image (in 
`.wic.gz` format) onto my eMMC, and use that image to partition, create the 
filesystem, and extract my featureful image (in `tar.gz`) onto the newly 
created filesystem. I have a working POC but I have a few questions:

* Is there anything wrong with this approach? Is there some simpler approach 
that can achieve what I need? (Improving the flashing time)
* Since I only need a small Linux image, I found that I can use the `poky-tiny` 
distro to make the image as small as conveniently possible. However, this means 
that my featureful image and my minimal image will use different distros. Is 
this a problem? If it is, how can I set different distro options for different 
images?
* Let's say I start with a system having only U-boot, can I automate the whole 
process from plugging in a USB (with the appropriate images on there) to having 
the featureful image flashed?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64282): https://lists.yoctoproject.org/g/yocto/message/64282
Mute This Topic: https://lists.yoctoproject.org/mt/109628914/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to