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 ? 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 (For mainline inclusion, I'd propose to rework that part, to group i.MX25 with i.MX35, and i.MX21 with i.MX27) Best regards, Ivo. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox