summaryrefslogtreecommitdiff
path: root/target/linux
AgeCommit message (Collapse)Author
2013-12-17ar71xx: implement switch fix for WD My Net N750juhosg
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
2013-12-17ar71xx: implement callback in mdio resetjuhosg
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
2013-12-17ar71xx: make ag71xx_mdio_platform_data visiblejuhosg
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
2013-12-17ar71xx: ag71xx: compute the RX buffer size from the maximum frame sizejuhosg
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
2013-12-17ar71xx: ag71xx: store RX buffer size in the ag71xx structjuhosg
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
2013-12-17ar71xx: ag71xx: store maximum frame length in the ag71xx structjuhosg
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
2013-12-17ar71xx: ag71xx: use mdio bus name in ar7240_probe messagesjuhosg
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
2013-12-17ag71xx: ag71xx: use device name for debugfs entryjuhosg
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
2013-12-17imx6: ventana: add canbus utilsluka
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
2013-12-17imx6: ventana: add default kernel modules for GSCluka
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
2013-12-17imx6: add rtc feature supportluka
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
2013-12-17imx6: drop upstreamed patchluka
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boardsjuhosg
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
2013-12-16ar71xx: add NAND driver for the Mikrotik RB91x boardsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: rb2011: use board name from the hardware configjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: rb2011: simplify setup codejuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: rb2011: use the new RouterBOOT helpersjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ralink: fix dir810 networkingblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: rb95x: use the rb_get_wlan_data helperjuhosg
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
2013-12-16ar71xx: add some RouterBOOT specific helper functionsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.hjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: refresh m25p80 patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: rb95x: nuke rb95x_gpio_initjuhosg
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
2013-12-16kernel/3.1[02]: add Winbond W25X05 SPI flash supportjuhosg
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
2013-12-16kernel: remove obsolete yaffs options from target configsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16kernel: update yaffs codejuhosg
Use the latest version of the yaffs code. Fetched from the yaffs2 git tree and it is based on the following commit: commit bc76682d93955cfb33051beb503ad9f8a5450578 Merge: 3a8580e ffa781d Author: Charles Manning <cdhmanning@gmail.com> Date: Thu Jul 11 17:46:25 2013 +1200 Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16kernel/3.9: remove yaffs patchesjuhosg
It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16kernel/3.6: remove yaffs supportjuhosg
It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16kernel/3.3: remove yaffs supportjuhosg
It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx/mikrotik: disable unused MTD optionsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not setjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: add userspace support for WD My Net N750juhosg
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> [juhosg: remove the image generation part until the ethernet switch issue is resolved] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16ar71xx: add kernel support for WD My Net N750juhosg
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> [juhosg: use a separate patch for kernel changes] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15generic: ar8216: Enable jumbo frames on AR8327 by defaultjuhosg
This patch enables jumbo frames on AR8327 switch by default. I have tested it on TP-Link TL-WDR3600. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: build image for the TP-Link TL-WA901ND v3 boardjuhosg
Based-on: http://patchwork.openwrt.org/patch/4507/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: add user-space support for the TP-Link TL-WA901ND v3 boardjuhosg
Based-on: http://patchwork.openwrt.org/patch/4508/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: add kernel support for the TL-WA901ND v3 boardjuhosg
Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: move TL-WA801ND v2 setup codejuhosg
The TL-WA801ND v2 board has only one LAN port which makes it more similar to the TL-WR[78]50RE devices. Move the board setup code into the mach-tl-wax50re.c file. Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: refactor TL-WAx50RE setup codejuhosg
This way it is a bit easier to add other TP-LINK devices based on the Atheros AP123 reference board with one LAN port. Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: build firmware image for the TL-WA801ND v2juhosg
Patch to add the profile for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4502/ [juhosg: change subject] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: add user space support for the TL-WA801ND v2juhosg
Patch to add the user space support for the TL-WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4501/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15ar71xx: add kernel support for the TL-WA801ND v2 boardjuhosg
Patch to add kernel support for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4500/ [juhosg: - the TL-WA801ND v2 does not have a sliding switch, it uses a push button for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that, - rename kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15brcm47xx: deactivate early printk supporthauke
This breaks some devices where the serial console is not at port 0 but somewhere else. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15kernel: update kernel 3.10 to 3.10.24hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14upgrade 3.12 targets to 3.12.5kaloz
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14[omap]: drop the bootscript, new u-boots won't need itkaloz
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13ralink: add mt7621 supportblogic
there are still various missing pieces for full support. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-12[omap]: add a default profile filekaloz
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11imx6: add canbus support for Ventana boardsluka
GW5400, GW5300, and GW5200 have CAN bus option. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11imx6: add flexcan supportluka
backport upstream changes to 3.10: - 0060-flexcan.patch: - add flexcan pinctrl and devicetree config - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch - fix a clock issue - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch - fix a clock issue Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39033 3c298f89-4303-0410-b956-a3cf2f4a3e73