mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* NOR boot support for barebox on the mini2440
@ 2012-06-06 12:00 André Lochotzke
  2012-06-07 18:13 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: André Lochotzke @ 2012-06-06 12:00 UTC (permalink / raw)
  To: oselas, barebox

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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NOR boot support for barebox on the mini2440
  2012-06-06 12:00 NOR boot support for barebox on the mini2440 André Lochotzke
@ 2012-06-07 18:13 ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-06-07 18:13 UTC (permalink / raw)
  To: André Lochotzke; +Cc: oselas, barebox

Hi André,

On Wed, Jun 06, 2012 at 02:00:02PM +0200, André Lochotzke wrote:
> 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?

Starting barebox itself from NOR has nothing to do with the NOR
subsystem. I'm not familiar with the mini2440, so I can't tell what you
have to do to start barebox from NOR. However, adding a NOR device to
barebox (so that you can access NOR flash from within babreox) is
trivial, just add the following:

add_cfi_flash_device(-1, base_address, size, 0);

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* NOR boot support for barebox on the mini2440
@ 2012-06-06 12:01 André Lochotzke
  0 siblings, 0 replies; 3+ messages in thread
From: André Lochotzke @ 2012-06-06 12:01 UTC (permalink / raw)
  To: oselas, barebox

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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-07 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-06 12:00 NOR boot support for barebox on the mini2440 André Lochotzke
2012-06-07 18:13 ` Sascha Hauer
2012-06-06 12:01 André Lochotzke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox