I need to change?
I am creating a new command following fsload, using MTD devices in U-Boot,
and try to mount the FAT filesystem, but failed at reading the real file
data out,
although I can read the file name, the file size and the file start sector
number out.
--
Best Regards
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 the
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.
= info->size;
+
+DPRINTF("Load file \"%s\" to memory %lx\n", filename, load_addr);
+size = file_fat_read (filename, (unsigned char *) load_addr, maxsize);
+if (size == -1) {
+printf("Unable to read \"%s\" from FAT
ted(and Wolfgang also told me that) in u-boot but
can't
find the documents, so I did it it a ugly but directly access way.
> It would be great if you could rework your patch according to my
> suggestions.
>
I will try it next week. Thank you for your suggestions.
--
Best
5 matches
Mail list logo