[U-Boot] u-boot: How to read file from FAT filesystem on NorFlash MTD partition

Xianwei Zeng xianweizeng at gmail.com
Mon Nov 16 02:29:37 CET 2009


Dear Wolfgang Denk,

Thank you for your reply.

On Mon, Nov 16, 2009 at 3:48 AM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Xianwei Zeng,
>
> In message <52c6d4120911150656w2edcf528oad05796e52b134f6 at mail.gmail.com>
> you wrote:
> >
> > But I found I cann't uses these command to read files from a FAT
> filesystem
> > on NorFlash. I cann't format this partition to JFFS2 filesystem because
> it
> > is exported to Windows/Linux host via USB gadget after system boots up.
> >
> > Can someone tell me the best way to solve this problem, or give me some
> > hints of which part of code I need to change?
>
> It seems you did not enable mtdparts support in your configuration?
>
>
Yes. I didn‘t enable the mtdparts support. I will try it.

Do I need to write extra driver, for example something I was doing,
writing FAT + MTD support?

I am reading the u-boot source code, but didn't get any hint about
the FAT + MTD usage.

-- 
Best Regards
Xianwei ZENG
----Linux Fans


More information about the U-Boot mailing list