Re: [OpenWrt-Devel] [PATCH] brcm2708: Implement sysupgrade image check

2016-04-07 Thread Matthias Schiffer
On 04/07/2016 05:57 PM, Christian Lamparter wrote: > Implement a crude but functioning sysupgrade image check for Raspberry Pi. > The code only checks if the master boot record boot signature (0x55aa) is > present in the first 512-bytes at the correct location. This can prevent > the odd, accidenta

[OpenWrt-Devel] [PATCH] brcm2708: Implement sysupgrade image check

2016-04-07 Thread Christian Lamparter
Implement a crude but functioning sysupgrade image check for Raspberry Pi. The code only checks if the master boot record boot signature (0x55aa) is present in the first 512-bytes at the correct location. This can prevent the odd, accidental bricking of a system when flashing the wrong file. The p

[OpenWrt-Devel] [PATCH] brcm2708: Implement sysupgrade

2015-07-13 Thread Bruno Randolf
Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: The config files are saved in the boot partition and moved to where they are normally expected in preinit. Also add optional gzip compression for the SD card image, since this can save a lot of space (76M vs 6M), also sim