[PATCH v2] Booting from NAND for the mini2440 platform

Juergen Beisert jbe at pengutronix.de
Wed Feb 16 13:13:25 EST 2011

This patch series brings in NAND boot support for the mini2440 platform and
also does some cleanups (and also fixes some typos).

Testers are welcome, as I only have a mini2440 board with HY57V561620 SDRAM
devices. I added some documentation (thanks to Marek for info how it works
with DFU) about the board itself and how to bring in barebox. Hope it helps
others to enjoy barebox on mini2440.

This is revision 2 of my patch series as the first one misses some important
changes. For example: Did someone noticed that the NAND controller support
for S3C2440 is currently broken? The NAND controller seems mostly the same than
the one found on S3C2410. But it isn't. At least the ECC handlings needs some
adaptions. Be warned: Don't use the NAND support from older barebox for any
S3C2440 based card. It clobbers your OOB.
So, maybe at least the "MACH-S3C2440: Fix NAND controller for this CPU" patch
is also a candidate for master as it fixes an ugly bug.

While barebox with this patch set applied comes up on my HY57V561620 SDRAM based
mini2440, Marek reports it cannot boot his MT48LC16M16 SDRAM based mini2440.
Anybody here with an idea why? Both SDRAM devices seems similar. Also in their

Comments are welcome.


More information about the barebox mailing list