Difference between revisions of "RSB-3720 Ubunut creation by Yocto30 kernel"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 +
  
  
Line 4: Line 5:
 
== '''Prepare Image''' ==
 
== '''Prepare Image''' ==
  
*Build Yocto Linux image with your expected version (e.g. A0386)  
+
*<span style="font-size:medium;">Build Yocto Linux image with your expected version (e.g. A0386)</span>  
 
 
:You can follow this [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide SOP] to build your Yocto image.
 
 
 
*Modify kernel to "[https://github.com/ADVANTECH-Corp/linux-imx/commits/adv_5.4.70_2.3.0 <u>Add&nbsp;commit to support the Ubuntu desktop version</u>]"
 
  
:[[File:Add commit to support ubuntu.png|RTENOTITLE]]
+
:<span style="font-size:medium;">You can follow this [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide SOP] to build your Yocto image.</span>
  
*&nbsp;Prepare Ubuntu image (e.g. A0362)
+
*<span style="font-size:medium;">Modify kernel to "[https://github.com/ADVANTECH-Corp/linux-imx/commits/adv_5.4.70_2.3.0 <u>Add&nbsp;commit to support the Ubuntu desktop version</u>]"</span>
  
:[[File:RSB-3720 Prepare ubuntu image.png|RTENOTITLE]]
+
:<span style="font-size:medium;">[[File:Add commit to support ubuntu.png|RTENOTITLE]]</span>
  
 +
*<span style="font-size:medium;">&nbsp;Prepare Ubuntu image (e.g. A0362)</span>
  
 +
:<span style="font-size:medium;">[[File:RSB-3720 Prepare ubuntu image.png|RTENOTITLE]]</span>
  
 
== '''Mount image''' ==
 
== '''Mount image''' ==

Revision as of 09:18, 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.
RTENOTITLE
  •  Prepare Ubuntu image (e.g. A0362)
RTENOTITLE

Mount image

  • You can find Yocto image in${WORKSPACE}/build/tmp/deplay/image/${MC}, and copy to your ${WORKSPACE}.
$ sudo cp –a imx-image-${MC}-20230816082527.rootfs.wic.bz2 ${WORKSPACE}.
RTENOTITLE
  • Unpack rootfs.wic
$sudo bzip2 -d imx-image-full-${MC}-20230814102331.rootfs.wic.bz2
RTENOTITLE
  • Create folders to mount
$mkdir ubuntu yocto
$mkdir ubuntu/rootfs yocto/rootfs