Commit Graph

11566 Commits

Author SHA1 Message Date
Gabor Juhos
6b8eb55ddb ar71xx: fix unaligned access hacks for tcp timestamps
This missing bit of the hack saves hugely on instruction traps
on tcp connections to ar71xx based routers.

Patch-by: Dave Taht <dave.taht@bufferbloat.net>
Patchwork: http://patchwork.openwrt.org/patch/4905/
[juhosg: adjust subject, refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39626
2014-02-18 17:34:17 +00:00
Gabor Juhos
d6cb5215a9 ar71xx: WNR2200: fix mounting root fs problem
Solves ticket #14356 <https://dev.openwrt.org/ticket/14356>

Without this patch, UART output will show only 4 partitions:
  [    0.740000] 4 cmdlinepart partitions found on MTD device spi0.0
  [    0.750000] Creating 4 MTD partitions on "spi0.0":
  [    0.750000] 0x000000000000-0x000000050000 : "u-boot"
  [    0.760000] 0x000000050000-0x000000070000 : "u-boot-env"
  [    0.770000] 0x000000070000-0x0000007f0000 : "firmware"
  [    0.790000] 0x0000007f0000-0x000000800000 : "art"
and then linux complains :VFS: Cannot open root device "(null)"

With this patch, UART out will show 7 partitions:
  [    0.740000] 4 cmdlinepart partitions found on MTD device spi0.0
  [    0.750000] Creating 4 MTD partitions on "spi0.0":
  [    0.750000] 0x000000000000-0x000000040000 : "u-boot"
  [    0.760000] 0x000000040000-0x000000050000 : "u-boot-env"
  [    0.770000] 0x000000050000-0x0000007f0000 : "firmware"
  [    0.780000] 2 netgear-fw partitions found on MTD device firmware
  [    0.780000] 0x000000050000-0x00000014b440 : "kernel"
  [    0.790000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  [    0.800000] 0x00000014b440-0x0000007f0000 : "rootfs"
  [    0.810000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  [    0.820000] mtd: device 4 (rootfs) set to be root filesystem
  [    0.830000] 1 squashfs-split partitions found on MTD device rootfs
  [    0.830000] 0x000000340000-0x0000007f0000 : "rootfs_data"
  [    0.840000] 0x0000007f0000-0x000000800000 : "art"

This patch is tested against r39502 of trunk.

Signed-off-by: Jonathan Chang <changcs@santos.ee.ntu.edu.tw>
Patchwork: http://patchwork.openwrt.org/patch/4870/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39625
2014-02-18 17:34:16 +00:00
John Crispin
b56bef28d7 ralink: add support for na930
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39611
2014-02-18 13:33:25 +00:00
John Crispin
55383946dc ralink: add gpio_uartf mux group
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39610
2014-02-18 13:33:20 +00:00
John Crispin
363512b8c6 ralink: fix the gpio mode mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39609
2014-02-18 13:33:16 +00:00
Zoltan Herpai
f57f19ed81 3.13: revert r39601 as the symbol is already there
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39602
2014-02-17 11:49:34 +00:00
Zoltan Herpai
a3dfcac7ba 3.13: add missing NF_TABLES symbol - until someone packages it
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39601
2014-02-17 10:57:11 +00:00
Zoltan Herpai
e82a230930 3.13: add missing symbol
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39600
2014-02-17 10:20:53 +00:00
Luka Perkov
30c39f99a7 kirkwood: dockstar: remove sata from packages
The dockstar doesn't have any sata ports.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39596
2014-02-16 00:14:29 +00:00
Luka Perkov
9ba7cbafe4 kirkwood: add support for Seagate GoFlexNet
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39595
2014-02-16 00:14:27 +00:00
Luka Perkov
58fa3f8fdf kirkwood: update support for dockstar
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 0xfe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by: Alexander Couzens <lynxis@fe80.eu>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39593
2014-02-15 23:53:10 +00:00
Luka Perkov
0b0357b50e kirkwood: update support for ib62x0
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 0xfe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-ib62x0-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

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

SVN-Revision: 39592
2014-02-15 23:53:09 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Jonas Gorski
6cf402a41d mvebu: remove forced module config
These should either be disabled or not present in the config, else
they might cause build issues because of unexpected unpackaged
modules, as it is the case for LEDS_CLASS.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39529
2014-02-08 11:47:33 +00:00
Zoltan Herpai
ee3abfe853 and add some more symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39526
2014-02-07 16:55:32 +00:00
Imre Kaloz
4fe4daccdc upgrade to 3.13.1
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39525
2014-02-07 16:51:01 +00:00
Imre Kaloz
29c6927f14 add more symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39524
2014-02-07 16:50:26 +00:00
Zoltan Herpai
add22b1a07 mxs: bump target to 3.13.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39512
2014-02-06 21:03:27 +00:00
Zoltan Herpai
2fd373f046 sunxi: bump target to 3.13.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39511
2014-02-06 21:02:38 +00:00
Zoltan Herpai
62cba268a2 sunxi: various 3.13 usb changes - disable USB_DEBUG - rename reset compat property
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39510
2014-02-06 21:01:52 +00:00
Imre Kaloz
96007fee20 switch to 3.13.1
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39509
2014-02-06 18:32:53 +00:00
Imre Kaloz
ed2b3e7771 add 3.13 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39508
2014-02-06 18:32:03 +00:00
Zoltan Herpai
a7f0eb013a sunxi: sun6i-a31 changes - push remaining sun6i patches for 3.13 - enable Colombus A31 devboard (compile-tested only)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39487
2014-02-05 21:11:59 +00:00