JlimeDownloadsAndInstallation

From Qi-Hardware
Jump to: navigation, search

Contents

[edit] Installing Jlime Muffinman on the Ben Nanonote

This is a simple guide for installing JLime using a Linux desktop PC. Firstly, although we can never promise anything, the nanonote is suppose to be unbrickable which in essence means that you can never make it unfixable. So if this doesnt work for you, start over.

You can install Jlime on NAND or on uSD.

[edit] What will you need to install JLime?

  • Ben Nanonote
  • Usb cable (included inside box)
  • A computer with any Linux distribution (you can use a LiveCD which can be run without installing it) with an free usb connection.
  • Userland, Kernel and bootloader from here
  • about 15mins (hardcore Linux geeks about 10) of spare time and some patience.

[edit] Installation ON NAND

# DO IT just ONCE
apt-get install libconfuse0
wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_0.0+201002-1_i386.deb
dpkg -i xburst-tools_0.0+201002-1_i386.deb
# DOWNLOAD THE KERNEL AND ROOTFS FOR NAND
wget http://downloads.qi-hardware.com/jlime/images/openwrt-xburst-qi_lb60-u-boot.bin
wget http://downloads.qi-hardware.com/jlime/images/uImage-2.6.34-qi.for-muffinman-image-NAND
wget http://downloads.qi-hardware.com/jlime/images/Jlime-muffinman-image.ben-nanonote.13nov2010.ubi
# FLASH
# Put the Nano into usb-boot-mode. Hold the __U__ key while powering
# on the NanoNote (__POWER__ + __U__) to enter software usbboot mode.
# Note, the device screen will not power on in USB BOOT mode. 
sudo usbboot -c "boot"
sudo sed -i 's/NAND_FORCEERASE = .*/NAND_FORCEERASE = 1/' /etc/xburst-tools/usbboot.cfg    # <-- DO IT just ONCE
sudo usbboot -c "nerase 0 4096 0 0"
sudo usbboot -c "nprog 0 openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n"
sudo usbboot -c "nprog 1024 uImage-2.6.34-qi.for-muffinman-image-NAND 0 0 -n"
sudo usbboot -c "nprog 2048 Jlime-muffinman-image.ben-nanonote.13nov2010.ubi 0 0 -n"

Be sure that all the commands worked. Remember that one is required to have root priveleges to use usbboot. The system will not boot if there were problems, and it will be harder to get usbboot again.

If you want to install the bootstrap image then download and use the below files (with the same above instructions):

[edit] Installation on MicroSD

[edit] For advanced users

You need a current Qi official bootloader (16-Jun-2010+) already installed. If you dont, please fix that before to continue.

  1. Divide the MicroSD card into 2 partitions: ext2 and swap (at least, 32MB of swap).
  2. Unpackage the Jlime-muffinman-image.ben-nanonote.13nov2010.tar.gz

file into the first ext2 partition. Boot pressing 'M' + PowerON button.

If you want to install the bootstrap image then download and use the Jlime-muffinman-bootstrap.ben-nanonote.16nov2010.tar.gz file (with the same above instructions).

If you want to do it easier avoid the swap partition (but a bit of swap is always better).

[edit] For typical users

  1. Prepare the Micro SD Card
  2. Download AND Install the System
  3. Boot the System
[edit] Step 1: Prepare the Micro SD Card

Divide the MicroSD card into 2 partitions:

  • /dev/sdc1 : ext2, 128MB or more. Better more.
  • /dev/sdc2 : swap, optional how large but 32MB is usually enough

Note: the sizes are specific for the userland file mentioned below

Warning! : the name of the device files (/dev/sdc1, /dev/sdc2, ..) above are only examples. I assume that the MicroSD card is /dev/sdc, but it could be different in your PC, check that before and use the proper names of the device files. If you do not know how to split your MicroSD card then read Partitioning your Compact Flash card.

Creating the file systems:

mkfs.ext2 /dev/sdc1
mkswap /dev/sdc2
[edit] Step 2: Download and Install the Neccesary Files

You need a current Qi official bootloader (16-Jun-2010+) already installed. If you dont, please fix that before to continue.

Donwonload and Install the Jlime Muffinman userland (Jlime-muffinman-image.ben-nanonote.13nov2010.tar.gz) on ext2 file system (extract the files as root only). Example:

cd /tmp
wget http://downloads.qi-hardware.com/jlime/images/Jlime-muffinman-image.ben-nanonote.13nov2010.tar.gz
mount /dev/sdc1 /mnt
cd /mnt
tar xvzf /tmp/Jlime-muffinman-image.ben-nanonote.13nov2010.tar.gz
cd /
umount /dev/sdc1

If you want to install the bootstrap image then download and use the Jlime-muffinman-bootstrap.ben-nanonote.16nov2010.tar.gz file (with the same above instructions).

[edit] Step 3: Boot the System

Remove the battery. Put the MicroSD card into your Ben Nanonote. Press 'M' and plug the USB cable, or put the battery again.

Now, Read the Muffinman Manual now.

[edit] Downloads - All the files

If you need to get extra stuff for some reason you will find everything at : http://downloads.qi-hardware.com/jlime/

Personal tools
Namespaces
Variants
Actions
Navigation
interactive
Toolbox
Print/export