imx23evk NAND support

Paul B. Henson henson at acm.org
Tue Jan 15 15:30:08 EST 2013


On 1/13/2013 2:47 AM, Juergen Beisert wrote:

> IIRC ivt/non-ivt is relevant for the i.MX28 firmware, not for
> i.MX23.

Ah, okay. I actually have an mx28 eval board too, but started with the 
23 and haven't looked at the 28 board yet. I'm using the freescale tool 
to generate the bootstream, which knows it's intended for an i.MX23, 
you'd think (or wish I suppose) it would be smart enough not to generate 
the ivt versions if they're not relevant for that architecture.

> On the other hand, for some i.MX23 based systems the encryption must
> be enabled for the bootstream, but with an empty key.

The bootstream file seems to work fine from SD. I don't think it 
requires a different format for burning to NAND vs booting from SD, so I 
think I have a good file. The kobs-ng tool that burns the bootstream to 
NAND claims it is a valid image and that it is successfully burned, but 
then it just won't boot :(. I'd be interested in trying to burn it from 
barebox to see if that makes a difference, but a prerequisite for that 
is getting the NAND to work in barebox <sigh>.

It looks like the i.MX23/28 NAND support was ported from u-boot? u-boot 
doesn't actually support the i.MX23 board at the moment. There's 
somebody working on that, but they told me that the 23 and 28 NAND 
implementation is a bit different, and their current support for the 28 
needs to be updated to work with the 23. Perhaps the barebox NAND driver 
only works with the 28 board as well? I'll give it a try on that board 
and see what happens.

Has anyone successfully accessed the NAND on an i.MX23 board with barebox?




More information about the barebox mailing list