User Tools

Site Tools


start:ariag25

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
start:ariag25 [2013.04.09 - 08:25]
alexander.krause [install kernel]
start:ariag25 [2013.04.11 - 12:16] (current)
alexander.krause [Getting started with the Aria G25]
Line 1: Line 1:
 ====== Getting started with the Aria G25 ====== ====== Getting started with the Aria G25 ======
 +{{:​start:​imag1018_small.jpg?​200|}}
 +{{:​start:​ez-pysps-v001.jpg?​80|}}
 ===== prepare sd-card ===== ===== prepare sd-card =====
   * see [[http://​www.acmesystems.it/​microsd_create|How to create a bootable microSD from binary repositories]]   * see [[http://​www.acmesystems.it/​microsd_create|How to create a bootable microSD from binary repositories]]
  
-Partition ​table should look like this:+==== partition ​table should look like this ====
 <​code>​ <​code>​
    ​Device Boot      Start         ​End ​     Blocks ​  ​Id ​ System    ​Device Boot      Start         ​End ​     Blocks ​  ​Id ​ System
Line 11: Line 13:
 </​code>​ </​code>​
  
-Ext4 parameters (/​etc/​mke2fs.conf):+==== ext4 parameters (/​etc/​mke2fs.conf) ​====
 <code bash> <code bash>
  ext4 = {  ext4 = {
Line 19: Line 21:
 </​code>​ </​code>​
  
-Create ​filesystems:+==== create ​filesystems ​====
 <code bash> <code bash>
 mkfs.vfat /dev/sda1 mkfs.vfat /dev/sda1
Line 27: Line 29:
  
  
-Setup boot-partition:+==== setup boot-partition ​====
 <code bash> <code bash>
 mount /dev/sda1 /mnt/sda1 mount /dev/sda1 /mnt/sda1
Line 36: Line 38:
 </​code>​ </​code>​
  
-Get kernel uImage:+==== get kernel uImage/modules ====
 <code bash> <code bash>
 +mount /dev/sda1 /mnt/sda1
 +cd /mnt/sda1/
 +wget '​http://​gentoo.ed-solutions.de/​kernel/​aria25/​uImage-2.6.39-20130409.tar.bz2'​
 +tar -vjxf uImage-2.6.39-20130409.tar.bz2
 +umount /mnt/sda1
  
 +mount /dev/sda2 /mnt/sda2
 +cd /​mnt/​sda2/​lib/​
 +wget '​http://​gentoo.ed-solutions.de/​kernel/​aria25/​modules-2.6.39-2013.04.09.tar.bz2'​
 +tar -vjxf modules-2.6.39-2013.04.09.tar.bz2 -C .
 +cd /
 +umount /mnt/sda2
 </​code>​ </​code>​
- +==== setup root partition ​====
-Setup root partition:+
 <code bash> <code bash>
 mount /dev/sda2 /mnt/sda2 mount /dev/sda2 /mnt/sda2
Line 50: Line 62:
  
 </​code>​ </​code>​
 +
 +==== config files (inside aria25) ====
 +=== /etc/fstab ===
 +<​file>​
 +# /etc/fstab: static file system information.
 +
 +# <​fs>​ <​mountpoint>​ <​type>​ <​opts>​ <​dump/​pass>​
 +
 +# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
 +/​dev/​mmcblk0p1 /​boot vfat noauto,​noatime 1 2
 +/​dev/​mmcblk0p2 /​ ext4 noatime,​nodiratime,​discard 0 1
 +/​dev/​mmcblk0p3 none swap sw 0 0
 +
 +</​file>​
 +
 +=== /​etc/​inittab ===
 +<​file>​
 +# SERIAL CONSOLES
 +s0:​12345:​respawn:/​sbin/​agetty 115200 ttyS0 vt100
 +#​s1:​12345:​respawn:/​sbin/​agetty 9600 ttyS1 vt100
 +</​file>​
 +
 +=== /​etc/​conf.d/​hostname ===
 +<​file>​
 +# Set to the hostname of this machine
 +hostname="​Aria25"​
 +</​file>​
 +
 +=== /​etc/​portage/​make.conf ===
 +<​file>​
 +USE="​-X -alsa -oss -gpm minimal -cups -gtk -qt -gtk2 -gtk2"
 +CFLAGS="​-O2 -pipe -march=armv5te"​
 +CXXFLAGS="​${CFLAGS}"​
 +
 +CHOST="​armv5tel-softfloat-linux-gnueabi"​
 +FEATURES="​getbinpkg"​
 +PORTAGE_BINHOST="​http://​gentoo.ed-solutions.de/​packages/​aria25/"​
 +
 +ACCPET_KEYWORS="​~arm"​
 +</​file>​
 +
 +=== /​etc/​portage/​package.keywords ===
 +<​file>​
 +sys-apps/​i2c-tools **
 +dev-java/​ant-core **
 +dev-java/​ant-nodeps **
 +virtual/​jre ~arm
 +dev-java/​java-config ~arm
 +virtual/​jdk ~arm
 +</​file>​
 +
 +=== /​etc/​portage/​package.use ===
 +<​file>​
 +sys-apps/​i2c-tools python
 +net-misc/​openvpn passwordsave
 +dev-java/​icedtea -webstart -nsplugin
 +</​file>​
 +
 ===== install kernel (from aria25 shell)===== ===== install kernel (from aria25 shell)=====
   * requires: dev-embedded/​u-boot-tools   * requires: dev-embedded/​u-boot-tools
start/ariag25.1365495949.txt.gz · Last modified: 2013.04.09 - 08:25 by alexander.krause