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 [2013/10/02 10:43]
maxx [Install Kernel and Root File System]
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 75: Line 75:
  
 The kernel zImage and modules will be under the deploy directory. The kernel zImage and modules will be under the deploy directory.
 +
 +===== Prebuilt binaries =====
 +You can find the prebuilt binaries here:
 +
 +[[http://​www.mentorel.com/​downloads/​usomiq/​boot/​beaglebone-compatible/​]]
 +
 ====== Root File System ====== ====== Root File System ======
 ===== Debian 7.0.0 (Wheezy) Root File System ===== ===== Debian 7.0.0 (Wheezy) Root File System =====
Line 80: 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 102: 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 129: 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 355: 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 365: Line 371:
 <​code>​ <​code>​
 fatload mmc 0 0x81600000 u-boot.img fatload mmc 0 0x81600000 u-boot.img
-nand write 0x81600000 80000 194A8 # <- this is the actual size of the u-boot.img file in Hex+nand write 0x81600000 80000 57d74 # <- this is the actual size of the u-boot.img file in Hex
 </​code>​ </​code>​
 Load the kernel image zImage to NAND. Note that we use the actual size of the zImage file in Hex. If your file has a different size then update this number Load the kernel image zImage to NAND. Note that we use the actual size of the zImage file in Hex. If your file has a different size then update this number
 <​code>​ <​code>​
 run loaduimage run loaduimage
-nand write ${loadaddr} 280000 ​2B05C0 ​# <- this is the actual size of the zImage file in Hex+nand write ${loadaddr} 280000 ​2B08f8 ​# <- this is the actual size of the zImage file in Hex
 </​code>​ </​code>​
  
Line 379: 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.1380725013.txt.gz · Last modified: 2013/10/02 10:43 (external edit)