barebox tftp to 2k pagesize NAND
Ivo Clarysse
ivo.clarysse at gmail.com
Wed May 26 08:25:04 EDT 2010
On Tue, May 25, 2010 at 2:14 PM, Eric Bénard <eric at eukrea.com> 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.
More information about the barebox
mailing list