[ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

lee jones slothpuck at gmail.com
Wed Aug 31 12:45:12 UTC 2011


Ok here's a tidied up list of what I've tried (second attempt) at installing
armedslack on the Efika MX smartbook.

----

Armedslack Version used            = slack-13.1-miniroot_14Jun10.tar.xz
Efika mx modules/kernel version    = 2.6.31.14.22

0. Notes
* This dosen't work properly yet - currently boots to a command line, but
keyboard is unusable.

1. Grab an SD card and partition it into two partitons
Partition 1 - 100MB              EXT3
Partition 2 - Rest of card       EXT4

2. Format both partitions on a linux system. Use mkfs.ext3 for the ext3
partiton, and use mkfs.ext4 for the ext4 partition.

3. Download the slack 13.1 miniroot file from here;
ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/slack-13.1-miniroot_14Jun10.tar.xz

4. Download the following files from here;
[1] http://ausil.us/smartbook/boot-2.6.31.14.22-efikamx.tar
[2] http://ausil.us/smartbook/modules-2.6.31.14.22-efikamx.tar
[3] http://ausil.us/smartbook/firmware.tar.bz2
[4] http://steubentech.com/~talon/Efika-MX/mavericksd/boot.tar.xz

5. Extract two scripts from [4] - these are the files "script-prep" and
"kernel-prep".

6. Extract the contents of  [1] onto the first partition of the SD card.
Move the files into the "boot" directory into the root of the first
partition of the SD card. Delete the directories "dracut" and "grub".

7. Extract the files from the slack distro onto the second partition of the
SD card, e.g.
 tar -xf slack-13.1-miniroot_14Jul10.tar.xz -C
/where/you/mounted/the/second/partition

8. Extract the files from [2] and [3] onto the second partition of the SD
card.

9. On the second SD card partition edit /etc/inittab and comment out the
line starting with "s0:1234", put a # in front of that line to comment it
out.

9. On the second SD card partition edit /etc/fstab and add the following;
/dev/mmcblk0p2           /              ext4       defaults    1       1
/dev/mmcblk0p1           /boot          ext3       defaults    0       0

10. On the first partition when the files in [1] were extracted you should
have a boot.scr.in file. Edit this to look as follows;

setenv ramdisk uInitrd;
setenv kernel uImage;
setenv bootargs console=tty1 root=/dev/mmcblk0p2 selinux=0 rootwait ro;
${loadcmd} ${ramdiskaddr} ${ramdisk};
if imi ${ramdiskaddr}; then; else
  setenv bootargs ${bootargs} noinitrd;
  setenv ramdiskaddr "";
fi;
${loadcmd} ${kerneladdr} ${kernel}
if imi ${kerneladdr}; then
  bootm ${kerneladdr} ${ramdiskaddr}
fi;

11. Boot the efika MX and allow it to boot the default linux (ubuntu)
install. Insert the SD card, open a command line to where the SD card (1st
partition) is mounted and do the following;
sudo ./script-prep boot.scr.in boot.scr

12. Reboot the efika MX smartbook, leave the SD card in the SD slot.




ljones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.armedslack.org/pipermail/armedslack/attachments/20110831/e841e360/attachment.html>


More information about the ARMedslack mailing list