Commit Graph

32612 Commits (ce9da6e6afbb2287fa60bdd1772527a405944808)
 

Author SHA1 Message Date
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
Felix Fietkau fcee359813 ramips: fix chunked-io support for big flash chips (#20504)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46904
9 years ago
Felix Fietkau 42a3d7811f mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46903
9 years ago
Felix Fietkau 714f7080cf ath10k: reduce dma burst size on newer firmware to fix crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46900
9 years ago
Steven Barth d1f6bd2541 toplevel: fix release name
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46899
9 years ago
Felix Fietkau 0c2f21d303 Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)
SVN-Revision: 46898
9 years ago
Felix Fietkau ed1e87ae2e gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46897
9 years ago
Felix Fietkau 5dd5a2990e musl: fix termios struct c_ispeed/c_ospeed field names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46896
9 years ago
Felix Fietkau 923dbc57cd ath10k: make title for the old firmware config option more meaningful
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46895
9 years ago
Zoltan Herpai cd73603269 packages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.
This should fix a issue reported in ticket #20387.

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

SVN-Revision: 46894
9 years ago
Hauke Mehrtens e1ec8b76e9 ar71xx: fix build of lzma-loader with binutils 2.25.1
To make the lzma-loader build with binutils 2.25.1 it is needed to
remove the .MIPS.abiflags section otherwise I get the following compile
error:

mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin
mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000.
mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated

This should close #20487.

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

SVN-Revision: 46893
9 years ago
Hauke Mehrtens 41f9b5e42e bcm53xx: add NAND flash chip description for Asus RT-AC87U
This should fix #20492.

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

SVN-Revision: 46892
9 years ago
Felix Fietkau 1956cc7018 ramips: enable external amplifier for Xiaomi MiWiFi Mini
Attempt to boost the 2.4 GHz signal, currently very low.

Signed-off-by: D. Andrei Măceș <dmaces@nd.edu>

SVN-Revision: 46891
9 years ago
Felix Fietkau 796a2d032b base-files: fix typo in core dump pattern sysctl entry (fixes #20489)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46890
9 years ago
Rafał Miłecki 450aebcdce bcm53xx: reorder some arch patches
This moves arch patches affecting many DTS files. Thanks to this change
we can put some ready-to-mainline patches at 300-319 and simplify
backporting process.

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

SVN-Revision: 46889
9 years ago
Hauke Mehrtens 1d05e2962f wpan-tools: bump to wpan-tools-0.5
Signed-off-by: Varka Bhadram <varkabhadram@gmail.com>

SVN-Revision: 46888
9 years ago
Hauke Mehrtens eff877ee8c mac80211: use wl18xx-fw-4.bin
The driver only supports wl18xx-fw-4.bin and does not support the old
firmware wl18xx-fw-3.bin and more.

The wl18xx-conf.bin file was removed upstream it does not fit all
devices any more, see this on how to generate one:
http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_wlconf

If someone has a config file for the common platforms with the wifi nic
OpenWrt uses please send a patch.

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

SVN-Revision: 46887
9 years ago
Hauke Mehrtens f6a7c5bbc3 mac80211: add iwlagn debug options
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46886
9 years ago