Hello :),
I'm trying to put Linux rootfs into flash on my Tiny6410 board.
I created SD card using SD-Flasher.exe - I used u-boot-nand-ram256 binary.
The structure of my SD Card is as follows:
peter@mobile:/media/disk-1$ tree
.
`-- Images
|-- FriendlyARM.ini.txt
|-- Linux
| `-- rootfs_qtopia_qt4.ext3
`-- superboot-6410.bin
2 directories, 3 files
The content of FriendlyARM.ini.txt is:
peter@mobile:/media/disk-1$ cat ./Images/FriendlyARM.ini.txt
#This line cannot be removed. by FriendlyARM(www.arm9.net)
CheckOneButton=No
Action=install
OS=linux
VerifyNandWrite=No
StatusType = Beeper| LED
#################### Linux #####################
#Linux-BootLoader = Linux/u-boot.bin
#Linux-Kernel = Linux/zImage
#Linux-CommandLine = root=/dev/mmcblk0p1 noinitrd console=ttySAC0,115200
init=/bin/sh
#Linux-RootFs-InstallImage = Linux/image.img
Linux-RootFs-InstallImage = Linux/rootfs_qtopia_qt4.ext3
#Linux-RootFs-RunImage = Linux/rootfs_qtopia_qt4.ext3
################### WindowsCE6 #################
WindowsCE6-Bootloader= WindowsCE6\NBOOT_N43-RAM256.nb0
WindowsCE6-BootLogo = WindowsCE6\bootlogo.bmp
WindowsCE6-InstallImage = WindowsCE6\NK_n43.bin
WindowsCE6-RunImage = WindowsCE6\NK_n43.bin
################### Android ####################
Android-BootLoader = Android/u-boot_nand-ram256.bin
Android-Kernel = Android/azImage_n43
Android-CommandLine = root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs
init=/linuxrc console=ttySAC0,115200
Android-RootFs-InstallImage = Android/rootfs_android.ubi
Android-RootFs-RunImage = Android/rootfs_android.ext3
################### Ubuntu #####################
Ubuntu-BootLoader = Ubuntu/u-boot.bin
Ubuntu-Kernel = Ubuntu/zImage
Ubuntu-CommandLine = root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs
init=/linuxrc console=ttySAC0,115200
Ubuntu-RootFs-InstallImage = Ubuntu/rootfs_ubuntu.ubi
Ubuntu-RootFs-RunImage = Ubuntu/rootfs_ubuntu.ext3
############### UserBin part #################
UserBin-Image=WindowsCE/NK.nb0
userBin-StartAddress=50100000
As fas as I understand above file ;) line:
Linux-RootFs-InstallImage = linux/rootfs_qtopia_qt4.ext3
instructs ?u-boot bootloader? to put root filesystem (file:
linux/rootfs_qtopia_qt4.ext3) into flash?
The problem with that is nothing happens . . . I'm getting "K" character on
the console after power up the board.
Anyone knows what is wrong ? :))
Peter.
Tiny6410 - putting rootfs into flash.
u might need minicom & serial connection to get a detailed booting log. I suspect kernel panic. #Linux-RootFs-InstallImage = Linux/image.img Linux-RootFs-InstallImage = Linux/rootfs_qtopia_qt4.ext3 I suggest erase one of line.
Yong, Thank you very much for response. Yes you right there is kernel panic at my current root filesystem (I have no access to filesystem so i cannot make any change - i know where the problem is) - that is why i'm trying to replace. Is there any other way to flash? I was trying u-boot with thansfer files using ymodem protocol to board. Unfortunatelly unsuccesfull . . .:( After removing line: #Linux-RootFs-InstallImage = Linux/image.img The situation is the same. On the serial line i'm getting K charactrer after power up. Peter.
ok, lets make it clear.. u set ini file as install setting.(Action=install) So, the board automatically install everything in your Nand.(from sd card) Is it finished well? I dont know either there is an error when u install or when u boot from nand flash. there are 1000 reasons for kernel panic so u need to be more specific! i suggest u use recent version of superboot with sd flasher to burn sd card. and for other way to flash, u can flash with sd card or from your host computer.(connected by serial computer) 6410 borad has only nand flash and no nor flash
yong, Thanks for response. :) " there are 1000 reasons for kernel panic so u need to be more specific! " To clarify my problem: problems with starting Linux is not the issue. The real problem is how to put filesystem or anything (kernel, bootloader) into flash of Tiny6410)? " u set ini file as install setting.(Action=install) So, the board automatically install everything in your Nand.(from sd card) Is it finished well? I dont know either there is an error when u install or when u boot from nand flash. " So I think it's not finished. Nothing happens - the file (rottfs) I was trying to put into flash is not there (not flashing . . .). :( Once again flashing is the problem not booting the kernel. " i suggest u use recent version of superboot with sd flasher to burn sd card. " Once again I took last versions of software (sd-flasher, superboot) from ftp. Unfortunatelly no flashing . . . . :( " and for other way to flash, u can flash with sd card or from your host computer.(connected by serial computer) " Dnw progress bar while sending files stops at about 75% and nothing happens then . . . Do you have any other suggestions about flashing Tiny6410? Any other ways of flashing? Peter.
Yong,
:) i know the problem. Shitdow$ add .txt to file i created. If you look at
my first post you will see:
. . .
peter@mobile:/media/disk-1$ tree
.
`-- Images
|-- FriendlyARM.ini.txt
. . .
yess . . . wrong filename :D should be: "FriendlyARM.ini". :D
Thanks Yong. :)
Peter.


