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
10 years ago
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
10 years ago
Jonas Gorski
ed7d8a0450
brcm63xx: alphabetically order image generation
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43577
10 years ago
Jonas Gorski
bc4dd8e119
brcm63xx: refresh patches
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43576
10 years ago
Jonas Gorski
3fa17f6d58
brcm63xx: add DT support for USR9108
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43575
10 years ago
Jonas Gorski
218582e8ea
brcm63xx: add DT support for F5D7633
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43574
10 years ago
Jonas Gorski
d5f1dd9079
brcm63xx: add DT support for DG834GT/PN
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43573
10 years ago
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
10 years ago
Jonas Gorski
84200cf189
brcm63xx: add DT support for DSL-2640B
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43571
10 years ago
Jonas Gorski
929ade0648
brcm63xx: add DT support for CPVA642
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43570
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Jonas Gorski
bb312899f6
brcm63xx: refresh patches
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43453
10 years ago
Jonas Gorski
2b46097364
brcm63xx: add DT support for DSL-2650U
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43452
10 years ago
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
10 years ago
Jonas Gorski
53214ca548
brcm63xx: Add DT support for F@ST2504n
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43450
10 years ago
Jonas Gorski
40350a5daf
brcm63xx: add DT support for F@ST2704V2
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43449
10 years ago
Jonas Gorski
3872151ce0
brcm63xx: add DT support for F@ST2604
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43448
10 years ago
Jonas Gorski
5f726ccd79
brcm63xx: add DT support for F@ST2404
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43447
10 years ago
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
10 years ago
Jonas Gorski
93e5c701cc
brcm63xx: unify dt image generation
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43378
10 years ago
Jonas Gorski
5e111b0330
brcm63xx: move rsa signature to additional options
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43377
10 years ago
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
10 years ago
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
10 years ago
Jonas Gorski
fb2a44df50
brcm63xx: refresh patches
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43363
10 years ago
Jonas Gorski
c6fc6b42e1
brcm63xx: Add DT support for SPW303V
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43362
10 years ago
Jonas Gorski
5540ca300e
brcm63xx: Add DT support for DV-201AMR
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43361
10 years ago
Jonas Gorski
89000dea4c
brcm63xx: Add DT support for RG100A
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43360
10 years ago
Jonas Gorski
13d6fa0081
brcm63xx: Add DT support for A226G/M
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43359
10 years ago
Jonas Gorski
b3ce1c4ea6
brcm63xx: Add DT support for AGPF-S0
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43358
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Jonas Gorski
2fa8a656a6
brcm63xx: update spw500v sprom to values from gpl tarball
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42740
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago