VAR-SOM-MX6 Ubuntu Flash From Net: Difference between revisions

From Variscite Wiki
Line 12: Line 12:


The steps require to build an Bootable  SDCARD:
The steps require to build an Bootable  SDCARD:
# Build Ubuntu Alip NFS.
# Build Ubuntu Alip NFS. [[VAR-SOM-MX6_Ubuntu_Build_Ubuntu_Alip_NFS | Build Ubuntu Alip NFS]]
# Boot your Ubuntu Alip with TFTP and mount your file system over NFS.
# Boot your Ubuntu Alip with TFTP and mount your file system over NFS. [[VAR-SOM-MX6_Ubuntu_Build_Ubuntu_Alip_NFS | Build Ubuntu Alip NFS]]
# Copy required file to your NFS directory
# Copy required file to your NFS directory
# Format and partition the target eMMC
# Format and partition the target eMMC

Revision as of 13:23, 6 January 2016

VAR-SOM-MX6 - Ubuntu Linaro Alip-20151215 Flash your target from NET


Note:
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. Also make sure you target is booted from NFS.

The steps require to build an Bootable SDCARD:

  1. Build Ubuntu Alip NFS. Build Ubuntu Alip NFS
  2. Boot your Ubuntu Alip with TFTP and mount your file system over NFS. Build Ubuntu Alip NFS
  3. Copy required file to your NFS directory
  4. Format and partition the target eMMC
  5. Install U-Boot and Linux Kernel images
  6. Install the root file system
  7. Deploy the kernel modules
  8. Deploy the Wi-Fi modules and firmware

Copy required file to your NFS directory

Format and partition the target eMMC

Install U-Boot and Linux Kernel images

Note:
Make sure you built U-Boot for SD.
$ ~/var-som-mx6-alip/uboot-imx
$ sudo dd if=SPL of=/dev/sdxxx bs=1K seek=1; sync
$ sudo dd if=u-boot.img of=/dev/sdxxx bs=1K seek=69; sync

Install the root file system

$ sudo tar xvf ~/Downloads/linaro-alip-20151215-v1.tar.bz2 -C /media/rootfs

Deploy the kernel modules

$ cd ~/var-som-mx6-alip/linux-2.6-imx
$ sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules_install INSTALL_MOD_PATH=/media/rootfs/

Deploy the Wi-Fi modules and firmware

$ cd ~/var-som-mx6-alip/build-utilites
$ gedit setup-env
set:
export ROOTFS=/media/rootfs
$ ./sudo_build_wl18xx.sh modules
$ ./sudo_build_wl18xx.sh firmware
$ ./sudo_build_wl18xx.sh bt-firmware
$ sudo umount /dev/sdxxx*