Commit Graph

35015 Commits (e61fe4e4d762eb3e00c43b6714a229835efc7ea5)
 

Author SHA1 Message Date
Álvaro Fernández Rojas a0ea3eab63 brcm63xx: fix typo image/Makefile
This typo was introduced in c6990347

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Daniel Golle 3ec4803932 mac80211: respect user-set regulatory domain by default
It turns out most device vendors don't set the correct country code
in their devices' on-flash-EEPROM sections as they apparently rather
provide a complete per-target-market firmware with patched drivers
instead of just setting the country code.
This results in the driver to incorrectly assume the value stored in
the on-flash-EERPOM (usually US or China) being the regulatory domain
inside which the device is being used.
To work around this issue, OpenWrt introduced the ATH_USER_REGD config
variable to decide during build whether or not to allow the user to
override the regulatory domain setting. This option, however, is not
enabled by default and thus ends up being disabled for snapshots builds
and released binaries.
As we know for a long time that most devices got borked regulatory
domain values set in their EEPROMs we should allow our users to respect
their local law (instead of just assume US or China laws).
Note that also the current default has great potential of users not
ever setting their regulatory domain and thus using inapproriate and
potentially illegal frequencies and/or tx-power settings

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years ago
Ben Greear 56b377304e ath10k: support CT firmware choices.
This allows one to select CT firmware for ath10k
if one prefers to try this firmware instead of stock
ath10k firmware.

The 10.1 (988X) firmware can actually be installed beside the
default firmware, but it will not be used as long as the firmware-5.bin
file exists.  Users could rename the files and reboot to use different
images.

The 99X0 (wave-2) firmware  uses the same firmware-5.bin name as default
firmware, so it cannot be installed at the same time as default firmware.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years ago
Graham Fairweather 532c3f3218 brcm63xx: add initial support for Netgear EVG2000
This patch adds support for the Netgear EVG2000 VoIP Gateway to the
bcm63xx targets.

This device was not sold to the general public, but rather is/was
provided by telcos to customers in Sweden, Australia, Singapore and
other parts of asia.

Known issues:
 - Unable to detect 53115 switch. This appear to be a problem with
probing for the PHY using MDIO and results in error 5. Doesn't seem to
be a problem with the configuration, and could use someone with
experience to have a look at it.
 - Uses the b43 driver as using the OpenWRT/LEDE broadcom-wl driver
fails to load the firmware for the 4322, so 802.11n is not supported.

More info on the device and the research can be found at:
https://wiki.openwrt.org/toh/netgear/evg2000
https://wikidevi.com/wiki/Netgear_EVG2000
https://github.com/Xotic750/mirror-lede/tree/evg2000
https://forum.openwrt.org/viewtopic.php?id=63950

Signed-off-by: Graham Fairweather <xotic750@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas a529b41cff brcm63xx: set DSL-274XB-F1 ath9k LED as active high
D-Link DSL-274XB rev F1 has an active high ath9k LED.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 85a0a908e3 brcm63xx: set HG556a A/B ath9k LED as active high
Huawei HG556a has an active high ath9k LED.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 7807c7e867 brcm63xx: add support for inverting ath9k LED polarity
Some devices with ath9k WiFi require changing the default active low
polarity to high in order to correctly operate the WiFi status LEDs.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas ec95509af4 brcm63xx: remove obsolote preinit scripts and fix preinit iface script
These scripts were causing ip issues in the latest version of LEDE:
https://gist.github.com/Noltari/6d20d8bcbe236caf516c0a73f5477d00

Fixes preinit iface script by making eth0 the default ifname and only changing
it to eth1 for the devices that specifically need it.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas c69903473b brcm63xx: move profiles definitions to image/Makefile
This switches brcm63xx to the new profile definition system in image/Makefile

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 2dc7f99662 brcm63xx: refresh kernel patches and config
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas fd7786159d brcm63xx: drop linux 4.1 support
Switch to linux 4.4 now that it has been enough tested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 23273044a8 brcm63xx: switch to linux 4.4
Boot tested on AR-5381u, AR-5387un and WAP-5813n

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 29b412b8c5 ramips: add kmod-pwm-mediatek for mt7628/mt7688
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 604b92dbd0 ramips: fix the number of uarts for each SoC
- Use default number of uarts (2) for rt288x/rt305x/rt3883/mt7620.
- Allow up to 3 uarts on MT7621 and MT7628.
- Remove unneeded SERIAL_8250_RT288X for MT7628.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 243e79e10c ramips: fix Mi Wi-Fi Nano Wireless LED pinmux
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Alexander Couzens 297142464a kernel/spi: add kernel package for spi-omap-24xx
spi-omap-24xx can be found in TI based SoC like the beaglebone black

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 49cf356710 kernel: add random-omap rng for omap
Kernel module for the OMAP Random Number Generator
found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx
multimedia processors.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 9efbf58360 omap: switch to 4.4
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 21208f5d43 linux/generic: add missing config symbols
unset following config symbols
- INPUT_PALMAS_PWRBUTTON
- INPUT_TPS65218_PWRBUTTON
- INPUT_TWL4030_PWRBUTTON
- INPUT_TWL4030_VIBRA
- INPUT_TWL6040_VIBRA
- KEYBOARD_TWL4030
- TWL4030_MADC

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 51f05b2d1a omap: take over maintainership
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Álvaro Fernández Rojas a105eac4dd kernel: update kernel 4.4 to version 4.4.12
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas 794383b801 brcm63xx: fix F@ST2704V2 image generation
This device needs the firmware padded to 4MB.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Alexander Couzens 9128ed33b5
add usb gadget ehci debug driver
This gadget driver allow to debug other devices via EHCI Debug Port
capability.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 2e980479c1 IB/SDK/toolchain: use lower cases filenames
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 4a7c653400 IB/SDK/toolchain: use VERSION_DIST_SANITIZED instead of VERSION_DIST
VERSION_DIST can contains spaces which produces problems when used as file name

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens a7d13178f4 include: move VERSION_DIST_SANITIZED to version.mk
Also move sanitize function to version.mk
Prepare use of VERSION_DIST_SANITIZED by IB/SDK/toolchain

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 38d845b405 include: rename DIST_SANITIZED to VERSION_DIST_SANITZED
All version variables contain VERSION prefix.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens 2a9f03adea ar71xx/image/edimax shorten the revision to 13 character
edimax fails if the revision is longer than 13 characters.
Also change the name from OpenWrt to LEDE

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Álvaro Fernández Rojas 65ae9db41a brcm2708: fix build error introduced in 2b4e5d47
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Jo-Philipp Wich 83390271f9 jsonfilter: fix printing 64bit values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Dirk Neukirchen 872075c761 elfutils: remove unrecognized config option
fixes:
configure: WARNING: unrecognized options: --disable-werror

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Dirk Neukirchen 75dc12dac1 libpcap: remove unrecognized configure options
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Dirk Neukirchen 04cb722e9f openvpn: remove unrecognized option
removed upstream in
9ffd00e754
now its always on

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Jo-Philipp Wich 3a085dcbe3 download.mk: use HTTPS for git.lede-project.org
Some Git versions have issues following the HTTP->HTTPS redirect and since
the keyring package is fetched from this host, switching to HTTPS is a
sensible choice anyway.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Yuan Chenmang b38296f2f6 ramips: add Widora-NEO board support
The Widora board is similar to the Linkit 7688 but features a larger flash
capacity.

Signed-off-by: Yuan Chenmang <771992497@qq.com>
[Jo-Philipp Wich: Reword commit message, cleanup initial PR]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 5770678122 mt76: disable build for linux 3.18
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau b08dbd3acf mac80211: disable iwlwifi build for linux 3.18
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Florian Eckert 44b82ab77a libiconv-full: add license tag
show the license for this package in opkg

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
8 years ago
Florian Eckert 5ac43d6ec2 px5g: add license tag
show the license for this package in opkg

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
8 years ago
Florian Eckert c7d6a924ac usbutils: add license tag
show the license for this package in opkg

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
8 years ago
Stijn Segers d2a91f9853
ar71xx: Fix TL-WR841N v11 LEDs, use separate machine
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
8 years ago
Jo-Philipp Wich 927ab9a262 gettext-full: prevent using emacs
When the gettext-full host build phase finds an `emacs` exectuble during the
build it will launch an `emacs --batch` command to run some Lisp code.

On certain Debian systems the `/usr/bin/emacs` path might point, via
alternatives, to the `/usr/bin/jove` editor which will then launch an
interactive session when invoked by the gettext build.

In order to avoid this problem, explicitely disable emacs handling during
the build through a configure environment variable.

Also remove my now unreachable maintainer address.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin 1205e9a781 mediatek: more nand fixes
jffs2 failed to laod off nand

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 9dafab92bf ipq806x: add a default profile
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 1e152483de ipq806x: enable PM support
this fixes build errors with latest mac80211

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Maxim Storchak 442ff3b34d busybox: run sysntpd at higher priority
When a router is under load ntpd would have better chance to accurately
maintain system time.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
8 years ago
Joseph C. Lehner 2a589539ba ramips: fix Netgear EX2700 images
The previous image creation code would have failed if the
unpadded kernel uImage size was less than 64 bytes from the
next erase block boundary. Fix that.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
8 years ago
John Crispin 0fa01e25ed ipq806x: remove accidentially comitted file
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 21802f22f0 ipq806x: fix 3.18 support
accidentially removed the files in the v4.4 commit

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Daniel Gimpelevich 2b4e5d478b kernel: remove a hack that was obsoleted upstream
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
8 years ago