Commit Graph

991 Commits (1aa774053b597fba2b4ea46c43146490220d45ab)

Author SHA1 Message Date
Felix Fietkau 2499a57d92 targets: add kernel image dependencies on device tree files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48146
9 years ago
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
9 years ago
Jo-Philipp Wich 708c0212e7 brcm63xx: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47754
9 years ago
Jonas Gorski e395433178 brcm63xx: add linux 4.4 support
Only netboot tested. Flash at your own risk.

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

SVN-Revision: 47702
9 years ago
Jonas Gorski d12502b666 brcm63xx: Add NuCom R5010UNv2 support
This patch adds support for the NuCom R5010UNv2.

It's a BCM6328 based board. It has an onboard BCM43217 wifi chip. For this
wifi chip looks like the brcmsmac driver isn't still supported, b43 drivers are used
for the profile of the router.

It's worth mentioning this board was affected by a bug solved with
https://dev.openwrt.org/changeset/46707

Tested-by: Angel Fontan <angel.fontan@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47697
9 years ago
Jonas Gorski 9d7e058a23 brcm63xx: drop 3.18 support
Drop 3.18 support; it will live on in CC.

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

SVN-Revision: 47696
9 years ago
Felix Fietkau bb1c915f1e kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47624
9 years ago
Jonas Gorski 1e43316cb9 brcm63xx: fix brcm, bcm6345-ext-intc interrupt controller
brcm,field-width is read but unused

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

SVN-Revision: 47379
9 years ago
Jonas Gorski 64af3295cd brcm63xx: fix Netgear CVG834G HCS magic bytes
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47378
9 years ago
Jonas Gorski 8f3cfe4ba2 brcm63xx: lzma-loader: add BCM3380 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47377
9 years ago
Jonas Gorski 4c43b05dac brcm63xx: lzma-loader: add BCM3368 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47376
9 years ago
Jonas Gorski a15f148cf8 brcm63xx: fix BCM3368 external interrupts
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47375
9 years ago
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
9 years ago
Jonas Gorski 09609b4e44 brcm63xx: disable the openwrt commandline hack
We don't make use of it, so no need to have it enabled.

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

SVN-Revision: 46757
9 years ago
Jonas Gorski 5ebd02e8d5 brcm63xx: remove legacy led/button related patches
We register all gpio buttons and leds through DT, so no need to keep
fixes/additions for the platform data based bay.

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

SVN-Revision: 46753
9 years ago
Jonas Gorski 78f253f9b1 brcm63xx: add Comtrend VR-3026e support
Add support for Comtrend VR-3026e v1.
The device is almost identical to the Comtrend VR-3025un.

Signed-off-by: Martin Tesar <tesarmar@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46752
9 years ago
Jonas Gorski 05a3cdd71f brcm63xx: fix WAP-5813n default network config
/etc/uci-defaults/02_network had a typo, making it generate the wrong
network config.

Closes #20407.

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

SVN-Revision: 46727
9 years ago
Jonas Gorski 77a70a0716 brcm63xx: enable dual rx/tx spi support for hsspi
should improve flash access times. Should be harmless to gnerally
enable regardless if a flash supporting dual reads is attached. In
doubt, spi-nor will just fall back to serial reads.

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

SVN-Revision: 46725
9 years ago
Jonas Gorski 2d379e796f kernel: update 4.1 to 4.1.6
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6

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

SVN-Revision: 46713
9 years ago
Jonas Gorski ecdce239a5 brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
Some CFEs seem to misconfigure the mapped memory flash access with
fast read but without a dummy byte, causing all accesses to be prefixed
with 0xff.
This of course breaks reading out the nvram, so do not just move back to
single i/o accessors, but also ensure that the dummy byte is correctly
set.

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

SVN-Revision: 46707
9 years ago
Jonas Gorski 4e81a1473e brcm63xx: move gzip build command to include/image.mk
Allow other targets to make use of it.

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

SVN-Revision: 46601
9 years ago
Jonas Gorski 6be2305da8 kernel: update 4.1 to 4.1.5
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5

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

SVN-Revision: 46598
9 years ago
Jonas Gorski 8e69c9f7ef image.mk: store the device name variable
Make the device name accessible for any build commands instead of
forcing targets to define it themselves.

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

SVN-Revision: 46597
9 years ago
Jonas Gorski 4ecae78c16 image.mk: replace all Build/netgear-chk with a generic implementation
Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.

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

SVN-Revision: 46596
9 years ago
Jonas Gorski 79b733264b brcm63xx: prefix netgear specific device variables with NETGEAR_
Rename BOARD_ID to NETGEAR_BOARD_ID.

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

SVN-Revision: 46595
9 years ago
Hauke Mehrtens 0b8643af4f kernel: update 3.18 to 3.18.20
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46570
9 years ago
Jonas Gorski 3368b4799b brcm63xx: fix crash on 6358/6368 when booting from thread 1
It looks like RAC flushes cause random corruption(?) when the
second thread is set as default.

Fixes #20160.

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

SVN-Revision: 46563
9 years ago
Jonas Gorski a105688c87 brcm63xx: Add support for Plusnet 2704N
BCM6318: add support for Plusnet / Sagem 2704N (V1)
Signed-off-by: Matt Goring <matt.goring@googlemail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46562
9 years ago
Jonas Gorski 65654a3c54 brcm63xx: build image for DSL-275XB D1
It boots fine, so no reason to not build it.

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

SVN-Revision: 46561
9 years ago
Jonas Gorski ef78a63997 brcm63xx: switch to new image building system
Switches BCM63xx to the new IB system.
Images are generated per device definitions.
There are no changes in the produced images except for some name changes,
caused by the new IB system.

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

SVN-Revision: 46490
9 years ago
Jonas Gorski 5a62d503d9 brcm63xx: use new tool for generating redboot images
Simplify image/Makefile by using the new perl script for RedBoot.

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

SVN-Revision: 46489
9 years ago
Jonas Gorski 4981c7da0d brcm63xx: make use of dt-includes
Now that we have a dtc command that invokes the preprocessor, make use
of it and replace the magic numbers with KEY_* defines.

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

SVN-Revision: 46391
9 years ago
Jonas Gorski 71e0bd0165 brcm63xx: make use of the new BuildDTB command
Now that we have a BuildDTB command, make use of it instead of calling
dtc directly.

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

SVN-Revision: 46390
9 years ago
Jonas Gorski 491cfb06d0 brcm63xx: HG553 buttons support
This patch adds buttons support for Huawei EchoLife HG553.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46388
9 years ago
Jonas Gorski 730f06410e brcm63xx: switch to 4.1
Switch brcm63xx to 4.1 to give it some initial testing, but keep 3.18
at least until CC-final is out.

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

SVN-Revision: 46386
9 years ago
John Crispin 096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
9 years ago
Jonas Gorski 1e8c3d2769 brcm63xx: use IRQCHIP_DECLARE instead of self-baked version
Backport a commit from 4.2 making IRQCHIP_DECLARE available outside of
drivers/irqchip and use it.

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

SVN-Revision: 46183
9 years ago
Jonas Gorski 761fc3f035 brcm63xx: 4.1: switch to upstream UHI interface
Replace the appended dtb patch with the upstream accepted version and
update the code to work with the changed interface.

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

SVN-Revision: 46181
9 years ago
Jonas Gorski ad80d3869d brcm63xx: swap a4001n power leds again
This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons").

Fixes #19858.

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

SVN-Revision: 46149
9 years ago
Jonas Gorski 3a9e4ba896 brcm63xx: unbreak board_probe_switch again
Also move it to an earlier place so new boards added are less likely
to confuse quilt.

Fixes #19965.

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

SVN-Revision: 46148
9 years ago
Jonas Gorski bd398e1765 brcm63xx: add kernel 4.1 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46113
9 years ago
Jonas Gorski 9a59b350b7 kernel: update 3.18 to 3.18.16
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

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

SVN-Revision: 46011
9 years ago
Jonas Gorski 84bfed7bd3 brcm63xx: fix A4001N image padding size
When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

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

SVN-Revision: 45945
9 years ago
Jonas Gorski 6d07290de3 brcm63xx: fix livebox image generation
Livebox does need the uncompressed kernel, so just create it during
image generation.

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

SVN-Revision: 45875
9 years ago
Jonas Gorski 9c6945d7a1 brcm63xx: delete uncompressed kernels after use
Delete the dtb appended, uncompressed kernels after having compressed
them, so they don't end in the image builder.

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

SVN-Revision: 45869
9 years ago
Jo-Philipp Wich 957534693c brcm63xx: use common image prefix
Also remove "redbootscript" and "redbootscript.padded" junk files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45780
9 years ago
Jonas Gorski 76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

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

SVN-Revision: 45711
9 years ago
Jonas Gorski 4bb7b2186e brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1
Add it to the appropriate places so the power led properly works
and ethernet is properly configured for failsafe.

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

SVN-Revision: 45709
9 years ago
Jonas Gorski 509c3211d6 brcm63xx: Add Huawei HG655b support
This patch adds support for the Huawei HG655b.

Nothing much special in this router, it's just another BCM6368 with
a Ralink RT3062 wifi chip and the calibration data embedded in the
main flash chip at offset 0x7c0000. There is also configuration data
used by the OEM firmware before the cal_data partition, this area is
protected by the board_data partition in this patch.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45708
9 years ago
Jonas Gorski 9feb1361c4 brcm63xx: fix bcm6348 ext irqc compatible name
This was a remnant of an old version.

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

SVN-Revision: 45583
9 years ago