VAR-SOM-MX6 Ubuntu Create Ubuntu Alip SDCARD: Difference between revisions
Line 34: | Line 34: | ||
$ sudo fdisk /dev/sdxxx | $ sudo fdisk /dev/sdxxx | ||
n | n | ||
p | |||
1 | 1 | ||
8192 | 8192 | ||
24575 | 24575 | ||
Line 41: | Line 41: | ||
b | b | ||
n | n | ||
p | |||
2 | 2 | ||
24576 | 24576 | ||
<enter to select default last sector> | <enter to select default last sector> |
Revision as of 09:51, 6 January 2016
Under construction!!! Under construction!!! Under construction!!!
Overview
Ubuntu Linaro Alip is pre built file system. For more information Ubuntu based Rootfs provided by Linaro. Variscite used linaro-vivid-alip-20151215-714 image added Vivante Graphic acceleration and compile the GStreamer with i.MX6 support.
Build Ubuntu Alip NFS is prerequisite step. Please make sure you run it and have a complete NFS build directory as described in the linked WIKI.
The steps require to build an Bootable SDCARD:
- Build Ubuntu Alip NFS.
- Format and partition the SCDARD
- Install U-Boot images
- Copy the kernel image and device tree files.
- Install the root file system
- Deploy the kernel modules
- Deploy the Wi-Fi modules and firmware
Format and partition the SCDARD
Use to find oout your SDCARD device.
$ dmesg
change /dev/sdxxx with your real device in the following commands.
Delete the MBR on your SDCARD
$ cd ~/var-som-mx6-alip $ sudo umount /dev/sdxxx* $ sudo dd if=/dev/zero of=/dev/sdxxx bs=1K count=10 $ sync
Use fdisk to partition the SDCARD
$ sudo fdisk /dev/sdxxx n p 1 8192 24575 t b n p 2 24576 <enter to select default last sector> t 83 w
Device Boot Start End Blocks Id System
/dev/sde1 8192 24575 8192 c W95 FAT32 (LBA) /dev/sde2 24576 7421875 3698650 83 Linux
Install U-Boot images
Copy the kernel image and device tree files
Install the root file system
$ mkdir ~/var-som-mx6-alip $ cd ~/var-som-mx6-alip $ sudo mkdir rootfs $ cd rootfs $ sudo tar xvf ~/Downloads/linaro-alip-20151215-v1.tar.bz2