Latest revision |
Your text |
Line 1: |
Line 1: |
- | {{Mer}}
| |
- |
| |
| This article sums up the different ways to install Mer on different types of computers (VMWare, chroot, on device, etc.). Please feel free to add/edit. The original information is taken from [[Mer/Releases/0.9]]. | | This article sums up the different ways to install Mer on different types of computers (VMWare, chroot, on device, etc.). Please feel free to add/edit. The original information is taken from [[Mer/Releases/0.9]]. |
| | | |
Line 51: |
Line 49: |
| | | |
| <pre> | | <pre> |
- | Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb 2>/dev/null 1>&2 & | + | Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite 2>/dev/null 1>&2 & |
| sudo mount --bind /tmp/.X11-unix tmp/.X11-unix | | sudo mount --bind /tmp/.X11-unix tmp/.X11-unix |
| sudo mount --bind /dev/pts dev/pts | | sudo mount --bind /dev/pts dev/pts |
Line 230: |
Line 228: |
| echo 1 >/proc/sys/net/ipv4/ip_forward | | echo 1 >/proc/sys/net/ipv4/ip_forward |
| </pre> | | </pre> |
- |
| |
- | == Touch Book (Experimental) ==
| |
- |
| |
- | '''Until there's a Touch Book image, use SmartQ5 image.'''
| |
- |
| |
- | First, make sure your SD card's geometry is 63 / 255 . Otherwise the Touch Book won't recognice it. To set the correct geometry, put the SD in your host-computers card-reader and open up a terminal. Type:
| |
- | <pre>
| |
- | bash:$ sudo fdisk /dev/<yoursdcard>
| |
- |
| |
- | Command (m for help): [x]
| |
- |
| |
- | Expert command (m for help): [s]
| |
- | Number of sectors : [63]
| |
- |
| |
- | Expert command (m for help): [h]
| |
- | Number of heads : [255]
| |
- |
| |
- | Expert command (m for help): [w]
| |
- | </pre>
| |
- |
| |
- | '''Formatting the SD card:'''
| |
- |
| |
- | * The first partition needs to be formatted as FAT32 ''and have the boot flag''. 30Mb size is fine.
| |
- | * Format the second partition as ext3, at least 512Mb size.
| |
- | * If you want, you can also create one more partition for swap.
| |
- |
| |
- | This is easy to do with linux host-computer.
| |
- | GParted is easy to use graphical Partition Editor.
| |
- |
| |
- | '''Installation'''
| |
- |
| |
- | Download Mer image and unpack it in the second partition.
| |
- |
| |
- | Copy a few files from AI OS for better hardware support:
| |
- |
| |
- | /lib/firmware
| |
- |
| |
- | /lib/modules
| |
- |
| |
- | /etc/Wireless
| |
- |
| |
- | /etc/fstab
| |
| | | |
| == SmartQ == | | == SmartQ == |
Line 284: |
Line 240: |
| You may also want to download some additional software to our SD card for after Mer is installed.<br> | | You may also want to download some additional software to our SD card for after Mer is installed.<br> |
| To use Wifi, you'll need the Marvell Wifi Firmware blobs | | To use Wifi, you'll need the Marvell Wifi Firmware blobs |
- | * Browse [http://www.marvell.com/support.html here] and select in the drivers colum for os "Fedora 2.6" and click search. After that, get a zip file called starting whit SD-8686 | + | * Browse [http://www.marvell.com/drivers/driverDisplay.do?driverId=203 here to agree the download license] and get a zip file |
| * Extract the downloaded zip file, then extract SD-8686-FEDORA26FC6-SYSKT-GPL-9.70.3.p24-26409.P45.tar within it. Extract the FwImage folder to your PC. | | * Extract the downloaded zip file, then extract SD-8686-FEDORA26FC6-SYSKT-GPL-9.70.3.p24-26409.P45.tar within it. Extract the FwImage folder to your PC. |
| * Inside there are two files, helper_sd.bin and sd8686.bin. Rename helper_sd.bin to sd8686_helper.bin and copy to your SD card | | * Inside there are two files, helper_sd.bin and sd8686.bin. Rename helper_sd.bin to sd8686_helper.bin and copy to your SD card |
Line 338: |
Line 294: |
| $ sudo cp /media/sd8686_helper.bin /lib/firmware/ | | $ sudo cp /media/sd8686_helper.bin /lib/firmware/ |
| </pre> | | </pre> |
- | And then either, for the SmartQ5 [Note: The following step may not be necessary as the 0.16-5 firmware automatically installs the most current file from the SD card during bootup. The confirmation message is "wifi firmware installation successful". Verified on Q5.] | + | And then either, for the SmartQ5 |
| <pre> | | <pre> |
| $ sudo dpkg -i /media/kernel-smartq5-modules_2.6.24.7-smartq5-*_all.deb | | $ sudo dpkg -i /media/kernel-smartq5-modules_2.6.24.7-smartq5-*_all.deb |
| </pre> | | </pre> |
- | or for the SmartQ7 [Note: The following step may not be necessary as the 0.16-5 firmware automatically installs the most current file from the SD card during bootup. The confirmation message is "wifi firmware installation successful". Verified on Q7.] | + | or for the SmartQ7 |
| <pre> | | <pre> |
| $ sudo dpkg -i /media/kernel-smartq7-modules_2.6.24.7-smartq7-*_all.deb | | $ sudo dpkg -i /media/kernel-smartq7-modules_2.6.24.7-smartq7-*_all.deb |
- | </pre>
| |
- |
| |
- | Now that you've enabled networking, you should close the gaping security hole which is part of the default configuration by changing the root password from its default, which is "rootme".
| |
- | <pre>
| |
- | $ sudo passwd
| |
- | Password: (enter your user password)
| |
- | Enter new UNIX password: (enter any hard to guess password you want)
| |
- | Retype new UNIX password: (same one again)
| |
| </pre> | | </pre> |
| | | |
Line 362: |
Line 310: |
| Once it reboots, you should be able to see wireless networks on the menu and select them. | | Once it reboots, you should be able to see wireless networks on the menu and select them. |
| | | |
- | === Booting from SD card ===
| + | [[Category:Mer]] |
- | (this was taken from [http://alone-in-the-light.zenvoid.org/2009/06/boot-smartq-5-from-sd-card.html zenvoid's blog])
| + | |
- | | + | |
- | In order to boot from the SD card, it is simply a matter of creating a partition on the SD card large enough to hold the mer distribution, but leaving enough unpartitioned space at the end of the card for the bootloader to sit.
| + | |
- | | + | |
- | * Download install-smartq-qi.sh, qi-smartq-20090612.bin from http://zenvoid.org/software/qi-smartq
| + | |
- | | + | |
- | * Create at least one ext2/ext3 Partition your SD card (and optionally a swap partition), but always '''remember to reserve 1 MiB of free, unpartitioned space at the end of the SD card'''. To be precise, at least the last 2048 blocks (512 bytes each) must be reserved.
| + | |
- | * Untar (tar --numeric-owner -zxvf) the rootfs for your device onto the partition you created on your SD card (make sure it isn't mounted with any no* options, e.g. nodev, noexec, ..)
| + | |
- | * Rename or copy the kernel file (/boot/zImage<something>) to /boot/linux-SMDK6410.bin
| + | |
- | * Run
| + | |
- | <pre>
| + | |
- | ./install-smartq-qi.sh /dev/SD_CARD_DEVICE qi-smartq-20090612.bin
| + | |
- | </pre>
| + | |
- | | + | |
- | To boot from the SD card, keep the "move"/fullscreen button (Q5) or right-hand-most button on the top which looks like a target symbol (Q7) pressed and then press the "power" button.
| + | |
- | | + | |
- | Q5 Boot stages:
| + | |
- | * Red LED: First stage - bootloader is loading itself into memory.
| + | |
- | * Yellow LED: Second stage - bootloader running, trying to locate and loading a kernel image.
| + | |
- | * Green LED: Linux kernel loaded and running.
| + | |
- | * Blinking yellow LED: A critical error while reading from the SD card.
| + | |
- | * Blinking green LED: No kernel found.
| + | |
- | | + | |
- | Q7 Boot:
| + | |
- | | + | |
- | Keep in mind that the LEDs colours are reversed on the Q7, i.e. a green LED on the Q5 is a red one on the Q7 (the list above is for the Q5)
| + | |
- | | + | |
- | There is no battery check at the moment.
| + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | ==== Alternate SD booting method using the OF bootloader ====
| + | |
- | (as desribed on the Smartqmid forum:
| + | |
- | http://www.smartqmid.com/phpBB3/viewtopic.php?f=2&t=150)
| + | |
- | | + | |
- | '''works only with OF installed on the device'''
| + | |
- | | + | |
- | in short:
| + | |
- | *the first partition must be fat32 and the other primary partitions must be ext3
| + | |
- | *on the first (fat) partition must be a folder named boot, that contains a menu.lst file and the kernel image (zimage)
| + | |
- | *the menu.lst should be formated like this:
| + | |
- | <pre>
| + | |
- | title sdcard # name of the entry
| + | |
- | kernel /boot/zimage # kernel image location
| + | |
- | param root=/dev/mmcblk1p2 rootwait # location of the root fs, this is
| + | |
- | # the second primary partition on SD
| + | |
- | # the internal memory is mmcblk0,
| + | |
- | # first internal partition = mmcblk0p1
| + | |
- | | + | |
- | </pre>
| + | |
- | | + | |
- | With all this in place, the device shows a simple boot menu when turned on wit the SD card inside, you can select the entry with +,- buttons on the left and booting is triggered with middle button on the upper left.
| + | |
- | | + | |
- | Theoretically you can multiboot up to 5 different systems (internal + on the fat partition + three ext3 partitions, '''not tested''').
| + | |