Rafał Miłecki
d7e41df24a
bcm53xx: switch to standalone USB 2.0 PHY driver
...
This drops built-in support for USB 2.0 PHY and starts using separated
driver that was upstreamed & backported some time ago.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-10-01 16:52:08 +02:00
Rafał Miłecki
7120a43013
bcm53xx: add patch specifying USB controllers in DT
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-10-01 16:52:08 +02:00
Rafał Miłecki
d5dcb1bf97
bcm53xx: backport BCM5301X patches from 2019-09-30
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-30 23:39:28 +02:00
Rafał Miłecki
1ac5cf7713
bcm53xx: move BCM53573 USB 2.0 patch to use backports prefix
...
It was pushed into the usb-next branch.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-21 14:20:20 +02:00
Rafał Miłecki
41a582a986
bcm53xx: use upstream accepted ILP clk driver for BCM53573
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-17 21:43:29 +02:00
Rafał Miłecki
b964196c68
bcm53xx: use the latest submitted version of ILP clock driver
...
It switched to syscon to better describe PMU block.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-13 12:25:50 +02:00
Rafał Miłecki
2c38b6e076
bcm53xx: specify brcmfmac firmware for every device
...
This will allow us to include required firmwares only and save some
rootfs space.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-13 11:03:43 +02:00
Felix Fietkau
d27bce8d28
build: drop UBI EOF marker from images by default
...
Only add them where they are actually required.
Should help with compatibility issues with stock U-Boot images that
access UBI
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-12 18:21:52 +02:00
Mathias Kresin
e7ec7a08aa
image: use k as unit suffix for blocksize
...
Use k as unit suffix for kilobyte to have a the same unit regardless of
the used filesystem.
Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-09-04 08:56:05 +02:00
Mathias Kresin
85fefcdb61
kernel: mtd: backport Macronix sector size fix
...
Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-09-03 09:27:09 +02:00
Rafał Miłecki
232767edf0
bcm53xx: enable switch port 5 on Tenda AC9
...
Now b53 forces port 5 link when needed, we can enable it on Tenda AC9
and start using eth1.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-08 23:24:43 +02:00
Rafał Miłecki
dd158ef346
bcm53xx: use upstream queued patches for R8500 and AC9
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-08 22:53:37 +02:00
Felix Fietkau
aa53f78038
build: fix subtarget descriptions
...
Move Target/Description above the target.mk include
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-04 13:35:11 +02:00
Rafał Miłecki
1bb914dbed
bcm53xx: use the latest 6th version of ILP clock driver patch
...
It still wasn't accepted, so don't switch to 0xx prefix yet.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-26 17:03:40 +02:00
Rafał Miłecki
fcdba8d590
bcm53xx: backport patch adding ARCH_BCM_53573 symbol
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-23 07:13:07 +02:00
Rafał Miłecki
28d641be43
bcm53xx: update copy of ASM entry flushing whole D-cache
...
Previous version was based on code from kernel 2.6.22 with Broadcom two
trivial modifications. This updates the copy to the version from current
kernel and refreshes the patch.
This was tested for regressions on Netgear R6250 (BCM4708A0), D-Link
DIR-885L (BCM4709C0) and Tenda AC9 (BCM47189B0).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 12:47:58 +02:00
Rafał Miłecki
1bef5050ef
bcm53xx: build Tenda AC9 image
...
We finally got kernel booting on this device and LAN ports are working,
so it won't "brick" the device. One more big missing thing is WAN port
support. It requires fix for BCM53125 to get switch port 5 working.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
Rafał Miłecki
5e885c09c6
bcm53xx: switch back to standalone ASM entry flushing cache
...
Over a year ago in a commit ac96a1665a
("bcm53xx: update Disable MMU
and Dcache during decompression") we switched to Florian's patch for
workarounding CFE bug. The main difference was using a part of existing
__armv7_mmu_cache_flush instead of implementing flushing separately.
This worked well for Northstar devices but doesn't work for BCM53573 as
these devices simply don't start booting with Florian's patch. It's
because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush.
So this commit switches back to using standalone implementation. This
time instead of copying Broadcom's copy of cache-v7.S, we just make a
copy of the original file on our own. Unfortunately we can't cross-dir
compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with
define_cache_functions v7 which would just trigger
> Error: unrecognized/unsupported machine ID (r1 = 0x0000007f).
The only real change Broadcom did in copied .S file was modifying mcr
instruction to use c6 instead of c14. It isn't clear to me if we really
need it, but let's use it for now.
By the way we also update commit message of the
[PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression
This makes kernel booting on BCM53573 successfully.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
Rafał Miłecki
d22ae5e888
bcm53xx: package drivers for Northstar USB PHYs
...
We don't use them yet as we still init PHY in controller driver but they
will be needed soon.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
Rafał Miłecki
31fada8bec
bcm53xx: generate proper network config for Tenda AC9
...
It's a more complex device with 2 interfaces on the SoC, one we can use
for LAN and another for WAN.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-18 10:40:49 +02:00
Rafał Miłecki
93f2aa44f7
kernel: bgmac: backport patch adding platform support
...
It also reworks bcma support by moving specific code to separated file.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-17 12:41:20 +02:00
Rafał Miłecki
5846620890
bcm53xx: fix warning caused by m25p80 patch
...
It was adding unused variable:
drivers/mtd/devices/m25p80.c: In function 'm25p80_write':
drivers/mtd/devices/m25p80.c:85:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-16 17:14:14 +02:00
Rafał Miłecki
27b078e83a
bcm53xx: add quick fixes for BCM53573
...
It adds and uses ILP clock that requires some other work (in progress)
for upstreaming it. Other than that it adds a quick fix for bcma to add
serial flash before trying to read SPROM.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-15 12:49:16 +02:00
Rafał Miłecki
38750ce739
bcm53xx: add temporary BCM53573 ILP clock driver
...
It wasn't accepted upstream as there was a discusson on Northstar vs.
BCM53573. Once we get a new ARM arch Kconfig entry it should be
possible to upstream it.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-15 10:20:43 +02:00
Rafał Miłecki
dd7eddcb08
bcm53xx: prepare for building Tenda AC9 TRX image
...
It'll be enabled when we complete basic support.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-15 09:33:04 +02:00
Rafał Miłecki
857f00a9f7
bcm53xx: drop target's preinit network support script
...
We don't need it anymore since the rework of generic preinit script.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 23:14:15 +02:00
Rafał Miłecki
5b1c00e4fa
bcm53xx: support USB 2.0 controller on BCM53573
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 13:05:23 +02:00
Rafał Miłecki
62c5f68095
bcm53xx: backport USB 3.0 controller init patch
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 12:41:32 +02:00
Rafał Miłecki
e674c1aab3
bcm53xx: backport USB 3.0 Northstar PHY driver
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 11:31:17 +02:00
Rafał Miłecki
b9d8c81018
bcm53xx: rename PHY patches to use 07* prefix
...
This is not a strict rule but it matches better this one:
7xx - network / phy driver patches
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 11:22:58 +02:00
Rafał Miłecki
fa350d5aba
bcm53xx: add profiles for Buffalo devices
...
This generates proper images when using CONFIG_TARGET_MULTI_PROFILE and
CONFIG_TARGET_PER_DEVICE_ROOTFS.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 12:17:06 +02:00
Rafał Miłecki
b835d7e811
bcm53xx: include USB modules in images for devices with USB ports
...
This allows using USB out of the box.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 11:59:28 +02:00
Rafał Miłecki
0b9de8daa7
bcm53xx: add profiles for all other (SoftMAC) devices
...
Thanks to this images for SoftMAC devices don't get brcmfmac anymore and
b43 is added for devices with (quite poor) support only.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 11:31:46 +02:00
Rafał Miłecki
d378a7c4f7
bcm53xx: convert (disabled) Netgear R8500 image to own profile
...
It should be the last device with FullMAC chipset to convert.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 08:28:41 +02:00
Rafał Miłecki
931d309203
bcm53xx: add profile with brcmfmac for Netgear R7900
...
It's one more device with FullMAC that got forgotten in the previous
commit.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 07:46:17 +02:00
Rafał Miłecki
c769c1b584
bcm53xx: add profiles for devices with FullMAC chipsets
...
This allows building images for selected devices with brcmfmac only
(without b43 which is for SoftMAC devices).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
2016-08-10 20:41:53 +02:00
Felix Fietkau
63b525dd6b
image: add a helper variable for getting kernel/rootfs from within image Build/* templates
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-31 12:25:25 +02:00
Rafał Miłecki
f6a86ba066
bcm53xx: enable kernel symbols/drivers needed for BCM53573
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-28 14:05:41 +02:00
Rafał Miłecki
2552e9319e
bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-28 12:59:23 +02:00
Rafał Miłecki
a3be48593b
bcm53xx: refresh kernel patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-28 12:45:02 +02:00
Rafał Miłecki
60d2620253
kernel: update bcma backporting changes up to 4.8
...
This allows building bcm47xxsflash on ARM.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-20 13:42:42 +02:00
Felix Fietkau
8e2764ce9b
image.mk: clean up redundant code related to DEVICE_DTS
...
It is used by a core build template, so the variable should be
initialized and added to DEVICE_VARS in the core.
Same for DEVICE_DTS_DIR
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-15 14:14:11 +02:00
Rafał Miłecki
c940ccedd8
bcm53xx: image: don't suppress "mv" command echoing
...
We call all commands normally, with standard echoing. It's useful for
debugging with V=s. Don't make lzma compression an exception, it's a bit
confusing this way.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-14 11:31:26 +02:00
Felix Fietkau
b3b797076e
bcm53xx: simplify image building code
...
Use append-ubi template for ubinize, remove mkfs override
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-14 10:27:45 +02:00
Felix Fietkau
dbc416b6ec
bcm53xx: remove duplicate template data from the image makefile
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-14 10:27:30 +02:00
Hauke Mehrtens
efa1960abb
kernel: update kernel 4.4 to version 4.4.15
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-07-13 15:39:15 +02:00
Felix Fietkau
fac693441f
bcm53xx: fix kernel config after USB2 PHY driver backport
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-08 13:45:36 +02:00
Rafał Miłecki
1692c71564
bcm53xx: use upstream fix simplifying USB power GPIO usage
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-07 15:07:02 +02:00
Rafał Miłecki
c74c227e5b
bcm53xx: backport driver for Northstar's USB 2.0 PHY
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-07 14:50:17 +02:00
Rafał Miłecki
e71fffed64
bcm53xx: backport BCM5301x patches from 2016-07-06
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-07 13:54:55 +02:00
Rafał Miłecki
eaf0d22421
bcm53xx: calculate Seama MD5 using content of kernel partition
...
We don't want checksum to cover any part of UBI as even its part with
SquashFS may be changed due to e.g. flash wearing.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-04 12:32:12 +02:00
Rafał Miłecki
3c014dc306
Revert "bcm53xx: use uncompressed zImages"
...
This reverts commit b3be33f135
.
CFE is known to fail in some non-standard cases, e.g. when using kernel
or format different that what was tested by Broadcom. This kernel change
triggered some problem with booting OpenWrt kernel stored in Seama.
As long as Seama checksum was covering enough data, it was working fine.
We need to change it however, because calculating MD5 over part of UBI
containing SquashFS is unsafe. UBI may move PEBs depending on flash
wearing level which would break CFE booting the image.
For some reason this kernel change was breaking CFE. Calculating MD5
over 0x47ffc0 B data or less (there is 0x40 B long header) was stopping
booting process at:
Starting program at 0x00008000
As our kernel is usually 0x3fffc0 B it was affected by this problem.
Reverting this change fixes sysupgrade (which already uses kernel size
for MD5 calculation) and will allow us to adjust "fixseama" command call
on the first boot.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-04 12:32:12 +02:00
Ben Whitten
b7baaaf782
kernel: Move append-dtb to common image-commands
...
This build step is used by various targets, move it to a common section.
Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2016-06-22 19:32:06 +02:00
Rafał Miłecki
a180f90518
bcm53xx: backport BCM5301X patches for SRAB
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-20 23:07:31 +02:00
Rafał Miłecki
776b24d9aa
bcm53xx: properly support sysupgrade using Seama on NAND devices
...
It updates kernel and then formats UBI without loosing erase counters.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-20 08:02:32 +02:00
Rafał Miłecki
cf6d9d97fb
kernel: rename B53 symbols to avoid upstream kernel conflict
...
In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same
symbols as our b53 does. Change our symbols so both drivers can coexist
in kernel tree.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-06-20 08:00:14 +02:00
Felix Fietkau
b3be33f135
bcm53xx: use uncompressed zImages
...
The boot loader expects LZMA compressed kernel images
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 14:36:47 +02:00
Felix Fietkau
f27c70ff8c
bcm53xx: refresh kernel config
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 14:36:47 +02:00
Rafał Miłecki
489efcfd62
bcm53xx: refresh kernel config
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-14 12:19:38 +02:00
Rafał Miłecki
cb0de9a68e
bcm53xx: sysupgrade: move TRX specific code to separated function
...
This will allow adding support for other formats (e.g. Seama) in a clean
way.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-13 22:52:04 +02:00
Rafał Miłecki
1f86257c2f
bcm53xx: pass datasize to mtd in hexadecimal format
...
This avoids extra calculation in bash script.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-11 01:38:00 +02:00
Rafał Miłecki
c40e96d133
bcm53xx: fix partition typos in 09_fix_crc
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-11 01:37:41 +02:00
Rafał Miłecki
95d8568cb8
bcm53xx: calculate TRX CRC32 using whole kernel partition
...
This provides better protection of flash data.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-10 12:58:19 +02:00
Felix Fietkau
7eeb254cc4
treewide: replace nbd@openwrt.org with nbd@nbd.name
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Álvaro Fernández Rojas
a105eac4dd
kernel: update kernel 4.4 to version 4.4.12
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-02 15:34:34 +02:00
Rafał Miłecki
01714243b9
bcm53xx: drop Copyright header from two of my bash scripts
...
Both scripts modified by this patch were added by me. First of all I
incorrectly added OpenWrt as Copyright holder. It was wrong because:
1) I simply can't transfer my moral rights according to the Polish law
2) Transfering copyrights (economic rights) requires an agreement which
I didn't sign with OpenWrt(.org).
Other than that I don't find these trivial scripts important enough to
put info about *my* copyrights in a header so this patch just drops them
completely.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-05-18 08:35:00 +02:00
Felix Fietkau
3f1705d777
bcm53xx: delete old kernel versions
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 17:54:14 +02:00
Álvaro Fernández Rojas
b062266ad6
kernel: update kernel 4.4 to version 4.4.9
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-10 10:43:17 +02:00
Rafał Miłecki
cf3b3cfc56
bcm53xx: add m25p80 workaround for SPI flash writing problems
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49264
2016-04-28 11:48:51 +02:00
Rafał Miłecki
9e4d671f75
bcm53xx: support SPI-NOR on dual flash devices
...
We need it to access NVRAM.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49262
2016-04-28 11:48:51 +02:00
Rafał Miłecki
741715331a
bcm53xx: switch to m25p80 and drop bcm53xxspiflash
...
For some time now m25p80 supports 32 MiB flashes and we just needed to
patch spi-nor to support JEDEC incompatible w25q128. Also by switching
to m25p80 we gain accelerated SPI flash reads.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49260
2016-04-28 11:48:50 +02:00
Rafał Miłecki
73d51d7b5d
bcm53xx: support JEDEC incompatible w25q128 in spi-nor
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49259
2016-04-28 11:48:50 +02:00
Rafał Miłecki
e53d533a24
bcm53xx: backport BCM5301X DT patch specifying SPI controller
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49232
2016-04-26 09:22:49 +00:00
Rafał Miłecki
2be5203055
bcm53xx: bump maximum TRX size for devices with serial flash
...
It was already increased for NAND devices so do the same for the ones
with serial memory.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49207
2016-04-20 18:14:01 +00:00
Hauke Mehrtens
f0b3964f1b
kernel: update kernel 4.4 to version 4.4.7
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49176
2016-04-16 21:05:48 +00:00
Rafał Miłecki
d30766c986
bcm53xx: backport BCM5301X earlycon and USB VCC patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49166
2016-04-14 05:54:20 +00:00
Rafał Miłecki
93550152ed
bcm53xx: add switch config workaround for R8500 and DIR-885L
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49160
2016-04-09 13:23:25 +00:00
Rafał Miłecki
e2893fa8c3
bcm53xx: fix regression in generating network config
...
Syntax error was added in r49122.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49159
2016-04-09 13:20:19 +00:00
Rafał Miłecki
997a3cb41c
bcm53xx: add basic support for Netgear R7900
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49122
2016-04-09 09:59:21 +00:00
Rafał Miłecki
c658bd634c
bcm53xx: add PCI iproc patch adding abort handler
...
This prevents die() during PCI bus probe.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49121
2016-04-08 20:37:14 +00:00
Rafał Miłecki
51d887ba00
Revert "bcm53xx: revert patch removing imprecise abort workaround"
...
This reverts commit r48961. It didn't fix PCIe host driver issue as
there are more aborts triggered by it.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49120
2016-04-08 20:36:57 +00:00
Rafał Miłecki
faf172875e
bcm53xx: use the final fix for iproc bcma regression
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49114
2016-04-01 16:49:50 +00:00
Rafał Miłecki
970dc268e7
bcm53xx: drop unneeded 4.3 SPROM patch
...
4.3 isn't oficially used anymore but it may be useful for debugging PCI
host driver regression. SPROM driver doesn't seem to work correctly with
4.3:
[ 2.336686] bcma: bus0: Using fallback SPROM failed (err -2)
[ 2.342366] bcma: bus0: No SPROM available
but it at least compiles now.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49113
2016-04-01 16:49:34 +00:00
Rafał Miłecki
e3e8a85c4f
bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49094
2016-03-30 12:26:24 +00:00
Rafał Miłecki
de2f31c3f5
bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49091
2016-03-30 10:23:02 +00:00
Rafał Miłecki
7b61ed5254
bcm53xx: simpify USB 3.0 PHY initialization
...
We can use one code path for BCM4707 rev. 4 and BCM53018.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49090
2016-03-30 10:22:57 +00:00
Hauke Mehrtens
fcbc97ad78
kernel: update kernel 4.1 to version 4.1.20
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49035
2016-03-18 23:41:21 +00:00
Rafał Miłecki
baf0b18653
bcm53xx: update bcm47xx_sprom to the latest 4.6 queued version
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48963
2016-03-08 11:05:10 +00:00
Rafał Miłecki
81edbe39b8
bcm53xx: fix SPROM driver compilation with ssb/bcma as module
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48962
2016-03-08 08:29:32 +00:00
Rafał Miłecki
9f116fae92
bcm53xx: revert patch removing imprecise abort workaround
...
It seems it still happens on some devices.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48961
2016-03-08 08:29:29 +00:00
Rafał Miłecki
dab0569b97
bcm53xx: use SPROM driver queued for 4.6
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48935
2016-03-06 18:08:03 +00:00
Hauke Mehrtens
cb04b8d582
kernel: update kernel 4.4 to version 4.4.3
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48783
2016-02-25 21:54:39 +00:00
Rafał Miłecki
406a288a3b
bcm53xx: add Netgear R8500 GPIOs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48633
2016-02-05 12:33:50 +00:00
Rafał Miłecki
3b76c7cf0b
bcm53xx: start working on Netgear R8500
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48625
2016-02-03 22:32:07 +00:00
Rafał Miłecki
a8c2701866
bcm53xx: fix bcma-hcd compilation in kernel 4.4
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48607
2016-02-01 12:54:17 +00:00
Rafał Miłecki
8095667532
bcm53xx: build D-Link DIR-885L image
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48606
2016-02-01 12:43:04 +00:00
Rafał Miłecki
88deb4aec1
bcm53xx: change brcmnand behavior for ECC strength 1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48605
2016-02-01 12:42:51 +00:00
Rafał Miłecki
f188b6d512
bcm53xx: fix NAND parameters on DIR-885L
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48604
2016-02-01 12:42:42 +00:00
Rafał Miłecki
701dba093f
bcm53xx: add brcmnand patch reading flash parameters
...
It's useful for adding support for new hardware.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48603
2016-02-01 12:42:23 +00:00
Rafał Miłecki
78abece62f
bcm53xx: include (build) Seama mtdsplit parser
...
It's needed for devices using Seama like D-Link DIR-885L.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48602
2016-02-01 12:42:07 +00:00
Rafał Miłecki
9a69e00baa
bcm53xx: support Netgear R8500 in sysupgrade
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48572
2016-01-30 16:57:35 +00:00
Rafał Miłecki
12ec144892
bcm53xx: use proper CPU port in b53 for Netgear R8500
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48571
2016-01-30 16:56:50 +00:00
Rafał Miłecki
926c8dfc7b
bcm53xx: specify magic expected in sysupgrade for D-Link DIR-885L
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48553
2016-01-29 22:31:43 +00:00
Rafał Miłecki
c0edf30bdc
bcm53xx: basic support for Seama format in sysupgrade
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48535
2016-01-28 22:38:37 +00:00
Rafał Miłecki
518ad4763a
bcm53xx: fix MD5 in Seama format on flash after installing OpenWrt
...
We need to fix Seama just like we fix TRX due to the rootfs mark.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48522
2016-01-28 08:51:58 +00:00
Rafał Miłecki
22eb2c1bf2
bcm53xx: enable earlyprintk and all RAM on DIR-885L
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48520
2016-01-28 08:51:46 +00:00
Rafał Miłecki
6bdb024391
bcm53xx: add D-Link DIR-885L DT patch
...
We don't build image for this device yet.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48519
2016-01-28 07:01:23 +00:00
Rafał Miłecki
512e0fca81
bcm53xx: replace iproc regression fix with the final one
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48518
2016-01-28 07:01:17 +00:00
Rafał Miłecki
80bd8f3d09
bcm53xx: use two upstream USB bcma patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48517
2016-01-28 07:01:09 +00:00
Rafał Miłecki
39f1157075
bcm53xx: switch to kernel 4.4
...
Initially 4.4 didn't work on bcm53xx because network was breaking few
seconds after setting interfaces. It's fixed since r48059 (switching
from 4.4-rc5 to 4.4-rc7).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48510
2016-01-27 12:44:07 +00:00
Rafał Miłecki
1dfa8f37db
bcm53xx: detect Seama sysupgrade format
...
It's used e.g. by D-Link devices. We don't support it yet.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48509
2016-01-27 10:40:58 +00:00
Felix Fietkau
57776e68ce
base-files: remove default /etc/config/network, generate it via board.d instead
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48493
2016-01-25 16:30:41 +00:00
Rafał Miłecki
a6ec12bb09
bcm53xx: fix iProc regression with sent patch instead of a revert
...
This properly fixes #21393 .
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48423
2016-01-21 05:59:16 +00:00
Rafał Miłecki
7c2356e2a0
bcm53xx: revert iProc patch adding PAXC support
...
It broke detecting some PCIe devices. This fixes (workarounds) #21393 .
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48382
2016-01-19 22:53:21 +00:00
Rafał Miłecki
b9fb3d4524
bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48375
2016-01-19 21:53:23 +00:00
Rafał Miłecki
000295f8ba
bcm53xx: move iProc patches that went mainline
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48370
2016-01-19 20:59:10 +00:00
Rafał Miłecki
bba8f059d7
bcm53xx: backport iProc Kconfig fixes
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48369
2016-01-19 20:58:53 +00:00
Rafał Miłecki
1dfa369c98
bcm53xx: group iProc patches into patchsets they were sent in
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48368
2016-01-19 20:58:48 +00:00
Hauke Mehrtens
cdb83aaf5f
kernel/4.3: update to version 4.3.3
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de
SVN-Revision: 48224
2016-01-12 20:52:19 +00:00
Hauke Mehrtens
93b50ade93
kernel/4.1: update to version 4.1.15
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48223
2016-01-12 20:51:34 +00:00
Hauke Mehrtens
ba3a749f9b
kernel: refresh patches for kernel 4.4
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48222
2016-01-12 20:50:41 +00:00
Felix Fietkau
2499a57d92
targets: add kernel image dependencies on device tree files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48146
2016-01-06 18:39:06 +00:00
Rafał Miłecki
e17c1e45ad
bcm53xx: fix USB patch breaking 4.4 compilation
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48112
2016-01-04 12:28:46 +00:00
Rafał Miłecki
ccb7d794ff
kernel: update bcma by backporting 4.4 and 4.5 patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48111
2016-01-04 12:22:24 +00:00
Rafał Miłecki
ef53dc754f
bcm53xx: switch to simpler devm_gpiod_get in USB driver
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48062
2016-01-02 10:49:46 +00:00
Rafał Miłecki
7bede46e58
kernel: make bcm47xxpart work with TRX flashed at bad block(s)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48061
2016-01-02 00:33:48 +00:00
Rafał Miłecki
224984ca01
kernel: drop bcm47xxpart patch for Xiaomi
...
It was never tested, most likely not working (because of le32_to_cpu)
and not upstreamed.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48060
2016-01-02 00:33:31 +00:00
Rafał Miłecki
716905b986
bcm53xx: print bcm47xxpart buf to debug R8000 UBI problem
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47896
2015-12-16 09:37:16 +00:00
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
2015-12-11 15:26:06 +00:00
Rafał Miłecki
dce5a5b9db
bcm53xx: update BCM5301X SMP patch to fixed version from stblinux
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47810
2015-12-07 20:43:49 +00:00
Rafał Miłecki
c8c708f367
bcm53xx: fix selecting HAVE_SMP symbol in Kconfig
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47809
2015-12-07 19:56:12 +00:00
Rafał Miłecki
b473cd8085
bcm53xx: use backported BCM5301X patches from stblinux soc/next
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47807
2015-12-07 19:20:40 +00:00
Rafał Miłecki
3333f75caf
kernel: add bcm47xxpart patches sent for 4.5 merge window
...
This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47800
2015-12-07 09:31:52 +00:00
Hauke Mehrtens
cf6b9cdbe4
kernel: add missing config options for kernel 4.4
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47796
2015-12-06 13:32:36 +00:00
Jo-Philipp Wich
527ec2af59
all: remove dummy ucidef_set_interface_loopback() from board.d
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47744
2015-12-03 23:13:00 +00:00
Jo-Philipp Wich
8f8b702f85
board.d: remove redundant ucidef_set_interfaces_lan_wan() calls
...
This removes calls to ucidef_set_interfaces_lan_wan() and
ucidef_set_interfaces_lan() on boards where all relevant info can be
inferred from the switch definition.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47722
2015-12-03 17:30:56 +00:00
Jo-Philipp Wich
9b02e73188
board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
...
This changes uci-defaults-new.sh, config_generate and all relevant board.d
files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into
a single function.
Also removes now superfluous enable and reset arguments.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47721
2015-12-03 17:30:24 +00:00
Rafał Miłecki
2bcbe28580
bcm53xx: move BCM5301X patches to use 08x prefix
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47713
2015-12-03 11:03:07 +00:00
Rafał Miłecki
9f3300393a
bcm53xx: use backported versiions or R8000 & dt-bindings patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47711
2015-12-03 10:51:52 +00:00
Rafał Miłecki
0dda38b472
bcm53xx: fix typo in BCM5310X (patch name and subject)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47710
2015-12-03 10:51:42 +00:00
Rafał Miłecki
4333cb73f7
bcm53xx: move & update accepted USB patch for GPIO control
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47709
2015-12-03 10:51:32 +00:00
Rafał Miłecki
448bf7819b
bcm53xx: use backported BCM5301X patches from stblinux devicetree/next
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47708
2015-12-03 10:19:16 +00:00
Rafał Miłecki
7eed5caecd
bcm53xx: use backported BCM5301X patches from stblinux soc/next
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47707
2015-12-03 10:18:57 +00:00
Rafał Miłecki
4e837fa130
bcm53xx: set vcc-gpio properties in one patch
...
No reason to handle Buffalo WXR-1900DHP in separated patch.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47706
2015-12-03 08:36:41 +00:00
Rafał Miłecki
0641728fa2
bcm53xx: drop fixed clock from DTS for Buffalo WXR-1900DHP
...
We don't use fixed clock in 4.4 (and 4.3) anymore.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47705
2015-12-03 08:36:34 +00:00
Rafał Miłecki
2766887751
bcm53xx: update linux 4.4 config
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47704
2015-12-03 08:19:30 +00:00
Rafał Miłecki
d90561c929
bcm53xx: add linux 4.4 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47703
2015-12-03 08:19:25 +00:00
Jo-Philipp Wich
c4ea02cc69
bcm53xx: switch to ucidef_add_switch_ports()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47692
2015-12-02 18:51:12 +00:00
Hauke Mehrtens
f17be5617a
bcm53xx: update PCIe driver
...
This updates the iProc PCIe driver to the version currently submitted
for kernel 4.5.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47688
2015-12-02 15:24:53 +00:00
Hauke Mehrtens
0e73da37d5
bcm53xx: update SMP patches
...
Broadcom submitted new SMP patches for this SoC to upstream Linux, add
them to OpenWrt.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47687
2015-12-02 15:23:08 +00:00