public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-boot on OMAP 1510 Innovator board
@ 2004-11-29  8:56 riya punjabi
  2004-11-29  9:17 ` [U-Boot-Users] " Ladislav Michl
  2004-11-29  9:19 ` [U-Boot-Users] " Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: riya punjabi @ 2004-11-29  8:56 UTC (permalink / raw)
  To: u-boot

Thanks for the reply.
As you said re-assigning TEXT_BASE won't work. But
why?
Truly speaking I don't know exactly how the U-boot
booting process happens, I mean i don't know how it is
loaded in differrent stages and where.... Can you plz
suggest some tutorial for the same....I couldn't find
one.
I had changed TEXT_BASE since I assumed that after
power-on the system reads from location 0x00000000. So
I had changed the TEXT_BASE address so that the system
would read from location 0x00000000 where I have
placed my u-boot.

You had also mentioned that u r using a different tool
chain. Which one is that?
It would be really helpful for me if you list out the
steps for building u-boot and the memory switch
settings. Also it would be great if you can specify
how to convert a .srec or .bin file to .m0 file.
Also, what's the difference between booting through
rrload and booting through U-boot.

--Riya.

>Riya-
>
>I'm not sure about the rest of the procedure, as I
use a >different 
>toolchain
>and hardware, but I see a serious problem with the
>following step:
>
>5. vi board/omap1510inn/config.mk 
>   Here I have changed the line: 
>        TEXT_BASE = 0x11080000 
>   Replaced it with: 
>        TEXT_BASE = 0x00000000
>
>In doing this, you're re-assigning TEXT_BASE, part of
>the memory U-Boot 
>runs
>in, from RAM to Flash memory.  This simply won't
work.  >Do you have a 
>reason
>to be changing the address it uses, or were you
>intending to manipulate 
>a
>different aspect of memory that might be governed by
>some other 
>constant we
>could help you with?
>
>-Michael Bendzick



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

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

* [U-Boot-Users] Re: U-boot on OMAP 1510 Innovator board
  2004-11-29  8:56 [U-Boot-Users] U-boot on OMAP 1510 Innovator board riya punjabi
@ 2004-11-29  9:17 ` Ladislav Michl
  2004-11-29  9:19 ` [U-Boot-Users] " Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Ladislav Michl @ 2004-11-29  9:17 UTC (permalink / raw)
  To: u-boot

On Mon, Nov 29, 2004 at 12:56:36AM -0800, riya punjabi wrote:
> Truly speaking I don't know exactly how the U-boot
> booting process happens, I mean i don't know how it is
> loaded in differrent stages and where.... Can you plz
> suggest some tutorial for the same....I couldn't find
> one.

See README, Wiki and sources...

> I had changed TEXT_BASE since I assumed that after
> power-on the system reads from location 0x00000000. So
> I had changed the TEXT_BASE address so that the system
> would read from location 0x00000000 where I have
> placed my u-boot.

That's wrong. U-Boot copies itself into RAM and then executes from
there. So either use external or internal (as I do) RAM address.
See also u-boot.lds (linker script) and cpu/arm925t/start.S what
happens here.

Regards,
	ladis

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

* [U-Boot-Users] U-boot on OMAP 1510 Innovator board
  2004-11-29  8:56 [U-Boot-Users] U-boot on OMAP 1510 Innovator board riya punjabi
  2004-11-29  9:17 ` [U-Boot-Users] " Ladislav Michl
@ 2004-11-29  9:19 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-11-29  9:19 UTC (permalink / raw)
  To: u-boot

In message <20041129085637.56430.qmail@web41012.mail.yahoo.com> you wrote:
>
> As you said re-assigning TEXT_BASE won't work. But
> why?

Because you asigned an address in flash memory (= read-only) where  a
RAM address (= writable) was expoected.

> Truly speaking I don't know exactly how the U-boot
> booting process happens, I mean i don't know how it is

Then don;t meddle with things you don't understand.

> loaded in differrent stages and where.... Can you plz
> suggest some tutorial for the same....I couldn't find
> one.

I suggest you start with the RAEDME. It explains the boot procedure.

> I had changed TEXT_BASE since I assumed that after
> power-on the system reads from location 0x00000000. So
> I had changed the TEXT_BASE address so that the system
> would read from location 0x00000000 where I have
> placed my u-boot.

This is not how U-Boot works.

> You had also mentioned that u r using a different tool
> chain. Which one is that?

We use the ELDK (of course). See http://www.denx.de/ELDL.html

> It would be really helpful for me if you list out the
> steps for building u-boot and the memory switch

All this is doumented in great detail in the README  and  the  manual
(DULG - see http://www.denx.de/twiki/bin/view/DULG/Manual)

> settings. Also it would be great if you can specify
> how to convert a .srec or .bin file to .m0 file.

Maybe you explain what a ".m0" file is?

> Also, what's the difference between booting through
> rrload and booting through U-boot.

Maybe you explain what "rrload" is?


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offence.
          -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5

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

end of thread, other threads:[~2004-11-29  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29  8:56 [U-Boot-Users] U-boot on OMAP 1510 Innovator board riya punjabi
2004-11-29  9:17 ` [U-Boot-Users] " Ladislav Michl
2004-11-29  9:19 ` [U-Boot-Users] " Wolfgang Denk

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