boot linux and Qt from SD card

Yohan Fernando
I have a mini 6410 and I want to boot linux and QT from the SD card,
basically,not rely on NAND Flash.

I know how to change the DIP switches so that the board will boot from the
SD card, but how do you prepare the SD card?

Paritions, what images are needed? Changes to .ini files? 

I've seen a lot of posts here, but they each seem to be different. 

Ideally I want the board to boot from SD card, and then for me to be able
to connect to the OS and then run QT applications on it. 

I hope I'm clear enough..

Juergen Beisert
You could refer http://www.friendlyarm.net/forum/topic/3015, build the
'ptxconfig.qt', prepare a max. 2G SD card with the tools from this BSP and
you can start your Qt development. Hope it helps.

Khin Wint Thu
I have a mini 6410 and I want to boot linux and QT from the SD card,
basically and also rely on NAND Flash.
I want to know very strongly this case. 
How many basic tools are required to boot linux on mini6410?

Khin Wint Thu
I have a mini 6410 and I want to boot linux and QT from the SD card,
basically and also rely on NAND Flash.
I want to know very strongly this case. 
How many basic tools are required to boot linux on mini6410?

ThomasM
Hi Khin Wint Thu,
I have a tiny6410, but there shouldn't be this much difference.

I tell you step by step what I did, but first the requirements:

- You need a Windows XP/Vista/7 computer (preferred x86, but should work
also with x64)
- You need Superboot (
ftp://ftp.friendlyarm.net/mini6410-tiny6410/Superboot/Superboot6410-2011...
)
- You need SD-Flasher ( ftp://ftp.friendlyarm.net/tools/sd-flasher.zip )
- You need the compiled kernel and rootfilesystem to start the os (On your
CD or ( ftp://ftp.friendlyarm.net/mini6410-tiny6410/Mini6410A-20120726.iso
& ftp://ftp.friendlyarm.net/mini6410-tiny6410/Mini6410B-20120726.iso )
- You need a sd-card (with 256MB >= size <= 2GB)

First step:
- format sdcard as Fat fs (explorer rightclick sdcard format ...)
- start sd-flasher (as admin)
- press "Scan" next to SD Drives and select the sd card.
- Select the "Image file to fuse" Superboot-xxxxxxx.bin
- Press the Fuse button

Congratulations - first task done - your sd card is bootable, if you put it
in your kit and start with sd-boot, you will see something friendlyarm on
the display. Lets head on.

- open sd card in your explorer, create a folder called "images"
- Now you need the FriendlyARM.ini which is on your CD or in the downloaded
images: copy the FriendlyARM.ini into your sdcard:\images\
- Open the FriendlyARM.ini on your sdcard\images with the notepad and
change the following two entries:
action=run (if install it would want to install to nand)
OS=Linux (By Linux it starts QTopia in this case)
- Now you have to create a folder called linux on your sdcard in images
- cd into your sdcard:\images\Linux\
Here you have to copy the zImage_xxx (depending on your display),
the rootfs_qtopia_qt4.ext3
and the superboot-xxxxxxx.bin
keep an eye that the FriendlyARM.ini Configuration for the Linux pathnames
matches the filenames (for example customize the kernel ending for your
display and watch for the superboot path).

unmount your sdcard from your windows computer, put it into your kit, and
start it.

If it doesn't work - watch a second and third time for path and filenames.
Also connect your RS232 with the com0 and watch it with baudrate 115200
while starting.

Cheers