public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] zImage write from Busybox
@ 2012-05-16 13:18 Mukund
  0 siblings, 0 replies; only message in thread
From: Mukund @ 2012-05-16 13:18 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-16 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16 13:18 [ECOS] zImage write from Busybox Mukund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).