Commit Graph

712 Commits (dc9e6416e7d60accd5974583540042d29e70f7b4)

Author SHA1 Message Date
Hauke Mehrtens b603107f02 brcm47xx: use kernel 3.8.10 as default kernel
The biggest change with this kernel is a new partition parser.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 18:25:16 +00:00
Hauke Mehrtens 219ed3f7c1 brcm47xx: add board detection for NETGEAR WNDR4500 V2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 18:19:31 +00:00
Hauke Mehrtens 585001781b kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master-2013-04-26.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 16:52:11 +00:00
Gabor Juhos 14fec491c7 kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 16:55:42 +00:00
Felix Fietkau db175c1d34 kernel: backport SSB/BCMA changes in preparation for a compat-wireless update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 12:39:40 +00:00
Hauke Mehrtens 94d356b7e1 brcm47xx: use old partition names again for kernel 3.8
This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

Thank you russell for spotting this problem.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 22:22:26 +00:00
Hauke Mehrtens 825fbbb900 brcm47xx: fix error in board detection when nvram is not available.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 19:02:25 +00:00
Gabor Juhos 67dfec2fa8 kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:40:44 +00:00
Hauke Mehrtens 349255c8d1 brcm47xx: generate images for Linksys E.... models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:51:28 +00:00
Hauke Mehrtens 400d0de831 brcm47xx: activate image generation for some Netgear devices which are on the market and should be supported.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:35:52 +00:00
Hauke Mehrtens 03e9d50168 brcm47xx: generate images for more WRT...N models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:34:55 +00:00
Hauke Mehrtens 0314910b37 brcm47xx: generate images for some more devices
These devices should be supported by trunk now.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 22:01:18 +00:00
Gabor Juhos 84da566873 kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:39:51 +00:00
Hauke Mehrtens 66227ce952 brcm47xx: refresh config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:42:26 +00:00
Hauke Mehrtens bbcb144cde brcm47xx: add some more partition parser fixes by Rafał Miłecki
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:48:03 +00:00
Hauke Mehrtens a5d279ddec brcm47xx: netconfig: add bacis support for swconfig
Parse the cpu port from swconfig and explicitly mark the cpu port as tagged.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:24:43 +00:00
Hauke Mehrtens f425635b16 brcm47xx: bgmac: omit the fcs
This fixes #13058 and hopefully #12927


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 13:27:21 +00:00
Hauke Mehrtens 131abb7401 brcm47xx: bgmac: update to version form netdev git repository
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 13:24:39 +00:00
Hauke Mehrtens 498da9e2eb brcm47xx: use bcm47xx_board_get() and detect some more boards in flash partition driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:56:37 +00:00
Hauke Mehrtens 77b078cb09 brcm47xx: board detection WNDR3400v2
WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#".

CFE and NVRAM contain different vars - example:
CFE line original: Device eth0:  hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0
CFE after openwrt: Device eth0:  hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0

Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html
Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2
(and on wikidevi for example)

Signed off by: Dirk Neukirchen <dirkneukirchen@web.de> 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:55:46 +00:00
Hauke Mehrtens 154a868b36 brcm47xx: use same board detection code as kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:10:42 +00:00
Hauke Mehrtens 9f5d8143f7 brcm47xx: do not use vlan0 any more.
The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325.

This makes OpenWrt always use vlan1 and vlan2 instead.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 15:31:43 +00:00
Hauke Mehrtens 9f9982c1f7 brcm47xx: add initial support for kernel 3.8
This contains the following new bigger changes:
 * new partition parser which still could lake some features or have bugs
 * new nand flash driver
 * using physmap-flash flash driver for parallel flash
 * some changes to the serial flash driver

With these changes OpenWrt starts using more of the mainline flash drivers.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 20:28:24 +00:00
Hauke Mehrtens 34e24ed054 brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules.  This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:27:33 +00:00
Hauke Mehrtens 0a8f960f87 brcm47xx: improve cpuport detection for filesafe
Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:24:15 +00:00
Hauke Mehrtens 28fd5cda23 brcm47xx: fix network config on simpleshare
The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:24:48 +00:00
Hauke Mehrtens bf71e22b98 brcm47xx: handle return values of cfe_env_get() correctly.
This closes #12746.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:19:24 +00:00
Hauke Mehrtens 836f308687 brcm47xx: bgmac: fix unaligned accesses to network headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:38:17 +00:00
Hauke Mehrtens 2a28660d30 brcm47xx: fix unaligned access to mac address
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.

This closes #9824.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 13:46:00 +00:00
Hauke Mehrtens 117f7697ec brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
This should fix #13000.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:37:24 +00:00
Hauke Mehrtens 8f8b2b4cd0 brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 12:38:16 +00:00
Hauke Mehrtens 6891eecd2a brcm47xx: configure vlan correctly on some recent devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:05:52 +00:00
Hauke Mehrtens ce3c164477 brcm47xx: add some more fixes to bgmac
Thank you Rafał Miłecki and Nathan Hintz


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 20:10:38 +00:00
Hauke Mehrtens 57e151b3c2 brcm47xx: update tg3 to the version send upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 20:09:15 +00:00
Hauke Mehrtens d3c485c331 brcm47xx: fix name of kmod-ocf-ubsec-ssb
This also removes kmod-ocf, because kmod-crypto-ocf is automatically selected by kmod-ocf-ubsec-ssb.

Thank you Manuel Munz <freifunk@somakoma.de> for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 22:51:25 +00:00
Hauke Mehrtens 950d08794e brcm47xx: bgmac: make it possible to set the devices into promisc mode when it is already up
This fixes #12927.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 14:57:00 +00:00
Hauke Mehrtens 02055dcc39 brcm47xx: fix detection of Asus RT-N16
This fixes #12936.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 22:49:05 +00:00
Hauke Mehrtens 34e787e2f1 Add Failsafe support for Linksys E3000V1 / WRT610NV2
Adds specification of the correct cpu_port for Linksys E3000V1 and WRT610NV2
in /lib/preinit/05_init_interfaces_brcm.  The list of devices will need to
be expanded.  Is there a way to determine the correct cpu_port to use in a
generic sense; for instance, if "/proc/switch/eth0/port/8" exists, or if
"/sys/class/net/eth0/device/driver/module/drivers/bcma:bgmac" exists?  Could
a similar method be used in "/etc/init.d/netconfig"?

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 22:40:57 +00:00
Hauke Mehrtens b753276ff5 brcm47xx: Fix switch config on 4716/53115 devices
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 22:38:37 +00:00
Hauke Mehrtens 298c890900 brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:48:28 +00:00
Hauke Mehrtens 230e8f294f brcm47xx: create image for Netgear WNDR3400 V1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:38 +00:00
Hauke Mehrtens 9a541435bb brcm47xx: add initial board detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:00 +00:00
Hauke Mehrtens 534f49b05c brcm47xx: add gpio to irq function again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:33:23 +00:00
Hauke Mehrtens 25ebb1738f brcm47xx: change generic profiles
The default profile now contains Ethernet drivers for all the types 
found on supported boards. There are other profiles for each Ethernet 
driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:38:10 +00:00
Hauke Mehrtens 007742eb3c brcm47xx: BCMA - Update default IRQ assignment per upstream change
Update the default IRQ assignment for unrecognized devices per
the upstream change.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 15:00:01 +00:00
Hauke Mehrtens 4254f7920c brcm47xx: update bgmac driver to the version in mainline kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:22:19 +00:00
Hauke Mehrtens 8ffb10c8b8 kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:05:18 +00:00
Hauke Mehrtens 3720f45e3c brcm47xx: BGMAC Driver corrections
1) Fix what appears to be a logic error in bgmac_phy_advertise.

2) Fix bgmac_ioctl to use passed phy_id; needed for switch-robo
interface w/ the driver to work correctly.  I still have the issue
with the interface always being HD when the speed/duplex is set
manually (e.g., echo "100FD" > /proc/switch/eth0/port/N/media).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 22:51:39 +00:00
Hauke Mehrtens d61d3a18b0 brcm47xx: various fixes and code cleanups for irq code
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 16:56:54 +00:00
Hauke Mehrtens 0bcdbcb299 brcm47xx: add bgmac driver
This Ethernet driver is in early development stage and still has some problems.
This was working on my bcm4716 based device.

Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:05:22 +00:00
Hauke Mehrtens 207fa73846 brcm47xx: build b44 as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:00:25 +00:00
Hauke Mehrtens 804e80ff08 brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:59:43 +00:00
Hauke Mehrtens 739d7e10d7 brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and
BCM4748 (per the Broadcom SDK).  IRQ Flag values greater than 7 are
ignored when setting the interrupt masks.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:56:13 +00:00
Hauke Mehrtens 1e3172dbf6 brcm47xx: improve IRQ handling for bcma based devices
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:55:34 +00:00
Hauke Mehrtens 880dc8381a brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:53:30 +00:00
Hauke Mehrtens 979291e9c5 brcm47xx: move patches already in the mainline kernel to the front
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:51:31 +00:00
Hauke Mehrtens 3e14ece526 brcm47xx: remove support for kernel version 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:48:43 +00:00
Hauke Mehrtens 1c1842cb5d brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 19:18:40 +00:00
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Mirko Vogt fd18877418 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:46 +00:00
Gabor Juhos 8fa14cd324 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:41:16 +00:00
Hauke Mehrtens 0866b84b46 brcm47xx: improve suppressing printing if a module was found in preinit function.
Thank you Bastian Bittorf


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 22:45:12 +00:00
Hauke Mehrtens e6ea8f615c brcm47xx: Additional BCM4716 support
Additional BCM4716 support.  Still needs working ethernet driver.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:57:38 +00:00
Hauke Mehrtens 39d92a0135 brcm47xx: BCMA - Broadcom 2011 SDK Updates
I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't
noticed any obvious changes in behavior with them applied; but thought I
should at least pass them on.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:54:04 +00:00
Hauke Mehrtens fc858e4562 brcm47xx: return the real irq number in bcma_core_irq
The irq signal numbers that are send by the cpu are increased by 2 from 
the number programmed into the mips core by bcma.
Return the irq number on which the irqs are send in bcma_core_irq() now.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:51:10 +00:00
Hauke Mehrtens df363edb27 brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:12:42 +00:00
Hauke Mehrtens b5bc2b0b9f brcm47xx: use kernel 3.6.10 by default now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:11:55 +00:00
Hauke Mehrtens 33a4cce4c5 brcm47xx: suppress printing if a module was found in preinit function.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:11:11 +00:00
Hauke Mehrtens e26a7dcc11 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:09:55 +00:00
Hauke Mehrtens c217abcbd6 kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 22:42:18 +00:00
Florian Fainelli 92bdf9bcc2 kernel/3.3: move OHCI and EHCI platform drivers to generic
These patches are not specific to bcm47xx and will be used on other
platforms as well.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:05 +00:00
Hauke Mehrtens 816ed544af brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:11:39 +00:00
Gabor Juhos 6e6c016e80 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:41 +00:00
Gabor Juhos b8f87e36f2 remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:35 +00:00
Gabor Juhos 56e999eaf3 kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 07:42:19 +00:00
Hauke Mehrtens 58e4dc71b4 brcm47xx: fix title of Bcm4705-wl profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 16:41:00 +00:00
Hauke Mehrtens 2975a8f5f6 brcm47xx: add profile for bcm4705 with wl driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 16:15:27 +00:00
Hauke Mehrtens 54d79d1531 brcm47xx: whitespace cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 14:03:51 +00:00
Hauke Mehrtens fdc6519b2d brcm47xx: fix cpu clock detection on ASUS WL-520gU
The ASUS WL-520gU and some other similar Asus devices have a BCM5354 
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 20:28:06 +00:00
Hauke Mehrtens dfc7942c3e brcm47xx: watchdog: deactivate NOWAYOUT.
In the old configuration the SoC issued a reboot if the watchdog was 
killed also if it was kill with TERM and not KILL.

This will fix #11724.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 20:24:27 +00:00
Hauke Mehrtens afc3c7596a brcm47xx: update watchdog driver
This watchdog driver should work with SoC having a PMU.

This fixes #11720.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 20:07:25 +00:00
Hauke Mehrtens 9f3fcfae17 kernel: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:40:30 +00:00
Hauke Mehrtens a47fb21bf8 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:27:00 +00:00
Hauke Mehrtens 7ff2c6b0f6 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-15 16:39:45 +00:00
Hauke Mehrtens 49f169f67f brcm47xx: remove double definition of kmod-tg3 added in r34150
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 21:34:00 +00:00
Hauke Mehrtens 4e9fb7e774 brcm47xx: fix cfe config detection on WGT634U broken in r33920
Thanks Russell Senior for reporting this.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 21:32:33 +00:00
Hauke Mehrtens c5f6531ab2 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 17:30:33 +00:00
Imre Kaloz e57364c03e [brcm47xx]: generate images for the D-Link DWL-3150 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 09:42:58 +00:00
Hauke Mehrtens 4d69d9733e 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 19:49:20 +00:00
Hauke Mehrtens 183c8129ef 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
Jonas Gorski 35c7b0ba8a kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:49 +00:00
John Crispin fb47a917c2 drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
Hauke Mehrtens 6e36f40ae6 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 15:45:54 +00:00
Hauke Mehrtens 1f128d7c23 [brcm47xx]: use memcmp in mem size detection as suggested by blogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 15:42:12 +00:00
Hauke Mehrtens b2385c1538 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:31 +00:00
Hauke Mehrtens 0056094a98 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:44:44 +00:00
Hauke Mehrtens a65fa180cd [brcm47xx]: run make kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:44:04 +00:00
Hauke Mehrtens 7d525bd21f [brcm47xx]: ignore the last page on bcma based SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:43:40 +00:00
Hauke Mehrtens 3d85f4a79f [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:43:13 +00:00
Hauke Mehrtens 08ef69592e [brcm47xx]: improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:42:16 +00:00
Hauke Mehrtens 55fc9a401d [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 14:04:59 +00:00
Hauke Mehrtens 8403c0dc75 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 14:51:57 +00:00
Florian Fainelli bc190083f8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:33 +00:00
Hauke Mehrtens c8aa973d09 [brcm47xx]: update fix-boot patch.
Do not change the code any more but use the kconfig options


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:18:36 +00:00
Hauke Mehrtens 65957334b6 [brcm47xx]: update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:17:51 +00:00
Gabor Juhos df1e2bf058 generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
Hauke Mehrtens 156f304b46 [brcm47xx]: add gpio sysfs entries
This fixes #10256


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-11 15:04:20 +00:00
Hauke Mehrtens e28966507b [brcm47xx] update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 21:54:06 +00:00
Hauke Mehrtens 34a39fc50c [brcm47xx] remove unused file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 15:45:18 +00:00
Hauke Mehrtens 8a27d76db8 [brcm47xx] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 14:08:35 +00:00
Hauke Mehrtens a54983dbc4 [brcm47xx] update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 11:51:35 +00:00
Hauke Mehrtens 94458bde31 [brcm47xx] update tg3 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 20:27:40 +00:00
Hauke Mehrtens 0024237a5e [brcm47xx] generate image for Linksys e3200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 13:14:00 +00:00
Hauke Mehrtens 3b5a66a3de brcm47xx: update gpio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:40:05 +00:00
Hauke Mehrtens bdf997adb2 brcm47xx: fix patch which moves the flash struct in wgt634u code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:39:15 +00:00
Hauke Mehrtens b37db09843 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:46:25 +00:00
Hauke Mehrtens 4209833de7 [kernel] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 15:42:18 +00:00
Florian Fainelli 76fa8c1bf0 [brcm47xx] move ubsec-ssb driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:38 +00:00
Florian Fainelli a70e655f3d [brcm47xx] move ssb-gige to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:36 +00:00
Florian Fainelli 6566d706be [brcm47xx] move usb driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:33 +00:00
Hauke Mehrtens 22ec767935 brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:52:00 +00:00
Hauke Mehrtens 5a4398b767 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 22:17:05 +00:00
Hauke Mehrtens 540c45aaa3 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-02 23:12:58 +00:00
Felix Fietkau 1aa9a2c11f 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:33 +00:00
John Crispin 266c70cdf4 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
Gabor Juhos e100214e23 kernel: update linux 3.3 to 3.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
Hauke Mehrtens 6a07b477c0 brcm47xx: fix nvram read out on devices with serial flash
detect nvram on Linksys E3200


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 16:04:10 +00:00
Hauke Mehrtens 1dd74eea6b brcm47xx: bcma: fix null pointer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:46:30 +00:00
Hauke Mehrtens 972c918b16 brcm47xx: ssb: recognize ARM Cortex M3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:45:51 +00:00
Hauke Mehrtens fd3e6d0687 brcm47xx: some fixes for the USB driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:44:25 +00:00
Hauke Mehrtens f9cfc0fd4a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:22:38 +00:00
Hauke Mehrtens 20de9681f0 brcm47xx: remove support for kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:20:10 +00:00
Gabor Juhos cb4c118e50 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
Gabor Juhos cc87185921 kernel: update linux 3.3 to 3.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
Hauke Mehrtens 1461937650 brcm47xx: generate image for Linksys WRT610N V1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 00:16:57 +00:00
Hauke Mehrtens 08340bafd5 brcm47xx: fix tg3 ssb patch
Now tg3 works with the Ethernet core of the Linksys WRT610N v1 (again).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 23:59:12 +00:00
Gabor Juhos 3303e79b79 kernel: update linux 3.3 to 3.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
Hauke Mehrtens 7432f7b3e8 brcm47xx: add gpio_request_one()
This fixes a compile error with kernel 3.3.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:44:37 +00:00
Hauke Mehrtens 8af7dd959a brcm47xx: update target to kernel 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 12:53:37 +00:00
Hauke Mehrtens a56ea99b6d brcm47xx: add support for kernel 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 20:18:41 +00:00
Hauke Mehrtens 42f83d2e57 brcm47xx: BCMA - Modified PCI CFG space access
The existing code (prior to the patch) does an "ioremap_nocache" on a
subset of a memory region that I think has already been mapped, and then
un-maps that smaller region when it is finished.

Thanks Nathan Hintz for the patch



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-25 20:32:17 +00:00
Hauke Mehrtens e6eed565e3 brcm47xx: A couple of other (inconsequential) BCMA patches
Noticed these while reviewing the code.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 21:56:42 +00:00
Hauke Mehrtens ec90781175 brcm47xx: b44 fix workaround detection on some brcm47xx boards
Because of api change of nvram_getenv, the workaround failed to detect the hardware.

Based on patch by b.sander

Fixes #11268.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 20:35:46 +00:00
Jonas Gorski 5520ed39bf kernel: update linux 3.2 to 3.2.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:35 +00:00
Jonas Gorski 7865291832 kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 13:12:14 +00:00
Jonas Gorski 23578461a9 kernel: update linux 3.2 to 3.2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:50:54 +00:00
Hauke Mehrtens 3210600078 brcm47xx: fix a bug in the sprom handling of bcma, this broke all bcma based SoCs.
bcma: use fallback sprom if no on chip sprom is available


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-14 12:12:22 +00:00
Hauke Mehrtens 5af062a0e0 kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 19:35:40 +00:00
Hauke Mehrtens a0c04f8b93 brcm47xx: remove support for kernel 3.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 16:53:16 +00:00
Jonas Gorski fe073513d5 kernel: update linux 3.2 to 3.2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
Jonas Gorski d944e45d65 kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Hauke Mehrtens 88b3c3aad1 brcm47xx: fix memory leak, backport from the mainline kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 15:44:06 +00:00
Hauke Mehrtens e0329692de brcm47xx: add missing breaks into the nvram read code in the switch case statements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 15:43:16 +00:00
Hauke Mehrtens 145aa980fe brcm47xx: update flash drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 17:03:18 +00:00
Hauke Mehrtens 68b4dc5583 brcm47xx: BCMA - Consolidate/reduce code in bcma_device_name
Eliminate unneeded procedure by incorporating code into bcma_device_name

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 09:36:50 +00:00
Hauke Mehrtens 15384e2608 brcm47xx: BCMA - Always map 4 bytes
This probably doesn't matter, but reads/writes are always 4 bytes, so always map 4 bytes.

Changes since v1: Moved changes to new patch file (234-bcma-always-map-4-bytes.patch).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 09:35:01 +00:00
Hauke Mehrtens e4caa064ac brcm47xx: update sprom patches like they are in the mainline kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 17:07:28 +00:00
Hauke Mehrtens 40620c4915 brcm47xx: update usb driver to the version send for mainline kernel integartion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 15:38:56 +00:00
Gabor Juhos 81de1500bc kernel: update linux 3.2 to 3.2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Felix Fietkau 887c0ecd98 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
Hauke Mehrtens 7571b64ce8 brcm47xx: add support for NAND flash on devices using bcma
This patch add support for the NAND flash on BCM5357 based devices like the WNR3500Lv2.

Thank you Tathagata Das <tathagata@alumnux.com> for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-14 22:59:39 +00:00
Hauke Mehrtens 316189c9ac brcm47xx: move and rename the patches
The patches are now grouped by the part what they are doing and are using three digest numbers.

This does not remove or adds anything


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-14 21:48:23 +00:00
Hauke Mehrtens c1a889d1a3 brcm47xx: make patch apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 13:36:46 +00:00
Hauke Mehrtens 9483db7e07 brcm47xx: BCMA - Find names of non BCM cores
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 12:55:20 +00:00
Hauke Mehrtens 704c663686 BCMA - Account for variable PCI memory base/size
Thank you Nathan Hintz for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 12:52:43 +00:00
Hauke Mehrtens 0ccc74f43c BCMA - Reorder SPROM fill
The SPROM is initialized in bcm47xx_fill_sprom, so move the call to bcm47xx_fill_sprom_ethernet after it.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 11:50:59 +00:00
Gabor Juhos 23c3f7941e kernel: update linux 3.2 to 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
Hauke Mehrtens ee697b3a90 brcm47xx: use kernel 3.2 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-28 20:12:46 +00:00
Hauke Mehrtens 0255d701d2 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:21:47 +00:00
Hauke Mehrtens 9b919a07e0 brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9.
It also adds sprom from nvram support for devices on the bcma bus.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:08:26 +00:00
Hauke Mehrtens 36b621ea55 brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 22:41:20 +00:00
Hauke Mehrtens e76a0c843e brcm47xx: activate config bug to show warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 22:40:01 +00:00
Hauke Mehrtens ea12a991e1 brcm47xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:45:27 +00:00
Hauke Mehrtens 7c5cc15d84 brcm47xx: update usb driver for brcm47xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:38:10 +00:00
Hauke Mehrtens 8f2800e159 brcm47xx: print the chip id and rev found by ssb and bcma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 22:42:43 +00:00
Hauke Mehrtens 7750094846 brcm47xx: update bcm5354 support patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:22:26 +00:00
Jonas Gorski db12fa60c6 kernel: update linux 3.0 to 3.0.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:43:53 +00:00
Hauke Mehrtens ffa8668331 brcm47xx: add fix for cardbus host controller
These devices have two devices on the bus, the host controller itself and the device.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 20:10:51 +00:00
Hauke Mehrtens 69ece6cfdc brcm47xx: add support for pcie host controller on bcma based SoCs.
This also adds minimal support for the BCMA43224 pcie wireless card.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 22:39:20 +00:00
Hauke Mehrtens 50050af93c brcm47xx: add support for kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 21:18:34 +00:00
Hauke Mehrtens f1429085fb brcm47xx: run kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 14:53:32 +00:00
Hauke Mehrtens 818a4e7d60 brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 20:11:23 +00:00
Jonas Gorski b2e991c3b2 kernel: update linux 3.0 to 3.0.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:10:44 +00:00
Hauke Mehrtens 6916e5eec4 brcm47xx: fix usb on more recent bcma based devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 17:21:52 +00:00
Hauke Mehrtens 1d37e5d523 brcm47xx: remove patch starting adding brcm4716 to ssb
brcm4716 is supported by bcma now we do not need this patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:55:20 +00:00
Hauke Mehrtens 0803c1b511 brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:39:13 +00:00
Hauke Mehrtens a8b46480d3 kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:33:03 +00:00
Hauke Mehrtens a4209940db brcm47xx: remove support for kernel 2.6.39
There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:26:15 +00:00
Jonas Gorski 4baeaf652e linux: update 3.0 to 3.0.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:25 +00:00
Jonas Gorski 16fd48e131 linux: update 3.0 to 3.0.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 18:39:12 +00:00
Jo-Philipp Wich 05b0a7b54d brcm47xx: revert accidentially added EARLY_PRINTK symbol from previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 16:19:52 +00:00
Jo-Philipp Wich 0a7950b452 target: globally disable BSD process accounting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 16:18:36 +00:00
Florian Fainelli eb0d293c25 [brcm47xx]: add vlan definitions for Siemens SE505v2
Hi,

this patch adds the correct vlan definitions for the Siemens SE505v2. It
applies to trunk as well as backfire (please apply here too). On
backfire this also patches brcm-2,4, because brcm47xx base-files is just
symlinked to brcm-2.4.

It also fixes two whitespace issues.

Tested with brcm47xx on both trunk and backfire branch and works as
expected.

Signed-off-by: Manuel Munz <freifunk@somakoma.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-30 12:55:33 +00:00
Felix Fietkau f75c26a62c brcm47xx: fix padding of trx images, padjffs2 does not work properly on empty files by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 21:23:51 +00:00
Hauke Mehrtens 3b4e201de8 kernel: update to version 3.0.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:54:12 +00:00
Jo-Philipp Wich 7dd8956343 [brcm47xx] fix the default network configuration for the ASUS WL-330gE (#8751)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-17 03:16:59 +00:00
Hauke Mehrtens 159917d09d brcm47xx: fix flash detection on chipcommon less devices.
This closes #9906
Thank you for the report Kim


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12 16:37:22 +00:00
Hauke Mehrtens 7f6a8eafbf kernel: update to kernel version 3.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 09:51:55 +00:00
Hauke Mehrtens ab08c44cc9 brcm47xx: use kernel 3.0
As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:10:24 +00:00
Hauke Mehrtens 871991d9fe brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:04:54 +00:00
Hauke Mehrtens 2f8c8f0ca8 brcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
ssb_pcicore_fix_sprom_core_index accesses the sprom on the pci bus but
this causes a data bus error (oops) on a SoC.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 15:18:29 +00:00
Hauke Mehrtens de67cbd092 brcm47xx: build bcma into the kernel
Now we can assume that every brcm47xx kernel has the bcma module build
into the kernel. This is not needed for this version as this does not
support bcma as system bus but kernel 3.0 will.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-23 11:19:58 +00:00
Hauke Mehrtens e049025ac4 brcm47xx: remove old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 18:41:24 +00:00
Hauke Mehrtens 4ee1d48f49 brcm47xx: update bcma and ssb to master-2011-07-21
* add new patches for bcm4716 SoC
* add support for serial flash on bcma bus


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 16:30:42 +00:00
Hauke Mehrtens c818073c4a kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 16:04:25 +00:00
Hauke Mehrtens dcd4203ae6 brcm47xx: deactivate wndr3400 for now as this device will not boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 17:42:34 +00:00
Hauke Mehrtens 029d55e761 brcm47xx: generate image to flash on Netgear WNDR3400.
The image will not boot because serial flash support is missing this is only for experts.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 22:23:21 +00:00
Hauke Mehrtens bf2c750b45 brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 22:21:57 +00:00
Hauke Mehrtens b1e50c66ea kernel: refresh patches for kernel 3.0-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 20:25:39 +00:00
Hauke Mehrtens 9920424969 kernel: update ssb and bcma to linux-next next-20110628
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 19:33:50 +00:00
Hauke Mehrtens 210af3e57c kernel: update kernel to 2.6.39.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 19:30:58 +00:00
Hauke Mehrtens ca52517f61 brcm47xx: update kernel to version 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-27 21:29:20 +00:00
Hauke Mehrtens b5051f91ff kernel: update ssb and bcma to linux-next next-20110627
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-27 21:28:40 +00:00
Hauke Mehrtens c866064533 brcm47xx: fix Linux-3.0 and fix clock rate detection.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-27 20:20:11 +00:00
Hauke Mehrtens 8382dd4891 brcm47xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 15:53:14 +00:00
Hauke Mehrtens 791f4d23e2 kernel: update to kernel 2.6.38.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 15:52:15 +00:00
Hauke Mehrtens cbd8113c9f brcm47xx: add support for kernel 3.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 15:24:44 +00:00
Hauke Mehrtens 45622e7d60 bcm47xx: Remove kernel checks from image Makefile
2.4 isn't present anymore, so it will always be 2.6 (or newer). Since the
2.6 check will break with 3.0, remove it alltogether.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:11:49 +00:00
Hauke Mehrtens 0dbe62a718 brcm47xx: initial 2.6.39 support for brcm47xx
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:27:08 +00:00
Hauke Mehrtens 7cd58d14eb brcm47xx: remove old kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 18:05:54 +00:00
Hauke Mehrtens bee045c2a0 brcm47xx: fix partition layout on SimpleShare devices.
The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.

This fixes #9323

Thank you Will Holmes for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 17:46:34 +00:00
Hauke Mehrtens 08d7c16622 brcm47xx: update patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:49:17 +00:00
Hauke Mehrtens 580cad4b9b brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 14:05:21 +00:00
Hauke Mehrtens cf2a2e3ae2 brcm47xx: fix typo in patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 13:18:35 +00:00
Hauke Mehrtens a6d76eb003 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an 
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
Hauke Mehrtens f7d209d707 brcm47xx: upgrade to kernel 2.6.27.6.
This should be save now.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 15:12:08 +00:00
Hauke Mehrtens 69342e84b5 brcm47xx: add initial support for kernel 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 21:38:41 +00:00
Hauke Mehrtens c07222994c brcm47xx: remove kmod-usb-ohci from WGT634U packages.
This package creates some error messages on startup

Thank you russell-- for reporting


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-19 23:19:08 +00:00
Imre Kaloz de1c12f7a1 remove 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 13:40:48 +00:00
Hauke Mehrtens 5276db562d brcm47xx: add workaround for fuse again.
This closes #4754


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:25:24 +00:00
Hauke Mehrtens b2b9c9a950 ssb: update ssb to version from linux-next-20110311
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 17:24:28 +00:00
Hauke Mehrtens 910545f3eb kernel: update to kernel version 2.6.37.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 17:14:08 +00:00
Hauke Mehrtens cb96d8a00d kernel: update to kernel version 2.6.34.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 17:13:11 +00:00
Florian Fainelli 61e86ac4c3 [kernel] update to kernel 2.6.36.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:07 +00:00
Imre Kaloz d12aecc922 platform specific patches don't belong here - take #2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 12:11:25 +00:00
Imre Kaloz 9029412d26 platform specific patches don't belong here
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 11:01:38 +00:00
Gabor Juhos 7848988656 brcm47xx: add gpio_set_debounce function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 20:05:01 +00:00
Hauke Mehrtens 3d3c17497e brcm47xx: fix compile problem when serial is deactivated.
Thank you Andrey


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 20:53:09 +00:00
Hauke Mehrtens 9aaf9aadb8 kernel: add config option added in kernel 2.6.37-rc7 to generic and run make kernel_oldconfig for brcm47xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 19:44:54 +00:00
Hauke Mehrtens e42ff73d5c brcm47xx: refresh patches with kernel 2.6.37-rc7
The deleted patches went upstream in 2.6.37-rc7


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 19:42:37 +00:00
Hauke Mehrtens 4ce56cc454 brcm47xx: wgt634u mac address fix
The Netgear wgt634u uses minus between the hex digest of the mac 
address and all other broadcom devices are using colons between the hex 
digest. Now the mac address is correctly parsed also when minus is used.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 13:34:09 +00:00
Hauke Mehrtens a7b7ba5ace brcm47xx: add ssb debug option.
This fixes a problem with wrt350n. 
It boots only if this config option is set, otherwise it reboots after "Switching to clocksource MIPS"

Thank you sn9 for fixing this problem.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:35:59 +00:00
Hauke Mehrtens 0436bd78c7 brcm47xx: add some missing pci ID for tg3 driver
Broadcom removed these pci id, but at least the wrt350n has a Ethernet
controller with a pci id of 14e4:1676

Thank you sn9 for fixing this problem.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:31:05 +00:00
Hauke Mehrtens 502ee787f9 brcm47xx: this patch went upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:26:55 +00:00
Hauke Mehrtens 738117eb86 kernel: update kernel versions
Update kernel 2.6.32.26 to 2.6.32.27
Update kenrel 2.6.36.1 to 2.6.36.2


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 16:07:21 +00:00
Hauke Mehrtens e508b3c1c9 brcm47xx: do not read from CFE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:20:26 +00:00
Hauke Mehrtens a3239da586 brcm47xx: backport patch from kernel 2.6.37
Backport patches from r24162
  brcm47xx: reorder patches like they were commitet upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:19:50 +00:00
Hauke Mehrtens 91e32e19b5 brcm47xx: use on common files dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 18:34:58 +00:00
Hauke Mehrtens d0757421a7 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 21:27:54 +00:00
Hauke Mehrtens bdbecf3d94 brcm47xx: remove support for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 14:08:04 +00:00