Hi Ivo,
Le 26/05/2010 14:25, Ivo Clarysse a écrit :
On Tue, May 25, 2010 at 2:14 PM, Eric Bénard<eric@xxxxxxxxxx> wrote:
[...]
while running barebox on a i.MX25 which has 2k pagesize nand, I noticed it's
not possible to do a tftp directly to NAND (tftp barebox.bin
/dev/nand0.barebox for example).
[...]
Eric,
Are you able to boot from 2k pagesize NAND ?
yes but I'm using internal boot mode.
I only have 512byte pagesize NAND, but shouldn't
nand_imx.c:imx_nand_load_image(..) have something
like:
#ifdef CONFIG_ARCH_IMX25
if (readl(IMX_CCM_BASE + CCM_RCSR)& (1<< 8))
host.pagesize_2k = 1;
else
host.pagesize_2k = 0;
#endif
yes something like this should be necessary for direct NAND boot.
Eric
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox