[OpenWrt-Devel] [PATCH] x86: preserve partition table on sysupgrade

2016-01-21 Thread Rob Mosher
behavior and overwite the entire disk with the new image. Tests have been added to ensure that the image partitions match up with the active partitions. Signed-off-by: Rob Mosher --- package/base-files/files/lib/upgrade/common.sh | 1 + package/base-files/files/sbin/sysupgrade | 3

[OpenWrt-Devel] [PATCH] iproute2: remove odd conffiles generation

2016-01-17 Thread Rob Mosher
This was generating a conffiles list that included the binary and CONTROL/ files. Signed-off-by: Rob Mosher --- package/network/utils/iproute2/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index

Re: [OpenWrt-Devel] [PATCH][RFC] x86: Save and restore partition table during upgrade

2016-01-16 Thread Rob Mosher
e merit of keeping the previous position table, but I guess dd might be enough for saving/restore partitions (I guess only msdos is used). dd and /proc/partitions might replace sfdisk. Em sáb, 16 de jan de 2016 23:22, Rob Mosher <mailto:nyt-open...@countercultured.net>> escreveu: T

[OpenWrt-Devel] [PATCH][RFC] x86: Save and restore partition table during upgrade

2016-01-16 Thread Rob Mosher
-off-by: Rob Mosher --- package/base-files/files/lib/upgrade/common.sh | 1 + package/base-files/files/sbin/sysupgrade | 3 ++ target/linux/x86/Makefile | 2 + .../linux/x86/base-files/lib/upgrade/platform.sh | 45 ++ 4 files changed, 51

[OpenWrt-Devel] [PATCH] Fix sysupgrade overlay saving

2016-01-16 Thread Rob Mosher
A previous change to sysupgrade moved the overlay files into upper/ The -c switch generates a list of files to backup, but the sed calls did not take this into consideration. Signed-off-by: Rob Mosher --- package/base-files/files/sbin/sysupgrade | 1 + 1 file changed, 1 insertion(+) diff --git

[OpenWrt-Devel] [PATCH] Update iproute2 to 4.3.0

2015-12-23 Thread Rob Mosher
: Rob Mosher --- package/network/utils/iproute2/Makefile| 6 +- .../utils/iproute2/patches/007-no_arpd.patch | 21 -- .../utils/iproute2/patches/008-no_netem.patch | 13 ++-- .../utils/iproute2/patches/110-extra-ccopts.patch | 7 +- .../iproute2/patches/130

[OpenWrt-Devel] [PATCH] mvebu: enable auto recovery all the time

2015-08-18 Thread Rob Mosher
This will have the autorecovery mechanism enabled permanently. This patch depends on patch "Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter" Signed-off-by: Rob Mosher --- target/linux/mvebu/base-files/etc/init.d/u-boot_env | 8 +++- 1 file changed, 7 insertions(+),

Re: [OpenWrt-Devel] [PATCH V2] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Rob Mosher
Good point. It looks like Linksys actually just did the same thing as well in their firmware. Anyway, this patch is just to fix the boot counter, I'll submit another to leave auto recovery on. On 8/18/2015 9:00 PM, Claudio Leite wrote: * Rob Mosher (nyt-open...@countercultured.net)

Re: [OpenWrt-Devel] [PATCH V2] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Rob Mosher
# current alt boot - update primary boot target_firmware="kernel1" fw_setenv boot_part 1 fw_setenv bootcmd "run nandboot" fi # re-enable recovery so we get back if the new firmware is broken fw_setenv auto_recover

[OpenWrt-Devel] [PATCH V2] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Rob Mosher
The uboot boot counter was never reset after a successful boot. This patch prevents bootcmd and boot_part from becoming out of sync after a sysupgrade and ensures the proper partition is booted. Signed-off-by: Jonas Gorski Signed-off-by: Rob Mosher --- package/system/mtd/Makefile

Re: [OpenWrt-Devel] [PATCH] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Rob Mosher
ggestions on what to clean up I'm all ears. On 8/18/2015 12:10 PM, Jonas Gorski wrote: On Tue, Aug 18, 2015 at 4:21 PM, Rob Mosher wrote: The uboot boot counter was never reset after a successful boot. This patch prevents bootcmd and boot_part from becoming out of sync after a sysupgra

[OpenWrt-Devel] [PATCH] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Rob Mosher
The uboot boot counter was never reset after a successful boot. This patch prevents bootcmd and boot_part from becoming out of sync after a sysupgrade and ensures the proper partition is booted. Signed-off-by: Rob Mosher --- package/system/mtd/Makefile| 2 +- package