Re: [OpenWrt-Devel] [PATCH] tools/firmware-utils/ptgen option to use MB rounding

2012-08-06 Thread Bryan Mayland
On 8/4/2012 3:32 PM, John Crispin wrote: looking at the patch it only patches the tool, but does not make use of the new parameter could you also provide a patch that makes use of the -l parameter ? I'm not sure what other targets use SD cards but I wrote (and tested) it specifically for

Re: [OpenWrt-Devel] [PATCH] tools/firmware-utils/ptgen option to use MB rounding

2012-08-04 Thread John Crispin
On 03/08/12 17:48, Bryan Mayland wrote: > When creating images targeted for SD cards, generating partitions on > cylinder boundaries makes no sense, because cylinders heads and sectors > have no meaning on this linear storage media. What does have meaning are > erase block boundaries, and partition

[OpenWrt-Devel] [PATCH] tools/firmware-utils/ptgen option to use MB rounding

2012-08-03 Thread Bryan Mayland
When creating images targeted for SD cards, generating partitions on cylinder boundaries makes no sense, because cylinders heads and sectors have no meaning on this linear storage media. What does have meaning are erase block boundaries, and partitions, especially FAT partitions, should start o