Commit Graph

14810 Commits (576621f1e353339fe81ece6cff7e8bcd12cbc7b8)

Author SHA1 Message Date
John Crispin 83693c911a ramips: add function to change rt2x00 wifi eeprom mac
Some boards like dovado tiny ac have generic ralink mac in onflash wifi eeprom.
Add eeprom_set_macaddr function to rt2x00 eeprom extract script which changes mac addr insde eeprom dump.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47347
9 years ago
John Crispin a76de8e7b3 ramips: mt7620 add icplus phy driver kernel config symbol
Add missing icplus phy driver kernel config symbol to mt7620 subtarget.
This is needed since some mt7620 devices have icplus ip1001 ethernet transceiver

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47346
9 years ago
John Crispin 8fa6927415 ramips: add support for the Asus RP-N53 in the "02_network" boot script
This patch adds a case for the Asus RP-N53 in the "02_network" boot script. Without this, the lan interface does not get configured on startup, effectively bricking the device.

Signed-off-by:  Alberto Mattea <alberto@mattea.info>

SVN-Revision: 47345
9 years ago
John Crispin 7cc3beff32 ar71xx: Add support for wdr7500v3
The device is similar to Archer C7 v2, but with 8M of flash, and 6 external
antennas.  Reason for breaking the naming pattern is that sticker on the back
mentions "WDR7500" and has no mention of "Archer".

Signed-off-by: Srdjan Rosic <rosic@google.com>

SVN-Revision: 47344
9 years ago
John Crispin e5e196b5b9 omap/Beagleboard: remove FEATURES override
It overrides the feature list of the whole target.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47343
9 years ago
John Crispin ed30ca8e39 ramips: rt305x: enable seama mtdsplit parser
D-Link DIR-610 A1 needs seama mtdsplit parser.
This patch should fix #18046.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 47341
9 years ago
John Crispin 6dcbf74a94 ramips: rt305x: update kernel config symbols
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 47340
9 years ago
John Crispin 4f9fcd94bd package/devel/perf: fix build for kernel 4.1
This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 47338
9 years ago
Rafał Miłecki d2c1087536 bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47337
9 years ago
Rafał Miłecki c348b3317a bcm53xx: replace USB patch fixing power control with the most recent version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47336
9 years ago
Hauke Mehrtens 55a912f43e kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47334
9 years ago
Felix Fietkau 9130e4dc32 ar71xx: fix regression in building TL-WDR6500-v2 images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47333
9 years ago
Felix Fietkau 6bc9a6d0a8 imx6: add v4.1 support
Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47331
9 years ago
Luka Perkov 6a18146206 kirkwood: add initial support for NSA310s
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47330
9 years ago
Luka Perkov 013a114691 generic: 3.18: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47329
9 years ago
Felix Fietkau faabe8e8e6 malta: make eth0 the wan interface by default
Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47326
9 years ago
Felix Fietkau 8ddca59465 malta: use as a default type device
There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

With this change, currently a default set of packages for "router" will
be installed to malta firmware images.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47325
9 years ago
Felix Fietkau c5c2eb5fd6 malta: set CPU_TYPE:=24kc.
There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root@OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47324
9 years ago
Felix Fietkau 93efeef9b3 generic: fix unrecognized opcode wsbh when building for MIPS16.
The issue was found and reported by hynman [1] when compiling reaver for ar71xx
(Big Endian MIPS).

    {standard input}: Assembler messages:
    {standard input}:79: Error: unrecognized opcode `wsbh $2,$2'
    {standard input}:90: Error: unrecognized opcode `wsbh $3,$17'
    {standard input}:208: Error: unrecognized opcode `wsbh $2,$2'
    make[3]: *** [builder.o] Error 1

The patch was already in upstream since kernel release 4.3-rc5.

 [1] 1e29676a8a (commitcomment-12901931)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47322
9 years ago
Felix Fietkau 180713b89b ar71xx/image: remove old unused build code for TPLINK
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47321
9 years ago
Felix Fietkau 958c785868 ar71xx/image: remove old unused build code for TPLINKOLD
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47320
9 years ago
Felix Fietkau 24eb0d1ba1 ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead of squashfs-only
All other tplink images use squashfs+jffs2. I don't see any reason why
this board should use squashfs-only

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47319
9 years ago
Felix Fietkau ebea23b49f ar71xx/image: remove old unused build step TPLINK-64K
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47318
9 years ago
Felix Fietkau c3350394a5 ar71xx/image: migrate tl-wdr6500-v2 to new image build steps
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47317
9 years ago
Felix Fietkau 1bd87413e6 ar71xx/image: refactor templates tplink-chn-v2
SVN-Revision: 47316
9 years ago
Felix Fietkau 153ed674b3 ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47315
9 years ago
Felix Fietkau ea23d796f6 oxnas: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47314
9 years ago
Felix Fietkau 2e7df6312d kirkwood: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47313
9 years ago
Felix Fietkau f5683a0a86 imx6: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47312
9 years ago
Felix Fietkau 74d9ef96f1 oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47310
9 years ago
Felix Fietkau 8a237d1f03 kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47309
9 years ago
Felix Fietkau e09d32dd96 imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47308
9 years ago
Felix Fietkau b100027a83 ramips: fix for kernel 4.0 napi repoll need return budgets number
Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47306
9 years ago
Felix Fietkau 9cd525a7fa x86/generic: enable radeon drm driver
This enables modesetting for radeon based boards.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47305
9 years ago
Felix Fietkau 63f2b8afbf x86/generic: enable pata_atiixp driver
This enables booting from devices that use an ATI PATA controller for
the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro
thin-clients.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47304
9 years ago
Felix Fietkau 05d6b87cfb x86/generic: refresh subtarget kernel config
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47303
9 years ago
Felix Fietkau 0365ce46df kernel: add some missing symbols for 4.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47302
9 years ago
Felix Fietkau 61366c95e2 realview: Create ext4 image by default
Following the additions in r46924, enable the 'ext4' feature for
realview target so the ext4 image is created by default.

Signed-off-by: Dov Murik <dov.murik@gmail.com>

SVN-Revision: 47301
9 years ago
Felix Fietkau 65558ba722 kernel: backport some bcma header file definitions from wireless-testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47284
9 years ago
Felix Fietkau e2ebbfab40 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47283
9 years ago
Rafał Miłecki 0a8196818d bcm53xx: add missing Netgear R8000 LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47282
9 years ago
Rafał Miłecki e6944a3490 bcm53xx: add workaround for Netgear R8000 network
According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Forwardport of r46586 from 15.05

SVN-Revision: 47281
9 years ago
John Crispin 7fe0940c69 generic: fix adm6996 init
Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c
Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset
add dummy soft_reset callback to adm6996 driver, like it is done in ar8216.

This fixes ticket #20147

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47272
9 years ago
John Crispin c89fc7a75a kernel: Fix environment pointer setup in ar71xx/ath79
Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
(https://dev.openwrt.org/ticket/20642).

If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
init doesn't initialize environment pointer (fw_init_cmdline not called).

arcs_cmdline is not initialized before calling strlcat.

Signed-off-by: Ted Hess <thess@kitschensync.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47270
9 years ago
John Crispin c466a46a77 ar71xx: add support for TP-LINK TL-WR841N/ND v10
The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47263
9 years ago
John Crispin c9426352ce ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Tested-by: Felix Kaechele <felix@kaechele.ca>

SVN-Revision: 47262
9 years ago
John Crispin 632c92094a ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
Antminers using the stock bootloader will not hash without this GPIO set.
Applies to DD and CC

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 47261
9 years ago
John Crispin f080f2aa8e brcm2708: copy overlays README to boot partition
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47260
9 years ago
John Crispin 71ca5b1cc5 brcm2708: update modules
- Add support for DAC+ Pro.
- Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47259
9 years ago
John Crispin bf28fb50bf brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47258
9 years ago
John Crispin 228eeb647e ramips: make the alsa driver register the codec
this allows using the codec even if it is not listed in the DTS

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47256
9 years ago
John Crispin 56dcd0fe90 rb532: prepare switch to 4.1
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47255
9 years ago
Hauke Mehrtens ff64ae8293 lantiq: add clk_round_rate()
This adds a basic implementation of clk_round_rate()
The clk_round_rate() function is called by multiple drivers and
subsystems now and the lantiq clk driver is supposed to export this,
but doesn't do so, this causes linking problems like this one:
ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined!

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47254
9 years ago
Hauke Mehrtens 4fd9028f44 bcm53xx: add clk tree driver
These patches are written by Broadcom and will be in mainline Linux
kernel soon. I had some problems to get them backported to kernel 4.1,
so currently they are only available for 4.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47253
9 years ago
Hauke Mehrtens da94b00df5 kernel: update kernel 4.1 to version 4.1.11
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47252
9 years ago
Hauke Mehrtens fa4395db04 bcm53xx: add support basic for kernel 4.3
The files directory is now split up into the files which are needed for
every kernel version and the files only needed by kernel 4.1. The files
in files-4.1 are already merged into mainline kernel 4.3. This patch
only removed patches which were merged into mainline kernel 4.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47251
9 years ago
Hauke Mehrtens 6bc8640163 kernel: update kernel 4.3 to version 4.3-rc7
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47250
9 years ago
Hauke Mehrtens e67b786afe bcm53xx: add missing patch from r47248 for USB 3.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47249
9 years ago
Hauke Mehrtens aaa20ae2c2 bcm53xx: update USB 3.0 driver with version submitted upstream
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47248
9 years ago
Hauke Mehrtens 5682b0d954 bcm53xx: use Broadcom's proposed SMP implementation
This replaces our SMP implementation with a very similar version which
is Broadcom currently trying to get into mainline kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47247
9 years ago
Hauke Mehrtens dc01c61664 bcm53xx: Add BCM SVK DT files
Add device tree files for Broadcom Northstar based SVKs.  Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs.  With these files, the SVKs are able to boot to shell.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47246
9 years ago
John Crispin e043ada1d5 ramips: gpio-mt7621 was not handling irqs above 31 properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47238
9 years ago
John Crispin fb152a810c ar71xx: Send power to USB port on WNR2200
This patch fixes ticket #15267 by enabling power on the
WNR2200's USB port. At present, the USB port on the WNR2200
is non-functional due to it not receiving power.

This patch defines an additional GPIO pin, but none of the
current GPIO definitions have been modified.

Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch>

SVN-Revision: 47236
9 years ago
John Crispin 8d8a937272 ar71xx: Add Gainstrong MiniBox v1.0 support to trunk
This patch supersedes the v1 from September 17th.

Bumping the patch version - the MiniBox profile showed up under M, but
since it's called 'Gainstrong MiniBox v1.0' now it looks out of place.
Renamed the profile to gs-minibox-v1.mk to fix that.

The following patch adds support for the Gainstrong MiniBox into trunk
(or 'Designated Driver' :D ).

Fixed items:

- Inverted LED polarity (OOLITE seems to suffer from the same problem).
- Changed uppercase MINIBOX_V1_ prefix as requested.
- Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor).
- Mention the vendor (Gainstrong) in code headers.

Compiles fine, has been confirmed working by owners on 15.05.

Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c,
the MiniBox images build fine without, so I'm wondering: do I need to add
it in there as well? Any added benefit?

Thank you

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

SVN-Revision: 47234
9 years ago
John Crispin 257e76a3df ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Other corrections such as the Machine Name and HWIDs
v2 corrects the profile names in the Makefile and changes tabs to spaces
in the Makefile 'define Device/' like the other devices.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 47221
9 years ago
John Crispin 024083a556 generic: add 8139cp fixes, enable hardware csum/tso on 4.0+
This contains two sets of fixes for the 8139cp driver.

For all kernel versions older than 4.3, we can apply the fixes from the
4.3-rc4 kernel. In particular, these fix the TX timeout recovery which
is causing my Geos to lock up until the hardware watchdog kicks in.

For 4.0 and later kernels, we can also apply the additional improvements
which are going into 4.4 to fix and enable hardware checksum/TSO
offload. Backporting those to older kernels is non-trivial.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 47220
9 years ago
John Crispin 6944a95091 oxnas: move gmac soc glue from mach to stmmac driver
Still a lot of kernel-version ifdef'ery, but imho that's easy to remove
once obsoleted and avoids duplicate code in the meantime.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47218
9 years ago
John Crispin 54b8ddf9e7 oxnas: prepare pinctrl for kernel >=4.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47217
9 years ago
John Crispin 26329f650c oxnas: prepare irqchip driver for kernel >=4.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47216
9 years ago
John Crispin 392b93f579 oxnas: fix duplicate include in clk-oxnas
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47215
9 years ago
John Crispin ec9ffe892f oxnas: remove obsolete __cpuinit
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47214
9 years ago
John Crispin e1d585d99f lantiq: Synchronize access to the DSL command pipe
Whenever two processes were executing different commands at the same
time then one of the commands sometimes got the response of the other
command.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47213
9 years ago
John Crispin b7e4c8d3bf lantiq: Print the status register whenever an error occurs
This should help finding potential problems with the SPI driver.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47209
9 years ago
John Crispin 2c7d536780 lantiq: Fixed reading the number of RX FIFOs in the SPI driver
Until now the SPI driver used the TX bits for the RX FIFO. This seems
uncritical for now since both are equals on my devices (VR9), but this
could cause problems on other SoCs.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47208
9 years ago
John Crispin 42c9a85e8e Revert "lantiq: activate spi-xway on TDW89X0"
This reverts commit 68c2e4789b4f071ee75d39248f4d08fe8283eb28.

commit r47159 was bad

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47207
9 years ago
John Crispin 7295e9fb8b ramips: add alsa support
add the SDK alsa driver. this has only been tested on mt7628/88 and wm8960.
mt7620 is only compile tested.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47205
9 years ago
John Crispin f5d5cb0114 ramips: add a baurate hack
When talking to an atmel controller we need 9600 or 250000 baud.
as 250000 does not exist we use 2500000.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47204
9 years ago
John Crispin 51dd991d39 ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47203
9 years ago
Hauke Mehrtens a90135949f brcm47xx: remove support for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47199
9 years ago
Hauke Mehrtens 99a468a9dd bcm53xx: remove support for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47198
9 years ago
Hauke Mehrtens b5842aed82 kernel: generic: add kernel 4.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47182
9 years ago
John Crispin f457ae99f2 lantiq: fix use of IRQF_DISABLED in lantiq kmods
The IRQF_DISABLED flag was removed in kernel 4.1 with commit
"genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1].

Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47180
9 years ago
John Crispin c9ef7a49c7 ar71xx: TP-LINK Archer C5 image name
There are more version on market, add version number to the name.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 47179
9 years ago
John Crispin d6ac3faec3 ar71xx/image: migrate all images based on macro TPLINK
Includes images for
rnx-n360rt
tl-mr3220-v1
tl-mr3420-v1
tl-wa701n-v1
tl-wa730rev1
tl-wa7510n
tl-wa801nd-v1
tl-wa830re-v1
tl-wa901nd-v1
tl-wa901nd-v2
tl-wr740n-v1
tl-wr740n-v3
tl-wr743nd-v1
tl-wr841nd-v3
tl-wr841nd-v5
tl-wr841nd-v7
tl-wr842n-v1
tl-wr941nd-v2
tl-wr941nd-v3
tl-wr941nd-v4
tl-wr1043nd-v1

SVN-Revision: 47178
9 years ago
John Crispin abe9f6b025 ar71xx/image: remove old build step TPLINK-LZMA
all boards has been migrated to the new build step

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47177
9 years ago
John Crispin b2e3f71b7c ar71xx/image: migrate last TPLINK-LZMA images to new build system
Migrate TLWR1043V2 TLWR2543

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47176
9 years ago
John Crispin 16517293ac ar71xx/image: refactor tplink-chn-v2 devices
* use build step mktplinkfw with extra arguments
* remove now unused mktplinkfw-chn-v2
* use Device/tplink

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47175
9 years ago
John Crispin 5816fa9a98 ar71xx/image: add options argument to mktplinkfw step
Allow to pass extra arguments to mktplinkfw step. Some board requires
an extra argument to create a valid image.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47174
9 years ago
John Crispin 6f59ea0e80 ar71xx/image: remove unused multiprofile definitons
These profiles covered by new image/Makefile descriptions. Only the old format uses
MultiProfile macro

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47173
9 years ago
John Crispin 2fc473cf3f lantiq: bugfix wrong non pre-emptive crc errors output
This patch fixes a wrong non pre-emptive crc errors output of
dsl_control.sh status.

Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com>

SVN-Revision: 47172
9 years ago
John Crispin 4412334bea brcm2708: use mmd for overlays subdirectory
Fixes https://dev.openwrt.org/ticket/20704

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47171
9 years ago
John Crispin 0be23c40f3 brcm2708: all sound overlays require i2c to work
Tested on RPi B+ with HiFiBerry Amp+

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47169
9 years ago
Luka Perkov 9c7336e0f9 imx6: fix platform checking
Fix platform checking when configuring networks and when doing sysupgrade.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47168
9 years ago
Michael Büsch 56ee706379 omap24xx: Append dtb to the zImage
We just hardcode the n810 dtb for now. It should be selectable via profiles.

SVN-Revision: 47166
9 years ago
Imre Kaloz 8bb23cfb66 mvebu: add support for the Linksys WRT1900ACS (Shelby)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47164
9 years ago
John Crispin 02197db96f lantiq: activate spi-xway on TDW89X0
use the hardware spi core in favour of spi-gpio.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47159
9 years ago
John Crispin 33f9165a63 lantiq: spi driver fix
adds a missing wait busy. based on the UGW patch 2060..

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47158
9 years ago
Michael Büsch f0b83fd20f omap24xx: Add missing kconfig options
SVN-Revision: 47155
9 years ago
Michael Büsch d5e9530692 omap24xx: KERNEL_PATCHVER:=4.1
SVN-Revision: 47154
9 years ago
Michael Büsch 5112dbca9a omap24xx: Remove 4.0
SVN-Revision: 47153
9 years ago
John Crispin 2210e821e1 lantiq: bugfix luci lantiq_dsl status
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Helge Mader <hmader@tdt.de>
Reported-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47152
9 years ago
John Crispin b0f7e6bc83 ramips: fix /target/linux/ramips/dts/HC5XXX.dtsi
dtb complained about those lines

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47151
9 years ago
Felix Fietkau 2686dc6dd8 ramips: enable mt76 by default for the mt7620 subtarget (for devices with mt7620 + mt7612)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47146
9 years ago
Felix Fietkau 38389c79c2 ramips: improve read performance of the m25p80 chunked io patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47137
9 years ago
John Crispin a0543c2bdc lantiq: several ARV7519RW22 fixes
Fixes ARV7519RW22 flash register (only 1 flash).
Power LED is green, not red.
Rename message LEDs to internet.
Add LEDs configuration (lan, wan, power).
Enable switch VLANs.
Fix secondary USB.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 47132
9 years ago
John Crispin 2795592d91 lantiq: make v4.1 the default kernel
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47131
9 years ago
John Crispin 161179f40b lantiq: Add target TP-Link TD-W8980
The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz
wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47130
9 years ago
John Crispin f2f50ad762 lantiq: fix ath_pci_fixup hang on bridged devices
Port of r41856.

In contrast to the brcm63xx target, it isn't sufficient to enable/disable
the bridge. The device needs to be enabled/disabled to fix the hang. The
bridge will be automatically enabled by the time the connected device is
enabled.

Fixes boot on TD-W8980.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47129
9 years ago
John Crispin c5cc3d9610 lantiq: Change the data-type of mac address in ETOP driver
This adds the changes from r46219 to the linux 4.1 patches as well.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47128
9 years ago
John Crispin cea7c66ef8 lantiq: bugfix uninitialized variables
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Reported-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 47127
9 years ago
John Crispin 7ce3e1fd3c brcm2708: keep boot partition mounted to allow users to change config.txt
This way it's easier to configure device tree overlays, customize other
parameters...

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47126
9 years ago
John Crispin d1fc19265a brcm2708: add support for device tree overlays
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47125
9 years ago
John Crispin b97498ab29 brcm2708: switch device tree compilation to linux
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47124
9 years ago
John Crispin a32acfe73c brcm2708: fix kmod-sound-soc-bcm2708-i2s config
Right now, selecting kmod-sound-soc-bcm2708-i2s causes build errors due to
missing configs.
kmod-regmap enables I2C and SPI, causing build errors due to depending
variables not defined.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47123
9 years ago
John Crispin b4db6d29d3 ramips: improve systick timer
when sleep mode is disable use MIPS as clocksource and clockevent instead of systick.
because MIPS timer has higher resolution 5ns less than systick 20us and
larger counter bits 32 > 16.
clean interrupt by write compare register at isr.
fix typo cause sleep mode not enable.

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47122
9 years ago
John Crispin 10f75a2b7f ramips: fix use remove_irq to release irqaction resource
Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47121
9 years ago
John Crispin ccf89e71f2 ramips: add support for 16MB VoCore
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47120
9 years ago
John Crispin 948e67cb16 ramips: fix size-cells for spi nodes
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47119
9 years ago
John Crispin d4cd8f89eb ramips: Ralink RT3883 RGMII pinmux fix.
Due to datasheet of rt3883 SoC rgmii1 port handles pins 84-95 and rgmii2 port handles pins 72-83. When this function ports gets added to rt3883_pinmux_data there's wrong pinmux bits set (RT3883_GPIO_MODE_GE1 manages 84-95 pins and RT3883_GPIO_MODE_GE2 manages 72-83). So when enabling rgmii2 as GPIO driver confuses hardware and nothing work, neither rgmii nor gpio.
Also in '0030-pinctrl-ralink-add-pinctrl-driver.patch' typo in name of rgmii2 port.

Signed-off-by: Nick Leiten <nickleiten@gmail.com>

SVN-Revision: 47118
9 years ago
John Crispin aecac14cc4 ramips: Enable rx of 1536 bytes ethernet frames on MT7621
The default switch frame size (with FCS + header) is 1536 bytes. But the
GMAC only accepted frames up to 1522 bytes. Setting it to 1536 allows to
receive ethernet frames using the full of MTU 1500 + an extra VLAN header +
VLAN header added by the switch.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47117
9 years ago
John Crispin 7b306e3eb3 ramips: Fix too small rx buffer
The driver assumes that the maximum received buffer for non-jumbo frames is
1536 bytes. But the allocation of the rx fragment doesn't reflect that. It
currently allocates fragments which will only be large enough to be used as
rx buffer with the size of 1534 bytes. This is problematic because the GMAC
will now try to write to 2 bytes which don't belong to its receive buffer
when a large enough ethernet frame is received.

This may already be a problem on existing chips but will at least become a
problem when the 1536 byte rx modus is enabled on MT7621a. It is required
on this SoC to receive ethernet frames which use their full 1500 bytes MTU
and a VLAN header next to the switch VLAN tag.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47116
9 years ago
John Crispin 6b4985b105 ramips: Fix setting of rx buffer length
The length of the DMA rx buffer was always set to 0 because the function
for extracting the length was used to calculate the value for setting it.
Instead the macro has to be split in a get and set function similar to the
TX_DMA_(GET_|)PLEN(0|1) macro.

No problem was noticed on MT7621a before this was changed and thus maybe it
was hidden by different problem which is not yet fixed.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47115
9 years ago
John Crispin 1aab21df9f ramips: Allow to receive vlan over untag ports on MT7530
The MT7530 switch driver with enable_vlan set will automatically set all
ports to the user port mode. The hardware will remove the incoming vlan tag
on these ports and use it for its internal vlan. This is usually not wanted
and makes it impossible to communicate via vlan over the switch in both
directions.

It is possible to configure a switch port to "transparent mode" when this
port is only used as untag in the switch VLANs. This will disable the VLAN
untagging of packets when they were received on this port. The tagging on
"tag" ports based on the vlan id is still working.

The transparent port mode cannot be used when a port is both used in a VLAN
as "tag" and in another one as "untag" port.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47114
9 years ago
John Crispin dd8f5abb23 ramips: Add build files for HiWiFi HC5x61 models
HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com <http://www.hiwifi.com/>. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them.

The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval.

v3 fix
    1: Spaces -> Tabs
    2: Removed some packages

Signed-off-by: Xiaoning Kang <kangxn@163.com>

SVN-Revision: 47113
9 years ago
John Crispin e6e373d348 ramips: Add DTS files for HiWiFi HC5x61 models
HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them.

The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval.

v3 fix
  1: Merged most stuff into dtsi file
  2: Remove unnecessary empty lines.

Signed-off-by: Xiaoning Kang <kangxn@163.com>

SVN-Revision: 47112
9 years ago
John Crispin c10bdf11ff ramips: Add base-files for HiWiFi HC5x61 models
HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them.

The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval.

v3 fix
   1: Fixed model order
   2: Remove manufacturer name from model name
   3: Use a hacky but prettier way to get mac address.

Signed-off-by: Xiaoning Kang <kangxn@163.com>

SVN-Revision: 47111
9 years ago
John Crispin 03681684bf ar71xx: Correct WeIO board name
Trivial parch to correct WeIO board name in the system.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>

SVN-Revision: 47110
9 years ago
John Crispin df47e4c55b target/mpc85xx: check if 'generic' subtarget for image file cuImage.tl-wdr4900-v1
Only add 'cuImage.tl-wdr4900-v1' to KERNEL_IMAGES if
the selected subtarget is 'generic'.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 47109
9 years ago
Rafał Miłecki 07fac13b51 ar71xx: rename firmware for Chinese version of TL-WR941ND v6
It seems there are two *different* versions on TL-WR941ND v6: Chinese
and European one. Currently supported by OpenWrt is Chinese one. Rename
firmware to make it clear.
For details see:
http://wiki.openwrt.org/toh/tp-link/tl-wr941nd
https://forum.openwrt.org/viewtopic.php?id=59295

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47107
9 years ago
Matteo Croce 70da7324cd lantiq: fix binutils 2.15.1 build
SVN-Revision: 47105
9 years ago
Hauke Mehrtens 0cd478518f kernel: update 4.1 to 4.1.10
Fixes a regression on spi flash devices (upstream commit 1583eaece6fa).

Changelogs:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10

096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied
upstream and dropped.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
[update from 4.1.9 to 4.1.10]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47104
9 years ago
John Crispin 7ad419a9f1 ralink: add irq to mt7628 gpio node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47076
9 years ago
John Crispin e1b1b0cbfd ralink: the mmc driver can now handle CD lines that are active low
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47074
9 years ago
John Crispin 9e1268b168 ralink: speed selection was broken in spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47073
9 years ago
Felix Fietkau 2675ade97a uml: backport another upstream patch to fix compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47067
9 years ago
Felix Fietkau 82791e92ce uml: fix build with gcc 5
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47062
9 years ago
Felix Fietkau 110a74dd71 uml: update to linux 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47061
9 years ago
Rafał Miłecki f8a14765b8 brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch
These were initially commited in r9285.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47058
9 years ago
Rafał Miłecki c6c4b2640f brcm47xx: describe 160-kmap_coherent.patch
It was initially commited in r6642.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47057
9 years ago
Rafał Miłecki 6eadb62f70 brcm47xx: describe 610-pci_ide_fix.patch
It was initially commited in r20924.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47056
9 years ago
Rafał Miłecki c6401c6d61 bcm53xx: add early support for Linksys EA6300 V1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47052
9 years ago
Rafał Miłecki 792f31bd10 kernel: crypto: fix ubsec_ssb.c compilation with 4.0+
SSB_DEVTABLE_END was removed in 4.0 by upstream commit 673e2baaa6d9
("treewide: Remove unnecessary SSB_DEVTABLE_END macro").

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47047
9 years ago
Felix Fietkau 941505c94b kernel: backport some SPI layer improvements from 4.1 to 3.18, significantly improves flash speed on ramips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47045
9 years ago
Rafał Miłecki ff6ae7ce34 kernel: remove old "rootfs" splitter
A year ago I made this old splitter obsolete (see r42828), it's time to
completely remove it now. For all this time we got these warnings:
"Dedicated partitioner didn't create "rootfs_data" partition, please fill a bug report!"
and
"Support for built-in "rootfs_data" splitter will be removed, please use CONFIG_MTD_SPLIT_SQUASHFS_ROOT"
but I'm not aware of any bug reports related to that.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47040
9 years ago
Rafał Miłecki ce7f25066b oxnas: add platform_pre_upgrade for sysupgrade
We're in process of cleaning nand_do_platform_check. Currently it leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows all other targets making it finally possible to change
nand_do_platform_check.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47039
9 years ago
Rafał Miłecki a25fbb5c9a oxnas: drop some unused sysupgrade code
First of all platform_do_upgrade_phase2 doesn't seem to be defined
anywhere. Other than that platform_do_upgrade is not likely to be ever
called. There is a call to nand_do_platform_check which triggers
nand_upgrade_stage1 call with "exit 0" in it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47038
9 years ago
Felix Fietkau 896d3e3e13 ar71xx: Add WeIO Board Support
Add support for WeIO board (http://we-io.net).
This board is based on Carambola2 board form 8Devices.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [some cleanups]

SVN-Revision: 47036
9 years ago
Felix Fietkau 5119ee9be6 ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47034
9 years ago
Felix Fietkau 1061f93476 imx6: disable ext2/ext3 filesystem support (ext4 is enough)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47032
9 years ago
Felix Fietkau c8f0290651 uml: disable ext2/ext3 filesystem support (ext4 is enough)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47031
9 years ago