User Tools

Site Tools


usomiq-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usomiq-ubuntu [2014/01/06 03:15]
maxx [Install Debian to NAND]
usomiq-ubuntu [2015/03/05 02:09] (current)
maxx [Linux Kernel]
Line 43: Line 43:
  
 <​code>​ <​code>​
-wget http://​www.mentorel.com/​downloads/​usomiq/​patches/​add-usomiq-to-uboot.patch +wget http://​www.mentorel.com/​downloads/​usomiq/​patches/​u-boot-2013.07-usomiq.patch 
-patch -p1 < add-usomiq-to-uboot.patch+patch -p1 < u-boot-2013.07-usomiq.patch
 </​code>​ </​code>​
  
Line 65: Line 65:
 Download a patch to enable uSomIQ support in kernel Download a patch to enable uSomIQ support in kernel
 <​code>​ <​code>​
-wget http://​www.mentorel.com/​downloads/​usomiq/​patches/​add-usomiq-to-nelson-scripts.patch +wget http://​www.mentorel.com/​downloads/​usomiq/​patches/​add-usomiq-rcn-v3.2.patch 
-patch -p1 < add-usomiq-to-nelson-scripts.patch+patch -p1 < add-usomiq-rcn-v3.2.patch
 </​code>​ </​code>​
  
Line 86: Line 86:
 This file system is very small and can be installed to the NAND flash on uSomIQ. It is not that small like Angstrom minimal distribution (~20M), but will require around 75M on the flash. However it is a real Debian system with apt-get utility installed. This file system is very small and can be installed to the NAND flash on uSomIQ. It is not that small like Angstrom minimal distribution (~20M), but will require around 75M on the flash. However it is a real Debian system with apt-get utility installed.
  
-Default User: debian+Default User: debian\\
 Password: temppwd Password: temppwd
  
-Root User: root+Root User: root\\
 Root Password: root Root Password: root
  
 <​code>​ <​code>​
-wget -c https://​rcn-ee.net/​deb/​minfs/​wheezy/​debian-7.1-minimal-armhf-2013-08-25.tar.xz+wget -c https://​rcn-ee.net/​deb/​minfs/​wheezy/​debian-7.5-minimal-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 verify the image with: verify the image with:
 <​code>​ <​code>​
-md5sum debian-7.1-minimal-armhf-2013-08-25.tar.xz +md5sum debian-7.5-minimal-armhf-2014-07-07.tar.xz 
-63e68e96b21cefeae9e4ecbf0568fd26  ​debian-7.1-minimal-armhf-2013-08-25.tar.xz+cae9e0cfac14fd6aa19d4c17357aecc8 ​debian-7.5-minimal-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 Extract Image: Extract Image:
 <​code>​ <​code>​
-tar xJf debian-7.1-minimal-armhf-2013-08-25.tar.xz+tar xf debian-7.5-minimal-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 Now you have a directory with the archived (tar) file system itself and a file with user names/​passwords. Now you have a directory with the archived (tar) file system itself and a file with user names/​passwords.
Line 108: Line 108:
 ===== Ubuntu 13.04 (Raring) Root File System ===== ===== Ubuntu 13.04 (Raring) Root File System =====
  
-Default User: ubuntu+Default User: ubuntu\\
 Password: temppwd Password: temppwd
  
 <​code>​ <​code>​
-wget -c https://​rcn-ee.net/​deb/​minfs/​raring/ubuntu-13.04-minimal-armhf-2013-08-25.tar.xz+wget -c https://​rcn-ee.net/​deb/​minfs/​trusty/ubuntu-14.04-minimal-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 verify the image with: verify the image with:
 <​code>​ <​code>​
-md5sum ubuntu-13.04-minimal-armhf-2013-08-25.tar.xz +md5sum ubuntu-14.04-minimal-armhf-2014-07-07.tar.xz 
-4bbf7944d43ba5f4fbb5a86232b57d58  ​ubuntu-13.04-minimal-armhf-2013-08-25.tar.xz+c30fb91012701cdbfa00bb6c86868d0a ​ubuntu-14.04-minimal-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 Extract Image: Extract Image:
 <​code>​ <​code>​
-tar xJf ubuntu-13.04-minimal-armhf-2013-08-25.tar.xz+tar xJf ubuntu-14.04-minimal-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
  Now you have a directory with the archived (tar) file system itself and a file with user names/​passwords.  Now you have a directory with the archived (tar) file system itself and a file with user names/​passwords.
Line 135: Line 135:
 Download: ​ Download: ​
 <​code>​ <​code>​
-wget -c https://​rcn-ee.net/​deb/​barefs/​wheezy/​debian-7.1-bare-armhf-2013-08-25.tar.xz+wget -c https://​rcn-ee.net/​deb/​barefs/​wheezy/​debian-7.5-bare-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
  
 Verify: ​ Verify: ​
 <​code>​ <​code>​
-md5sum debian-7.1-bare-armhf-2013-08-25.tar.xz +md5sum debian-7.5-bare-armhf-2014-07-07.tar.xz 
-276f2b77c1de379e5923f1f97b1f7853 ​debian-7.1-bare-armhf-2013-08-25.tar.xz+a5f0e75e5ad16bb110d4291f54ed6cb9  ​debian-7.5-bare-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 Extract: Extract:
 <​code>​ <​code>​
-tar xJf debian-7.1-bare-armhf-2013-08-25.tar.xz+tar xJf debian-7.5-bare-armhf-2014-07-07.tar.xz
 </​code>​ </​code>​
 ====== Install Ubuntu/​Debian ====== ====== Install Ubuntu/​Debian ======
Line 361: Line 361:
 3) Boot the board with the SD card to u-boot and issue the following commands: 3) Boot the board with the SD card to u-boot and issue the following commands:
 <​code>​ <​code>​
-mmc rescan 
 nand erase.chip nand erase.chip
 +mmc rescan
 fatload mmc 0 0x81600000 MLO fatload mmc 0 0x81600000 MLO
 nand write 0x81600000 0 20000 nand write 0x81600000 0 20000
Line 385: Line 385:
 For more information visit: [[http://​processors.wiki.ti.com/​index.php/​UBIFS_Support]] For more information visit: [[http://​processors.wiki.ti.com/​index.php/​UBIFS_Support]]
  
-Preparing NAND partition+Preparing NAND partition ​for modules with 256MB
 <​code>​ <​code>​
 ubiformat /dev/mtd7 -s 2048 -O 2048 ubiformat /dev/mtd7 -s 2048 -O 2048
 ubiattach /​dev/​ubi_ctrl -m 7 -O 2048 ubiattach /​dev/​ubi_ctrl -m 7 -O 2048
 ubimkvol /dev/ubi0 -s 235MiB -N rootfs ubimkvol /dev/ubi0 -s 235MiB -N rootfs
 +mount -t ubifs ubi0:rootfs /mnt
 +</​code>​
 +
 +Preparing NAND partition for modules with 512MB
 +<​code>​
 +ubiformat /dev/mtd7 -s 2048 -O 2048
 +ubiattach /​dev/​ubi_ctrl -m 7 -O 2048
 +ubimkvol /dev/ubi0 -s 450MiB -N rootfs
 mount -t ubifs ubi0:rootfs /mnt mount -t ubifs ubi0:rootfs /mnt
 </​code>​ </​code>​
usomiq-ubuntu.1388996105.txt.gz · Last modified: 2014/01/06 03:15 (external edit)