User Tools

Site Tools


start:ariag25

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Getting started with the Aria G25 ====== ===== 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 ==== <code> 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 </code> ==== ext4 parameters (/etc/mke2fs.conf) ==== <code bash> ext4 = { features = has_journal,flex_bg,uninit_bg,dir_nlink auto_64-bit_support = 0 } </code> ==== create filesystems ==== <code bash> mkfs.vfat /dev/sda1 mkfs.ext4 /dev/sda2 mkswap /dev/sda3 </code> ==== setup boot-partition ==== <code bash> 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 </code> ==== get kernel uImage ==== <code bash> </code> ==== setup root partition ==== <code bash> mount /dev/sda2 /mnt/sda2 cd /mnt/sda2 wget '' tar -vjxf -C . rm </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)===== * requires: dev-embedded/u-boot-tools <code bash> 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/ </code>

start/ariag25.1365496531.txt.gz · Last modified: 2013.04.09 - 08:35 by alexander.krause