[U-Boot] [PATCH] FAT on non standard sector size devices
Igor Luri
iluri at aotek.es
Wed Nov 12 14:21:07 CET 2008
> Please only sent patches inline, see http://lwn.net/Articles/139918/
Sorry.
> Why hardcode this size to 8192, cant it be malloced somehow?
> Is there a check that detects if the size is getting bigger than 8192
> to prevent segfaults?
>
In read_bootsectandvi function already isn't known device sector size, so I define quite large sector size of 8 Kbyte.
It can be malloced if I get the sector size of the device from block_dev_desc_t. I am going to double check it, and if
it works, I'll send the definitive patch.
> Some weird characters here... Is this change what you want?
Sorry, I don't know how I have changed thouse caracters, I will correct this too.
Thanks.
--
Igor Luri
R&D Software Department
Fagor Aotek S. Coop.
P. O. Box 144
E-20500 Mondragón-Arrasate
Tel. ++34 943 71 92 00
++34 943 71 92 01 (Ext. 44268)
Fax. ++34 943 79 92 03
www.aotek.es
More information about the U-Boot
mailing list