[U-Boot] u-boot preventing access to NAND chip on imx28evk board

Fabio Estevam festevam at gmail.com
Tue Aug 14 00:40:39 CEST 2012


On Mon, Aug 13, 2012 at 5:18 PM, Bill <bsousan at techsi.com> wrote:
> All,
>
>     I'm needing to access the NAND chip on the imx28evk board with the Linux
> (Freescale Kernel - FSL).  I've compiled a recent version of the mainstream
> u-boot with the NAND switches and U-boot works fine.  The U-boot also allows
> me access to the NAND chip and also boots the FSL kernel just fine.
> However, once the kernel is running, it can not "see" the /dev/mtdX devices.
>
>     However, if I boot the *same* kernel directly (no U-boot - and attach
> boot-stream to kernel) the FSL kernel works fine and can gets the /dev/mtdX
> etc devices.  I tracked this down to a couple of differences that are output
> during the kernel booting process.  I also can replicate this problem with
> no NAND chip in the socket. I can do this by using the script that comes
> with the imx28evk that is used for formatting the SDCard for booting.  The
> mk_mx28_sd script writes the uboot, kernel, and rootfs to an SDcard
> depending on the parameters.  So if I write the uboot to the card and boot
> the imx28 from uboot and network boot uImage I get the error.  If I write
> the kernel to the card and boot the imx28 with it I get no error (Using the
> same kernel).  Here are the steps

Last week I tried accessing NAND using U-boot mainline + kernel
mainline and it worked fine.

Can you try it?

Haven't tested with FSL 2.6.35 kernel though.

Regards,

Fabio Estevam


More information about the U-Boot mailing list