Commit Graph

868 Commits

Author SHA1 Message Date
Luka Perkov
81db848656 targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44305
2015-02-07 19:58:58 +00:00
Luka Perkov
92e6e80080 targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44304
2015-02-07 19:58:52 +00:00
John Crispin
019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
Jonas Gorski
bdb1ee51f8 brcm63xx: fix a few issues in irq chip drivers
Fix locking and lock usage, making it compile for SMP.

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

SVN-Revision: 43578
2014-12-08 16:11:52 +00:00
Jonas Gorski
ed7d8a0450 brcm63xx: alphabetically order image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43577
2014-12-08 16:11:32 +00:00
Jonas Gorski
bc4dd8e119 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43576
2014-12-08 16:11:26 +00:00
Jonas Gorski
3fa17f6d58 brcm63xx: add DT support for USR9108
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43575
2014-12-08 16:11:08 +00:00
Jonas Gorski
218582e8ea brcm63xx: add DT support for F5D7633
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43574
2014-12-08 16:11:03 +00:00
Jonas Gorski
d5f1dd9079 brcm63xx: add DT support for DG834GT/PN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43573
2014-12-08 16:10:54 +00:00
Jonas Gorski
b0ae41f849 brcm63xx: add DT support for TD-W8900GB
According to the vendor tarball, the TD-w8900GB's flash has 64k erase
block size, but CFE spans two blocks. So fixup the image offset
accordingly but keep block size at its default (64k).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: add commit message, add image offset, change nvram offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43572
2014-12-08 16:10:46 +00:00
Jonas Gorski
84200cf189 brcm63xx: add DT support for DSL-2640B
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43571
2014-12-08 16:10:41 +00:00
Jonas Gorski
929ade0648 brcm63xx: add DT support for CPVA642
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43570
2014-12-08 16:10:17 +00:00
Jonas Gorski
387fd3ca26 brcm63xx: add kernel 3.18 support
Add 3.18 support based on 3.18-rc6. Only netboot tested.

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

SVN-Revision: 43461
2014-12-01 13:27:26 +00:00
Jonas Gorski
e8068f0b1b brcm63xx: register interrupt-controllers through DT when possible
Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

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

SVN-Revision: 43457
2014-12-01 00:52:07 +00:00
Jonas Gorski
443d730da8 brcm63xx: dtsi: add missing ranges properity to ubus nodes
Allows nodes behind it to be mapped.

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

SVN-Revision: 43456
2014-12-01 00:51:56 +00:00
Jonas Gorski
d9a2c55806 brcm63xx: dtsi: add missing properties to cpu nodes
Mark them as cpu nodes and add the addresses.

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

SVN-Revision: 43455
2014-12-01 00:51:53 +00:00
Jonas Gorski
ef4f69adc0 brcm63xx: convert to irq domain
Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

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

SVN-Revision: 43454
2014-12-01 00:51:51 +00:00
Jonas Gorski
bb312899f6 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43453
2014-12-01 00:51:24 +00:00
Jonas Gorski
2b46097364 brcm63xx: add DT support for DSL-2650U
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43452
2014-12-01 00:51:17 +00:00
Jonas Gorski
61637aea1b brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43451
2014-12-01 00:51:12 +00:00
Jonas Gorski
53214ca548 brcm63xx: Add DT support for F@ST2504n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43450
2014-12-01 00:51:08 +00:00
Jonas Gorski
40350a5daf brcm63xx: add DT support for F@ST2704V2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43449
2014-12-01 00:51:04 +00:00
Jonas Gorski
3872151ce0 brcm63xx: add DT support for F@ST2604
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43448
2014-12-01 00:50:59 +00:00
Jonas Gorski
5f726ccd79 brcm63xx: add DT support for F@ST2404
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43447
2014-12-01 00:50:56 +00:00
Jonas Gorski
1041e3be6e brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right section
The cpu port is at 8, not 5.

Fixes #18406.

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

SVN-Revision: 43379
2014-11-25 19:07:02 +00:00
Jonas Gorski
93e5c701cc brcm63xx: unify dt image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43378
2014-11-25 19:06:51 +00:00
Jonas Gorski
5e111b0330 brcm63xx: move rsa signature to additional options
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43377
2014-11-25 19:06:43 +00:00
Jonas Gorski
e1eec53136 brcm63xx: fix image generation
This fixes build issues introduced on r43361.

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

SVN-Revision: 43376
2014-11-25 19:06:38 +00:00
Jonas Gorski
cf0c966d9a brcm63xx: do not build images for unsupported routers
If there is no board support in the kernel, it does not make sense to
build images for devices. So drop any images for board ids for which
there are nc corresponding board_info structs in the kernel.

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

SVN-Revision: 43364
2014-11-24 14:44:46 +00:00
Jonas Gorski
fb2a44df50 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43363
2014-11-24 14:44:40 +00:00
Jonas Gorski
c6fc6b42e1 brcm63xx: Add DT support for SPW303V
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43362
2014-11-24 14:44:33 +00:00
Jonas Gorski
5540ca300e brcm63xx: Add DT support for DV-201AMR
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43361
2014-11-24 14:44:28 +00:00
Jonas Gorski
89000dea4c brcm63xx: Add DT support for RG100A
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43360
2014-11-24 14:44:23 +00:00
Jonas Gorski
13d6fa0081 brcm63xx: Add DT support for A226G/M
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43359
2014-11-24 14:44:19 +00:00
Jonas Gorski
b3ce1c4ea6 brcm63xx: Add DT support for AGPF-S0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43358
2014-11-24 14:44:12 +00:00
Jonas Gorski
2bab3e2796 brcm63xx: move board compatible strings into a table
Move compatible strings from board structs into separate table. This
allows for several board compatibles to match to the same board in case
e.g. only the flash size / partitions differ.

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

SVN-Revision: 43341
2014-11-22 12:25:52 +00:00
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