[U-Boot] User supplied lowlevel initialization code on at91 plattforms

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

On 23:03 Fri 16 Jan , Michael Roth wrote:
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?
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.

Jean-Christophe PLAGNIOL-VILLARD schrieb:
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
participants (2)
-
Jean-Christophe PLAGNIOL-VILLARD
-
Michael Roth