Difference between revisions of "IoTGateway/BSP/Linux/iMX6/How To Update Ubuntu/Debian Rootfs"
From ESS-WIKI
(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 === | ||
− | + | 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) | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | rm -rf /dev/mmcblk0p2/* | ||
+ | </syntaxhighlight> | ||
− | + | *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> | ||
− | |||
− | |||
− | |||
== Ubuntu rootfs LXDE versioin == | == Ubuntu rootfs LXDE versioin == |
Revision as of 03:03, 10 January 2018
Contents
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.
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
Load module
depmod -a 4.1.15-official_build_version
sync
Check your load module
Depending on chosen kernel, please copy/install firmware $ROOTFS/lib/firmwware.