aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/base-files/lib/preinit
Commit message (Collapse)AuthorAgeFilesLines
* treewide: don't hardcode "sysupgrade.tgz" file nameRafał Miłecki2019-09-121-1/+3
| | | | | | | | | 1) Add BACKUP_FILE and use it when copying an archive to be restored after sysupgrade (on the next preinit). 2) Use CONF_TAR for copying backup prepared by the /sbin/sysupgrade Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit bf390478727ac5f4f9d6fb684de48b8150bcec67)
* brcm2708: Add support for raspberry pi 3 b+.Christo Nedev2018-04-271-0/+1
| | | | Signed-off-by: Christo Nedev <christo.nedev@me.com>
* brcm2708: convert to dt-based board-detectionChristian Lamparter2017-12-252-14/+5
| | | | | | | | | | | | Use the values populated by the generic board detect function. The first compatible from the device tree source file will be the board name in userspace. The model property from the device tree source file will be the model name. Change the board name where used in the userspace and drop the target specific board detect, to use the generic one. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* treewide: use the generic board_name functionMathias Kresin2017-07-151-3/+3
| | | | | | Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
| | | | | | | | | | | | | For targets using the generic board detection and board specific settings in diag.sh, the board name is still unset at the time the set_state() provided by diag.sh is called by 10_indicate_preinit. Change the execution order to ensure the boardname is populated before required the first time. Do the target specific board detection as early as possible, directly followed by the generic one to allow a seamless switch to the generic function for populating /tmp/sysinfo/. Signed-off-by: Mathias Kresin <dev@kresin.me>
* brcm2708: order boards and models alphabeticallyStijn Tintel2017-03-081-3/+4
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: add Raspberry Pi 3 supportJohn Crispin2016-03-081-4/+3
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48967
* brcm2708: add device detection and use it for network, leds and preinitJohn Crispin2015-11-222-0/+28
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47572
* brcm2708: keep boot partition mounted to allow users to change config.txtJohn Crispin2015-10-051-3/+3
| | | | | | | | | 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: remove unneeded base-filesJohn Crispin2015-07-171-9/+0
| | | | | | | | Device tree exports board name/model and device LEDs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46397
* brcm2708: Implement sysupgradeJohn Crispin2015-07-141-0/+18
| | | | | | | | | | | | | 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
* brcm2708: add board detection and LED supportJohn Crispin2015-02-141-0/+9
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44447