====== Getting started with the Aria G25 ====== {{:start:imag1018_small.jpg?200|}} {{:start:ez-pysps-v001.jpg?80|}} ===== prepare sd-card ===== * see [[http://www.acmesystems.it/microsd_create|How to create a bootable microSD from binary repositories]] ==== partition table should look like this ==== Device Boot Start End Blocks Id System /dev/sda1 * 2048 65535 31744 16 Hidden FAT16 /dev/sda2 65536 13737983 6836224 83 Linux /dev/sda3 13737984 15523839 892928 82 Linux swap / Solaris ==== ext4 parameters (/etc/mke2fs.conf) ==== ext4 = { features = has_journal,flex_bg,uninit_bg,dir_nlink auto_64-bit_support = 0 } ==== create filesystems ==== mkfs.vfat /dev/sda1 mkfs.ext4 /dev/sda2 mkswap /dev/sda3 ==== setup boot-partition ==== mount /dev/sda1 /mnt/sda1 cd /mnt/sda1 wget 'http://gentoo.ed-solutions.de/stages/aria25/boot-2013.04.09.tar.bz2' tar -vjxf boot-2013.04.09.tar.bz2 -C . rm boot-2013.04.09.tar.bz2 ==== get kernel uImage/modules ==== 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 ==== setup root partition ==== mount /dev/sda2 /mnt/sda2 cd /mnt/sda2 wget '' tar -vjxf -C . rm ==== config files (inside aria25) ==== === /etc/fstab === # /etc/fstab: static file system information. # # 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 === /etc/inittab === # SERIAL CONSOLES s0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100 #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 === /etc/conf.d/hostname === # Set to the hostname of this machine hostname="Aria25" === /etc/portage/make.conf === 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" === /etc/portage/package.keywords === sys-apps/i2c-tools ** dev-java/ant-core ** dev-java/ant-nodeps ** virtual/jre ~arm dev-java/java-config ~arm virtual/jdk ~arm === /etc/portage/package.use === sys-apps/i2c-tools python net-misc/openvpn passwordsave dev-java/icedtea -webstart -nsplugin ===== install kernel (from aria25 shell)===== * requires: dev-embedded/u-boot-tools cd /usr/src/linux mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/zImage uImage cp uImage /boot/