aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* imx6: refresh patchesLuka Perkov2013-12-198-17/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport upstream inet fixLuka Perkov2013-12-191-0/+54
| | | | | | | | | Without it in some occasions oops is shown on network restart. Problem was noticed on imx6 targed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: proper fix for io-remapLuka Perkov2013-12-194-210/+118
| | | | | | | | | The previous patch was not the proper fix for PCI devices that require io resources. The new patch is the proper fix backported from mainline. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix service file trackingJo-Philipp Wich2013-12-181-2/+2
| | | | | | | | | | | | | | | The instance_config_move() function in the procd instance managing code is missing a blobmsg_list_move() call to update the tracked file items with the newly calculated checksums in case of a file change. Without that change, services are always reloaded after the first change to a tracked file regardless of whether there are any subsequent changes or not. Add a missing instance of blobmsg_list_free() as well. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add reload trigger for /etc/config/wireless as wellJo-Philipp Wich2013-12-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable images for WD My Net N750Gabor Juhos2013-12-172-0/+10
| | | | | | | | | | | | | | Now that the switch works correctly we can enable the images for this board. Flashing from the factory firmware, the factory failsafe loader and sysupgrade was tested successfully. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4617/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WD My Net N750 switch led cfgGabor Juhos2013-12-171-4/+4
| | | | | | | | | | | Now that the switch is working correctly I had the chance to actually test the LED config. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4616/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: implement switch fix for WD My Net N750Gabor Juhos2013-12-171-0/+19
| | | | | | | | | | | | | | | The bootloader on the WD My Net N750 disables the ports on it's internal AR8327N switch by powering them down. The stock firmware then brings the ports back up again by starting the auto negotiation process on each port. This fix implements just that. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4615/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: implement callback in mdio resetGabor Juhos2013-12-172-0/+5
| | | | | | | | | | | This enables us to add fixups to the board specific code for boards that require special treatment of PHYs on mdio bus reset. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> http://patchwork.openwrt.org/patch/4614/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make ag71xx_mdio_platform_data visibleGabor Juhos2013-12-172-2/+4
| | | | | | | | | | | This enables us to modify the ag71xx_mdio_platform_data from within the board support files. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4613/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: add back support for top-level menuconfig based config overrides ↵Felix Fietkau2013-12-173-6/+7
| | | | | | | | (can be used by custom packages to alter the config) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gpio-button-hotplug: fix crash on removeJonas Gorski2013-12-171-1/+1
| | | | | | | | | | Don't call gpio_keys_remove recursively. Setting the platform data to NULL triggered an oops on the second iteration, so there was no infinate loop. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: restore init scriptsJo-Philipp Wich2013-12-171-8/+3
| | | | | | | | | | Since the removal of the busybox menuconfig entries, the init scripts for cron, telnet and ntp are not packaged anymore. Unconditionally ship them from now on. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix handling of tcp_ecn parameterJo-Philipp Wich2013-12-171-2/+2
| | | | | | | | | | | The firewall3 implementation as well as the shell implementation predating it used to process the tcp_ecnoption as boolean while it actually is an integer. Change the code to parse tcp_ecn as integer. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: compute the RX buffer size from the maximum frame sizeGabor Juhos2013-12-172-3/+1
| | | | | | | | | | | | | | | | Currently, the AG71XX_RX_PKT_SIZE value limits the received frame size to 1514/1516 bytes with/without a VLAN header respectively. However the hardware limit is controlled by the value the AG71XX_REG_MAC_MFL register which contains the value of the max_frame_len field. Compute the RX buffer size from the max_frame_len field to get rid of the 1514/1516 byte limitation. Also remove the unused AG71XX_RX_PKT_SIZE definition. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: store RX buffer size in the ag71xx structGabor Juhos2013-12-172-6/+8
| | | | | | | | This allows to change the value dynamically. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: reduce .ipk package size from ~100k down to ~60kFelix Fietkau2013-12-172-1/+121
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: disable module utils, kmodloader provides themFelix Fietkau2013-12-171-6/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: store maximum frame length in the ag71xx structGabor Juhos2013-12-172-2/+8
| | | | | | | | | This will allow to use different values for the different SoCs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use mdio bus name in ar7240_probe messagesGabor Juhos2013-12-171-4/+4
| | | | | | | | | | | | | | | The ar7240_probe function uses the network device name in the kernel log messages, however the name is not yet initialized when the ar7240_probe function is called. Use the mdio bus name in the messages to avoid ugly log lines like the following one: eth%d: Found an AR7240/AR9330 built-in switch Reported-by: Ronald Wahl <ronald.wahl@raritan.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: ag71xx: use device name for debugfs entryGabor Juhos2013-12-171-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | The ag71xx debugfs code uses the network device name for the device specific debugfs directory. Since r38689 'ar71xx: ag71xx: fix a race involving netdev registration' the debugfs initialization happens before the ethernet device gets registered and the network device name contains 'eth%d' at this point. If the board setup code registers multiple ag71xx devices, the debugfs code tries to create the device specific dir with the same name which causes an error like this: eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] ag71xx: probe of ag71xx.0 failed with error -12 Use the device name for the debugfs directory to avoid the collisions. Also add an error message and change the return code if the debugfs_create_dir call fails. Reported-by: Ronald Wahl <ronald.wahl@raritan.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix typo in Config.in (#14628)Felix Fietkau2013-12-171-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: ventana: add canbus utilsLuka Perkov2013-12-171-1/+2
| | | | | | | | | Some of the Gateworks Ventana boards have CAN bus support, therefore we will install the userspace utils. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: ventana: add default kernel modules for GSCLuka Perkov2013-12-171-0/+1
| | | | | | | | | | | | | All Gateworks Ventana boards have a Gateworks System Controller which emulates the following: - ds1672 RTC - pca953x GPIO expander - hardware monitor - at24 eeprom Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add rtc feature supportLuka Perkov2013-12-173-1/+8
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add rtc-ds1672 module supportLuka Perkov2013-12-171-0/+17
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: drop upstreamed patchLuka Perkov2013-12-171-25/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] automake: update to 1.11.6Luka Perkov2013-12-174-24/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: add support for config overrides via env/busybox-configFelix Fietkau2013-12-161-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove busybox menuconfig from top level menuconfigFelix Fietkau2013-12-1629-8185/+886
| | | | | | | | | This will help with avoiding bogus bug reports caused by stale configs and bad cases of user tinkering :) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: disable sha256 and sha512 for libcrypt - saves about 13k ↵Felix Fietkau2013-12-161-2/+2
| | | | | | | | uncompressed in libcrypt Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: move old wifi setup scripts to hostapd-common-oldFelix Fietkau2013-12-162-5/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boardsGabor Juhos2013-12-164-0/+218
| | | | | | | | | It is only on RB911G-5HPnD and RB912UAG-5HPnD boards. The LEDs and the USB port is not working yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: switch to /lib/functions/network.shJo-Philipp Wich2013-12-161-15/+11
| | | | | | | | | | | This commit changes the dnsmasq init script to use the interface status exposed by netifd. The old references to scan_interfaces() and (indirect) accesses to uci state variables are removed and replaced with corresponding network_*() calls. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: ipcalc.sh: support bit length as netmask parameterJo-Philipp Wich2013-12-161-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add network_get_protocol() to /lib/functions/network.shJo-Philipp Wich2013-12-161-2/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix AP mode scanning issuesFelix Fietkau2013-12-161-1/+47
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add NAND driver for the Mikrotik RB91x boardsGabor Juhos2013-12-162-0/+378
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb2011: use board name from the hardware configGabor Juhos2013-12-162-6/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb2011: simplify setup codeGabor Juhos2013-12-161-16/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb2011: use the new RouterBOOT helpersGabor Juhos2013-12-161-46/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix dir810 networkingJohn Crispin2013-12-161-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb95x: use the rb_get_wlan_data helperGabor Juhos2013-12-161-37/+14
| | | | | | | | Also remove unused RB_* defines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add some RouterBOOT specific helper functionsGabor Juhos2013-12-162-0/+153
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.hGabor Juhos2013-12-161-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh m25p80 patchesGabor Juhos2013-12-163-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes a null pointer crashFelix Fietkau2013-12-161-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb95x: nuke rb95x_gpio_initGabor Juhos2013-12-161-6/+2
| | | | | | | | | Set up the chipselect GPIO directly in rb95x_nand_init instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.1[02]: add Winbond W25X05 SPI flash supportGabor Juhos2013-12-162-0/+40
| | | | | | | | It is used on newer RouterBOARDs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove obsolete yaffs options from target configsGabor Juhos2013-12-164-8/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39085 3c298f89-4303-0410-b956-a3cf2f4a3e73