Skip to contentSkip to conversation

relocating from flash to ram on AT91RM9200DK

U-Boot-Users David Peters 2 participants 4 messages Feb 3, 2006

lore
Share & tools
lore
#0 lore raw

I'm using a custom board that was based off of the AT91RM9200DK/EK. Right now we're booting from parallel flash using boot.bin (from Atmel), but I'd like to get rid of the need for it. I assume I can use CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SKIP_LOWLEVEL_INIT to do this.

What do I need to set TEXT_BASE to for this to work?

David Peters

Matrix Product Development, Inc.

13 North Bird Street

Sun Prairie, WI 53590

Phone: (608)268-6205

Cell: (608)235-6298

Fax: (608)834-6443

#1 lore raw
Quoted 6 lines · In message <001e01c628d0$2d5a2970$d37ba8c0@SONYLAPTOP> you wrote:

I'm using a custom board that was based off of the AT91RM9200DK/EK. Right now we're booting from parallel flash using boot.bin (from Atmel), but I'd like to get rid of the need for it. I assume I can use CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SKIP_LOWLEVEL_INIT to do this.

What do I need to set TEXT_BASE to for this to work?

This depends on your chosen memory map, i. e. base address and size of your RAM and intended location of U-Boot in it.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Open the pod bay doors, HAL."                    - Dave Bowman, 2001
#2 lore raw
Quoted 3 lines

This depends on your chosen memory map, i. e. base address and size of your RAM and intended location of U-Boot in it.

Assuming I'm using the AT91RM9200DK, can you provide an example of a working configuration. Shouldn't the default configuration work with CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SKIP_LOWLEVEL_INIT undefined?

#3 lore raw
Quoted 4 lines · In message <001f01c628d8$b49d4310$d37ba8c0@SONYLAPTOP> you wrote:

Assuming I'm using the AT91RM9200DK, can you provide an example of a working configuration. Shouldn't the default configuration work with CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SKIP_LOWLEVEL_INIT undefined?

Why don't you just look at the settings of all the other AT91RM9200 boards (including the AT91RM9200DK, which works fine as is)?

Best regards,

Wolfgang Denk

Signature · 4 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 inappropriate cannot be beautiful.
             - Frank Lloyd Wright _The Future of Architecture_ (1953)