aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/base-files/lib/preinit
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: rename target to bcm27xxAdrian Schmutzler2020-02-142-42/+0
| | | | | | | | | | | | | | | | | This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add support for Raspberry Pi 2B 1.2Álvaro Fernández Rojas2019-09-191-0/+1
| | | | | | RPi 2B 1.2 has a BCM2710/BCM2837 like RPi 3 devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: don't hardcode "sysupgrade.tgz" file nameRafał Miłecki2019-09-051-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>
* brcm2708: Add Raspberry Pi 4 supportÁlvaro Fernández Rojas2019-07-141-0/+1
| | | | | | | - Support added to bcm2709 subtarget (32 bit). - 64 bit kernel still requires many hacks on RPi 4B. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* 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