Archlinux on the EfikaMX Smarttop
How to install ArchlinuxARM on the EfikaMX Smarttop
As the EfikaMX is currently not officially supported, I created this tutorial to describe the install process on an sd-card. This setup contains the 2.6.31.14.21-efikamx kernel, which is taken from the preinstalled ubuntu. I took the omap rootfs from archlinuxarm.org and copied the kernel source into the filesystem. The boot-partition is nearly equal to the one of the maverickheadless installer, but with some changes on the cmdline.
Partitioning
Create two partitions on your sd-card:
- ~100MB
- the rest (except you plan to create a separate swap partition)
Formating
Format the first partition with ext2 and the second one with ext4.
mkfs.ext2 -L boot /dev/sdb1 mkfs.ext4 -L root /dev/sdb2
Installing
Extract the bootloader archive to the first partition...
mount /dev/sdb1 /mnt/ tar xzvf EfikaMX-bootloader.tar.gz -C /mnt/ sync umount /mnt/
...and the root filesystem to the second partition.
mount /dev/sdb2 /mnt/ tar xzvf ArchLinuxARM-imx5-latest.tar.gz -C /mnt/ sync umount /mnt/
Booting
Insert your sd-card and boot up. Now you can login locally or using ssh.
User/Pass: root
Audio
To get audio working, put this into your /etc/rc.local:
machine=$(grep "^Hardware" /proc/cpuinfo | sed 's/Hardware\s*:\s*//') case "$machine" in "Genesi Efika MX (Smartbook)") board=efikasb ;; "Genesi Efika MX (Smarttop)") board=efikamx ;; esac if [ "${board}" = "efikamx" ]; then if [ -f /sys/class/graphics/fb0/audio ]; then modprobe snd-spdif modprobe snd-soc-imx-3stack-sgtl5000 else modprobe snd-soc-imx-3stack-sgtl5000 modprobe snd-spdif fi else modprobe snd-soc-imx-3stack-sgtl5000 fi
Update
The audio-stuff is now included in the rootfs image. Additionally I modified the boot.scr. The default kernel loglevel is now 5 and the serial debug console is working and I changed the serial console config in the /etc/inittab to the efika devicename. Last but not least I added a killall plymouthd to /etc/rc.local to get rid of this relict of the ubuntu initrd.
Ethernet
Cable network should work out of the box, but sometimes the interface is not set up correctly. The results is that the interface is going up and down all the time. You can get it working like that:
rmmod asix modprobe asix
4 Comments
Posts: 2
Reply #4 on : Mon January 30, 2012, 09:59:11
Posts: 2
Reply #3 on : Mon January 30, 2012, 02:58:51
Posts: 2
Reply #2 on : Sun January 29, 2012, 12:10:42
Posts: 2
Reply #1 on : Sat January 28, 2012, 07:28:42
Write a comment