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