Commit Graph

26048 Commits (338436797bc4f67e712dcdea702dcd7a7b551709)

Author SHA1 Message Date
Gabor Juhos 338436797b mpc85xx: add default profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:17 +00:00
Gabor Juhos 7393d7daa2 mpc85xx: add gpio-keys to OF match table
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:16 +00:00
Gabor Juhos 882214dd46 mpc85xx: enable squashfs feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:15 +00:00
Gabor Juhos 4800e6f07b mpc85xx: add swconfig to default packages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:12 +00:00
Steven Barth 1fb35f7831 6relayd: Fix possible memory corruption issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 12:04:41 +00:00
Gabor Juhos 6b04db4e87 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 09:17:38 +00:00
Hauke Mehrtens 5ff0c7a66c mac80211: b43: Increase number of RX DMA slots
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 20:44:26 +00:00
Steven Barth a96a74fc06 6relayd: Workaround potential signal handling issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 12:50:36 +00:00
Florian Fainelli 44f3c0072d x86/rdc: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:38:05 +00:00
Florian Fainelli b5f329adde rb532: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:38:02 +00:00
Florian Fainelli 9c417101bb cobalt: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:58 +00:00
Florian Fainelli f81f68336c brcm63xx: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:55 +00:00
Florian Fainelli 3b1a2e5c15 au1000: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:52 +00:00
Florian Fainelli 2afebad8bb ar7: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:43 +00:00
Gabor Juhos 7b871a4b67 ramips: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

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@35652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:29 +00:00
Gabor Juhos 2227fb3c11 cns21xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

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@35651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:28 +00:00
Gabor Juhos a954352276 ar71xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

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@35650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:27 +00:00
Gabor Juhos d5e9696c49 adm5120: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

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@35649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:26 +00:00
Gabor Juhos 9b24e8bb6d base-files: introduce commonly used helper functions for setting leds
Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).

[juhosg:
 - fix led_set_attr parameters in led_timer
 - add led_morse and status_led_set_morse helpers
 - add status_led_blink_{preinit,failsafe} helpers]

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@35648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:23 +00:00
Gabor Juhos f3a456e5f1 base-files: minor cosmetic corrections for functions.sh
- update copyright header
  - remove superfluous shebang left-over from changeset 34794
  - unify function declaration

[juhosg: keep Vertical Communications' copyright notice]

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@35646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:47:03 +00:00
Gabor Juhos b4f4f60ee3 Add xz compressed packages to known extensions of dl_cleanup
Add .tar.xz, .txz, and .orig.tar.xz as known extensions to dl_cleanup.py.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:37:14 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Jo-Philipp Wich bc882ab1f1 firewall3 - a C implementation of the current firewall scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 19:26:52 +00:00
Gabor Juhos 0b74564295 generic: ar8216: cleanup function/variable names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:25 +00:00
Gabor Juhos f7178a8d09 generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:23 +00:00
Gabor Juhos 4633f1708b ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:41 +00:00
Gabor Juhos 1faf7940dc ar71xx: add kernel support for the Mikrotik RB951G board
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.

[juhosg:
  - remove dead code from mach-rb951g
  - add "-2HnD" suffix to the machine name
  - use a separate 615-MIPS-ath79-RB951G-support.patch]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:35 +00:00
Hauke Mehrtens 9f9982c1f7 brcm47xx: add initial support for kernel 3.8
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-16 20:28:24 +00:00
Felix Fietkau 452522c6de hostapd: fix the scan wait patch for multiple interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 19:00:34 +00:00
Gabor Juhos 3becae3332 ar71xx: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:33:06 +00:00
Gabor Juhos a7a89f31c5 ramips: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:26:52 +00:00
Gabor Juhos 6f2377c104 package/kernel: add package for the Freescale On-Chip EHCI Controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:13:40 +00:00
Gabor Juhos 5766e4d223 mpc85xx: add input drivers to default packages, and load those during preinit
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:13:38 +00:00
Hauke Mehrtens 34e24ed054 brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules.  This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:27:33 +00:00
Hauke Mehrtens 0a8f960f87 brcm47xx: improve cpuport detection for filesafe
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-16 16:24:15 +00:00
Hauke Mehrtens 28fd5cda23 brcm47xx: fix network config on simpleshare
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-16 15:24:48 +00:00
Hauke Mehrtens bf71e22b98 brcm47xx: handle return values of cfe_env_get() correctly.
This closes #12746.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:19:24 +00:00
Hauke Mehrtens 836f308687 brcm47xx: bgmac: fix unaligned accesses to network headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:38:17 +00:00
Felix Fietkau 8db109478c hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:26:03 +00:00
Hauke Mehrtens 2a28660d30 brcm47xx: fix unaligned access to mac address
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.

This closes #9824.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 13:46:00 +00:00
Hauke Mehrtens 117f7697ec brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
This should fix #13000.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:37:24 +00:00
Gabor Juhos 55bf670e56 update x86 generic to kernel v3.7
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@35616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:12:52 +00:00
Gabor Juhos c3986bd99f ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:25 +00:00
Gabor Juhos 9dd345481e base-files: add macaddr_{add,2bin,setbit_la} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:22 +00:00
Gabor Juhos 74408f4902 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:21 +00:00
Gabor Juhos 34fe9af047 base-files: add mtd_get_mac_{ascii,binary} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:19 +00:00
Jonas Gorski 8fec1177bf kernel: add missing config options
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:45 +00:00
Jonas Gorski ea88007d4b samba36: fix segmentation fault when trying to add non-existent users
Based on a patch from НКВД. Closes #12962.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:42 +00:00
Florian Fainelli 8477ad22f6 hotplug2: depend on libbsd only when targetting eglibc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 13:25:18 +00:00
Florian Fainelli 81fa18329e libevent2: do not add librt dependency when targetting eglibc
This is already taken care of by PKG_DEFAULT_DEPENDS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 13:25:15 +00:00