[OpenWrt-Devel] Unifi AP Pro sysupgrade patch V5

2013-11-14 Thread Peter Wagner
Changelog: V1: skip the first n-1 occurrence of JFFS2_EOF V2: change argument handling V3: skip first n bytes when appending jffs2 data V4: remove quotes for $MTD_CONFIG_ARGS V5: add nbd's jffs2 padding element code to work around broken boot loaders jffs2 partition parsing now really happens a

[OpenWrt-Devel] Unifi AP Pro sysupgrade patch V4

2013-11-14 Thread Peter Wagner
Changelog: V1: skip the first n-1 occurrence of JFFS2_EOF V2: change argument handling V3: skip first n bytes when appending jffs2 data V4: remove quotes for $MTD_CONFIG_ARGS The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd wi

[OpenWrt-Devel] Unifi AP Pro sysupgrade patch V3

2013-11-14 Thread Peter Wagner
The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd will append the data to first jffs2 partition it finds. As the kernel is also stored on a jffs2 partition (which resides before the overlay partition), the data will be appen

[OpenWrt-Devel] Unifi AP Pro sysupgrade patch V2

2013-11-13 Thread Peter Wagner
The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd will append the data to first jffs2 partition it finds. As the kernel is also stored on a jffs2 partition (which resides before the overlay partition), the data will be appen

[OpenWrt-Devel] Unifi AP Pro sysupgrade patch

2013-11-13 Thread Peter Wagner
The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd will append the data to first jffs2 partition it finds. As the kernel is also stored on a jffs2 partition (which resides before the overlay partition), the data will be appen