- Mar 10, 2017
-
-
Matthias Schiffer authored
Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
- Mar 09, 2017
-
-
Matthias Schiffer authored
91810ec system-linux: add VXLAN support Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
Daniel Golle authored
So here is another round of improvements for MT7620 WiFi. This commit fixes a few significant issues related to TX_PWR_CFG_x and TX_ALC and also makes the code more readable by adding register descriptions for things added for MT7620 and use the usual bit-field access macros and the now defined macros instead of plain bit-ops and magic numbers. Properly describe EEPROM_TARGET_POWER at word 0x68 (== byte 0xD0) and thereby fix internal TXALC which would otherwise just read out-of-bounds of the EEPROM map. Split-out tx-power/ALC related stuff into an additional function. Fix VCO calibration, it was carried out properly in the channel switching but incomplete in the actual VCO calibration function. Also there is no need to trigger VCO calibration in channel switching, the VCO calibration function is already being called at this point. Remove it from channel switching function to avoid redundant code. The TX power calibration differs significantly from all other Mediatek/Ralink chips: They finally allow 0.5dB steps stored as 8-bit values for (almost) each bitrate -- and promptly ran out of space and for some reason didn't want to change the EEPROM layout. The hence opted for a scheme of sharing values for some adjecent bitrates and a highly over-complicated (or obfuscated?) way to populate the TX_PWR_CFG_x registers with the values stored in the EEPROM. The code here now looks much less complicated than what you see in the vendor's driver, however, it does the exact same thing: bGpwrdeltaMinus is a constant and always TRUE, hence half of the code was dead. Gpwrdelta is always 0 (rather than using the value read from the EEPROM). What remains is some very grotesque effort to avoid 0x20, probably some hardware bug related to some misunderstanding of what a singed 8-bit value is (imagine: if it was a signed 6-bit value then someone could believe that 0x20 == 0x0). And then they didn't clean it up once they later on anandonned that whole story of having a constant offset for 40 MHz channels and just set the offset to be constant 0 -- there is no effort for avoiding 0x20 for the 20 MHz values stored in the EEPROM, hence that's probably just a forbidden value in the EEPROM specs and won't appear anyway... Anyway, the whole thing felt like solving some college math test where in the end everything cancels out and the result equals 0 ;) To make sure that channel bandwidth power compensation really doesn't need to be taken care of, output a warning when the corresponding value stored in the EEPROM is non-zero. Also there is no apparent reason to refrain from initializing RFCSR register 13, it doesn't fail what-so-ever. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Rafał Miłecki authored
This is a simple revert of upstream patch for now. Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Kevin Darbyshire-Bryant authored
RFC 6761 defines a number of top level domains should not be forwarded to the Internet's domain servers since they are not responsible for those domains. This change adds a list of domains that will be blocked when 'boguspriv' is used and augments that which is already blocked by dnsmasq's notion of 'local service' using '--bogus-priv' i.e. RFC 1918 private addresses and IPv6 prefixes as defined in RFC 6303. To make this configurable rather than hard coded in dnsmasq's init script, a new file /usr/share/dnsmasq/rfc6761.conf is conditionally included. The default file matches the RFC 6761 recommendation along with a few other top level domains that should not be forwarded to the Internet. Compile & run tested Archer C7 v2 Signed-off-by:
Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
-
- Mar 08, 2017
-
-
Ansuel Smith authored
Change dts file to add default sata trigger to sata led. Backport upstream accepted patch to add sata trigger to device tree source files already upstreamed. Signed-off-by:
Ansuel Smith <ansuelsmth@gmail.com> [backport upstream accepted patch] Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Ansuel Smith authored
As we have a disk led we enable the disk trigger that work with the easata port Signed-off-by:
Ansuel Smith <ansuelsmth@gmail.com>
-
Alex Maclean authored
The ASL56026 is a VDSL2 router with dual 100mbit ethernet, also known as the ECI B-FOCuS V-2FUb/I. CPU: Lantiq XRX268 v1.1 at 333MHz Modem: Lantiq VRX208 RAM: 32MiB DDR2 at 167MHz Flash: 8MiB NOR, Spansion S29GL064N90TF04 UART is at JP1: Pin 1 TX Pin 2 GND Pin 3 +3.3V Pin 4 NC Pin 5 RX Boot selection pins are exposed via several resistor jumpers: boot_sel0 is at J15, on the rear of the board. Default is high. boot_sel1 is at J3, next to the flash - it is also the flash CE# pin. Default is low. boot_sel2 is at J12, directly below the SoC. Default is low. boot_sel3 is at J16, on the rear of the board. Default is low. The boot_sel pins should never be shorted, the jumper must be moved or a lower value resistor used to change the pull (existing resistors are 4k7, 1k should work) To install with the stock bootloader you must break the built in image selection process which uses at least the following vars: f_upgrade_addr, f_upgrade2_addr, loadaddr, kernel_addr, activeregion, committedregion This is done by setting loadaddr and both f_upgrade_addr vars to the same address: VR9 # setenv loadaddr 0xB0040000 VR9 # setenv f_upgrade_addr 0xB0040000 VR9 # setenv f_upgrade2_addr 0xB0040000 VR9 # saveenv Then flash the firmware image: VR9 # tftpboot 0x81000000 lede-lantiq-xrx200-ASL56026-squashfs-sysupgrade.bin VR9 # erase B0040000 +${filesize} VR9 # cp.b 0x81000000 0xB0040000 ${filesize} Signed-off-by:
Alex Maclean <monkeh@monkeh.net>
-
Alex Maclean authored
Append the ECI model to the device name, to avoid confusion with the older model. Signed-off-by:
Alex Maclean <monkeh@monkeh.net>
-
Rafał Miłecki authored
Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Felix Fietkau authored
Move dts files to files/, remove useless patch chunks Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Fixes memory corruption issues. See commit bdcba364 for more details. Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Piotr Dymacz authored
The ugps tool expects device path in last argument. If it's provided before other options, they won't be processed at all. Additionally, make it possible to use absolute path for gps character device in related uci configuration. Signed-off-by:
Piotr Dymacz <pepe2k@gmail.com>
-
Rafał Miłecki authored
This backports fixes for setting of_node and making it possible to read extra info from DT. This was partially fixed by: [PATCH] leds: leds-gpio: Set of_node for created LED devices but it didn't work during initialization. Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Stijn Tintel authored
Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be>
-
Stijn Tintel authored
Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be>
-
- Mar 07, 2017
-
-
Jo-Philipp Wich authored
Properly map the internal switch ports to the proper LAN1..LAN4 labels. Fixes #530. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Yousong Zhou authored
So that future patches for addition/removal of them can be more readable Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Claudiu Brasovean authored
continue work started here: http://patchwork.ozlabs.org/patch/520859 Extend /etc/config/system with parameters to set the default respawn treshold and respawn timeout for procd launched services that have respawn enabled. This results in cleaner init scripts, while making sure services have respawn parameters set. Signed-off-by:
Claudiu Brasovean <cbrasho@gmail.com>
-
Felix Fietkau authored
Open-code usb_phy_generic_register instead of calling it, since it is really trivial. Avoid pulling CONFIG_NOP_USB_XCEIV into the kernel config and add a proper dependency instead Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
If ehci platform driver is loaded before the chipidea controller driver, both are competing for the same IO resources and the generic driver gets used for the hardware. This results in USB device mode being unavailable. Split generic EHCI support code out of kmod-usb2, so that the chipidea driver can be included without also pulling in the generic one. Also rework the load order, so that the chipidea driver gets loaded first, in case both are installed Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
USB_EHCI_HCD_PLATFORM is used instead Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Jo-Philipp Wich authored
Honour the parent interfaces peerdns option when spawning a virtual DHCPv6 interface in order to avoid pulling in IPv6 DNS servers when the user opted to inhibit peer DNS servers in the configuration. Fixes #597. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Mar 06, 2017
-
-
Hans Dedecker authored
Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Hans Dedecker authored
8f218f5 procd: service gets deleted when its last instance is freed 35209a0 procd: update modprobe path Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Hans Dedecker authored
c69555c dhcpv6: use PRIu64 print macro Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Jo-Philipp Wich authored
Update to latest Git in order to import the following fixes: 19070b6 unarchive: fix possible segmentation fault in deb_extract() 758527e pkg: forward "provided_by_hand" flag in pkg_merge() 1fdc2ca pkg: mark bit fields in pkg_t unsigned 15fc1ee opkg_cmd: avoid null pointer dereference in opkg_what_depends_conflicts_cmd() 439c89e opkg_cmd: fix endless loop in whatprovides/whatreplaces 0fb3e9f pkg_depends: propagate virtual provided detail flag to providers 793155f pkg_depends: fix unsatisfied dependency installation order b1dc770 libopkg: fix some overly aggressive line wrapping in pkg_depends.c Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Felix Fietkau authored
This was apparently caused by some linux upstream merge damage Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Wojciech Jowsa authored
Signed-off-by:
Wojciech Jowsa <w.jowsa@radytek.com>
-
John Crispin authored
Signed-off-by:
John Crispin <john@phrozen.org>
-
John Crispin authored
this daemon replaces mountd. Signed-off-by:
John Crispin <john@phrozen.org>
-
John Crispin authored
Signed-off-by:
John Crispin <john@phrozen.org>
-
- Mar 05, 2017
-
-
Florian Fainelli authored
Brings in the following change: 9eac2a896341 dhcpv6-ia: Check lockf return value Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
Yousong Zhou authored
The malta "be" and "le" subtargets share the arch with many devices of ar71xx and ramips. They can be handy for testing, debugging, trying both snapshot and release builds. This commit makes the "be" subtarget part of the ci and release builds Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Mar 04, 2017
-
-
Florian Fainelli authored
We need to let external toolchains be able to specify the path and specification file to the libthread-db POSIX thread debugging shared libraries. This fixes GDB not being able to be installed because it is depending on libthread-db: Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies * for gdb: * libthread-db * * opkg_install_cmd: Cannot install package gdb. Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
Álvaro Fernández Rojas authored
Support is experimental since I haven't got any device to test. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
Álvaro Fernández Rojas authored
This is needed in order to add support for the new RPi Zero W Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
Álvaro Fernández Rojas authored
As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.9.y - Remove led1 from diag.sh for RPi3 since it causes boot issues. - Fix modules.mk typos. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
- Mar 03, 2017
-
-
Kevin Darbyshire-Bryant authored
Bump kernel from 4.4.50 to 4.4.52 Refresh patches Compile tested all 4.4. targets Run tested: ar71xx Archer C7 v2 Signed-off-by:
Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
-