summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files
AgeCommit message (Collapse)Author
2014-01-12brcm47xx: parse model from cpuinfohauke
Instead of looking into the proc entry provided by broadcom-diag use the board info from /proc/cpuinfo to get the board we are on. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12brcm47xx: fix led indicationhauke
Use the new led api also on brcm47xx. The led for failsafe indication is searched for. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12brcm47xx: fix network failsafe indicationhauke
Remove the code used on the old switch driver. The Ethernet drive is loaded as a module and needs some time to get up therefor we added some wait function. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01brcm47xx: use "firmware" partition namehauke
Some time ago, after switching to the mainline bcm47xxpart driver following patch has been applied: commit 03cef8725d2062335ffc3de50fc037b294fd458c Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat Apr 6 22:22:26 2013 +0000 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. I propose to revert this change and make sysupgrade use "firmware" instead. This makes brcm47xx compatible with widely used ar71xx and after all "firmware" sounds like a much better name for... the firmware. This change doesn't affect "sysupgrade" usage, because it never takes a partition name as a parameter. This change only affects users using mtd tool directly. Hopefully there are not many howtos using "mtd" command. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11brcm47xx: fix netconfig for inverted vlan?ports in nvramhauke
This was observed on the Belkin Share F7D7302. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02brcm47xx: add support for ipv6 in default network confighauke
Modify /etc/init.d/netconfig to use UCI defaults for building the default network config, which includes appropriate defaults for IPV6. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31brcm47xx: run mtd fixtrx linux every timehauke
With this patch it is possible to boot a device with kernel 3.10 a second time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14brcm47xx: use b53 phy driver for the switch in kernel 3.10hauke
This makes it possible to use swconfig to controll the switch. This was tested with devices using b43 and bgmac. This was not tested on devices using tg3. This does not support the adm switch used in some very old devices. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14brcm47xx: fix switch handlinghauke
This fixes some problems with the switch handling * It now send the messages again to indicate a button for failsafe mode should be pressed * it does not leak packages between wan and lan any more * the switch works again in normal mode The Ethernet connection has to be up when the switch driver switch-robo is insmoded therefor we just do it again. Explicitly set enable_vlan to prevent leaking packages. This should close #13869, #13868 and #13716 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14brcm47xx: do not load the kernel modules needed for Ethernet manuallyhauke
add the boot flag to make the kernel modules needed for Ethernet and diag load on startup. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14brcm47xx: do not change nvram without user interactionhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13brcm47xx: proc gets mounted without this patchhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13brcm47xx: remove obsolete hotplug stuffhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21brcm47xx: dont manually insmod switch driversblogic
Signed-off-by: John Crispin <bloic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06brcm47xx: use old partition names again for kernel 3.8hauke
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-03-09brcm47xx: netconfig: add bacis support for swconfighauke
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-02-20brcm47xx: do not use vlan0 any more.hauke
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-16brcm47xx: add initial support for kernel 3.8hauke
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-16brcm47xx: improve cpuport detection for filesafehauke
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-16brcm47xx: fix network config on simpleshare hauke
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-16brcm47xx: try to automatically detect if the wan port is at port 4 and not ↵hauke
at port 0. This should fix #13000. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 ↵hauke
8" and vlan0ports: "0 8" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13brcm47xx: configure vlan correctly on some recent devices.hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04Add Failsafe support for Linksys E3000V1 / WRT610NV2hauke
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-04brcm47xx: Fix switch config on 4716/53115 deviceshauke
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27brcm47xx: load pps_core and ptp before tg3 to make the interface available ↵hauke
for failsafe. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03brcm47xx: add bgmac driverhauke
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-03brcm47xx: build b44 as a modulehauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03brcm47xx: run ifup before starting the switchhauke
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
2012-12-19Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵mirko
/lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19Do not overload mount-call - trying to reduce confusionmirko
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-14brcm47xx: improve suppressing printing if a module was found in preinit ↵hauke
function. Thank you Bastian Bittorf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13brcm47xx: Additional BCM4716 supporthauke
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-13brcm47xx: suppress printing if a module was found in preinit function.hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13kernel: in kernel 3.6.8 and later tg3 depends on hwmon.kohauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25brcm47xx: whitespace cleanupshauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25[brcm47xx]: activate failsafe on all ports of the switch and not just port 0.hauke
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
2011-09-30[brcm47xx]: add vlan definitions for Siemens SE505v2florian
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-08-17[brcm47xx] fix the default network configuration for the ASUS WL-330gE (#8751)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15[brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diagcshore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26add back the base-files/image code from brcm-2.4 to brcm47xxnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a ↵nbd
proper type changing commit) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06strip the kernel version suffix from target directories, except for brcm-2.4 ↵nbd
(the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73