Re: [U-Boot-Users] U-boot on OMAP 1510 Innovator board

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

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

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
participants (3)
-
Ladislav Michl
-
riya punjabi
-
Wolfgang Denk