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

Wolfgang Denk wd at denx.de
Sun Nov 15 19:48:01 CET 2009


Dear Xianwei Zeng,

In message <52c6d4120911150656w2edcf528oad05796e52b134f6 at mail.gmail.com> you wrote:
>
> In current  u-boot implementation, I can use fatload to read files from
> mmc or USB storage device, which is also FAT filesystem. And I can
> also use fsload command to read files from JFFS2 filesytem on NorFlash
> or NandFlash.
> 
> 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?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Systems programmers are the high priests of a low cult.
                                                       -- R.S. Barton


More information about the U-Boot mailing list