aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: add support for ipv6 in default network configHauke Mehrtens2013-10-021-58/+40
| | | | | | | | | 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> SVN-Revision: 38294
* brcm47xx: run mtd fixtrx linux every timeHauke Mehrtens2013-07-311-8/+1
| | | | | | | | 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> SVN-Revision: 37625
* brcm47xx: use b53 phy driver for the switch in kernel 3.10Hauke Mehrtens2013-07-141-4/+4
| | | | | | | | | | 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. SVN-Revision: 37304
* brcm47xx: fix switch handlingHauke Mehrtens2013-07-144-34/+35
| | | | | | | | | | | | | | | | 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 SVN-Revision: 37286
* brcm47xx: do not load the kernel modules needed for Ethernet manuallyHauke Mehrtens2013-07-142-15/+0
| | | | | | | add the boot flag to make the kernel modules needed for Ethernet and diag load on startup. SVN-Revision: 37284
* brcm47xx: do not change nvram without user interactionHauke Mehrtens2013-07-141-14/+0
| | | | SVN-Revision: 37281
* brcm47xx: proc gets mounted without this patchHauke Mehrtens2013-07-131-5/+0
| | | | SVN-Revision: 37272
* brcm47xx: remove obsolete hotplug stuffHauke Mehrtens2013-07-132-11/+0
| | | | SVN-Revision: 37271
* brcm47xx: dont manually insmod switch driversJohn Crispin2013-06-211-4/+0
| | | | | | Signed-off-by: John Crispin <bloic@openwrt.org> SVN-Revision: 36993
* brcm47xx: use old partition names again for kernel 3.8Hauke Mehrtens2013-04-061-1/+1
| | | | | | | | This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. SVN-Revision: 36235
* brcm47xx: netconfig: add bacis support for swconfigHauke Mehrtens2013-03-091-25/+27
| | | | | | Parse the cpu port from swconfig and explicitly mark the cpu port as tagged. SVN-Revision: 35911
* brcm47xx: do not use vlan0 any more.Hauke Mehrtens2013-02-203-43/+43
| | | | | | | | 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. SVN-Revision: 35704
* brcm47xx: add initial support for kernel 3.8Hauke Mehrtens2013-02-161-0/+14
| | | | | | | | | | | | 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. SVN-Revision: 35632
* brcm47xx: improve cpuport detection for filesafeHauke Mehrtens2013-02-161-13/+9
| | | | | | | 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. SVN-Revision: 35624
* brcm47xx: fix network config on simpleshareHauke Mehrtens2013-02-161-0/+6
| | | | | | | | | | The included patch will generate a correct network configuration on the simpletech simpleshare. Thank you for the patch Will Holmes (RealOpty) This closes #12361. SVN-Revision: 35623
* brcm47xx: try to automatically detect if the wan port is at port 4 and not ↵Hauke Mehrtens2013-02-161-1/+12
| | | | | | | | at port 0. This should fix #13000. SVN-Revision: 35617
* brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 ↵Hauke Mehrtens2013-02-141-16/+8
| | | | | | 8" and vlan0ports: "0 8" SVN-Revision: 35597
* brcm47xx: configure vlan correctly on some recent devices.Hauke Mehrtens2013-02-131-1/+4
| | | | SVN-Revision: 35587
* Add Failsafe support for Linksys E3000V1 / WRT610NV2Hauke Mehrtens2013-02-041-0/+1
| | | | | | | | | | | | | 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> SVN-Revision: 35491
* brcm47xx: Fix switch config on 4716/53115 devicesHauke Mehrtens2013-02-041-1/+1
| | | | | | Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> SVN-Revision: 35490
* brcm47xx: load pps_core and ptp before tg3 to make the interface available ↵Hauke Mehrtens2013-01-271-0/+2
| | | | | | for failsafe. SVN-Revision: 35341
* brcm47xx: add bgmac driverHauke Mehrtens2013-01-031-0/+1
| | | | | | | | | 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. SVN-Revision: 34995
* brcm47xx: build b44 as a moduleHauke Mehrtens2013-01-031-0/+1
| | | | SVN-Revision: 34994
* brcm47xx: run ifup before starting the switchHauke Mehrtens2013-01-031-2/+2
| | | | | | In addition check_module is not needed, nobody checks the return value. SVN-Revision: 34993
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-191-1/+1
| | | | | | /lib/functions.sh) SVN-Revision: 34793
* Do not overload mount-call - trying to reduce confusionMirko Vogt2012-12-191-1/+1
| | | | | | | | | | | 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'. SVN-Revision: 34792
* brcm47xx: improve suppressing printing if a module was found in preinit ↵Hauke Mehrtens2012-12-141-1/+1
| | | | | | | | function. Thank you Bastian Bittorf SVN-Revision: 34680
* brcm47xx: Additional BCM4716 supportHauke Mehrtens2012-12-131-0/+6
| | | | | | | | Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34672
* brcm47xx: suppress printing if a module was found in preinit function.Hauke Mehrtens2012-12-131-1/+1
| | | | SVN-Revision: 34653
* kernel: in kernel 3.6.8 and later tg3 depends on hwmon.koHauke Mehrtens2012-12-131-0/+1
| | | | SVN-Revision: 34652
* brcm47xx: whitespace cleanupsHauke Mehrtens2012-11-257-16/+7
| | | | SVN-Revision: 34329
* activate failsafe on all ports of the switch and not just port 0.Hauke Mehrtens2012-09-251-1/+1
| | | | | | | | | | | 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
* add vlan definitions for Siemens SE505v2Florian Fainelli2011-09-301-3/+2
| | | | | | | | | | | | | | | | | | 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> SVN-Revision: 28336
* fix the default network configuration for the ASUS WL-330gE (#8751)Jo-Philipp Wich2011-08-171-2/+2
| | | | SVN-Revision: 28024
* target (base-files): Fixed failsafe mode by adding back insmod diagDaniel Dickinson2010-07-151-0/+8
| | | | SVN-Revision: 22186
* add back the base-files/image code from brcm-2.4 to brcm47xxFelix Fietkau2010-06-2612-0/+461
| | | | SVN-Revision: 21945
* remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a ↵Felix Fietkau2010-06-261-1/+0
| | | | | | proper type changing commit) SVN-Revision: 21944
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-061-0/+1
(the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. SVN-Revision: 8653