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>
2016-04-07 18:26:51 +02:00
Álvaro Fernández Rojas
e821fdbadb
brcm2708: add missing config symbols
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-16 11:23:56 +02:00
Álvaro Fernández Rojas
a8d4d71c41
brcm2708: update to latest version
...
As usual these patches were extracted from the raspberry pi repo:
https://github.com/raspberrypi/linux/commits/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-07 21:25:10 +02:00
Álvaro Fernández Rojas
f233664faa
brcm2708-gpu-fw: update to latest version
...
This update also adds individual download of firmware files instead of fetching
every file on the repository (10-MiB vs 100+MiB).
Also copy Linux license from kernel directory instead of using the rpi-firmware
one.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-01 13:37:33 +02:00
Hauke Mehrtens
f0b3964f1b
kernel: update kernel 4.4 to version 4.4.7
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49176
2016-04-16 21:05:48 +00:00
John Crispin
12334f58fe
brcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 49103
2016-04-01 07:11:43 +00:00
John Crispin
553c1b793f
brcmfmac: Add Raspberry Pi 3 support
...
- Enable SDIO support on brcmfmac.
- Disable power managment for brcm2708 target.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49023
2016-03-16 09:26:42 +00:00
John Crispin
f78f271c1e
brcm2708: update patches to latest version
...
As usual these patches were extracted from the raspberry repo:
https://github.com/raspberrypi/linux/commits/rpi-4.4.y
- Disable unused MFD RPISENSE driver.
- Disable ethernet HW checksums in order to avoid kernel exceptions.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48985
2016-03-10 19:11:23 +00:00
John Crispin
993989880a
brcm2708: add Raspberry Pi 3 support
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48967
2016-03-08 18:11:55 +00:00
John Crispin
cd2114e19c
brcm2708: update linux 4.4 patches to latest version
...
As usual these patches were extracted from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48966
2016-03-08 18:11:49 +00:00
Hauke Mehrtens
e9d7ee4f41
kernel: update kernel 4.4 to version 4.4.4
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48933
2016-03-05 17:51:37 +00:00
Hauke Mehrtens
cb04b8d582
kernel: update kernel 4.4 to version 4.4.3
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48783
2016-02-25 21:54:39 +00:00
John Crispin
0834f9f076
brcm2708: remove linux 4.1 support
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48766
2016-02-25 10:14:05 +00:00
John Crispin
b3dc9566a4
brcm2708: switch to linux 4.4 and update patches
...
As usual these patches were extracted from:
https://github.com/raspberrypi/linux/commits/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48765
2016-02-25 10:14:01 +00:00
John Crispin
e68281e613
brcm2708: add missing symbols
...
enable CONFIG_PWM
enable the RASPI PWM stuff
fix buildbot w. 4.1
compile tested only
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 48667
2016-02-08 09:22:56 +00:00
Hauke Mehrtens
4807ca67d6
kernel: update kernel 4.1 to version 4.1.16
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48497
2016-01-25 21:44:12 +00:00
Felix Fietkau
57776e68ce
base-files: remove default /etc/config/network, generate it via board.d instead
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48493
2016-01-25 16:30:41 +00:00
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
2016-01-18 12:42:03 +00:00
Felix Fietkau
4224b52c3a
brcm2708: add linux 4.4 support
...
- random-bcm2708 and spi-bcm2708 have been removed.
- sound-soc-bcm2708-i2s has been upstreamed as sound-soc-bcm2835-i2s.
Let's keep linux 4.1 for a while, since linux 4.4 appears to have some issues
with multicast traffic on RPi ethernet:
https://gist.github.com/Noltari/5b1cfdecce5ed4bc08fd
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48266
2016-01-17 10:42:23 +00:00
Felix Fietkau
3348279eca
kernel: disable bogus DEVTMPFS config overrides
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48260
2016-01-17 10:40:36 +00:00
John Crispin
d4b8d51580
brcm2708: update 4.1 patches
...
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47922
2015-12-17 09:29:22 +00:00
Jo-Philipp Wich
67e1c87012
all: drop old uci-defaults.sh
...
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47867
2015-12-11 15:26:06 +00:00
Jo-Philipp Wich
527ec2af59
all: remove dummy ucidef_set_interface_loopback() from board.d
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47744
2015-12-03 23:13:00 +00:00
Hauke Mehrtens
f0a5f24217
kernel: update 4.1 to 4.1.13
...
- two upstreamed patches removed
- compile tested all targets using 4.1
- run tested ar71xx
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47694
2015-12-02 21:52:41 +00:00
John Crispin
c7bcdac82e
brcm2708: fix multi-device image generation
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47610
2015-11-24 18:27:43 +00:00
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
2015-11-22 08:04:37 +00:00
John Crispin
1f51472346
brcm2708: enable hard float ABI
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47562
2015-11-21 21:25:13 +00:00
John Crispin
31f9aec7d6
brcm2708: add support for multi-device images
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47561
2015-11-21 21:25:04 +00:00
John Crispin
a429d6998e
brcm2708: rename image device definition
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47560
2015-11-21 21:24:57 +00:00
John Crispin
edff980107
brcm2708: revert sd image extension to .img
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47559
2015-11-21 21:24:50 +00:00
John Crispin
223d88f843
brcm2708: simplify gzip image generation
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47558
2015-11-21 21:24:44 +00:00
John Crispin
f080f2aa8e
brcm2708: copy overlays README to boot partition
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47260
2015-10-26 09:01:21 +00:00
John Crispin
71ca5b1cc5
brcm2708: update modules
...
- Add support for DAC+ Pro.
- Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47259
2015-10-26 09:01:12 +00:00
John Crispin
bf28fb50bf
brcm2708: update 4.1 patches
...
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47258
2015-10-26 09:01:05 +00:00
Hauke Mehrtens
da94b00df5
kernel: update kernel 4.1 to version 4.1.11
...
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47252
2015-10-25 17:32:01 +00:00
John Crispin
4412334bea
brcm2708: use mmd for overlays subdirectory
...
Fixes https://dev.openwrt.org/ticket/20704
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47171
2015-10-11 16:23:18 +00:00
John Crispin
0be23c40f3
brcm2708: all sound overlays require i2c to work
...
Tested on RPi B+ with HiFiBerry Amp+
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47169
2015-10-11 16:23:01 +00:00
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
2015-10-05 10:27:49 +00:00
John Crispin
d1fc19265a
brcm2708: add support for device tree overlays
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47125
2015-10-05 10:27:41 +00:00
John Crispin
b97498ab29
brcm2708: switch device tree compilation to linux
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47124
2015-10-05 10:27:34 +00:00
John Crispin
a32acfe73c
brcm2708: fix kmod-sound-soc-bcm2708-i2s config
...
Right now, selecting kmod-sound-soc-bcm2708-i2s causes build errors due to
missing configs.
kmod-regmap enables I2C and SPI, causing build errors due to depending
variables not defined.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47123
2015-10-05 10:27:18 +00:00
Hauke Mehrtens
0cd478518f
kernel: update 4.1 to 4.1.10
...
Fixes a regression on spi flash devices (upstream commit 1583eaece6fa).
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10
096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied
upstream and dropped.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
[update from 4.1.9 to 4.1.10]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47104
2015-10-04 11:34:39 +00:00
Felix Fietkau
e1f0a7e841
brcm2708: remove linux 3.18 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46870
2015-09-11 17:17:30 +00:00
Felix Fietkau
b1be597a7a
brcm2708: add kmod-sound-soc-raspidac3
...
This adds support for RaspiDAC Rev.3x
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46854
2015-09-11 16:32:15 +00:00
Felix Fietkau
0b5d87fd30
brcm2708: update 4.1 patches
...
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46853
2015-09-11 16:32:00 +00:00
Jonas Gorski
7d6cff4882
kernel: update 3.18 to 3.18.21
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46768
2015-09-02 10:18:15 +00:00
John Crispin
27a40c79b0
brcm2708: override disabled device tree module status from config.txt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46642
2015-08-17 06:04:48 +00:00
John Crispin
a6e47b8324
brcm2708: fix kmod-sound-soc-iqaudio-dac and add missing symbol
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46641
2015-08-17 06:04:39 +00:00
John Crispin
22b3e521b5
brcm2708: update 4.1 patches
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46640
2015-08-17 06:04:32 +00:00
John Crispin
98e122e4cc
brcm2708: use BuildDTB in image/Makefile
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46639
2015-08-17 06:04:18 +00:00