Commit Graph

429 Commits (d325e622d2e257d42b65585c4acccb9a89814127)

Author SHA1 Message Date
Hauke Mehrtens 485f9573f8 brcm47xx: revert r33935: check for .ELF header in partition parser
For sysupgrade the generic image should be used and the special image for the wgt634u is just needed for initial flashing over CFE.
russell reported that with this patch sysupgrdae did not worked for him any more and he could not reproduce the error described in #11420.
With the patch the linux partition also contained the loader which is in the first 128KB.

SVN-Revision: 34201
12 years ago
Hauke Mehrtens 31541f81c3 brcm47xx: remove double definition of kmod-tg3 added in r34150
SVN-Revision: 34176
12 years ago
Hauke Mehrtens bac93bdd8e brcm47xx: fix cfe config detection on WGT634U broken in r33920
Thanks Russell Senior for reporting this.

SVN-Revision: 34175
12 years ago
Hauke Mehrtens cadd36a303 brcm47xx: remove ssb-gige package
CONFIG_SSB_DRIVER_GIGE is set in the target config of the brcm47xx target, so it will always be activated and the kmod-ssb-gige is not needed any more.
The kmod-ssb-gige package is not generated in an build as it does not contain any files and the makes the image builder fail when generating a image integrating this package.

SVN-Revision: 34150
12 years ago
Imre Kaloz 702fd5cdb5 generate images for the D-Link DWL-3150 as well
SVN-Revision: 33961
12 years ago
Hauke Mehrtens 6a699a8ae8 brcm47xx: check for .ELF header in partition parser
The image format for the wgt634u is different from the normal format.
Without this patch the partition parser detects a 128kb bigger
partition after every update.

This closes #11420

Thank you b.sander for the patch.

SVN-Revision: 33935
12 years ago
Hauke Mehrtens dca633f1c8 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx

SVN-Revision: 33920
12 years ago
Jonas Gorski 0d2cf5f9e3 kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

SVN-Revision: 33896
12 years ago
John Crispin 6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
12 years ago
Hauke Mehrtens 07234dc8bd bcma: do not initialize deactivated PCIe cores
Before it was tried to initialize the deactivated PCIe core in client
mode, but this causes the SoC to hang. Just do not initialize it at all
and ignore the core it is not working and nothing is connected to it
when the specific bit is set in the boardflags.

SVN-Revision: 33620
12 years ago
Hauke Mehrtens 2819890839 use memcmp in mem size detection as suggested by blogic
SVN-Revision: 33619
12 years ago
Hauke Mehrtens 642fe7f10a bcma: use fallback sprom if sprom on card was not valid
Sometimes the PCIe card indicates that it has a sprom somewhere and we
are able to read the memory region, but it is empty and not valid. In
these cases we should try to use the fallback sprom as a last chance.

SVN-Revision: 33601
12 years ago
Hauke Mehrtens 42952fd94f bcma: initialize sprom earlier
The chip common and the PCIe code are accessing the sprom struct which
is not filled when these cores are initialized. Fix this by adding an
early initialize and fill the sprom struct before accessing it in other
code.

SVN-Revision: 33600
12 years ago
Hauke Mehrtens 2d40590a23 run make kernel_oldconfig
SVN-Revision: 33599
12 years ago
Hauke Mehrtens e5eefed084 ignore the last page on bcma based SoCs
SVN-Revision: 33598
12 years ago
Hauke Mehrtens c9feffc332 Fix reading sprom from nvram without a prefix
The bcma based SoCs with a ieee80211 core on the SoC and an other
connected via PCIe or USB store the sprom for the SoC with a sb/1/
prefix. The SoC with just one wifi core do not use prefixes. The
BCM4706 do not use a prefix for the SoC part at all, because the prefix
is the path to the ieee80211 core and there is non on the BCM4706.

SVN-Revision: 33597
12 years ago
Hauke Mehrtens 4d5c75a54e improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.

SVN-Revision: 33596
12 years ago
Hauke Mehrtens 0818180715 activate failsafe on all ports of the switch and not just port 0.
Sometimes the port 0 was the WAN port or there could be some device
where the port 0 is not wired to an actual Ethernet port. Now telnet in
failsafe will listen on all ports of the switch so user do not have to
search for the correct port any more. This change will make the switch
leak traffic between the WAN and the LAN port, but you should not use
failsafe while connected to a untrusted network.

SVN-Revision: 33544
12 years ago
Hauke Mehrtens fd7b2b5141 deactivate mips wait instruction for MIPS 74K on Broadcom SoCs
When not removing support for the wait instruction, when ruining on the
BCM4706 SoC the system stops after msleep() without an exception. I
haven't seen this problem on the other Broadcom SoCs with a 74K CPU,
but in the Broadcom SDK it is deactivated for all CPUs of this type.

SVN-Revision: 33496
12 years ago
Florian Fainelli 57bd95734d brcm47xx/profiles/PS-1208MFG: remove reference to non-existing package
The package block-hotplug doesn't exist, refer to block-mount instead.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33474
12 years ago
Hauke Mehrtens db18fa388d update fix-boot patch.
Do not change the code any more but use the kconfig options

SVN-Revision: 33463
12 years ago
Hauke Mehrtens eeb3ad1860 update gpio patches
SVN-Revision: 33462
12 years ago
Gabor Juhos 43147ffec5 generic: move GENERIC_PWM symbol into the generic config
SVN-Revision: 33383
12 years ago
Hauke Mehrtens 95c141aaac add gpio sysfs entries
This fixes #10256

SVN-Revision: 33369
12 years ago
Hauke Mehrtens 847afa343f update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

SVN-Revision: 33235
12 years ago
Hauke Mehrtens 3133d4d8de remove unused file
SVN-Revision: 33210
12 years ago
Hauke Mehrtens 9eaee85cc2 make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

SVN-Revision: 33209
12 years ago
Hauke Mehrtens f4d6baf498 update gpio patches
SVN-Revision: 33208
12 years ago
Hauke Mehrtens a0fb060211 update tg3 driver
SVN-Revision: 33004
12 years ago
Hauke Mehrtens 35661401da generate image for Linksys e3200
SVN-Revision: 33003
12 years ago
Hauke Mehrtens a71f347c30 brcm47xx: update gpio patch
SVN-Revision: 33001
12 years ago
Hauke Mehrtens 1d40a652ee brcm47xx: fix patch which moves the flash struct in wgt634u code
SVN-Revision: 33000
12 years ago
Hauke Mehrtens 0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
12 years ago
Hauke Mehrtens 0c75abf527 bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.

SVN-Revision: 32880
12 years ago
Florian Fainelli c7a69869f7 move ubsec-ssb driver to target specific modules.mk
SVN-Revision: 32863
12 years ago
Florian Fainelli d1b2087a35 move ssb-gige to target specific modules.mk
SVN-Revision: 32862
12 years ago
Florian Fainelli c14d907b8b move usb driver to target specific modules.mk
SVN-Revision: 32861
12 years ago
Hauke Mehrtens e0837a51f0 brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
SVN-Revision: 32845
12 years ago
Hauke Mehrtens 45d55161a6 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
SVN-Revision: 32670
12 years ago
Hauke Mehrtens bd9fa13c73 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
SVN-Revision: 32580
12 years ago
Felix Fietkau 50958f5e03 kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk

SVN-Revision: 32395
12 years ago
John Crispin a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
12 years ago
Gabor Juhos 2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
12 years ago
Hauke Mehrtens c63ef04874 brcm47xx: fix nvram read out on devices with serial flash
detect nvram on Linksys E3200

SVN-Revision: 31790
12 years ago
Hauke Mehrtens 7ad663dda6 brcm47xx: bcma: fix null pointer
SVN-Revision: 31789
12 years ago
Hauke Mehrtens b4ecf522cd brcm47xx: ssb: recognize ARM Cortex M3
SVN-Revision: 31788
12 years ago
Hauke Mehrtens 7be88d2ad8 brcm47xx: some fixes for the USB driver
SVN-Revision: 31787
12 years ago
Hauke Mehrtens 273797f15a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
12 years ago
Hauke Mehrtens 3491d8c017 brcm47xx: remove support for kernel 3.2
SVN-Revision: 31771
12 years ago
Gabor Juhos 39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
12 years ago