Commit graph

832 commits

Author SHA1 Message Date
Felix Fietkau
c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
2014-10-24 19:34:02 +00:00
Jonas Gorski
14ebb012a4 brcm63xx: fix wrong fixups pointer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42756
2014-10-03 11:03:58 +00:00
Jonas Gorski
2fa8a656a6 brcm63xx: update spw500v sprom to values from gpl tarball
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42740
2014-10-02 12:26:36 +00:00
Jonas Gorski
60cb45427e brcm63xx: reorder some patches according to their upstream state
The irq rewrite was accepted upstream.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42739
2014-10-02 12:26:19 +00:00
Jonas Gorski
57214b00ae brcm63xx: Add DT support for 96368MVWG
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42738
2014-10-02 12:26:07 +00:00
Jonas Gorski
477826ef31 brcm63xx: Add DT support for 96368MVNgr
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42737
2014-10-02 12:25:57 +00:00
Jonas Gorski
cdea47cbc3 brcm63xx: Add DT support for 96358VW2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42736
2014-10-02 12:25:41 +00:00
Jonas Gorski
80db30b508 brcm63xx: Add DT support for 96358VW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42735
2014-10-02 12:25:36 +00:00
Jonas Gorski
e7ade47fba brcm63xx: Add DT support for 96338W
Renamed of_board_id to convention.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42734
2014-10-02 12:25:27 +00:00
Jonas Gorski
d9194da882 brcm63xx: Add DT support for 96338GW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42733
2014-10-02 12:25:22 +00:00
Jonas Gorski
73f576dff2 brcm63xx: Add DT support for 96348R
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42732
2014-10-02 12:25:13 +00:00
Jonas Gorski
35cf1adfc6 brcm63xx: Add DT support for 96348GW-11
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42731
2014-10-02 12:25:07 +00:00
Jonas Gorski
eaee4e3eb7 brcm63xx: Add DT support for 96348GW-10
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42730
2014-10-02 12:25:01 +00:00
Jonas Gorski
73d59ed675 brcm63xx: Add DT support for 96348GW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42729
2014-10-02 12:24:39 +00:00
Jonas Gorski
99ecfbf702 brcm63xx: Add DT support for 96345GW2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42728
2014-10-02 12:24:34 +00:00
Jonas Gorski
a950e2fce8 brcm63xx: Add DT support for 963281TAN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42727
2014-10-02 12:24:29 +00:00
Jonas Gorski
ddcc29290c brcm63xx: fix brcm63xx fallback typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42726
2014-10-02 12:24:14 +00:00
Luka Perkov
02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
2014-09-10 21:40:19 +00:00
Jonas Gorski
51e1f1476f brcm63xx: Add DT support for P870HW-51a
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42248
2014-08-21 11:28:59 +00:00
Jonas Gorski
b339304425 brcm63xx: Add DT support for HG553
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix linux partition length]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42247
2014-08-21 11:28:54 +00:00
Jonas Gorski
2f09960e46 brcm63xx: Add DT support for HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42246
2014-08-21 11:28:46 +00:00
Jonas Gorski
7bc83fdd13 brcm63xx: Add DT support for A4001N
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42245
2014-08-21 11:28:43 +00:00
Jonas Gorski
a180c80f23 brcm63xx: Add DT support for A4001N1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42244
2014-08-21 11:28:40 +00:00
Jonas Gorski
83651bad85 brcm63xx: Add DT support for WAP-5813n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42243
2014-08-21 11:28:37 +00:00
Jonas Gorski
7b2d74a156 brcm63xx: Add DT support for VR-3025un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42242
2014-08-21 11:28:34 +00:00
Jonas Gorski
42bbf7bcb3 brcm63xx: Add DT support for VR-3025u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42241
2014-08-21 11:28:32 +00:00
Jonas Gorski
2936cacdfc brcm63xx: Add DT support for AR-5387un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42240
2014-08-21 11:28:28 +00:00
Jonas Gorski
b97aa0b4fd brcm63xx: Add DT support for AR-5381u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42239
2014-08-21 11:28:18 +00:00
Jonas Gorski
1891b08f00 brcm63xx: Add DT support for CT-6373
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42238
2014-08-21 11:28:14 +00:00
Jonas Gorski
e490cc7e14 brcm63xx: Add DT support for CT-5365
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42237
2014-08-21 11:28:10 +00:00
Jonas Gorski
e46d57b3af brcm63xx: use DT for partitions on SPW500V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42236
2014-08-21 11:28:01 +00:00
Jonas Gorski
84001352fd brcm63xx: dts: fix spelling of "bank-width"
Fixes pflash registration through DT for 6338/6345/6348.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42235
2014-08-21 11:27:56 +00:00
Jonas Gorski
33e2a51d4d brcm63xx: dsl-274xb-c: linux partition should not be read-only
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42234
2014-08-21 11:27:44 +00:00
Jonas Gorski
770ba9d40f brcm63xx: enable fallback sprom for Speedport W500 V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42211
2014-08-18 21:50:45 +00:00
Jonas Gorski
ddbff6a198 brcm63xx: tag images/dtbs with profiles
This prevents generating every supported image, except for de "Default" profile.
Also fixes Neufbox 6 image generation.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42210
2014-08-18 21:50:42 +00:00
Jonas Gorski
3db93a3351 brcm63xx: add profiles for DTB supported devices
Remove generic profiles and add profiles for each DTB supported device.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42209
2014-08-18 21:50:40 +00:00
Jonas Gorski
84ea696e03 brcm63xx: move generic profiles to top dir and remove smp profiles
Use generic profiles for brcm63xx instead of having similar profiles for
each subtarget.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42208
2014-08-18 21:50:37 +00:00
Jonas Gorski
4e708346cd brcm63xx: simplify HG556a image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42207
2014-08-18 21:50:34 +00:00
Jonas Gorski
29e4d82dbb brcm63xx: fix HG556a boards and remove fallback board
This changes board info to match the Wiki
http://wiki.openwrt.org/toh/huawei/hg556a, removes the no longer needed
fallback board and fixes HG556 Ralink eeprom extraction.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: rename partitions instead]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42206
2014-08-18 21:50:29 +00:00
Jonas Gorski
43029544e2 brcm63xx: remove now obsolete board fixup code
Now that we migrated all users to dtb based detection, we can drop the
board fixup code.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42129
2014-08-11 11:37:26 +00:00
Jonas Gorski
74ec41ef59 brcm63xx: use dtb board detection for neufbox 4
This splits up neufbox 4 for now into two images, one for each OEM.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42128
2014-08-11 11:37:21 +00:00
Jonas Gorski
862f7fccb0 brcm63xx: use dtb board detection for NB6
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42127
2014-08-11 11:37:17 +00:00
Jonas Gorski
52b0935efe brcm63xx: use dtb board detection for HW556
This requires individual images for each board version for now.
Linux partition was shrunk to ensure writing thewrong image won't
erase wifi calibration data.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42126
2014-08-11 11:37:14 +00:00
Jonas Gorski
0aa242fe20 brcm63xx: replace CFEFIXUP usage with dtb based detection
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42125
2014-08-11 11:37:09 +00:00
Jonas Gorski
f22bab1017 brcm63xx: move bcm96328avng to dtb detection
Use appended dtb for board detection for bcm96328avng.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42124
2014-08-11 11:37:04 +00:00
Jonas Gorski
9c6287d6a1 brcm63xx: add support for registering parallel flash through dtb
Add the required nodes to the dtsi files and code to prevent double
registration from the board support code.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42123
2014-08-11 11:37:01 +00:00
Jonas Gorski
79057c7255 brcm63xx: add helpers for building cfe images with dtb
Add a helper for building images with dtb appended kernels.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42122
2014-08-11 11:36:59 +00:00
Jonas Gorski
aa572fccb5 brcm63xx: add support for attaching dtbs to lzma kernels
In preparation for switching to dtb based board identification, add
support for building lzma-loader and lzma cfe kernels with dtb
appended.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42121
2014-08-11 11:36:55 +00:00
Jonas Gorski
0343c0288e brcm63xx: add empty dtsi files for each of the supported SoCs
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42120
2014-08-11 11:36:53 +00:00
Jonas Gorski
de8e3f2f86 brcm63xx: add and enable support for loading an appended dtb
Allow appending a dtb blob to the binary and use it for identifying the
board. Fall back to nvram based identification in case of no dtb passed.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42119
2014-08-11 11:36:48 +00:00