[ECOS] zImage write from Busybox

Mukund mukund.ubhadiya@einfochips.com
Wed May 16 13:18:00 GMT 2012


Hello All,

I am facing some issue when I flash kernel from busybox and try to boot 
from redboot console.
The same kernel work correctly when I write it using "fis write" 
command. Below are the steps:

1.load kernel + ramdisk from tftp by using below commands :
 > load -r -b 0x100000 zImage -h 10.100.4.78
2.Boot with above kernel using 'exec' command
3.Write zImage from busybox console by using below commands:
 > dd if=zImage of=/dev/block/mtdblock0 bs=128k
4. reboot busybox
5. Stop on redboot
6. load kernel with the help of following command :
 > fis load nx1
 > exec

Redboot stuck while uncompressing linux.
================================================
RedBoot> fis load qnx1
... Read from 0x07ee0000-0x07eff000 at 0x0ffa0000: ..
... Read from 0x00100000-0x00900000 at 0x00540000: 
.................................................................
RedBoot> exec
entry=0x80008000, target=0x80008000
Using base address 0x00100000 and length 0x00800000
Uncompressing Linux.............
================================================

Here is my mtd partitions :
~ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00020000 "nx1"
mtd1: 07520000 00020000 "fs1"
mtd2: 00800000 00020000 "nx2"
mtd3: 07520000 00020000 "fs2"
mtd4: 0001f000 00020000 "FIS directory"
mtd5: 00001000 00020000 "RedBoot config"

-- 
Thanks & Regards,
Mukund Ubhadiya



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list