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

2009-12-01 Thread Xianwei Zeng
Hi Stefan, On Tue, Dec 1, 2009 at 11:25 PM, Stefan Roese wrote: > > This approach has multiple advantages: > > - Multiple file systems will be usable (FAT, EXT2 etc.) > - Multiple MTD devices will be supported (NOR, NAND etc.) > > I agree with you. I though this is supported(and Wolfgang also t

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

2009-12-01 Thread Stefan Roese
Hi, sorry for jumping in so late, but Wolfgang just broughtthis thread to my attention. So here are my ideas and comments to your approach/patch: > > * Which command can do this? (fatload seems can not because the > > interface is not known) > > * From which verion u-boot supports this featu

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

2009-11-23 Thread Xianwei Zeng
Hi, > But I still don't know the way how to read file inside this FAT filesystem. > > * Which command can do this? (fatload seems can not because the interface > is not known) > * From which verion u-boot supports this feature? Our u-boot is based > v2009.08. Do we > need to update to lat

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

2009-11-16 Thread Xianwei Zeng
Dear Wolfgang Denk, Sorry for the simple question, but I can't find the document to guide me to read file from FAT file system in NOR FLASH. On Mon, Nov 16, 2009 at 3:40 PM, Wolfgang Denk wrote: > Dear Xianwei Zeng, > > In message <52c6d4120911151729s61a250e0j1b0ec02b43191...@mail.gmail.com> >

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

2009-11-15 Thread Wolfgang Denk
Dear Xianwei Zeng, In message <52c6d4120911151729s61a250e0j1b0ec02b43191...@mail.gmail.com> you wrote: > > 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? No, you don't need any special

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

2009-11-15 Thread Xianwei Zeng
Dear Wolfgang Denk, Thank you for your reply. On Mon, Nov 16, 2009 at 3:48 AM, Wolfgang Denk wrote: > Dear Xianwei Zeng, > > In message <52c6d4120911150656w2edcf528oad05796e52b13...@mail.gmail.com> > you wrote: > > > > But I found I cann't uses these command to read files from a FAT > filesyste

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

2009-11-15 Thread Wolfgang Denk
Dear Xianwei Zeng, In message <52c6d4120911150656w2edcf528oad05796e52b13...@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 JFFS

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

2009-11-15 Thread Xianwei Zeng
Hello, I hope I am not sending mail to the wrong mail list. I am porting u-boot to our Xscale based board, with 32MB Nor Flash on board. And in this board, it is required that, the u-boot should be able to read some files from a FAT file system on one of the Nor Flash partitions. The Nor Flash is