Difference between revisions of "IoTGateway/BSP/Linux/iMX6/How To Update Ubuntu/Debian Rootfs"

From ESS-WIKI
Jump to: navigation, search
(Created page with "== Update Ubuntu/Debian Rootfs on Your Device == === Update your device(EMMC) === * Your Device is Yocto version * Prepare the SD Card Linux Image(Yocto version) * Prepare t...")
 
Line 3: Line 3:
 
=== Update your device(EMMC) ===
 
=== Update your device(EMMC) ===
  
* Your Device is Yocto version
+
*Your Device is Yocto version
* Prepare the SD Card Linux Image(Yocto version)
+
*Prepare the SD Card Linux Image(Yocto version)
* Prepare the Ubuntu /Debian rootfs
+
*Prepare the Ubuntu /Debian rootfs
  
 +
=== Prepare the Ubuntu /Debian rootfs ===
  
=== Prepare the Ubuntu /Debian rootfs ===
+
Ubuntu Rootfs Name : u1404-rootfs-armhf.tgz Debian Rootfs Name : rootfs.tar.bz2
  
Ubuntu
+
=== Update your device(EMMC) ===
Rootfs Name : u1404-rootfs-armhf.tgz
 
Debian
 
Rootfs Name : rootfs.tar.bz2
 
  
 +
*System Boot up form SD card.
 +
*Check your EMMC the partition number.
 +
*Remove your yocto rootfs form your device(EMMC).
 +
(Check your EMMC rootfs)
 +
(If your EMMC partition rootfs is mmcblk0p2)
 +
<syntaxhighlight lang="bash">
 +
rm -rf /dev/mmcblk0p2/*
 +
</syntaxhighlight>
  
=== Update your device(EMMC) ===
+
*Copy the Ubuntu/Debian Rootfs to your device partition.
 +
<syntaxhighlight lang="bash">
 +
mkdir /temp
 +
mount /dev/sda1 /temp
 +
cp -a /temp/u1404-rootfs-armhf.tgz /dev/mmcblk0p2
 +
</syntaxhighlight>
  
* System Boot up form SD card.
 
* Remove your yocto rootfs form your device(EMMC).
 
* Copy the Ubuntu/Debian Rootfs to your device partition.
 
  
 
== Ubuntu rootfs LXDE versioin ==
 
== Ubuntu rootfs LXDE versioin ==

Revision as of 04:03, 10 January 2018

Update Ubuntu/Debian Rootfs on Your Device

Update your device(EMMC)

  • Your Device is Yocto version
  • Prepare the SD Card Linux Image(Yocto version)
  • Prepare the Ubuntu /Debian rootfs

Prepare the Ubuntu /Debian rootfs

Ubuntu Rootfs Name : u1404-rootfs-armhf.tgz Debian Rootfs Name : rootfs.tar.bz2

Update your device(EMMC)

  • System Boot up form SD card.
  • Check your EMMC the partition number.
  • Remove your yocto rootfs form your device(EMMC).

(Check your EMMC rootfs) (If your EMMC partition rootfs is mmcblk0p2)

rm -rf /dev/mmcblk0p2/*
  • Copy the Ubuntu/Debian Rootfs to your device partition.
mkdir /temp
mount /dev/sda1 /temp
cp -a /temp/u1404-rootfs-armhf.tgz /dev/mmcblk0p2


Ubuntu rootfs LXDE versioin

LXDE (abbreviation for Lightweight X11 Desktop Environment) is a free desktop environment with comparatively low resource requirements.

LXDE2.png

modules & firmware

Copy the modules.tgz to /lib/modules.

Depending on chosen kernel, please copy/install proper modules $ROOTFS/lib/modules.

Depending the official build version :

For example : 4411A1LIV8210 Check your lib module path

Module.jpg

Load module

depmod -a 4.1.15-official_build_version
sync
If you already insert module, please send command "lsmod" and check it.
Depmod.jpg

Check your load module

Lsmod.jpg

Depending on chosen kernel, please copy/install firmware $ROOTFS/lib/firmwware.