summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/base-files/lib/upgrade
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: implement sysupgrade image checkChristian Lamparter2016-04-071-1/+15
| | | | | | | | | | Implement a crude but functioning sysupgrade image check for the 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 bricking of a system when flashing the wrong file. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* brcm2708: keep boot partition mounted to allow users to change config.txtJohn Crispin2015-10-051-3/+4
| | | | | | | | | This way it's easier to configure device tree overlays, customize other parameters... Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47126
* brcm2708: Implement sysupgradeJohn Crispin2015-07-141-0/+17
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 similar to x86. Signed-off-by: Bruno Randolf <br1@einfach.org> SVN-Revision: 46347