aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros
Commit message (Collapse)AuthorAgeFilesLines
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove useless get_c0_compare_int fixFelix Fietkau2014-04-291-39/+0
| | | | | | | | | | | Remove get_c0_compare_int fix which is useless for latest kernels. Tested on Ubnt Bullet2, which could successfully boot without this workaround. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.36Gabor Juhos2014-04-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.34Gabor Juhos2014-03-271-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.32Gabor Juhos2014-02-231-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: change LINUX_VERSON from 3.8.13 to 3.10.28Hauke Mehrtens2014-02-051-1/+1
| | | | | | | | | | The 3.10.x infrastructure has been present for some time, and seems to run fine here. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.17Gabor Juhos2013-10-231-23/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: fix kernel warning about usage of reset gpioGabor Juhos2013-09-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | During a reset the gpiolib warns about using the reset gpio without explicit requesting it before: [ 147.930000] ------------[ cut here ]------------ [ 147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc() [ 147.930000] autorequest GPIO-5 [ 147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug [ 147.930000] Call Trace: [ 147.930000] [<8004e3bc>] dump_stack+0x8/0x34 [ 147.930000] [<80058430>] warn_slowpath_common+0x78/0xa4 [ 147.930000] [<800584e4>] warn_slowpath_fmt+0x2c/0x38 [ 147.930000] [<80166f18>] gpio_ensure_requested+0x68/0xcc [ 147.930000] [<80167264>] gpio_direction_output+0xdc/0x168 [ 147.930000] [<8004aba8>] ar2315_restart+0x28/0x54 [ 147.930000] [<80069778>] sys_reboot+0x178/0x1c0 [ 147.930000] [<80043670>] stack_done+0x20/0x40 [ 147.930000] [ 147.930000] ---[ end trace 2c7a53d8549562d6 ]--- This is fixed with this patch by using another gpiolib api call which includes the missing request. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: refresh all target patchesGabor Juhos2013-09-251-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.9Gabor Juhos2013-08-232-3/+3
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.3Gabor Juhos2013-07-266-9/+7
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/atheros: add 3.10 kernel supportJohn Crispin2013-07-2214-0/+6562
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: don't build jffs2 nor images by defaultJonas Gorski2013-06-051-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.13Gabor Juhos2013-05-261-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move CONFIG_MIPS_SEAD3 to genericJonas Gorski2013-05-121-1/+0
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.12Gabor Juhos2013-05-081-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove static gpio_request() from board setup and include generic ↵Jo-Philipp Wich2013-05-022-5/+3
| | | | | | | | | kmod-gpio-button-hotplug instead. This change is based on a patch by Karl Palsson <karlp@remake.is> See http://patchwork.openwrt.org/patch/3536/. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.11Gabor Juhos2013-05-011-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.10Gabor Juhos2013-04-301-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.9Gabor Juhos2013-04-261-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.8Gabor Juhos2013-04-191-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.7Gabor Juhos2013-04-141-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.6Gabor Juhos2013-04-061-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.3Gabor Juhos2013-03-152-2/+2
| | | | | | | | 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
* atheros: remove 3.3 supportGabor Juhos2013-03-1013-6484/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: switch to 3.8Gabor Juhos2013-03-101-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.1Gabor Juhos2013-03-037-16/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: add support for linux kernel v3.8Gabor Juhos2013-02-2113-0/+6528
| | | | | | | | | | | | | | | | | | | | | This builds and boots. Because of the function pointer indirection (e.g. mtd_info's read function pointer is assigned to spiflash_read), it is difficult for me to understand where the calls are coming from (could be anywhere, conditionally pointing at spiflash versions), so I punted and used the renamed function pointers (_erase, _read, _write). If someone knows better what to do, please fix. Cleaned up other sundry kernel tracking issues like get_phy_id and __devinit,etc. [juhosg: don't switch to that yet] Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: use numerically prefixed uci-defaults file names to better ↵Jo-Philipp Wich2013-01-182-0/+0
| | | | | | control order of execution git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-191-1/+1
| | | | | | /lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove common symbols from 3.3 configsGabor Juhos2012-11-291-2/+0
| | | | | | | | 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
* [atheros] move redboot boardconfig patch into target folderJohn Crispin2012-11-123-0/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop GPIODEV platform codeJohn Crispin2012-10-171-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] gpiodev/gpioctl RIPJohn Crispin2012-10-112-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [atheros] add support for adm6996 phyJohn Crispin2012-09-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [targets] get rid of the IRQF_SAMPLE_RANDOM flagFlorian Fainelli2012-09-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [atheros] Add leds back after migration to sysfsJohn Crispin2012-07-262-0/+12
| | | | | | | | | | atheros trunk moved to full sysfs gpiolib, but the leds were forgotten. This restores the wlan led that was missing after switching from backfire to trunk. Signed-off-by: Karl Palsson <karlp@remake.is> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] bump to 3.3.8John Crispin2012-06-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.3 to 3.3.7Gabor Juhos2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: move certain disabled symbols to the generic configsGabor Juhos2012-05-151-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* kernel: update linux 3.3 to 3.3.6Gabor Juhos2012-05-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.3 to 3.3.5Gabor Juhos2012-05-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: Fix compilationJo-Philipp Wich2012-05-071-1/+4
| | | | | | | | | With our recent switch to the 3.3 kernel target, some headers were occidentally omitted. Signed-off-by: Jonathan Bither <jonbither@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rewrite the phy packet hook, put it in the network stack to avoid ↵Felix Fietkau2012-05-064-91/+5
| | | | | | having to keep non-upstream ethernet driver changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: clean up the patches some moreFelix Fietkau2012-05-064-24/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for ↵Felix Fietkau2012-05-0632-7672/+419
| | | | | | newer kernels git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [atheros] convert to gpiolibJohn Crispin2011-12-092-0/+536
| | | | | | Signed-off-by: karlp@tweak.net.au git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files, target: assign name to system timeserver section, makes it ↵Jo-Philipp Wich2011-11-101-1/+1
| | | | | | easier to set servers on the cli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add timeserver config to target specific system configs as wellJo-Philipp Wich2011-11-041-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: globally disable BSD process accountingJo-Philipp Wich2011-10-252-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28584 3c298f89-4303-0410-b956-a3cf2f4a3e73