barebox tftp to 2k pagesize NAND
eric at eukrea.com
Wed May 26 08:52:57 EDT 2010
Le 26/05/2010 14:25, Ivo Clarysse a écrit :
> 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).
> 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
> #ifdef CONFIG_ARCH_IMX25
> if (readl(IMX_CCM_BASE + CCM_RCSR)& (1<< 8))
> host.pagesize_2k = 1;
> host.pagesize_2k = 0;
yes something like this should be necessary for direct NAND boot.
More information about the barebox