On 2010-05-26 12:02 AM, Matthias Buecher / Germany wrote:
> So I can mark the partition with MTD_ERASE_PARTIAL, but I can not see
> how I can limit erase size to 0x1000 so that only mtd offsets 0x3c000 to
> 0x3dfff gets erased.
> The last 128 bytes (0x3ff80 - 3ffff) of the mtd partition on WRT350N v2
> are very important and shouldn't be touched.
> Or should this work out of the box with uboot-envtools?
You can't limit the erase size. It's not a partition setting, it's
hardware defined. The chip can only erase in specifically sized blocks
and not arbitrary ranges.

- Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to