Commit graph

256 commits

Author SHA1 Message Date
Rafał Miłecki
e011a5c375 bcm53xx: backport the latest 4.2 ARM BCM5302X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45922
2015-06-07 14:41:05 +00:00
Rafał Miłecki
2364dd9331 bcm53xx: refresh kernel config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45916
2015-06-06 22:34:37 +00:00
Rafał Miłecki
46a25c6e8a bcm53xx: fallback to default_do_upgrade if NAND upgrade fails
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45915
2015-06-06 17:52:53 +00:00
Rafał Miłecki
3d4f163df1 bcm53xx: sysupgrade: drop useless shift in platform.sh
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45914
2015-06-06 17:26:05 +00:00
Rafał Miłecki
54fb91f0cf bcm53xx: extract TRX from image on the fly
Extracting TRX to separated file in /tmp/ just wastes some RAM while we
can just pass a proper extracting command to the default_do_upgrade.

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

SVN-Revision: 45912
2015-06-06 17:23:03 +00:00
Rafał Miłecki
5e90144aec bcm53xx: sysupgrade: extract TRX partitions directly from vendor image
Extracting full TRX out of vendor format is not needed as otrx supports
passing TRX offset. This saves some RAM during sysupgrade.

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

SVN-Revision: 45911
2015-06-06 17:05:31 +00:00
Rafał Miłecki
48da51ed03 bcm53xx: update NVRAM driver to support getting contents
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45907
2015-06-05 21:49:57 +00:00
Rafał Miłecki
9845d729a9 bcm53xx: build images for Asus devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45790
2015-05-27 16:20:06 +00:00
Hauke Mehrtens
47eca7a1ca bcm53xx: add OHCI (USB 1.1) support
There is also a OHCI controller, activate it for USB 1.1 support.

This should close #19601.

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

SVN-Revision: 45716
2015-05-23 14:54:44 +00:00
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
2015-05-21 19:32:46 +00:00
Rafał Miłecki
63bb7c51db bcm53xx: add Asus RT-AC87U partitioning hacky workaround
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45694
2015-05-17 12:10:38 +00:00
Rafał Miłecki
75b8e247e3 bcm53xx: try to fix network on Asus RT-AC87U
This device seems to have switch port 7 connected to the CPU:
vlan1ports=1 2 3 5 7*
vlan2ports=0 7u
it should be handled by eth1 and NVRAM seems to confirm that (no
et0macaddr entry, existing et1macaddr & et1phyaddr entries).

One of the remaining ports (4/8?) may be connected to the Quantenna SoC.
Original firmware boot log contains following messages:
(0x00,0x5d)Port 5 States Override: 0xfb
(0x00,0x5f)Port 7 States Override: 0xfb
(0x00,0x0e)Port 8 States Override: 0x0a
(why does it force port 5 state?!)

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

SVN-Revision: 45692
2015-05-16 17:14:25 +00:00
Rafał Miłecki
ab83610563 bcm53xx: use backported Asus RT-AC87U DT patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45691
2015-05-16 15:44:00 +00:00
Rafał Miłecki
abed46aacc bcm53xx: enable RT-AC87U UART console
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 45690
2015-05-16 11:45:52 +00:00
Rafał Miłecki
3dd9274332 bcm53xx: add support for SmartRG SR400ac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45686
2015-05-13 20:01:15 +00:00
Rafał Miłecki
b4ecf19faa bcm53xx: replace DT patches with backports from stblinux
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45685
2015-05-13 20:01:03 +00:00
Rafał Miłecki
af019cad56 bcm53xx: use of_machine_is_compatible helper in b53 fix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45684
2015-05-13 14:34:23 +00:00
Rafał Miłecki
afb98aea4d bcm53xx: fix "typo" in b53 patch fixing R8000 CPU port
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45683
2015-05-13 13:12:57 +00:00
Rafał Miłecki
610ee0d85a bcm53xx: add b53 hacky workaround for Netgear R8000 CPU port
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45682
2015-05-13 13:11:17 +00:00
Rafał Miłecki
2d3aaa2d2f bcm53xx: fix default network interface on Netgear R8000
It has 3 Ethernet interfaces, each of them connected to separated switch
port. Default NVRAM uses switch port 8 as CPU which is connected to the
3rd interface (eth2).

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

SVN-Revision: 45681
2015-05-13 13:11:04 +00:00
Rafał Miłecki
45ec92fa30 bcm53xx: bgmac: add support for the 3rd core
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45680
2015-05-13 13:11:00 +00:00
Rafał Miłecki
d2e5e2bf54 bcm53xx: sync NVRAM and SPROM drivers with upstream version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45678
2015-05-13 08:30:45 +00:00
Rafał Miłecki
3a6cdac37c kernel: backport first bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45652
2015-05-09 17:38:48 +00:00
Rafał Miłecki
33e597b241 bcm53xx: sort ports from NVRAM entries before matching them
Some devices have unsorted ports which may lead to broken config.

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

SVN-Revision: 45575
2015-04-24 07:47:25 +00:00
Rafał Miłecki
866fe3895d bcm53xx: sysupgrade: check if new kernel fits partition size
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45547
2015-04-21 11:21:34 +00:00
Rafał Miłecki
457d9caf4d bcm53xx: sysupgrade: improve NAND warnings
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45546
2015-04-21 11:04:38 +00:00
Rafał Miłecki
5b9d70c888 bcm53xx: image: prepare for generating serial flash images
There are some rare devices without NAND, like Netgear EX6200 or
TP-LINK Archer C8.

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

SVN-Revision: 45545
2015-04-21 08:42:41 +00:00
Rafał Miłecki
a86e7330dc bcm53xx: sysupgrade: drop some debugging message
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45544
2015-04-21 08:34:25 +00:00
Rafał Miłecki
688c1d74b9 bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45543
2015-04-21 08:32:59 +00:00
Rafał Miłecki
d263c8e1a9 bcm53xx: sysupgrade: support flashing TRX with UBI image
Signed-off-by: Dan Haab <dhaab@luxul.com>

SVN-Revision: 45542
2015-04-21 08:20:06 +00:00
Rafał Miłecki
92875dbd3d bcm53xx: append only 1 block (with erasing mark) to UBI
This is needed as prepare_generic_squashfs generates more data (in our
case 0x40004 B) and it's complex for sysupgrade to extract UBI image out
of TRX.

Signed-off-by: Dan Haab <dhaab@luxul.com>

SVN-Revision: 45541
2015-04-21 08:20:00 +00:00
Rafał Miłecki
ac6879caaa bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
Signed-off-by: Dan Haab <dhaab@luxul.com>

SVN-Revision: 45540
2015-04-21 08:19:53 +00:00
Felix Fietkau
c73adc80a3 bcm53xx: add profiling support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45480
2015-04-17 18:52:15 +00:00
Rafał Miłecki
9e03c36259 bcm53xx: fix handling absolute paths in sysupgrade (for vendor formats)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45473
2015-04-17 06:03:00 +00:00
Felix Fietkau
582b20c4e2 kernel: accidentally committed a few patches in the wrong place, move them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45468
2015-04-16 20:43:11 +00:00
Felix Fietkau
b860db2c63 bcm53xx: add power button for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45467
2015-04-16 20:09:55 +00:00
Felix Fietkau
f6cbbe1332 bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45464
2015-04-16 20:09:36 +00:00
Felix Fietkau
d51420eedc bcm53xx: increate trx maxlen to prevent build failures with bigger images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45461
2015-04-16 20:09:15 +00:00
Felix Fietkau
f8d499fd3f bcm53xx: fix WXR-1900DHP power led name and add usb led
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45460
2015-04-16 20:09:08 +00:00
Felix Fietkau
c64fdadea7 bcm53xx: make use of the new board detection layer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45458
2015-04-16 12:18:34 +00:00
Felix Fietkau
147e005fcf bcm53xx: add USB 2.0 power control for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45451
2015-04-15 16:06:20 +00:00
Felix Fietkau
83e31eb7e7 bcm53xx: add USB 2.0 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45450
2015-04-15 16:06:14 +00:00
Rafał Miłecki
3edb55143d bcm53xx: add (disabled) support for upgrading kernel during sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45445
2015-04-14 20:50:59 +00:00
Rafał Miłecki
3cb8bf44e6 otrx: change command line API to start with a mode
This will allow adding more modes without options conflict.

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

SVN-Revision: 45443
2015-04-14 20:50:46 +00:00
Felix Fietkau
923bef1678 bcm53xx: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45426
2015-04-13 22:23:37 +00:00
Felix Fietkau
24e9f52106 bcm53xx: add support for the Buffalo WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45419
2015-04-13 17:32:25 +00:00
Felix Fietkau
1e48a48915 bcm53xx: fix GPIO pins > 16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45418
2015-04-13 17:32:18 +00:00
Felix Fietkau
1f70f452cc bcm53xx: add missing l2 cache controller AUXCTL bit
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45416
2015-04-13 17:32:05 +00:00
Felix Fietkau
d24388da44 bcm53xx: add a comment about the gpio base patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45408
2015-04-12 22:10:44 +00:00
Rafał Miłecki
77c75e6fa3 bcm53xx: try to handle Netgear R8000 VLANs config
It seems to have few ports connected to CPU (only for CPU sending data?)
as part of "SMP dual core 3 GMAC setup" feature.

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

SVN-Revision: 45403
2015-04-12 20:11:25 +00:00