Commit Graph

15 Commits (239dff6697b56f9589dd83bc0268635cc32c188c)

Author SHA1 Message Date
Mathias Kresin e0b9ec8e96 treewide: drop target board_name functions
They are not used any longer.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin f12a32630f treewide: use the generic board_name function
Use the generic function instead ot the target specific ones.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin ac3e05c5d7 treewide: populate boardname and model earlier
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>
7 years ago
Stijn Tintel 4124847772 brcm2708: detect Raspberry Pi Zero W
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Stijn Tintel a8c2a719fa brcm2708: order boards and models alphabetically
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Álvaro Fernández Rojas c3d3111831 brcmfmac43430-firmware: remove package and switch to linux-firmware
Now that the firmware for BCM43430 has been submitted to linux-firmware use it
and remove RPiDistro package.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 63cb2fb88d brcm2708: properly detect the Raspberry Pi Zero
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Christian Lamparter 3339f41d26 brcm2708: implement sysupgrade image check
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>
8 years ago
John Crispin 993989880a brcm2708: add Raspberry Pi 3 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 48967
8 years ago
Felix Fietkau edb3c1780c brcm2708: fix RPi model B plus support
Not sure if B+ is used or not (mine has B Plus) so leave both

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 48311
9 years ago
John Crispin cd9d0ee0d0 brcm2708: add device detection and use it for network, leds and preinit
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47572
9 years ago
John Crispin 7ce3e1fd3c brcm2708: keep boot partition mounted to allow users to change config.txt
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
9 years ago
John Crispin 623da91e4d brcm2708: remove unneeded base-files
Device tree exports board name/model and device LEDs.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46397
9 years ago
John Crispin 2de7910102 brcm2708: Implement sysupgrade
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
9 years ago
John Crispin dc72499b53 brcm2708: add board detection and LED support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44447
10 years ago