Commit graph

26571 commits

Author SHA1 Message Date
Luka Perkov
0c25f159fd kirkwood: update support for iconnect
Previous patch was pushed due to false user report. While at it fix alphabetic
ordering.

The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot
environment if OpenWrt's uboot package is used. In order to flash the image run
following commands in uboot shell:

nand erase 0x200000 0x1fe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39591
2014-02-15 23:53:08 +00:00
Luka Perkov
777e7c3ff5 uboot-kirkwood: update to 2013.10
Tested on:

 * Cloud Engines Pogoplug E02
 * RaidSonic ICY BOX IB-NAS62x0
 * Iomega Iconnect

Some users are avoiding to replace their bootloader, because of that add
support for second stage u-boot image. Having ubifs capable bootloader is
required in order to boot current OpenWrt trunk.

Sample ib62x0 commands for running second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
bootm 0x800000

Sample ib62x0 commands for flashing second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
nand erase 0x100000 0x100000 ; nand write 0x800000 0x100000 0x${filesize}
nand read 0x800000 0x100000 0x100000 ; bootm 0x800000

While at it include parallel build support, use alphabetic order of the boards
and introduce common OpenWrt configuration.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by (on ib62x0): Luka Perkov <luka@openwrt.org>
Tested-by (on dockstar): Alexander Couzens <lynxis@fe80.eu>
Tested-by (on iconnect): Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Felix Kaechele <heffer@fedoraproject.org>
CC: Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Alexander Couzens <lynxis@fe80.eu>
CC: Daniel Engberg <daniel.engberg@pyret.net>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39590
2014-02-15 23:53:07 +00:00
Luka Perkov
cde033f918 kernel: rtl8306: update reset function
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 39589
2014-02-15 22:54:35 +00:00
Luka Perkov
6e0fd6d518 lantiq: fix typo in pinctl driver
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 39588
2014-02-15 22:54:34 +00:00
Luka Perkov
eddc327c7c lantiq: fix PCI problems on ARV4510PW
Some ARV4510PW units seem to have unstable PCI due to missing pull-up
resistors. This patch makes sure that the GPIO lines are driven properly.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 39587
2014-02-15 22:54:32 +00:00
Steven Barth
af8f06beca netifd: fix source-routing breaking 6in4 + others
6in4 historically allowed an ip6addr without a mask however the newly
introduced source-routing segfaulted in this scenario (#14958 + #14858).

Fixes include: "Fix ubus route src mask printing" and
"Disable netlink auto ack" (thanks to Hans Dedecker)

SVN-Revision: 39586
2014-02-14 21:21:44 +00:00
Imre Kaloz
183e6a2bbc use the default package set
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39584
2014-02-14 10:09:07 +00:00
Jo-Philipp Wich
b1d7ebae09 ar71xx: fix mtdpartsize macro in image Makefile (#14961)
The mtdpartsize macro triggers shell errors on various Linux distributions
when the partname argument $(1) does not appear within the partmap $(2).

Change the sed pattern to only emit anything if a successful substitution
occured and only evaluate the arithmetic expression if something was printed
by the sed program.

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

SVN-Revision: 39583
2014-02-13 21:19:00 +00:00
Imre Kaloz
af63cdf87a upgrade 3.13 targets to 3.13.2, refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org

SVN-Revision: 39582
2014-02-13 13:27:14 +00:00
Imre Kaloz
83d9cec491 upgrade 3.12 to 3.12.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39581
2014-02-13 12:57:36 +00:00
Imre Kaloz
4c1dabb81e change image generation logic
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39580
2014-02-13 10:43:32 +00:00
Imre Kaloz
157f56c461 handle "neon" fpu type
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39579
2014-02-12 15:43:14 +00:00
Imre Kaloz
16b039f367 handle some CONFIG_TARGET_ROOTFS_INCLUDE_ foo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39578
2014-02-12 15:38:08 +00:00
Imre Kaloz
836174c22f copy initramfs zImage to the bin dir as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39577
2014-02-12 10:51:46 +00:00
Imre Kaloz
936166c042 generate ubifs images
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39576
2014-02-12 10:48:33 +00:00
Steven Barth
3194834c55 odhcp6c: remove source-restriction from local routes again (broke relaying)
SVN-Revision: 39575
2014-02-12 08:54:43 +00:00
Luka Perkov
ef5c3bbb5f imx6: drop 3.12 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39574
2014-02-12 00:46:02 +00:00
Luka Perkov
3203599a7d imx6: add initial 3.13 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39573
2014-02-12 00:46:00 +00:00
Felix Fietkau
c0bec2b315 mac80211: send wpa frames through the WMM voice queue - improves connection reliability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39572
2014-02-11 15:00:55 +00:00
Felix Fietkau
cd7fb9a51f ath9k: add p2p client mode support powersave patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39571
2014-02-11 15:00:51 +00:00
Felix Fietkau
8e43f3443e rtl8187: fix crashes on mips caused by misaligned DMA and cache issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39570
2014-02-11 15:00:36 +00:00
Luka Perkov
4fd88fa081 mvebu: enable NAND controller support
Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>

SVN-Revision: 39569
2014-02-11 02:16:04 +00:00
Luka Perkov
26e8e630ef mvebu: add support for the Armada XP GP board (DB-MV784MP-GP)
This Armada XP GP board from Marvell comes with:

* 2GB DDR3 DIMM
* 1GB NAND flash (8-bit interface)
* 16MB NOR flash (16-bot interrface)
* 16MB SPI flash
* SDIO module
* 3 PCIe
* 1 SATA link
* 2 USB EHCI
* 1 internal SSD
* 4 Ethernet Gigabit
* 1 RS232 port over USB

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>

SVN-Revision: 39568
2014-02-11 02:07:47 +00:00
Luka Perkov
353b4a98db mvebu: update kernel config
The config-3.10 doesn't specify the configuration of the backported PCI
features, and the Marvell EBU Device Bus Controller, this will prevent
a clean compile. This patch enables these features to archive a clean compile
without having to specify the state of these configuration after starting to
compile.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>

SVN-Revision: 39567
2014-02-11 02:07:46 +00:00
Luka Perkov
c9ae111a20 mvebu: backport mainline patches from kernel 3.13
This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.12, and Linux v3.13.
This work mainly covers:

* Finishes work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c)
  between the PXA family, and the Armada family.
* timer initialization update, and access function for the Armada family.
* Generic IRQ handling backporting.
* Some bug fixes.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39566
2014-02-11 02:07:44 +00:00
Luka Perkov
3af779eb17 mvebu: backport mainline patches from kernel 3.12
This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12.
This work mainly covers:

* Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c)
  between the PXA family,and the Armada family.
* Further updates to the mvebu MBus.
* Work and ground work for enabling MSI on the Armada family.
* some phy / mdio bus initialization related work.
* Device tree binding documentation update.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39565
2014-02-11 02:07:41 +00:00
Luka Perkov
69d323f231 mvebu: backport mainline patches from kernel 3.11
This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.10, and Linux v3.11.
This work mainly covers:

* Enabling USB storage, and PCI to mvebu_defconfig.
* Add support for NOR flash.
* Some PCI device tree related updates, and bus parsing.
* Adding Armada XP & 370 PCI driver, and update some clock gating
  specifics.
* Introduce Marvell EBU Device Bus driver.
* Enaling USB in the armada*.dts.
* Enabling, and updating the mvebu-mbus.
* Some SATA and Ethernet related fixes.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39564
2014-02-11 02:07:38 +00:00
Hauke Mehrtens
31fb795fd0 kernel: fix kmod-usb-phy-nop
phy-generic.ko was renamed and moved from kernel version to version.
kernel <= 3.9: nop-usb-xceiv.ko
kernel >= 3.10 && <= 3.11: phy-nop.ko
kernel >= 3.12: phy-generic.ko

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

SVN-Revision: 39563
2014-02-10 20:30:24 +00:00
Hauke Mehrtens
f73d6f102a kernel: fix kmod-usb-net-smsc95xx
smsc95xx.ko depends on crc16.ko on kernel >= 3.8
There was an additional kmod-usb-net-smsc95xx definition in the mxs
target code which conflicted with the one in the common area.

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

SVN-Revision: 39562
2014-02-10 20:12:13 +00:00
Imre Kaloz
40ad83f70d keep initramfs the default for us
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39561
2014-02-10 15:30:01 +00:00
Imre Kaloz
3a347e3b2a phy-omap-control.ko is already part of a different package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39560
2014-02-10 15:29:11 +00:00
Imre Kaloz
7b844260fa additional omap/musb related fixes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39559
2014-02-10 14:40:27 +00:00
Imre Kaloz
0a6385e942 fixup ethernet gadget, disable EEM support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39558
2014-02-10 14:38:22 +00:00
Imre Kaloz
116d7fc9c2 don't build in usb stuff
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39557
2014-02-10 14:35:20 +00:00
Imre Kaloz
c48e13cc9d package the driver for smsc95xx chips
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39556
2014-02-10 14:34:08 +00:00
Imre Kaloz
18675e9ea6 add additional omap related changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39555
2014-02-09 17:08:33 +00:00
Imre Kaloz
6daafb74b9 additional musb fixups
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39554
2014-02-09 16:14:30 +00:00
Imre Kaloz
6b62eef492 musb depends on usb-gadget support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39550
2014-02-09 14:24:28 +00:00
Imre Kaloz
31a76badcb use musb in PIO mode, as DMA support is platform dependent
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39549
2014-02-09 14:08:10 +00:00
Imre Kaloz
8be96490d6 add more musb symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39548
2014-02-09 14:02:59 +00:00
Imre Kaloz
4974d4f30c fix logic error on fpu cflags selection
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39547
2014-02-09 13:46:16 +00:00
Imre Kaloz
f198091074 make musb available for omap as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39546
2014-02-09 13:36:10 +00:00
Imre Kaloz
ba6eb9a22c rename Kconfig symbol to the current one
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39544
2014-02-09 13:02:17 +00:00
Imre Kaloz
98e4ca00ed move some omap24xx modules to the generic Makefile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39543
2014-02-09 13:01:00 +00:00
Hauke Mehrtens
579e7d673b kernel: add kmod-usb-net-kalmia
This patch adds a new kernel module for Samsung USB LTE modems.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 39535
2014-02-08 16:54:44 +00:00
Hauke Mehrtens
f4b6bd8d0b kernel: XHCI PCI quirks for kernel 3.12 and 3.13
This adds empty definitions for the PCI quirks functions when they
should not be included in the kernel.
This is based on a patch by Daniel <daniel@makrotopia.org>

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

SVN-Revision: 39534
2014-02-08 16:32:37 +00:00
Hauke Mehrtens
7790ac5ecc kernel: fix bridge compilation on kernel 3.13
The int brnf_call_ebtables in the header should be extern, otherwise
every object file gets its own int and they will conflict when linking
the binary.

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

SVN-Revision: 39533
2014-02-08 15:36:03 +00:00
Hauke Mehrtens
8f0ffe9cc6 kernel: negate kernel version dependencies to fix config for new kernel versions
This fixes some problems on kernel 3.13 and also removes the reference to LINUX_3_7.

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

SVN-Revision: 39532
2014-02-08 15:34:12 +00:00
Hauke Mehrtens
caf2bd456c kernel: add missing config symbol for 3.13.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39531
2014-02-08 15:31:57 +00:00
Hauke Mehrtens
274c16e81e mac80211: add led_trigger_blink{_oneshot}()
When led support is deactivated in the kernel and
CPTCFG_BACKPORT_BUILD_LEDS is set mac80211 references
led_trigger_blink_oneshot() but it is not declared anywhere.

This fixes the following build error:
net/mac80211/led.c: In function 'ieee80211_led_rx':
net/mac80211/led.c:25:2: error: implicit declaration of function 'led_trigger_blink_oneshot' [-Werror=implicit-function-declaration]

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

SVN-Revision: 39530
2014-02-08 12:19:22 +00:00