Difference between revisions of "RSB-3720 Ubunut creation by Yocto30 kernel"
From ESS-WIKI
Line 13: | Line 13: | ||
[[File:RSB-3720 Prepare ubuntu image.png|RTENOTITLE]] | [[File:RSB-3720 Prepare ubuntu image.png|RTENOTITLE]] | ||
+ | |||
Line 18: | Line 19: | ||
*You can find Yocto image in'''<span style="color:#9b59b6;">${WORKSPACE}</span>'''/build/tmp/deplay/image/<span style="color:#9b59b6;">'''${MC}'''</span>, and copy to your '''<span style="color:#9b59b6;">${WORKSPACE}</span>'''. | *You can find Yocto image in'''<span style="color:#9b59b6;">${WORKSPACE}</span>'''/build/tmp/deplay/image/<span style="color:#9b59b6;">'''${MC}'''</span>, and copy to your '''<span style="color:#9b59b6;">${WORKSPACE}</span>'''. | ||
− | <pre>$ sudo cp –a imx-image-<span style="color:#9b59b6;"> | + | <pre>$ sudo cp –a imx-image-'''<span style="color:#9b59b6;">${MC}</span>'''-20230816082527.rootfs.wic.bz2 '''<span style="color:#9b59b6;">${WORKSPACE}</span>'''. |
</span>'''</pre> | </span>'''</pre> | ||
Line 24: | Line 25: | ||
*Unpack rootfs.wic | *Unpack rootfs.wic | ||
− | <pre>$sudo bzip2 -d imx-image-full<span style="color:#9b59b6;">'''${MC}'''</span>-20230814102331.rootfs.wic.bz2</pre> | + | <pre>$sudo bzip2 -d imx-image-full-<span style="color:#9b59b6;">'''${MC}'''</span>-20230814102331.rootfs.wic.bz2</pre> |
'''[[File:RSB-3720 unpack yocto30 image.png|RTENOTITLE]]''' | '''[[File:RSB-3720 unpack yocto30 image.png|RTENOTITLE]]''' | ||
− | *''' | + | *'''Create folders to mount''' |
<pre>$mkdir ubuntu yocto | <pre>$mkdir ubuntu yocto | ||
$mkdir ubuntu/rootfs yocto/rootfs</pre> | $mkdir ubuntu/rootfs yocto/rootfs</pre> |
Revision as of 08:58, 17 August 2023
Prepare Image
- Build Yocto Linux image with your expected version (e.g. A0386)
You can follow this SOP to build your Yocto image.
- Modify kernel to "Add commit to support the Ubuntu desktop version"
- Prepare Ubuntu image (e.g. A0362)
Mount image
- You can find Yocto image in${WORKSPACE}/build/tmp/deplay/image/${MC}, and copy to your ${WORKSPACE}.
$ sudo cp –a imx-image-'''<span style="color:#9b59b6;">${MC}</span>'''-20230816082527.rootfs.wic.bz2 '''<span style="color:#9b59b6;">${WORKSPACE}</span>'''. </span>'''
- Unpack rootfs.wic
$sudo bzip2 -d imx-image-full-<span style="color:#9b59b6;">'''${MC}'''</span>-20230814102331.rootfs.wic.bz2
- Create folders to mount
$mkdir ubuntu yocto $mkdir ubuntu/rootfs yocto/rootfs