Skip to contentSkip to conversation

porting u-boot

U-Boot-Users Peter Asemann 2 participants 2 messages Nov 30, 2004

lore
Share & tools
lore
#0 lore raw

I'm still into porting u-boot to a full-custom board.
The u-boot README says that the u-boot will scan for my SDRAM and find out how much I have.
I suppose that will only work if I write a custom SDRAM-setup-procedure ..../u-boot/board/CUSTOMBOARD/customboard.c ? Is that right?

If so, is there any documentation about what needs to be done there? I believe that the sdram_table array used in all those board_name.c files contains hexadecimal encoded instructions programming the UPM.. am I right?

Well... any hints (like, for example, "RTFM manual/ressource name") are welcome.

Peter Asemann

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I suppose that will only work if I write a custom SDRAM-setup-procedure ..../u-boot/board/CUSTOMBOARD/customboard.c ? Is that right?

You cannot avoid this, right (you need it even if you set up for a fixed memory size only).

Quoted 1 line

If so, is there any documentation about what needs to be done there?

Sure. See the processor's User's manual and related documentation.

Quoted 2 lines

Well... any hints (like, for example, "RTFM manual/ressource name") are welcome.

Here we go: RTFM the processor documentation and related material ;-)

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
Too much of anything, even love, isn't necessarily a good thing.
	-- Kirk, "The Trouble with Tribbles", stardate 4525.6