Home > SmartQ MID > Boot the SmartQ 5 from SD card

Boot the SmartQ 5 from SD card

June 13th, 2009

roberto from spain has made a modified Qi bootloader for the SmartQ 5 MID that can boot from the external SD card, as a convenient way of developping or testing OS, or for system rescue purposes in case of internal flash corruption. This is the bootloader operation:

  • Search for a valid ext2/ext3 partition in the SD card (4 primary partitions).
  • If the file /boot/noboot-SDMK6410 exists, it will skip that partition and try the next one. Useful for disabling partitions temporary.
  • Load and run the kernel image from file /boot/linux-SMDK6410.bin (if it exists). It should be on uImage or zImage formats.
  • The optional file /boot/append-SMDK6410 can be used to specify additional kernel arguments.

The SmartQ Qi bootloader is written to the end of the SD card. Create partitions to suit your preferences, make at least one ext2/ext3 partition to install the root filesystem 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 latest 1042 blocks (512 bytes each) must be reserved.

The precompiled bootloader and a kernel, installation script and source code are here:

http://zenvoid.org/software/qi-smartq

Look at the script install-smartq-qi.sh in order to make a bootable SD card:

./install-smartq-qi.sh /dev/SD_CARD_DEVICE qi-smartq-20090603.bin

To boot from the SD card, keep the “move” (also known as fullscreen) button pressed and then press the “power” button.

  • Yellow LED: bootloader running, trying to locate and loading a kernel image.
  • Green LED: Linux kernel loaded and running.

Update:

This release has some fixes and helpful changes for debugging. But remember that it is experimental and unsupported code, so be careful. Source code and binaries are here:

http://zenvoid.org/software/qi-smartq

The kernel is also updated. It is recommended to use the kernel and modules included in that directory as it has been modified to show Linux console messages on the screen (very useful for locating and fixing problems). To install the bootloader, follow the instructions of the previous release.

When booting, it shows a very short red light, followed by a short yellow, followed by green light. If green light is reached, it means that the bootloader has finished its job and Linux is booting. If you are using my modified kernel, you should see the boot messages from this point. This is the meaning of the LED lights:

  • 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.

Blinking red LED should mean that the battery is too low, but it is not implemented yet.

Photos of the boot messages and Mer distribution running from SD card:

SmartQ 5 - Linux console messages Mer distribution on SmartQ 5

roberto is a developer of Mer ,if you are interested in cooperating with the Mer project please join to the #mer channel at irc.freenode.net.

[via  Zenvoid]

SmartQ5 Package and accessory ,software , tips and guides

  • Share/Bookmark

Related posts:

  1. SmartQ7 unboxing and firmware,support USB 3G network card in the future
  2. change software space to install software on SD card for smartQ5
  3. pingus game for SmartQ MID
  4. WINCE 6.0 for SmartQ V2.0 with DreamScene
  5. Download Wince license and ROM for SmartQ
  6. SmartQ 5 Tips: How to change the bootscreen background
  7. big news about wince firmware for SmartQ devices
  8. SmartQ 5 Tips: How to enable “USB Host” mode automatically on startup

6,664 views
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 3.00 out of 5)
Loading ... Loading ...
Author: admin Categories: SmartQ MID Tags: , , ,
  1. benner
    June 15th, 2009 at 04:59 | #1

    Can you take me through a few more of the steps to do this? Let’s say I just downloaded the new Mer 0.14 image which I want to install on an SD card.

    I guess I download “install-smartq-qi.sh” and run it from a linux machine with the command, “./install-smartq-qi.sh /dev/SD_CARD_DEVICE qi-smartq-20090603.bin” but I insert the actual location of my SD card on the linux box.

    What do I do next?

  2. admin
    June 15th, 2009 at 05:03 | #2

    Sorry , i haven’t try it , i copied from other blog

  3. Memo
    June 22nd, 2009 at 08:16 | #3

    great! Copied!
    Which blog?

  4. admin
    June 23rd, 2009 at 03:35 | #4
  5. bubblebee
    November 24th, 2009 at 06:18 | #5

    Hello Roberto !

    I’m facing some difficulties and may some relevant info can help a lot.
    My Smart Q5 runs under Ubuntu V4, despite a version 5 is released.
    I have a SD card of 2 GB but formatted with FAT file system.
    And… I have to port a GTK application written in C, with a UI designed with Glade3. It currently works under Ubuntu 9.04 on a desktop PC x86.

    What do you advise me to do: 1) to install additional debian packets on my smart Q5 (C dev toolchain + GTK stuff) 2) to install a “big” distribution of Linux all at once including a dev environment 3) to develop in cross dev on my desktop PC

    But what is available on internet ?

    Thanks a lot for any help, hoping I do not bother you.

  1. No trackbacks yet.