Commit Graph

11021 Commits (cc1b164634a9275e70a57b170daa5fab11450c4b)

Author SHA1 Message Date
Felix Fietkau a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
11 years ago
Luka Perkov 907d0f76b7 imx6: enable XZ_DEC_BCJ and XZ_DEC_ARM
squashfs is unable to decompress some blocks without that:

[    1.880530] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.887268] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.893889] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.900636] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.907275] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.913994] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.920631] SQUASHFS error: Unable to read page, block bc77a, size 14c50

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38202
11 years ago
Luka Perkov 2d1775dafc imx6: fix spi on gw5400-a
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38201
11 years ago
Hauke Mehrtens 6910cb4d6f bcm53xx: bgmac: use srab switch driver
use the srab switch driver on these SoCs.

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

SVN-Revision: 38200
11 years ago
Hauke Mehrtens 0bdc137636 bcm53xx: update bgmac driver
Update the bgmac driver with the patches already used for bcm47xx target.

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

SVN-Revision: 38199
11 years ago
Hauke Mehrtens c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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

SVN-Revision: 38198
11 years ago
Gabor Juhos fc79d210e0 kernel: create firmware partition from MyLoader partition parser
This is in preparation for sysupgrade support for Compex devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38197
11 years ago
Gabor Juhos 942e69b166 avr32: optimize image generation
- remove the kernel+rootfs partitions from the MTD partition map,
 - use a temporary directory for intermediate image files,
 - append the root squashfs directly to the kernel,
 - don't hardcode uImage size in the jffs2 images,

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38194
11 years ago
Gabor Juhos 11e4e6ebfb avr32: enable the new mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38193
11 years ago
Gabor Juhos b71c7d8d3c ar71xx: use correct board id for TL-MR3040 v2
Fix the image building code so that the kernel correctly
distinguishes between hardware revisions.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38192
11 years ago
Gabor Juhos 164cd38b41 ar71xx: add user-space support for TL-MR3040 v2
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38191
11 years ago
Gabor Juhos f8aef84e49 ar71xx: improve kernel support for the TL-MR3040 v2
This patch adds support for the hardware slide switch on
the TL-MR3040 v2.

Signed-off-by: Mads Hansen <d@taba.se>
[juhosg: use EV_SW instead of EV_KEY]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38190
11 years ago
Luka Perkov 77d075aa54 imx6: add support for gw51xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 - i.MX6DL 512MB DDR3
 - 256MB NAND FLASH
 - 1x PCIe
 - 1x USB EHCI (to PCIe socket)
 - 1x USB OTG
 - HDMI out
 - Analog Video in
 - Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38189
11 years ago
Luka Perkov f55d0ff66c imx6: add support for gw54xx
The Gateworks GW54xx family of products is based on the Freescale
i.MX6Q SoC and offers a large variety of peripherals such as:

  - i.MX6Q 1GB DDR3 (standard)
  - 256MB NAND FLASH (standard)
  - 6x PCIe (3x with USB)
    - Optional expansion for additional USB/PCI based periperhals
  - 1x USB EHCI
  - 1x USB OTG
  - HDMI Audio/Video in/out
  - Analog Video in/out
  - Analog Audio in/out
  - Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38188
11 years ago
Gabor Juhos 7530971113 package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38187
11 years ago
Luka Perkov cbcd3024dc imx6: update gw5400-a dts cleanup
- remove dead code
- alphabatize

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38184
11 years ago
Gabor Juhos 8daeba6d47 atheros: fix kernel warning about usage of reset gpio
During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:

[  147.930000] ------------[ cut here ]------------
[  147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc()
[  147.930000] autorequest GPIO-5
[  147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug
[  147.930000] Call Trace:
[  147.930000] [<8004e3bc>] dump_stack+0x8/0x34
[  147.930000] [<80058430>] warn_slowpath_common+0x78/0xa4
[  147.930000] [<800584e4>] warn_slowpath_fmt+0x2c/0x38
[  147.930000] [<80166f18>] gpio_ensure_requested+0x68/0xcc
[  147.930000] [<80167264>] gpio_direction_output+0xdc/0x168
[  147.930000] [<8004aba8>] ar2315_restart+0x28/0x54
[  147.930000] [<80069778>] sys_reboot+0x178/0x1c0
[  147.930000] [<80043670>] stack_done+0x20/0x40
[  147.930000]
[  147.930000] ---[ end trace 2c7a53d8549562d6 ]---

This is fixed with this patch by using another gpiolib api call
which includes the missing request.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38183
11 years ago
Gabor Juhos 0380904acb kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38182
11 years ago
Gabor Juhos 76a1617063 ramips: sync 3.10 configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38181
11 years ago
Gabor Juhos 482b5f34e5 lantiq/3.10: unbreak the mtd-split patch
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38180
11 years ago
Gabor Juhos 1bd2b56081 kernel/3.10: add upstream commit id to the backported hso patches
Also remove the internal patch numbers.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38179
11 years ago
Gabor Juhos 443072fda7 kernel/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38178
11 years ago
Gabor Juhos 87fb2dad70 avr32: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38175
11 years ago
Gabor Juhos 816820575b avr32: switch to 3.10
It works:
    _______                     ________        __
   |       |.-----.-----.-----.|  |  |  |.----.|  |_
   |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
   |_______||   __|_____|__|__||________||__|  |____|
            |__| W I R E L E S S   F R E E D O M
   -----------------------------------------------------
   BARRIER BREAKER (Bleeding Edge, r38163)
   -----------------------------------------------------
    * 1/2 oz Galliano         Pour all ingredients into
    * 4 oz cold Coffee        an irish coffee mug filled
    * 1 1/2 oz Dark Rum      with crushed ice. Stir.
    * 2 tsp. Creme de Cacao
   -----------------------------------------------------
  root@OpenWrt:/# uname -a
  Linux OpenWrt 3.10.12 #1 Tue Sep 24 18:47:12 CEST 2013 avr32 GNU/Linux
  root@OpenWrt:/# cat /proc/cpuinfo
  processor       : 0
  chip type       : AT32AP700x revision C
  cpu arch        : AVR32B revision 1
  cpu core        : AP7 revision 0
  cpu MHz         : 140.000
  i-cache         : 16K (4 ways x 128 sets x 32)
  d-cache         : 16K (4 ways x 128 sets x 32)
  features        : dsp simd ocd perfctr java
  bogomips        : 281.23
  root@OpenWrt:/#

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38174
11 years ago
Gabor Juhos b8d09278a1 avr32: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38173
11 years ago
Steven Barth d6c62705fb uml: work around mangled parameter handling for ubd
SVN-Revision: 38166
11 years ago
Steven Barth 31f654396a uml: fix some kernel compilation issues with GCC
SVN-Revision: 38165
11 years ago
Steven Barth 777e69451d uml: work-around console issue with procd
SVN-Revision: 38164
11 years ago
Gabor Juhos 5016b6513c ppc44x: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38163
11 years ago
Gabor Juhos 059d90e6f6 ppc44x: switch to 3.10
Compile tested only. The target is marked as
broken since 16 months so the kernel version
does not matter too much.

The target is scheduled for removal.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38162
11 years ago
Gabor Juhos 4356a214eb ppc44x: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38161
11 years ago
Gabor Juhos 521f5df589 rb532: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38160
11 years ago
Gabor Juhos 58fbd3ce5c rb532: switch 3.10
Compile tested only. The target is marked as
broken since 9 months so the kernel version
does not matter too much.

The target is scheduled for removal.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38159
11 years ago
Gabor Juhos 2f05e1f6d6 rb532: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38158
11 years ago
Gabor Juhos 13ec78c18f rb532: image: fix broken ifneq statement
Fixes the following build error:

  /devel/openwrt/staging_dir/host/bin/patch-cmdline \
  /devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \
  'root=/dev/mtdblock1 rootfstype=yaffs2 '
  Could not open kernel imagemake[5]: *** [install] Error 255

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38157
11 years ago
Gabor Juhos 91e1fa6d70 rb532: remove trailing whitespaces from image/Makefile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38156
11 years ago
Gabor Juhos 904ffa32d8 ar71xx: image: simplify mynet_n600_mtdlayout
Remove the kernel and rootfs partitions. The Seama
parser can find those automatically:

  0x000000070000-0x000000ff0000 : "firmware"
  2 seama-fw partitions found on MTD device firmware
  0x000000070000-0x0000001b0000 : "kernel"
  0x0000001b0000-0x000000ff0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  1 squashfs-split partitions found on MTD device rootfs
  0x000000360000-0x000000ff0000 : "rootfs_data"
  0x000000ff0000-0x000001000000 : "radiocfg"

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38155
11 years ago
Gabor Juhos 2f5694398d ar71xx: enable the Seama firmware parser
It will be used for the WD My Net N600 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38154
11 years ago
Gabor Juhos 2ea3cac075 ar71xx: update the Image/Build/WZRHP macro
- append the root squashfs directly after the kernel,
 - use the 64kraw/128kraw template instead of the 64k/128k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on WZR-HP-G300NH and WZR-600DHP boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38153
11 years ago
Gabor Juhos d0ba5d1584 ar71xx: image: use a common macro for Buffalo WZRHP devices
The Image/Build/WZRHP64K and the Image/Build/WZRHP128K macros
are similar. Move the common stuff into the Image/Build/WZRHP
macro and update the orignal macros to use that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38152
11 years ago
Gabor Juhos 370405bfd0 ar71xx: image: update Image/Build/CameoAP94 macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-673GRU board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38151
11 years ago
Gabor Juhos 167c4b5fa7 ar71xx: image: use a common macro for Cameo AP94 based devices
The Image/Build/DIR825B1 and the Image/Build/DLRTDEV macros
are identical. Merge those into a new Image/Build/CameoAP94
macro, and update the device profiles to use the new macro.
Also rename the dir825b1_* mtdlayout macros to cameo_ap94_*.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38150
11 years ago
Gabor Juhos fe525cd2c0 ar71xx: image: use the board name for temporary mtdpart files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38149
11 years ago
Gabor Juhos 5da3667d79 ar71xx: update the Image/Build/UBNT2 macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a WispStation M5 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38148
11 years ago
Gabor Juhos 18141628dc ar71xx: build intramfs images for the Ubiquiti XM boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38147
11 years ago
Gabor Juhos 4fc427e211 ar71xx: image: use a common macro for UBNTXM/UBNTDEV
The firmware generation part is the same for both
macros. Move that into a separate macro and use the
new macro for Image/Build/UB{NTXM,DEV}.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38146
11 years ago
Gabor Juhos 0b09a89340 ar71xx: image: update Image/Build/WHRHPG300N macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on the WHR-G301N board only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38141
11 years ago
Gabor Juhos 0264fed9bd ar71xx: image use the 64kraw template for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38140
11 years ago
Gabor Juhos 7c8c366a14 ar71xx: image: update Build/Image/Planex macro
- remove the 'kernel' and 'rootfs' partitions from the mtd layout,
 - move the .okli image into the uImage,
 - append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on the MZK-W300NH board only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38139
11 years ago
Gabor Juhos 58e3d03ae0 ar71xx: image: allow to build initramfs for Planex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38138
11 years ago
Gabor Juhos 0ff5dc2f38 ar71xx: image: build Planex kernels in a separate step
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38137
11 years ago
Gabor Juhos cdda5b041f ar71xx: add profile and build image for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38133
11 years ago
Gabor Juhos 525fcc6e11 ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38132
11 years ago
Gabor Juhos 8b920136a0 ar71xx: add kernel support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38131
11 years ago
Gabor Juhos 3f5fae5e1a ar71xx: image: update the Image/Build/CameoHornet macro
- append the root squashfs directly to the kernel,
 - use the 64kraw-nojffs template instead of sqashfs-only
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-712BR devices only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38130
11 years ago
Gabor Juhos 4dd84248d2 ar71xx: update the Image/Build/Cameo macro
- append the root squashfs directly to the kernel,
 - use the 64kraw/64kraw-nojffs template instead of 64k/squashfs-only,
 - ensure, that the signature is placed at the correct offset in
   the *-factory images,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on DIR-600-A1 and TEW-632BR devices only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38129
11 years ago
Gabor Juhos 3131a1c11a ar71xx: image: add new macros for AP99 based Cameo devices
The MTD layout of the AP99 based devices is different.
Add new macros to reflect that and use the new macros
for the DIR-615-E4 board.

This prevents overwriting of the 'mac' partition which
contain vital informations. The disadvantage of the change
is that the usable space is reduced by 192KiB. Blame the
vendors for the unfriendly partition layout.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38128
11 years ago
Gabor Juhos ac2cd03c73 ar71xx: image: rename the Cameo macros
Use the reference board name in the macro
instead of the SoC number.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38127
11 years ago
Gabor Juhos dd171f7d14 ar71xx: image: add optional JFFS2 padding support to the CatFiles macro
Also remove the similar code from the Netgear
profile and use the new feature instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38126
11 years ago
Gabor Juhos d3c75d79cd ar71xx: image: remove too big files in the CatFiles macro
Also improve the warning message.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38125
11 years ago
Gabor Juhos 3b00bf1a68 ar71xx: simplify wndr3700 image generation
- remove the kernel and rootfs partitions from the mtd layout,
   the kernel creates those automatically,
 - remove estimation step, it is not needed anymore
 - put the root squashfs directly after the kernel
 - use the 64kraw template

With the default configuration, this allows to use more space for
rootfs_data with 64KiB. Tested on WNDR3700 v1 only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38120
11 years ago
Gabor Juhos 10a0f65be0 ar71xx: use the separate rootfs and uImage parsers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38119
11 years ago
Gabor Juhos 2434b9e413 ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38118
11 years ago
Gabor Juhos ea0ff700e8 ar71xx: image: add mtdpartsize macro
The new macro will be used to determine the firmware
partition size from an MTD layout.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38117
11 years ago
Gabor Juhos 48a3a30fec ar71xx: image: improve the rootfs_align macro
Improve the macro to return correct value for
all squashfs variant.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38116
11 years ago
Gabor Juhos b77d4d8d19 ar71xx: image: improve the CatFiles macro
Make it possible to append the rootfs image directly
to the kernel.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38115
11 years ago
Gabor Juhos 2e62ff9320 kernel/3.10: add partition parser for Seama firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38114
11 years ago
Gabor Juhos 2f2ed5c5c1 kernel/3.10: add partition parser for uImage firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38113
11 years ago
Gabor Juhos 98db90576c kernel/3.10: add default partition name defines to mtdsplit.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38112
11 years ago
Gabor Juhos 61c39f923b kernel/3.10: add more helpers to the mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38111
11 years ago
Gabor Juhos daec7ad768 kernel/3.10: add separate rootfs partition parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38110
11 years ago
Gabor Juhos d89bea92b3 kernel/3.10: move squashfs check from rootfs split code into a separate file
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38109
11 years ago
Gabor Juhos 3b71cd94bc kernel/3.10: allow to use partition parsers for rootfs and firmware split
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38108
11 years ago
Gabor Juhos 6f2b80dff1 kernel/3.10: allow to use different MTD parser types
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38107
11 years ago
Gabor Juhos 0ee77c1efb ar71xx: enable wlan2g led in the default configuration of dir-825-c1
Enable the wlan2g led in the default configuration of dir-825-c1.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4079/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38106
11 years ago
Gabor Juhos d661af0b77 ar71xx: vanity changes for dir-825-c1
This patch

- changes the color names from orange to amber
- changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G
  (wlan2g) to be more consistent with the other routers' files
- changes the descriptions of the hardware keys to be a tad more
  explicit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4081/
[juhosg: update the LED migration script as well]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38105
11 years ago
Gabor Juhos b02cb983d9 ar71xx: diag.sh: consolidate netgear device entries
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38104
11 years ago
Gabor Juhos 5dc4786200 ar71xx: use the green power led for diag on the WNR2200 board
Make it consistent with the other Netgear boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38103
11 years ago
Gabor Juhos 0a813e9e3c ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38102
11 years ago
Gabor Juhos d0fe16cedf ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38101
11 years ago
Gabor Juhos ae7d14f701 ar71xx: use netgear prefix for WNR2200 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38100
11 years ago
Gabor Juhos 87f7ac6b4e ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38099
11 years ago
Gabor Juhos e33ccdc295 ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38098
11 years ago
Gabor Juhos d381cd170d ar71xx: add an uci-defaults script for LED configuration migration
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38097
11 years ago
Gabor Juhos 10ed605a89 ar71xx: let HW switch control WAN LED on dir-825-c1
Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38096
11 years ago
Gabor Juhos 20c8252a8f ar71xx: image: override mkcameofw status
This allows to build images for other boards, even if
the image is too big for Cameo devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38095
11 years ago
Gabor Juhos 50f4732438 ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38094
11 years ago
Gabor Juhos fe19f5a718 ar71xx: set proper wan mac during initial configuration on dir-825-c1
The goal is to set the WAN MAC address to the one on the
sticker on the bottom of the unit. Currently it is not
used at all. But some users expect the WAN interface to
have the MAC address that is written on the sticker.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38091
11 years ago
Gabor Juhos 1dd33c4d6c ar71xx: tew-712br: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38090
11 years ago
Gabor Juhos cb18e38996 ar71xx: tew-673gru: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38089
11 years ago
Gabor Juhos a98df83f5f ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38088
11 years ago
Gabor Juhos 710314990a ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38087
11 years ago
Gabor Juhos 2a777a272c ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38086
11 years ago
Gabor Juhos e312a917d3 ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
Rename the function and extend it in order to make it
usable from board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38085
11 years ago
Gabor Juhos cf5891fb39 ar71xx: fix Cameo934x initramfs image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38084
11 years ago
Luka Perkov 7665c57a72 lantiq: fix usb on sx76x
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 38083
11 years ago
Luka Perkov c90e521790 imx6: update gw5400-a dts
- remove common imx6q-ventana.dtsi - there isn't enough commonality to
  warrent this
- rename user led's to 1-based
- add alises used by bootloader
- clean up iomux gpios
- fix pfuze slave address
- enable sata
- add delay after release of pci reset downstream from PCIe switch
- remove PCIe clock configuration as its now handled in updated driver

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38081
11 years ago
Luka Perkov 3f059f58db imx6: update PCIe driver
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38080
11 years ago
Luka Perkov 19bd25f4ec imx6: update network defaults for Gateworks Ventana
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38079
11 years ago
Luka Perkov cd1257ee0c imx6: update config
* enable PERF_EVENTS
* enable REGULATOR_ANATOP
* enable VMSPLIT_2G

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38078
11 years ago
Luka Perkov 7c9b567371 imx6: drop inittab
It's the same as in base-files package.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38077
11 years ago
Gabor Juhos cd9ff05845 ar71xx: add profile and build image for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38076
11 years ago
Gabor Juhos 37968b3be1 ar71xx: add sysupgrade support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38075
11 years ago
Gabor Juhos 7f9d2292fa ar71xx: add user-space support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38074
11 years ago
Gabor Juhos 9a2e94476a ar71xx: add kernel support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38072
11 years ago
Gabor Juhos 9200807877 ar71xx: wndr4300: enable HW ECC mode for the NAND controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38071
11 years ago
Gabor Juhos 83915a8d78 ar71xx: add ath79_nfc_set_ecc_mode helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38070
11 years ago
Gabor Juhos d6fef0cb39 ar71xx: ar934x_nfc: add experimental support for hardware ECC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38069
11 years ago
Gabor Juhos ceecdfb1c9 ar71xx: ar934x_nfc: return error code from some low-level functions
Change some flow-level unctions to return with an
error code in order to be able to report errors
to the core code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38068
11 years ago
Gabor Juhos df8485c7cb ar71xx: ar934x_nfc: use devm_* functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38067
11 years ago
Gabor Juhos 54c0e72f9d ar71xx: add profile and build image for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38066
11 years ago
Gabor Juhos 5e3c7d14ec ar71xx: add user-space support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38064
11 years ago
Gabor Juhos e3e31835ae ar71xx: add kernel support for TP-Link TL-MR13U
This patch adds support for TP-Link TL-MR13U router with built-in 10AH
rechargeable battery.

The patch is based on kamwanlai's patch:
https://forum.openwrt.org/viewtopic.php?pid=206746#p206746

Updated to accommodate recent changes introduced with:
ar71xx: remove fs_* variables from image/Makefile

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
[juhosg:
  - refresh and rename rename 930-add-tl-mr13u-support.patch =>
    625-MIPS-ath79-add-tl-mr13u-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38063
11 years ago
Gabor Juhos 5e23012c77 ar71xx: wnr2200: fix a typo in a LED name
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38062
11 years ago
Gabor Juhos fe781581df ar71xx: add profile and build image for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38061
11 years ago
Gabor Juhos 3d4b042c4b ar71xx: add user-space support for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38060
11 years ago
Gabor Juhos 49ed06e36f ar71xx: add kernel support for Netgear WNR2200 wireless router
This patch adds OpenWRT support for the Netgear WNR2200 (N300)
wireless router with USB.

Technical details of this router can be found at
http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx
and http://wikidevi.com/wiki/Netgear_WNR2200

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
[juhosg:
  - add commit message and SoB line from the original patch
  - remove dead code from mach-wnr2200.c
  - refresh 624-MIPS-ath79-WNR2200-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38059
11 years ago
John Crispin 08abb8822b ralink: make dcs930 uvc camera work
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38054
11 years ago
John Crispin c0f6bf05f4 ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38053
11 years ago
John Crispin 898c164b46 ralink: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38052
11 years ago
Luka Perkov d2ad87885d lantiq: style fixes
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38051
11 years ago
Luka Perkov 43f1a47430 lantiq: add initial support for Siemens GIGASX76X
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38050
11 years ago
Luka Perkov 3b33adeb99 lantiq: add support for ZyXEL P2601HNFX
SVN-Revision: 38049
11 years ago
Luka Perkov 7d2c5682b9 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38048
11 years ago
Luka Perkov da01479d73 malta: target.mk cosmetical fixup
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38047
11 years ago
Hauke Mehrtens 86f7ca96af brcm47xx: b44: bgmac: some small changes to the phylib patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38044
11 years ago
John Crispin 40ac8dd9df lantiq: fix FRITZ7320 flash window size
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38042
11 years ago
John Crispin f9f73ef2ec lantiq: fix ath9k eeprom loading order bug
https://dev.openwrt.org/ticket/14131
http://patchwork.openwrt.org/patch/4038/

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

SVN-Revision: 38041
11 years ago
John Crispin 5722b32acf ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129

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

SVN-Revision: 38040
11 years ago
John Crispin 8ff756cdc9 lantiq: fix up default firmware selection for spanish and italian routers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38039
11 years ago
Hauke Mehrtens 4f93bde681 brcm47xx: bgmac: b44: add support for Byte Queue Limits
This adds support for Byte Queue Limits in bgmac and b44, now it is
possible to use more advanced network queue control algorithms.

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

SVN-Revision: 38038
11 years ago
Hauke Mehrtens 6dd2e9ae2c brcm47xx: update the clock fixes for BCM5354
This updates the patches for BCM5354 to the version send for upstream
Linux inclusion.

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

SVN-Revision: 38037
11 years ago
Hauke Mehrtens 4c52ed50d7 brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel
inclusion. The data needed to detection a board is now stored in init
data.

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

SVN-Revision: 38036
11 years ago
Hauke Mehrtens e75ff873be brcm47xx: add detection for Linksys E900 V1
Thank you Rafał for the data.

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

SVN-Revision: 38035
11 years ago
John Crispin 1878a3d6ab lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38031
11 years ago
John Crispin cd668944ef lantiq: add wifi eep to a803 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38030
11 years ago
John Crispin 18b76c66fb lantiq: add a subtarget for the xrx200 SoC family
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38029
11 years ago
John Crispin 0782501483 lantiq: update dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38027
11 years ago
John Crispin 8cd1c99707 ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38026
11 years ago
John Crispin 66bed0b019 ralink: change subtarget order
this will make image builder build rt305x targets per default

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

SVN-Revision: 38025
11 years ago
Felix Fietkau 9158a08983 kernel: backport a fix for multiqueue selection to prevent tcp reordering with fair queueing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38016
11 years ago
Hauke Mehrtens c78e4fb220 brcm47xx: Add support for Huawei E970
This patch adds support for Huawei E970 wireless gateway devices.
It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV.
E960/B970 should work too, from what I know it's basically the same hardware.

The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem.

It uses a hardware watchdog which needs GPIO-7 to be toggled at least
every 1-2 seconds. This patch uses gpio_wdt module (see my previous
patch today) to take care of this.

Tested and works:  3G wan,  wlan+LED,  VLAN config,  failsafe using reset
button,   image to be used for upgrade from OEM firmware's web interface

Link to the wiki page I've created:  <http://wiki.openwrt.org/toh/huawei/e970>

Issue:

* lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog
  reset during kernel decompress.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38011
11 years ago
Hauke Mehrtens 0294358e11 kernel: add generic GPIO watchdog driver
This is used on Huawei E970 (brcm47xx).

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38010
11 years ago
Hauke Mehrtens 880be9ca2f brcm47xx: add detection for Phicomm M1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38009
11 years ago
Hauke Mehrtens bc5b56f42b brcm47xx: detect Linksys E1200 V2
This adds detection for Linksys E1200 V2

Thank you Lightsword and Rafał.

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

SVN-Revision: 38006
11 years ago
Hauke Mehrtens 23c34e820c brcm47xx: mtd: bcm47xxpart: detect "factory" partition
A new type of partition with magic FCTY was found on Huawei E970:
46 43 54 59 4b 51 37 4e  41 42 31 38 41 32 39 30  |FCTYKQ7NAB18A290|

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

SVN-Revision: 38005
11 years ago
Hauke Mehrtens f687ab2101 brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
This is important patch for new devices that support unaligned
addressing. That devices suffer from the backward-compatibility bug in
DMA engine. In theory we should be able to use old mechanism, but in
practice DMA address seems to be randomly copied into status register
when hardware reaches end of a ring. This breaks reading slot number
from status register and we can't use DMA anymore.

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

SVN-Revision: 38004
11 years ago
Gabor Juhos a0d6cd4f49 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38002
11 years ago
Hauke Mehrtens 86405f2c4c brcm47xx: add detection code for Huawei E970
This is based on a patch by Mathias Adam.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38001
11 years ago
Gabor Juhos 554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
11 years ago