Commit Graph

32629 Commits (325a69486e3258447dd684aca621460e60ff2e16)
 

Author SHA1 Message Date
John Crispin 86a1e46b63 ramips: add proper mt7688 detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46957
9 years ago
John Crispin 85d5b9984d ramips: add speed and mode settings to spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46956
9 years ago
John Crispin 38c28154bd ramips: add get_direction() callback and irq support to gpio-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46955
9 years ago
John Crispin 23d79b60ce ramips: more m7628 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46954
9 years ago
John Crispin 9473837653 ramips: add mt7628 pwm driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46953
9 years ago
John Crispin 9dfe1f6fbe ramips: make pinctrl work on newer socs
newer socs have 2 mux registers

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

SVN-Revision: 46952
9 years ago
John Crispin 710520d5c7 ramips: make the mt7628 spi driver work for both cs lines
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46951
9 years ago
John Crispin 6f07b8a659 ramips: make the early_printk code detect which uart is used
only tested on mt7628

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

SVN-Revision: 46950
9 years ago
Felix Fietkau 3dc3275b38 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46949
9 years ago
Felix Fietkau 5fa9ed8c10 ath9k: enable hw manual peak calibration for QCA9561
This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/
2015-August/034979.html. As the peak detect calibration is set
incorrectly.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46948
9 years ago
Felix Fietkau f74116e599 omap24xx: remove obsolete kernel 3.3 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46947
9 years ago
Hauke Mehrtens e2ffe8f1b9 binutils: fix name of Binutils 2.25.1
The Binutils version 2.25.1 was not a Linaro version, but a normal
upstream Binutils version, fix the name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>

SVN-Revision: 46946
9 years ago
Rafał Miłecki ffcb268437 ipq806x: add platform_pre_upgrade for sysupgrade
We're in process of cleaning nand_do_platform_check. Currently is 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 ar71xx, lantiq and partially bcm53xx.

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

SVN-Revision: 46945
9 years ago
Rafał Miłecki 39940fac6b imx6: add platform_pre_upgrade for sysupgrade
We're in process of cleaning nand_do_platform_check. Currently is 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 ar71xx, lantiq and partially bcm53xx.

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

SVN-Revision: 46944
9 years ago
Steven Barth 3c335bb439 ppp: use more reliable way to set script environment
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46942
9 years ago
Rafał Miłecki 90e1b84f15 lantiq: update list on NAND devices in platform_pre_upgrade
Meanwhile BTHOMEHUBV5A board was added.

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

SVN-Revision: 46941
9 years ago
Steven Barth 76ed9f3dbd omcproxy: use 100ms query response interval by default
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46940
9 years ago
John Crispin 57c8708d64 lantiq: add platform_pre_upgrade for sysupgrade
As explained in recent sysupgrade/nand.sh commits, current NAND
sysupgrade is a bit misleading because of nand_do_platform_check
behavior. It leaves a special mark in /tmp/sysupgrade-nand-path
triggering some diffent code path in nand_upgrade_stage1.

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.

Please note that because of current nand_upgrade_stage1 implementation
this patch doesn't change any behaior yet. It only prepares lantiq
target for changing nand_do_platform_check (it will be possible after
preparing all other targets as well).

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

SVN-Revision: 46939
9 years ago
John Crispin ef0f7e277e procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46938
9 years ago
John Crispin c35420c6a5 libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46937
9 years ago
John Crispin 1bd3b14c85 procd: rework makefile, split ujail/seccomp
this need to be applied after my work on ujail (procd git)
ujail doesn't depend on seccomp and some archs dont support seccomp

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

SVN-Revision: 46936
9 years ago
John Crispin bef03edb7a mountd: move code to a git repo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46935
9 years ago
John Crispin 0dbced8a48 ar71xx: add TP-LINK TL-WDR3320 v2 support
This patch adds support for TP-LINK TL-WDR3320 v2.

This router uses a chinese version 2 firmware header,.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 46934
9 years ago
John Crispin bfeae90850 ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46933
9 years ago
John Crispin fec6313b62 ar71xx: create profile and build image for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46932
9 years ago
John Crispin e3f4a3d22a package/uboot-envtools: add OpenMesh MR1750 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46931
9 years ago
John Crispin ec2994ab4b package/om-watchdog: add OpenMesh MR1750 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46930
9 years ago
John Crispin b9b6d34e36 ar71xx: enable sysupgrade for the OpenMesh MR1750
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46929
9 years ago
John Crispin 3d5cdf7094 scripts/om-fwupgradecfg-gen.sh: add support for the MR1750
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46928
9 years ago
John Crispin cbf71651ec ar71xx: add user-space support for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46927
9 years ago
John Crispin aba20334a4 ar71xx: add kernel support for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46926
9 years ago
John Crispin 5798dfb846 scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum check
The u-boot on Open Mesh devices checks the whole transfered image against a
md5sum. This is stored inside the option filemd5sum inside the
fwupgrade.cfg. The bootloader will not check it when this setting is
missing and could therefore write invalid images to the flash.

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

SVN-Revision: 46925
9 years ago
John Crispin f582a93a6a realview: create sd card image for qemu
enables a real rootfs with custom size

use qemu with:
qemu-system-arm -M realview-pbx-a9 \
-kernel openwrt-realview-vmlinux.elf \
-nographic -m 1024M \
-sd openwrt-realview-sdcard.img \
--append "console=ttyAMA0 root=/dev/mmcblk0p1"

modified script from brcm2708 target

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46924
9 years ago
John Crispin edb5ec3f34 realview: enable sd card support
qemu can be run with -sd <imagename>

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46923
9 years ago
John Crispin d1587fb4aa ar71xx: assign proper GPIO pin for Ubiquiti Nanostation models
The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the
following:
* Ubiquiti Nanostation M XM: Pin 8
* Ubiquiti Nanostation M XW: Pin 2

The previous definition of the pins was mixed up between XM and XW model.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>

SVN-Revision: 46922
9 years ago
John Crispin 57c5910535 ramips: Added WIZnet WizFi630A Platform 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>

SVN-Revision: 46921
9 years ago
John Crispin 2c1d56af50 lantiq: Update to the latest DSL driver / application versions
Thanks to Sylwester Petela for testing my patch (successfully on an
ADSL connection) and for pointing out some configuration mistakes.
Others (including me) have also successfully tested this extensively
on VDSL connections.

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

SVN-Revision: 46920
9 years ago
John Crispin 4ef319fad2 base-files: sysupgrade: quote source image name
get_image() eval a filename without quoting it, resulting in errors with
filenames containing characters that need to be escaped.
    $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $?
    Image check 'platform_check_image' failed.
    Invalid config file. Please use only .tar.gz files
    1
    $ mv cfg\(12\).tar.gz cfg_12.tar.gz
    $ mv img\(1\).bin img.bin
    sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $?
    0

Enclose the content of $from in double quotes.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>

SVN-Revision: 46919
9 years ago
John Crispin 2efdc7c896 ramips: add support for Planex DB-WRT01
This patch add support for Planex DB-WRT01. DANBOARD route on
 the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio.
 DANBOARD is Cartoon character.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>

SVN-Revision: 46918
9 years ago
John Crispin 06a180d027 lantiq: get more status information from xDSL
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Helge Mader <hmader@tdt.de>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 46917
9 years ago
John Crispin 4dfdd21247 kernel: dwc2: Add missing config symbol definition
DWC2 driver has config symbol CONFIG_USB_DWC2_DEBUG_PERIODIC which
should be defined for the module build.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 46916
9 years ago
John Crispin 404b183aa8 lantiq: Add AR9 compatibility bits to DWC2 driver
Add AR9 DTS definition to be recognized by the DWC2 driver.

The same driver parameters can be mostly used except that some boards
seem to erroneously report OTG HNP/SRP capability of the USB HCD.
Forcing the HNP/SRP off allows these boards to work with the DWC2 as well.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 46915
9 years ago
John Crispin 4595440215 lantiq: Introduce DWC2 compatible DTS definitions for AR9 USB
Since the AR9 USB is very similar to the VR9 USB it too can be used with
the upstream DWC2 driver.

Here are the DTS definitions which make it compatible with the DWC2
driver.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 46914
9 years ago
John Crispin 1f4124ceb0 lantiq: Initialize USB on AR9 platform
Based on the ltq-hcd driver the AR9 USB can be initialized the same way
as the VR9 platform. Use the same initialization bits for both
platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 46913
9 years ago
Jo-Philipp Wich fb3fb9b6c1 imagebuilder: store package lists in cache directory
Force opkg to store the downloaded repository indizes into the cache
directory as well, this way the IB can be used in an offline setting
once all required files have been cached.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46912
9 years ago
Jo-Philipp Wich 6497406220 opkg: expose lists_dir option as command line argument
Expose the "lists_dir" configuration file option as command line
switch so that we can override it for the Image Builder environment.

Also add a more standard PKG_MAINTAINER variable while touching
the Makefile.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46911
9 years ago
Jo-Philipp Wich 01fb448d56 tools/make-ext4fs: prefer static linking
Link zlib statically on Linux systems.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46909
9 years ago
Jo-Philipp Wich cf77766e64 tools/mtd-utils: prefer static linking
- Add patch for optional static linking preference
 - Prefer static linking on Linux systems
 - Enable verbose compiler messages when building with V=c

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46908
9 years ago
Jo-Philipp Wich b4e49ad8f0 tools/xz: disable shared library
Force a static build of the xz utilities in order to avoid the dependency on a
shared liblzma.so which might collide with the distro version.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46907
9 years ago
Rafał Miłecki 164ac62643 include: toplevel: drop unused OPENWRTVERSION variable
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46906
9 years ago