Commit Graph

32358 Commits (5ece5a05068cd537e722178733075a4bd929a1ca)

Author SHA1 Message Date
John Crispin 64a0deb752 oxnas: re-add support for kernel 3.14
This reverts commit c81ddddde5fd193802d511b42eb7b108aac17136 on
https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git
which removed patches and config for 3.14.

[arm_introduce-dma-fiq-irq-broadcast patch was renamed to match 3.18]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:20:41 +00:00
John Crispin b7bce4449e octeon: add support for 3.18 kernel
Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:20:10 +00:00
John Crispin 9ee6f0be3b octeon: sysupgrade: support config restore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:19:59 +00:00
John Crispin 8a1d47919c octeon: sysupgrade: get rootfsdev from kernel cmdline
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:19:46 +00:00
John Crispin f5ea60f000 amazon: R.I.P.
its been broken for 2 1/2 years

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:19:40 +00:00
John Crispin 491ce2c749 kernel/modules: remove unused variable
https://dev.openwrt.org/ticket/18472

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:19:28 +00:00
John Crispin a9d4da836c ralink: mt7621 is a 1004Kc
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 20:22:42 +00:00
John Crispin 05ebabab10 procd: more nand takeover fixes
if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 20:22:37 +00:00
John Crispin 41c3bf1931 mtd: make the dump commnd honour the -o option
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 20:22:32 +00:00
Felix Fietkau 644cc284ef kernel: add missing null pointer check for mips dma ops inline patch on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 18:17:17 +00:00
John Crispin 3eb3771e2c uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:23 +00:00
John Crispin de06680bbd uboot-oxnas: adjust digtial drive strength of IC+ phy
This is what the vendor bootloader does on KD20.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:17 +00:00
John Crispin 0da34e4151 uboot-oxnas: re-add IC+ phy driver
KD20 got an IC+ phy, without the driver the phy is not properly
initialized resulting in ethernet not working unless being already
initialized by the vendor loader.

upstream commit 368b4d2b49bbbf379d9334747fbbd2aaaafe4356
drivers: net: remove dead drivers
removed icplus.c due to the lack of in-tree users.
Partially revert that commit adding back the IC+ driver.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:11 +00:00
John Crispin 5ce7dacb5d kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:06 +00:00
John Crispin e657f8b7e3 kernel: make ubi auto-attach check for a tar file magic
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 14:32:38 +00:00
John Crispin b049c3f4af procd: firstboot nand/ubi takeover support
it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 14:32:32 +00:00
John Crispin a1a8c1a623 uqmi: Add --delete-message for deleting SMS messages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 09:17:28 +00:00
John Crispin 31de27e5ec mtd: make the mtd dump call run properly on nand flash
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 19:28:23 +00:00
Felix Fietkau 9a03fea5ae kernel/modules: package xhci for kernel>=3.18
xhci-hcd was split into xhci-pci and xhci-platform since 3.18

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 19:26:45 +00:00
John Crispin b2618331dd gemini: update ethernet driver, register ethernet on nas4220 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 18:27:54 +00:00
John Crispin a9d0c46233 mtd: add ability to dump a mtd device
this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 18:27:49 +00:00
John Crispin 606804741a uboot-oxnas: bump to U-Boot 2014.10
A few trivial changes were needed to adapt to upstream framework changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:37 +00:00
John Crispin ab7a23e72a oxnas: switch CRC32 implementation to SLICEBY8
similar to what was observed on kirkwood this significantly accelerates
btrfs write operations.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:28 +00:00
John Crispin 84841474ce oxnas/kd20: add usb-storage to default package set
KD20 got a built-in card-reader wired to the USB-3 root-hub.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:14 +00:00
John Crispin 2af13d3e79 oxnas/kd20: use gpio-beeper
gpio-beeper module was added to the kernel recently.
Make use of it to drive the piezoelectric buzzer of the kd20.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:09 +00:00
John Crispin c8bcb7b313 kernel/modules: package gpio-beeper
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:03 +00:00
John Crispin bbc157d24b au1000: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:23:37 +00:00
John Crispin 4a25cfb1d0 opkg: the PKG_UPGRADE env was not set properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:21:50 +00:00
John Crispin b5070b194e procd: drop the zram dependencies, theu caused a recursive deps warning
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 13:16:06 +00:00
Felix Fietkau 35bedaae63 realview: refresh kernel patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 13:14:59 +00:00
John Crispin f7e5a4cf07 procd: reintroduce /sys/fs/cgroup mount
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 12:41:15 +00:00
John Crispin 29d2573dfc procd: add support for zram compressed /tmp
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 11:13:28 +00:00
John Crispin 03a9bf01b9 realview: fix up the phyoffset patch
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 21:45:18 +00:00
John Crispin c301086158 kirkwood: enable mvsw6171 switch driver on EA4500
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 21:30:40 +00:00
John Crispin 92a10265c4 kernel: add driver for Marvell 88E6171 switch
This is a swconfig driver for the Marvell 88E6171 switch,
which is a 7-port GigE switch with two CPU ports and 64
802.1q VLANs.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 21:30:35 +00:00
Felix Fietkau 24f15f772e fstools: update to the latest version, fixes sysupgrade on linux 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 21:10:42 +00:00
Felix Fietkau 2cfa6cfefd ath10k: init devices synchronously to fix wifi detection at boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 20:01:05 +00:00
Felix Fietkau e4340ea1b7 openvpn: update to 2.3.6, fixes CVE-2014-8104
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 19:49:59 +00:00
John Crispin 833a06862c malta: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 18:46:29 +00:00
John Crispin 43e9e12c6a fstools: make the block tool ignore case when comparing uuid strings
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 18:46:23 +00:00
Felix Fietkau a91376dac1 kernel: update 3.18 to rc7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 17:38:54 +00:00
John Crispin 0778adf28a util-linux: fix more missing dependencies introduced by r43459
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:50:43 +00:00
John Crispin 4a19221bbc uqmi: fix SEGFAULT on reading Unicode sms messages
Added complementary blobmsg_close_table() before returning from function
on error.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:23:55 +00:00
John Crispin cf9c8a7760 util-linux: fix missing dependency introduced by r43459
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:18:15 +00:00
John Crispin 7ee3dad0b6 oxnas: change visible board name
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:37 +00:00
John Crispin 841fc9915f oxnas: ehci: rename vendor prefix plxtch to plxtech
it was changed in DTS by commit
oxnas-target: fix typo in OX820 device-tree

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:30 +00:00
John Crispin b040855a91 hostapd: improve 802.1x dynamic vlan support with bridge names
In r41872 and r42787 Dynamic VLAN support was reintroduced, but the vlan_bridge
parameter is not read while setting up the config, so the default is used which
is undesirable for some uses.

Signed-off-by: Ben Franske <ben.mm@franske.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:20 +00:00
John Crispin 894af53f00 base-files: default_postinst() - create user:group first (resend)
create user:group before running postinst-pkg. the postinst hook might require
the user:group to already exist.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:13 +00:00
John Crispin 9905c97216 ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:08 +00:00
John Crispin dc7eaeabb7 ar8216: factor out mii_lo_first to ar8xxx_chip
Factor out mii_lo_first to ar8xxx_chip.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:02 +00:00