Commit Graph

15084 Commits (70a7dccd231a6354c887b9e5b127bc1de1201926)

Author SHA1 Message Date
John Crispin a0f7da3b8c CC: ramips: Backport support for ZBT WG2626
Backport of r47351

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 07:14:42 +00:00
John Crispin fcfb5c515a CC: brcm2708: Add sysupgrade support for Raspberry Pi
Also create .gz images if configured to do so.

This is equivalent, but different to what we have in trunk, as the image
creation has been rewritten there.

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 07:14:38 +00:00
Jo-Philipp Wich 19bd3a7c43 CC: ar71xx: fix network default config of the TEW-732BR
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r47595

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-22 20:06:09 +00:00
Rafał Miłecki 35769e8b34 bcm53xx: add missing Netgear R8000 LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47282

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-07 00:32:23 +00:00
Rafał Miłecki d1b4b244cc bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47337

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-07 00:26:20 +00:00
Rafał Miłecki da3997fc2d bcm53xx: replace USB patch fixing power control with the most recent version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47336

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-07 00:26:06 +00:00
John Crispin 877f7f55bd ramips: minor tweak to the lks7688 baord name
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47388

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-05 10:05:15 +00:00
John Crispin 1089950b53 ramips: add feature to blink led on sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47373

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-03 13:32:55 +00:00
Hauke Mehrtens 2f99e562e0 CC: 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

backport of r47334.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-01 13:48:26 +00:00
John Crispin a64b596e72 procd: update to latest git
this unbreaks glibc builds

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

Backport of r47266

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-26 09:17:54 +00:00
John Crispin ab97f5c459 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>

Backport of r47261

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-26 09:17:51 +00:00
John Crispin 626f9510a8 ramips: WIZnet WizFi630A Platfrom support - board detection
This patch is adding the missing board detection of WIZnet WizFi630A board.
ramips.sh was not submitted with the former patch.

This belongs to to the backport of patch r46921

Signed-off-by: Tobias Welz <tw@wiznet.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 19:03:28 +00:00
John Crispin e4f9394499 ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Corrects the profile names in the Makefile and changes tabs to spaces
in the Makefile 'define Device/' like the other devices.
Other corrections such as the Machine Name and HWIDs

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 19:03:26 +00:00
John Crispin 892da50c2e ramips: gpio-mt7621 was not handling irqs above 31 properly
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47238

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 07:10:05 +00:00
John Crispin d5ba886ca6 ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05
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 to 15.05
Chaos Calmer.

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.

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>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 17:58:05 +00:00
John Crispin 2830947555 malta: remove le64/be64 references
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:30:18 +00:00
John Crispin 25eee465a9 ar71xx: Add support for WeIO board
Support for WeIO board (http://we-io.net),
backported from Designated Driver trunk.

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

Backport of r47110

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:44 +00:00
John Crispin 9b22f6f735 ramips: add alsa driver
add the alsa driver from the latest RTSDK

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

Backport of r47205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:29 +00:00
John Crispin b17824ef03 ramips: update mt7628 dtsi file
add nodes required for audio
add missing pinmux definitions

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

Backport of r47205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:25 +00:00
John Crispin 718cc02aa4 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>

Backport of r47204

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:23 +00:00
John Crispin ebff32ce9e ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:22 +00:00
John Crispin 563f3a4cb7 ramips: add mt7688 subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:18 +00:00
John Crispin 7692796fe3 generic: add 8139cp fixes from 4.3
This contains only the fixes from the 4.3-rc4 kernel.

Additional improvements are going into 4.4 which will fix and enable
hardware checksum/TSO offload, but backporting those to older kernels
is non-trivial.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:41:22 +00:00
John Crispin 3b15d86f3c mcs814x: use firmware partition splitter on dLAN USB Extender
to avoid editing the dts every time the kernel size changes.
uImage is now bigger than 1MB. Pad uImage to 64k erase block size.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

Backport of r46648

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:38:36 +00:00
John Crispin 7386b19613 mcs814x: fix interrupt handling
Switch to generich chip irqs/irq domains.
Interrupts were broken since kernel 3.14. dLAN USB extender is now
booting again.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

Backport of r46647

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:38:14 +00:00
John Crispin 920566646f mcs814x: fix debug UART
Switch to new 8250 debug uart code because the old
mach-mcs814x/include/mach/debug-macro.S tries to include
asm/hardware/debug-8250.S which no longer exists since kernel 3.14

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

Backport of r46646

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:38:00 +00:00
John Crispin e048c925b9 ar71xx: add support for D-LINK DIR-615 rev. Ix board
backport of r46248.

Signed-off-by: Jaehoon You <teslamint@gmail.com>

rebased on r46767.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:37:38 +00:00
John Crispin b71743e72c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:37:12 +00:00
Imre Kaloz e1c362b60c mvebu: add support for the Linksys WRT1900ACS (Shelby)
Backport of r47164.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-08 10:02:10 +00:00
Imre Kaloz 90fb91db82 generic/3.18: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-08 09:17:08 +00:00
John Crispin 1a17450789 ramips: various mt7688 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46474

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:53:10 +00:00
John Crispin 2ffcc3ff83 ralink: add irq to mt7628 gpio node
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47076

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:53:01 +00:00
John Crispin cb4fb019df ralink: the mmc driver can now handle CD lines that are active low
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47074

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:43 +00:00
John Crispin a5b64f60e6 ramips: add CD polling to sd driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46475

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:32 +00:00
John Crispin cbd617050a ralink: speed selection was broken in spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47073

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:24 +00:00
John Crispin 32171a0c09 ramips: remove debug code from usb phy driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46659

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:13 +00:00
John Crispin 1b7515f6b0 ramips: add mt7621/3/8 support to the I2C driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46959

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:51:51 +00:00
John Crispin 24ebe34bfd ramips: fix reported vendor name
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46958

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:51:41 +00:00
John Crispin 79675604b2 ramips: add proper mt7688 detection
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46957

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:51:09 +00:00
John Crispin 5bba93b349 ramips: add speed and mode settings to spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46956

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:50:57 +00:00
John Crispin 73cd40d0d9 ramips: add get_direction() callback and irq support to gpio-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46955

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:50:21 +00:00
John Crispin c767ce6065 ramips: more m7628 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46954

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:50:07 +00:00
John Crispin 1e26ddabbd ramips: add mt7628 pwm driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46953

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:52 +00:00
John Crispin d637494a61 ramips: make pinctrl work on newer socs
newer socs have 2 mux registers

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

Backport of r46952

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:45 +00:00
John Crispin f51d4c0f2c ramips: make the mt7628 spi driver work for both cs lines
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46951

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:31 +00:00
John Crispin a2356c2999 ramips: make the early_printk code detect which uart is used
only tested on mt7628

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

Backport of r46950

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:16 +00:00
John Crispin 9858c87014 CC: ramips: Added WIZnet WizFi630A Platfrom based on Ralink RT5350
This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor.

Signed-off-by: Tobias Welz <tw@wiznet.eu>

This is a backport of patch r46921

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-01 14:16:40 +00:00
Felix Fietkau ad5f485a4b 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>

Backport of r47045

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-24 16:07:34 +00:00
Felix Fietkau ec73b2e383 kernel: add a patch to fix crashes on pppoe disconnect/reconnect
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47026

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-22 11:29:00 +00:00
Felix Fietkau 60b68f6e2f mips: Free memory when load_module fails (#14453)
The mips reloc patch introduced new allocations which were done before
add_unformed_module but never freed them in case of an error. A new hook in
Linux 3.19 called module_arch_freeing_init can be used for freeing memory
which were allocated during this init phase.

The problem can be seen when trying to load a module (via busybox insmod)
when it was already loaded.

    free -m
    for i in `seq 1 100`; do
        /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null
    done
    free -m

This simple loop would leak ~3.2 MB.

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

Backport of r46247

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-18 12:47:46 +00:00