Skip to contentSkip to conversation

NOR boot support for barebox on the mini2440

DISCUSSION André Lochotzke 2 participants 2 messages Jun 6, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

for a small student project I want to add support to barebox for booting from the NOR flash on the mini2440. I hope that it will not be too difficult since barebox can already boot from NOR on different boards.

Did somebody already do some work to enable NOR boot on the mini2440?

Do you have any suggestion of where I should start?

There is already an u-boot version since 2010 [1] that supports it. The code can be found here [2].

Are the u-boot and barebox NOR subsystems very different? How much time do you think would it take to get this done?

Regards
André

[1]
http://bliterness.blogspot.de/2010/04/new-nor-flash-support-in-u-boot.html
[2] http://repo.or.cz/w/u-boot-openmoko/mini2440.git

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi André,

Quoted 6 lines · André Lochotzke

for a small student project I want to add support to barebox for booting from the NOR flash on the mini2440. I hope that it will not be too difficult since barebox can already boot from NOR on different boards.

Did somebody already do some work to enable NOR boot on the mini2440?

Quoted 7 lines

Do you have any suggestion of where I should start?

There is already an u-boot version since 2010 [1] that supports it. The code can be found here [2].

Are the u-boot and barebox NOR subsystems very different? How much time do you think would it take to get this done?

Should be more or less trivial. Setup the SDRAM controller, copy Barebox itself to the SDRAM and branch to it.

I didn't do that yet, because the NOR content is something like the "last resort" for a regular user to bring a bricked Mini2440 back to life.

Regards,
Juergen

Signature · 7 lines
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox