Skip to contentSkip to conversation

U-boot on OMAP 1510 Innovator board

U-Boot-Users riya punjabi 3 participants 3 messages Nov 29, 2004

lore
Share & tools
lore
#0 lore raw

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.

Quoted 3 lines

Riya-

I'm not sure about the rest of the procedure, as I

use a >different

Quoted 6 lines

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:

Quoted 8 lines
       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

Quoted 10 lines

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

#1 lore raw
Quoted 5 lines · riya punjabi

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...

Quoted 5 lines

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

#2 lore raw
In reply to riya punjabi
Quoted 3 lines · In message <[email protected]> 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.

Quoted 2 lines

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.

Quoted 3 lines

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.

Quoted 5 lines

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.

Quoted 2 lines

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

Quoted 2 lines

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)

Quoted 2 lines

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?

Quoted 2 lines

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

Maybe you explain what "rrload" is?

Best regards,

Wolfgang Denk

Signature · 5 lines
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