public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Booting from onboard flash
@ 2005-05-04  9:47 amareesh
  0 siblings, 0 replies; 2+ messages in thread
From: amareesh @ 2005-05-04  9:47 UTC (permalink / raw)
  To: linux-mtd

Hi 

Plzz help me on this. .
I want to boot Linux image straight from my onboard flash.

WHat i have ::

1. Motorola coldfire 5272C3 based board.
2. Complied uClinux for the same.
3. have the image for LINUX +FILESYSTEM(romfs)
4. Have copied this image to flash.

What i wanna do :

I want to use the dBug option go <start address> to boot straight from
flash.
As of now, It is not doing so after i replug the power cable. 
I have to copy the entire image block from the flash to RAm and then
give the command 'go <RAMaddress>'. 

Can anyone plzz help me on this.

Amareesh

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: Booting from onboard flash
@ 2005-05-04 16:15 Michael
  0 siblings, 0 replies; 2+ messages in thread
From: Michael @ 2005-05-04 16:15 UTC (permalink / raw)
  To: amareesh, linux-mtd

> Hi 
> 
> Plzz help me on this. .
> I want to boot Linux image straight from my onboard flash.

Yep.  I guess we all want that.
What kind of flash do you have?  I'm assuming NOR-type flash,
right?
Does your bootloader (dBug? I'm not familar with it) run from
flash?

> WHat i have ::
> 
> 1. Motorola coldfire 5272C3 based board.

Is that like a development kit?  If it is, perhaps someone has the
same one.

> 2. Complied uClinux for the same.
> 3. have the image for LINUX +FILESYSTEM(romfs)

And you've tested them out by running out of ram, right?

> 4. Have copied this image to flash.
> 
> What i wanna do :
> 
> I want to use the dBug option go <start address> to boot straight
> from flash.

Well.. What happened (in my case, anyways) is that I put a 'zImage'
into NOR flash, and it knew where to uncompress itself (into RAM).
My bootloader set up ram and a few other things, and then ran the
zImage (like the 'go' command), which uncompressed itself to
0xc0008000.

Take a look here:
http://www.arm.linux.org.uk/developer/noboot-checklist/

What do you use for those values (ZRELADDR, TEXTADDR, ...)?
You may need to fix or tweak them.

> Can anyone plzz help me on this.

I'd like to be helpful.  =]

Mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-04 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-04  9:47 Booting from onboard flash amareesh
  -- strict thread matches above, loose matches on Subject: below --
2005-05-04 16:15 Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox