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 partitions, especially FAT partitions, > should start on erase block boundaries. > > Reference: > https://lwn.net/Articles/428584/ > https://wiki.linaro.org/WorkingGroups/Kernel/Projects/FlashCardSurvey > > The attached patch adds a -l (for aLign) option to ptgen to allow it to > generate size-aligned partition starts rather than rounding to cylinder > boundaries. Example usage, for the recommended generic case of 4MB > erase block SD cards: > ptgen -o ${OUTPUT} -h 255 -s 63 -l 4096 -t c -p ${BOOTSIZE}
Hi 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 ? John _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel