aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-3/+3
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: enable kernel symbols/drivers needed for BCM53573Rafał Miłecki2016-07-281-2/+7
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9Rafał Miłecki2016-07-284-2/+321
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: refresh kernel patchesRafał Miłecki2016-07-282-3/+3
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: update bcma backporting changes up to 4.8Rafał Miłecki2016-07-201-0/+1
| | | | | | This allows building bcm47xxsflash on ARM. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-1/+1
| | | | | | | | 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>
* bcm53xx: image: don't suppress "mv" command echoingRafał Miłecki2016-07-141-1/+1
| | | | | | | | 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>
* bcm53xx: simplify image building codeFelix Fietkau2016-07-142-40/+15
| | | | | | Use append-ubi template for ubinize, remove mkfs override Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: remove duplicate template data from the image makefileFelix Fietkau2016-07-141-8/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-133-25/+2
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm53xx: fix kernel config after USB2 PHY driver backportFelix Fietkau2016-07-081-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: use upstream fix simplifying USB power GPIO usageRafał Miłecki2016-07-073-27/+37
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport driver for Northstar's USB 2.0 PHYRafał Miłecki2016-07-072-0/+302
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport BCM5301x patches from 2016-07-06Rafał Miłecki2016-07-077-46/+287
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: calculate Seama MD5 using content of kernel partitionRafał Miłecki2016-07-041-1/+1
| | | | | | | 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>
* Revert "bcm53xx: use uncompressed zImages"Rafał Miłecki2016-07-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b3be33f135f447d56ef9a5461e7e675d5cc35730. 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>
* kernel: Move append-dtb to common image-commandsBen Whitten2016-06-221-9/+3
| | | | | | This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* bcm53xx: backport BCM5301X patches for SRABRafał Miłecki2016-06-205-1/+170
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: properly support sysupgrade using Seama on NAND devicesRafał Miłecki2016-06-201-1/+48
| | | | | | It updates kernel and then formats UBI without loosing erase counters. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-06-201-4/+4
| | | | | | | | | 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>
* bcm53xx: use uncompressed zImagesFelix Fietkau2016-06-151-0/+2
| | | | | | The boot loader expects LZMA compressed kernel images Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: refresh kernel configFelix Fietkau2016-06-151-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: refresh kernel configRafał Miłecki2016-06-141-5/+0
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: sysupgrade: move TRX specific code to separated functionRafał Miłecki2016-06-131-14/+20
| | | | | | | This will allow adding support for other formats (e.g. Seama) in a clean way. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: pass datasize to mtd in hexadecimal formatRafał Miłecki2016-06-111-2/+1
| | | | | | This avoids extra calculation in bash script. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: fix partition typos in 09_fix_crcRafał Miłecki2016-06-111-1/+1
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: calculate TRX CRC32 using whole kernel partitionRafał Miłecki2016-06-101-1/+6
| | | | | | This provides better protection of flash data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-072-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-022-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm53xx: drop Copyright header from two of my bash scriptsRafał Miłecki2016-05-182-5/+0
| | | | | | | | | | | | | 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>
* bcm53xx: delete old kernel versionsFelix Fietkau2016-05-12137-18387/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-05-107-14/+14
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm53xx: add m25p80 workaround for SPI flash writing problemsRafał Miłecki2016-04-281-0/+62
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49264
* bcm53xx: support SPI-NOR on dual flash devicesRafał Miłecki2016-04-281-0/+67
| | | | | | | | We need it to access NVRAM. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49262
* bcm53xx: switch to m25p80 and drop bcm53xxspiflashRafał Miłecki2016-04-283-21/+42
| | | | | | | | | | 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
* bcm53xx: support JEDEC incompatible w25q128 in spi-norRafał Miłecki2016-04-281-0/+34
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49259
* bcm53xx: backport BCM5301X DT patch specifying SPI controllerRafał Miłecki2016-04-261-0/+58
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49232
* bcm53xx: bump maximum TRX size for devices with serial flashRafał Miłecki2016-04-201-0/+1
| | | | | | | | | 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
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-163-8/+8
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49176
* bcm53xx: backport BCM5301X earlycon and USB VCC patchesRafał Miłecki2016-04-148-293/+228
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49166
* bcm53xx: add switch config workaround for R8500 and DIR-885LRafał Miłecki2016-04-091-1/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49160
* bcm53xx: fix regression in generating network configRafał Miłecki2016-04-091-3/+4
| | | | | | | | Syntax error was added in r49122. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49159
* bcm53xx: add basic support for Netgear R7900Rafał Miłecki2016-04-097-13/+87
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49122
* bcm53xx: add PCI iproc patch adding abort handlerRafał Miłecki2016-04-081-0/+42
| | | | | | | | This prevents die() during PCI bus probe. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49121
* Revert "bcm53xx: revert patch removing imprecise abort workaround"Rafał Miłecki2016-04-081-66/+0
| | | | | | | | | 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
* bcm53xx: use the final fix for iproc bcma regressionRafał Miłecki2016-04-014-65/+190
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49114
* bcm53xx: drop unneeded 4.3 SPROM patchRafał Miłecki2016-04-011-69/+0
| | | | | | | | | | | | | 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
* bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094Rafał Miłecki2016-03-301-0/+122
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49094
* bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094Rafał Miłecki2016-03-302-6/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49091
* bcm53xx: simpify USB 3.0 PHY initializationRafał Miłecki2016-03-302-75/+24
| | | | | | | | We can use one code path for BCM4707 rev. 4 and BCM53018. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49090