Skip to contentSkip to conversation

User supplied lowlevel initialization code on at91 plattforms

U-Boot Michael Roth 2 participants 3 messages Jan 16, 2009 – Jan 18, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I'm hacking U-Boot to a new at91sam9261 board and would like to include a little bit low level init code (pll, sdram, etc.).

Normally, in U-Boot it is assumed that on at91 plattforms the bootstrap code lives in dataflash which do the job.

On the board I'm hacking there isn't any dataflash but only nor flash from that the board boots.

So my question is: How can I supply an self written lowlevel_init.S in my board directoy that get linked instead the default cpu/arm926ejs/at91/lowlevel_init.S code?

Are there any configuration variables to trick the U-Boot makefiles to use my lowlevel_init.S?

Michael Roth

#1 lore raw
Quoted 11 lines · Michael Roth

Hello,

I'm hacking U-Boot to a new at91sam9261 board and would like to include a little bit low level init code (pll, sdram, etc.).

Normally, in U-Boot it is assumed that on at91 plattforms the bootstrap code lives in dataflash which do the job.

On the board I'm hacking there isn't any dataflash but only nor flash from that the board boots.

Quoted 6 lines

So my question is: How can I supply an self written lowlevel_init.S in my board directoy that get linked instead the default cpu/arm926ejs/at91/lowlevel_init.S code?

Are there any configuration variables to trick the U-Boot makefiles to use my lowlevel_init.S?

for the next release we will introduce a weak function that allow you to add your own init and example to board at91 from nor

please search on the ML Ronetix patch

Best Regards,
J.

#2 lore raw
Quoted 4 lines · Jean-Christophe PLAGNIOL-VILLARD

for the next release we will introduce a weak function that allow you to add your own init and example to board at91 from nor

please search on the ML Ronetix patch

Is a git repository with that patch available?

Michael Roth