Commit graph

11069 commits

Author SHA1 Message Date
Gabor Juhos
08e0613275 ar71xx: generate recovery image for WNDR4300
Extended the Makefile to generate a working factory reset image
for Netgear WNDR4300. The image uses UBI with two volumes squashfs
(rootfs) and JFFS2 (rootfs_data). In order to make stock U-Boot
happy, a fake rootfs image is placed into the last erase block
of the kernel partition.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - restore the NetgearNAND/initramfs macro,
  - remove unused {Squash,Ubi}fsTemplate macros,
  - remove board specific mtd options from CONFIG_CMDLINE, append the
    board specific ubi.mtd parameter to the kernel command line instead,
  - increase kernel partition size to 2MiB,
  - use board specific ini file for ubinize,
  - put jffs2 eof mark into the rootfs_data ubi volume,
  - use KDIR_TMP for temporary images,
  - use the squashfs-raw image,
  - increase kernel partition size to 2MiB,
  - use a local ubinize macro,
  - fix macro parameter comments,
  - put the fake rootfs into the last erase block of the kernel
    partition,
  - move Image/Build/NetgearNAND/buildkernel macro before
    define Image/Build/NetgearNAND,
  - don't use the wndr3700 utility, use '-M' parameter of mkimage to set
    the uImage magic,
  - use '-recovery' suffix for the generated image, it is only usable via
    the fw_recovery function of the bootloader,
  - update commit log]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38655
2013-11-05 16:31:14 +00:00
Gabor Juhos
35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Luka Perkov
cb07269988 sunxi: add new target
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38651
2013-11-05 08:00:34 +00:00
Luka Perkov
da224973af imx6: drop unused variable from Makefile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38650
2013-11-05 08:00:30 +00:00
Gabor Juhos
d5555de5b0 ar71xx: move WNDR4300 profile to the nand subtarget
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38647
2013-11-04 18:37:09 +00:00
Gabor Juhos
3eb676240f ar71xx: Add new subtarget nand for WNDR4300
Add new subtarget nand with UBI/UBIFS including GLUEBI and squashfs.
This target will be used for NAND based router which make use of
UBI (and maybe UBIFS later on) in order to provide proper NAND
support.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - tweak target.mk:
     change BOARDNAME variable,
     improve Target/Description,
     remove targz and ubifs from FEATURES and add broken flag,
  - optimize kernel configuration:
     disable ubifs, it is not used yet,
     disable unused MTD options,
     disable SPI support
     disable unused network drivers,
     tune kernel command line,
  - remove image/ubinize.cfg, it will be in a follow-up patch
  - move profile modifications into a separate patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38646
2013-11-04 18:37:08 +00:00
Gabor Juhos
496d3e1149 ar71xx: remove yaffs from the generic rootfstype list
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38645
2013-11-04 18:37:07 +00:00
Gabor Juhos
ccf7320205 ar71xx: image: dd root.* images in fs specific macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38644
2013-11-04 18:37:06 +00:00
Gabor Juhos
5dba0a237e kernel/3.1[02]: move MTD root device setup code to mtdcore
The current code only allows to automatically set
root device on MTD partitions. Move the code to MTD
core to allow to use it with all MTD devices.

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

SVN-Revision: 38643
2013-11-04 18:37:05 +00:00
Gabor Juhos
866dd2a378 kernel: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38642
2013-11-04 18:37:03 +00:00
Hauke Mehrtens
c30346c2e1 kernel: add some config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38640
2013-11-03 20:20:14 +00:00
Hauke Mehrtens
24d73fbd33 kernel: bgmac: update backport patch
This adds some more bgmac patches from mainline kernel.

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

SVN-Revision: 38637
2013-11-03 19:24:39 +00:00
Gabor Juhos
45d26941b4 ar71xx: image: only define profiles for the generic subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38636
2013-11-01 18:33:24 +00:00
Gabor Juhos
f0a877e5eb ar71xx: image: add IMAGE_PROFILE variable
Ensures that the 'Default' images are generated
even if the subtarget has no profiles.

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

SVN-Revision: 38635
2013-11-01 18:33:22 +00:00
Gabor Juhos
b2bc45d21e ar71xx: always enable hw ecc support for the ar934x-nfc module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38634
2013-11-01 18:33:18 +00:00
Hauke Mehrtens
0e655122c6 kernel: add missing config options
The buildbots found some new missing config options.

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

SVN-Revision: 38633
2013-11-01 08:49:35 +00:00
Luka Perkov
e00bc81a56 kirkwood: add userland support for Pogoplug E02
This patch adds the userland support for the Pogoplug E02 by Cloud
Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 38631
2013-10-31 12:04:04 +00:00
Luka Perkov
2b0fa00da8 kirkwood: add Pogoplug E02 Kernel support
This patch adds a DTS file for the Pogoplug E02 by Cloud Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 38630
2013-10-31 12:04:02 +00:00
Luka Perkov
6f26ef8b5d kirkwood: extend image/Makefile
* use lower case letters in generated images
* extend support for boot/ directory
* fix some typos

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 38629
2013-10-31 11:44:28 +00:00
Luka Perkov
59d58990fb imx6: minor image cleanup
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38628
2013-10-31 11:44:27 +00:00
Luka Perkov
672a8cd6ba imx6: update patches
Changes include PCI fixes and various upstream pending patches.

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

SVN-Revision: 38624
2013-10-30 23:31:26 +00:00
Hauke Mehrtens
2ab978d0a3 kernel: add some missing config options
This was spotted by the buildbots.

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

SVN-Revision: 38604
2013-10-30 09:48:19 +00:00
Gabor Juhos
379b509362 ramips: enable building of TEW-692GR images
The TEW-692GR images are missing since r36169. Uncomment
the board specific macro in image/Makefile, in order to
generate those again.

Only build tested. No idea if the the image works or not,
I have bricked my TEW-692GR a few months ago.

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

SVN-Revision: 38603
2013-10-30 07:06:24 +00:00
Gabor Juhos
dfd4311355 ramips: fix number of GPIOs for RT3352
The RT3352 SoC only supports 46 GPIO lines.

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

SVN-Revision: 38602
2013-10-30 07:06:23 +00:00
Gabor Juhos
9186fb342e ramips: remove trailing whitespaces from .dts{,i} files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38601
2013-10-30 07:06:22 +00:00
Gabor Juhos
715f16806f ar71xx: move subtarget specific features to target.mk
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38600
2013-10-30 06:54:59 +00:00
Gabor Juhos
5a08328197 ar71xx: don't build uImages for the mikrotik subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38598
2013-10-30 06:54:55 +00:00
Gabor Juhos
6357738509 ar71xx: disable non Mikrotik boards in the mikrotik subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38597
2013-10-30 06:54:54 +00:00
Gabor Juhos
228c3484c3 ar71xx: fix Kconfig symbol selection for RB95x/RB2011
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38596
2013-10-30 06:54:53 +00:00
Gabor Juhos
64ea60d210 ar71xx: move CONFIG_MTD_NAND_AR934X_HW_ECC option to subtarget config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38595
2013-10-30 06:51:02 +00:00
Gabor Juhos
2f27f5d404 generic: mtdsplit_uimage: add uImage magic for the WRN2200 board
Should fix boot failure on the WNR2200 boards.
Compile tested only.

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

SVN-Revision: 38594
2013-10-30 06:51:01 +00:00
Gabor Juhos
47b7ce5ec2 ar71xx: add profile and build image for the BXU2000n-2 A1 board
Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - remove MultiProfile, it makes no sense for a single board
  - move SingleProfile call and the mtdlayout to a different
    location keep things sorted (well, almost)]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38593
2013-10-30 06:50:59 +00:00
Gabor Juhos
003a801dd9 ar71xx: add user-space support for the BXU2000n-2 A1 board
Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38592
2013-10-30 06:50:58 +00:00
Gabor Juhos
ef8306cfd2 ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 board
BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip.

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - rename and refresh kernel patch,
  - fix some checkpatch warnings and adjust whitespaces in
    mach-bhu-bxu2000n2-a.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38591
2013-10-30 06:50:57 +00:00
Gabor Juhos
acd4ea62e7 ar71xx: add user space support for the Sitecom WLR-8100 wireless router
Patchwork: http://patchwork.openwrt.org/patch/4148/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38590
2013-10-30 06:50:55 +00:00
Gabor Juhos
22b5040c64 ar71xx: add kernel support for the Sitecom WLR-8100 wireless router
- unsure about copyright message
  - based on AP136-010

Patchwork: http://patchwork.openwrt.org/patch/4147/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38589
2013-10-30 06:50:54 +00:00
Gabor Juhos
f6638a8994 ar71xx: add profile and build image for the Dragino2 board
Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg: remove kernel+rootfs partition and use uimage split instead]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38588
2013-10-30 06:50:53 +00:00
Gabor Juhos
7074bb286d ar71xx: add kernel support for DRAGINO2
This patch adds support for DRAGINO2 board (used by
Meshpotato v2). Most of the files included can be
found in the official svn repository provided by the
company [1]. I have just adapt it to the last OpenWrt
trunk revision (Fri Oct 4 10:49:47 2013).

 1. http://svn.dragino.com/dragino2

Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg:
 - rename and refresh kernel patch,
 - fix checkpatch warnings in  mach-dragino2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38587
2013-10-30 06:50:52 +00:00
Luka Perkov
6b2c29d5f0 imx6: update gateworks profile with extra packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38579
2013-10-30 00:50:14 +00:00
Luka Perkov
df388048b4 imx6: add initial 3.12 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38574
2013-10-29 02:19:09 +00:00
Luka Perkov
b8038b78ec imx6: use upstream gateworks board names
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38573
2013-10-29 02:19:07 +00:00
Luka Perkov
3aba97dcba kernel: refresh 3.12 patches on -rc7 release
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38572
2013-10-29 02:19:05 +00:00
Luka Perkov
f44c65c7c8 imx6: update 3.10 patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38571
2013-10-29 02:19:03 +00:00
Hauke Mehrtens
7b7c06d2e3 kernel: add missing config optinons
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38570
2013-10-28 19:19:28 +00:00
Felix Fietkau
32a2f9a1c3 kernel: jffs2: ignore bad blocks after the end-of-filesystem marker
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38568
2013-10-28 16:06:47 +00:00
John Crispin
176b41d441 ralink: add package for mt7620 sdhci
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38553
2013-10-28 06:47:56 +00:00
John Crispin
36e029b3eb ralink: dont include mt7620 sdhci support inside the kernel
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38552
2013-10-28 06:47:48 +00:00
John Crispin
7c7225a19d ralink: add support for missing mt7620 mux values
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38551
2013-10-28 06:47:39 +00:00
John Crispin
43de7c1cfa ralink: add support for 2 new mt7620 boards made by buffalo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38550
2013-10-28 06:47:31 +00:00
Luka Perkov
be95e24155 kernel: fix compile error in 3.12
Upstream commit c655bc6896b94ee0223393f26155c6daf1e2d148 changed number of
arguments in nf_ct_iterate_cleanup() function.

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

SVN-Revision: 38547
2013-10-27 20:47:04 +00:00
Luka Perkov
fde5493acd kernel: add missing 3.12 config symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38546
2013-10-27 20:46:55 +00:00
Luka Perkov
7bacb745dd mvebu: drop patch that has been upstreamed
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38545
2013-10-27 16:08:23 +00:00
John Crispin
849f74f930 ralink: pinctrl fix for non muxed pins
Pins with no mux option failed to be recognized as gpios.

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

SVN-Revision: 38540
2013-10-26 12:24:55 +00:00
Hauke Mehrtens
40790e6b84 brcm47xx: b44: fix error handling for dummy phy creation
When the mdio bus is unregistered the newly created phy will also be
unregistered and freed.

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

SVN-Revision: 38539
2013-10-25 21:12:48 +00:00
Hauke Mehrtens
c185d48b7c brcm47xx: b44: add dummy phy device if we do not find any
On some devices with e.g. a BCM2535F switch the second MAC is used, but
we can not find a phy under all addresses between 0 and 31, 0xffffffff
is returned as phy id. If we can not find a phy at the expected address
create a dummy one.

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

SVN-Revision: 38538
2013-10-25 21:02:13 +00:00
Florian Fainelli
61a4b9753d malta: add kernel configuration for 3.12
Boot tested using QEMU

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38536
2013-10-25 01:48:29 +00:00
Florian Fainelli
531d2b7aae kernel: handle Cavium Octeon Kconfig rename
Upstream commit 9ddebc46 ("MIPS: OCTEON: Rename Kconfig
CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC") renamed a Kconfig
symbol, thus making all MIPS builds ask for this specific Kconfig
symbol, add it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38535
2013-10-25 01:48:20 +00:00
Florian Fainelli
2333212ace kernel: add some missing 3.12 config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38532
2013-10-25 01:47:54 +00:00
Imre Kaloz
e72c7e17a4 preliminary 3.12 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38528
2013-10-24 13:50:11 +00:00
Florian Fainelli
857a7a0124 kernel: make swconfig checkpath compliant
Fix the warnings and errors reported by checkpatch on swconfig.c

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38523
2013-10-24 00:25:52 +00:00
Luka Perkov
a494a0027a imx6: ventana boards use kmod-sky2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38522
2013-10-23 23:12:59 +00:00
Luka Perkov
37c040f41a imx6: use more descriptive function name
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38521
2013-10-23 22:55:00 +00:00
Luka Perkov
de7c615cfe imx6: use more common name for ubi(fs) images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38520
2013-10-23 22:54:59 +00:00
Luka Perkov
9e17f251d5 imx6: fix pcie interrupt mapping
The interrupt mapping for legacy interrupts was backwards causing interrupts
to be mapped improperly behind a PCIe to PCI bridge (ie GW16082 mezzanine).

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

SVN-Revision: 38519
2013-10-23 22:26:54 +00:00
Luka Perkov
2f4ae98018 imx6: add support for building uImage
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38518
2013-10-23 22:16:12 +00:00
Luka Perkov
7938d16451 build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38516
2013-10-23 22:16:09 +00:00
Luka Perkov
86aff32701 imx6: enable SATA support
Enable SATA support (for IMX6D/IMX6Q) static in the kernel.  It seems there
are some issues causing the driver to not load properly when built as
a module which still need to be worked out.

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

SVN-Revision: 38515
2013-10-23 22:16:08 +00:00
Luka Perkov
44ae9a2b7a imx6: enable cpufreq
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38514
2013-10-23 22:16:07 +00:00
Luka Perkov
70d75dc068 imx6: enable i2c-dev
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38513
2013-10-23 22:16:06 +00:00
Luka Perkov
cdcce432d0 imx6: remove obsolete files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38512
2013-10-23 22:16:05 +00:00
Luka Perkov
cd43416a78 imx6: pcie driver fixups
Add upstream patches needed for PCIe through a switch.

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

SVN-Revision: 38511
2013-10-23 22:16:03 +00:00
Luka Perkov
a0c9c711cd imx6: fix symlink of dtb files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38510
2013-10-23 20:21:27 +00:00
Gabor Juhos
9e01011b5c ar71xx: rename 'nand' subtarget to 'mikrotik'
It is for Mikrotik devices only, rename the subtarget
to reflect that. Also fix the wget2nand script to use
the new image names.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

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

SVN-Revision: 38509
2013-10-23 15:43:26 +00:00
Gabor Juhos
757a6fdef9 ar71xx: change title and description for NAND subtarget
The nand subtarget supports Mikrotik boards only. Change
the title and the description to reflect that.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

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

SVN-Revision: 38508
2013-10-23 15:43:19 +00:00
Gabor Juhos
a59934dbd0 ar71xx: remove 'Target/Description' from main Makefile
Ensure that menuconfig shows the correct help text for
subtargets.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

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

SVN-Revision: 38507
2013-10-23 15:43:13 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Hauke Mehrtens
6d2136c3f2 brcm47xx: b44: detect external phy by bit set in DevControl register
Without this patch we treated only phy addr 30 as an external phy, but
there is a register to check that. Now we do not have to try to reset
the switch to check for an external switch.

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

SVN-Revision: 38502
2013-10-22 21:01:35 +00:00
Gabor Juhos
5d4cc68b66 x86/generic: remove 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38501
2013-10-22 19:00:25 +00:00
Gabor Juhos
b94f8452cb x86/generic: switch to 3.10.15
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38500
2013-10-22 19:00:22 +00:00
Gabor Juhos
921246f73b x86/generic: add kernel config for 3.10
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38499
2013-10-22 19:00:20 +00:00
Gabor Juhos
2a3df11af8 kernel/3.10: add missing config symbol
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38498
2013-10-22 19:00:19 +00:00
Luka Perkov
38aefbfa8d imx6: make symlinks for dtb's
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38496
2013-10-22 17:13:18 +00:00
Gabor Juhos
80a15fe8ad ar71xx: Fix sysupgrades for Allnet and OpenMesh devices
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to
change different settings in the uboot environment. uboot-envtools version
2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee
mutually exclusive access to the uboot environment. But the path /var doesn't
exist on the sysupgrade ramfs.

An upgrade on these devices fails since r36033 ("[package] uboot-envtools:
upgrade to version 2013.01.01") with following messages:

 Error opening lock file /var/lock/fw_printenv.lock
 failed to update U-Boot environment

Creating the "/var/lock" path before running fw_setenv is therefore a
requirement unless the locking functionality in fw_setenv is removed or
replaced with optional locking.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38483
2013-10-20 15:59:05 +00:00
Gabor Juhos
68e13de37d ar71xx: fix WLAN 5 GHz LED init on dir-825-c1
Fixes the 5 GHz LED.

The same function has no effect on the 2.4 GHz LED at all, so we might
as well remove it.

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

SVN-Revision: 38482
2013-10-20 15:59:04 +00:00
Jo-Philipp Wich
e855d498e3 x86: fix condition in base-files.mk
TARGET_x86_generic_Soekris48xx is not defined,
CONFIG_TARGET_x86_generic_Soekris48xx is

This changes makes it possible to override the network config for soekris net48xx
and net45xx targets.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38450
2013-10-18 11:45:33 +00:00
Luka Perkov
ee5b7c2859 imx6: reorganize build system
Changes include:

 * switching to profiles
 * adding ubifs support
 * building image for GW54XX board

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

SVN-Revision: 38441
2013-10-18 00:02:45 +00:00
Luka Perkov
59eb6137dd build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38439
2013-10-17 15:45:41 +00:00
Felix Fietkau
0b57c1ccc6 x86: Update kernel for alix2 to 3.10.15
Without this patch, the patch
target/linux/generic/patches-3.10/770-bgmac-backport.patch
would not apply.

Signed-off-by: Tobias Steinicke <tsteinicke@net.t-labs.tu-berlin.de>

SVN-Revision: 38438
2013-10-17 14:03:11 +00:00
Luka Perkov
416d58a3d6 imx6: fix file names when building images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38434
2013-10-17 11:54:52 +00:00
Luka Perkov
0102284bbd imx6: enable FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38432
2013-10-16 21:23:27 +00:00
Luka Perkov
acdb0ac35c build: move mkits.sh script to more common place
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38430
2013-10-16 10:29:50 +00:00
Luka Perkov
39ba5482d0 imx6: enable fixed voltage reulator
Fixed voltage regulator support is required by several drivers that have
regulator consumers, such as the sgtl5000 audio codec used on many i.MX6
boards.

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

SVN-Revision: 38426
2013-10-16 03:25:58 +00:00
Luka Perkov
0a0ac79cb7 imx6: add support for gw52xx
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
 * 2x PCIe
 * 1x USB EHCI (to PCIe socket2)
 * 1x USB OTG (to front panel or PCIe socket1)
 * 1x uSD
 * LVDS
 * HDMI AudioVideo out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller

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

SVN-Revision: 38425
2013-10-16 03:25:57 +00:00
Luka Perkov
365ed4d22f imx6: dts: update ventana dts
- fix spi chipselect for GW5400-A
- fix audmux pinctrl for GW54xx
- remove unused alias nodes
- remove unused regulator nodes (will be adding pmic nodes next)
- remove duplicate eeprom entries
- add regulator definitions
- fix sgtl5000 regulator reference
- add egalax touchscreen controller interrupt
- fix gw5400-a audmux pinctrl
- fix usb ehci alias

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

SVN-Revision: 38424
2013-10-16 03:25:55 +00:00
Luka Perkov
662e3943ff imx6: split out ventana init patch from devicetree
SVN-Revision: 38423
2013-10-16 03:25:54 +00:00
Luka Perkov
adb70acecb imx6: add pfuze100 regulator support
- backport driver
- apply patch to allow misprogrammed parts
- enable driver in kernel

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

SVN-Revision: 38422
2013-10-16 03:25:52 +00:00
Luka Perkov
88590e4cb7 imx6: minor (cosmetic) changes in uci-defaults
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38421
2013-10-16 03:25:51 +00:00
Luka Perkov
3365d89817 imx6: add back bootargs
They make our life easier when testing ramdisk images.

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

SVN-Revision: 38420
2013-10-16 03:25:49 +00:00
John Crispin
9a97c56535 ralink: fix default vlan mapping for MT7620a_MT7610e
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38418
2013-10-15 14:56:49 +00:00
Felix Fietkau
21fe2b7c5b mpc85xx: revert the napi polling code to the one from an older kernel version to fix stability issues (#14020)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38409
2013-10-15 11:20:06 +00:00
Zoltan Herpai
d75f9ca58a imx23: build DCP crypto co-processor support by default
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38408
2013-10-14 22:43:50 +00:00
Zoltan Herpai
9e2b69139b mxs: add support for I2SE Duckbill devices
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38407
2013-10-14 21:22:40 +00:00
Zoltan Herpai
bea9d64f4a mxs: improve image generation support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38406
2013-10-14 21:00:01 +00:00
Zoltan Herpai
fed363b6be mxs: enable device tree support in /proc
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38405
2013-10-14 19:53:06 +00:00
Luka Perkov
ad7564142d kirkwood: drop 3.3.x kernel version
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38404
2013-10-14 19:46:45 +00:00
Luka Perkov
73246d2f64 kirkwood: upgrade to 3.10.15
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38402
2013-10-14 19:46:40 +00:00
Zoltan Herpai
07043a853a imx23: rename imx23 to mxs for upcoming imx23/28 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38394
2013-10-14 19:01:23 +00:00
Hauke Mehrtens
f023c09699 brcm47xx: activate ARP daemon support
This just add some bytes to the kernel and is activated on other targets.

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

SVN-Revision: 38388
2013-10-13 22:46:18 +00:00
Hauke Mehrtens
dd3f451d55 cobalt: do not build userland with support for mips1
Without specifying -march gcc uses -march=mips1 by default, but that
causes problems when compiling openssl. Use -march=r5000 instead to
compile a userland optimized for the CPU used on this device.

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

SVN-Revision: 38386
2013-10-13 22:10:57 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Hauke Mehrtens
551a250e58 brcm47xx: fix detection of some boards
This adds some more boards.

This fixes parts of #14316 and #14133.

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

SVN-Revision: 38383
2013-10-13 19:27:24 +00:00
Vasilis Tsiligiannis
aac26bfbca ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

SVN-Revision: 38382
2013-10-13 18:39:09 +00:00
Luka Perkov
8c2f571ddd kirkwood: enable appended dtb (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38379
2013-10-13 03:35:13 +00:00
Luka Perkov
c808a4a7ef ubifs: enable building modular images
Now it is possible to build ubi/ubifs images for only selected boards inside
single target.

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

SVN-Revision: 38375
2013-10-12 21:44:48 +00:00
Jonas Gorski
06382c5b15 ar7: drop linux 3.9 support
Linux 3.9 is EOL since quite a while, no need to keep support for it.

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

SVN-Revision: 38370
2013-10-12 10:50:47 +00:00
Jonas Gorski
5ba5efcd9b ar7: add support for linux 3.10 and switch to it
Run tested on WAG354Gv2.

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

SVN-Revision: 38369
2013-10-12 10:50:44 +00:00
Jonas Gorski
c08dc5bffa mvswitch: fix compilation for linux 3.10
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38368
2013-10-12 10:50:39 +00:00
Imre Kaloz
5f272ca813 make the generated images actually flashable on the Unifi devices.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38364
2013-10-11 15:41:42 +00:00
Jo-Philipp Wich
0c2ce3f37a x86: kvm: disable squashfs and jffs2 images by default
SVN-Revision: 38355
2013-10-10 14:40:52 +00:00
Hauke Mehrtens
a05d20a60f kernel: add default config for ARM_ERRATA symbols for kernel 3.3
Commit r37470 did not add a default conig for the ARM_ERRATA symbols for kernel 3.3.

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

SVN-Revision: 38352
2013-10-10 11:13:54 +00:00
John Crispin
b93e5498ae ralink: fixes mpr a1/a2 network setup
Signed-off-by: Suschman <suschman@gmx.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38348
2013-10-09 10:08:52 +00:00
John Crispin
e382d2c7e6 ralink: add support for the mt7530 eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38345
2013-10-08 21:10:15 +00:00
John Crispin
697bb191b0 ralink: add missing header file to mt7530 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38344
2013-10-08 21:10:00 +00:00
John Crispin
654dfb1784 lantiq: fix up diag.sh
init no longer exists as a parameter

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

SVN-Revision: 38342
2013-10-08 15:28:33 +00:00
John Crispin
715b62ebad lantiq: experia v8 fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38328
2013-10-07 15:03:00 +00:00
John Crispin
81fb43d2f1 lantiq: fix fritz3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38327
2013-10-07 15:02:56 +00:00
John Crispin
ae225124c6 lantiq: fix fritz image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38326
2013-10-07 15:02:52 +00:00
John Crispin
1398a5d849 lantiq: fix eva partition split for squashfs
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38325
2013-10-07 15:02:48 +00:00
John Crispin
c903de043e ralink: fix asiarf image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38324
2013-10-07 15:02:44 +00:00
John Crispin
ddcb800018 ralink: split mt7530 driver out of the gsw driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38323
2013-10-07 15:02:39 +00:00
John Crispin
c077698e38 ralink: build recovery images for dcs930 ip cam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38322
2013-10-07 15:02:35 +00:00
John Crispin
420c62205b ralink: DIR610A1 Fix remaining issues
This patch fixes:

 - Ethernet and Wireless LEDs
 - Wireless MAC Address
 - Remove whitespaces from dts file

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 38321
2013-10-07 15:02:31 +00:00
John Crispin
5eacfc1c60 ralink: MT7620 eval board pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38320
2013-10-07 15:02:27 +00:00
John Crispin
cc58dd26d3 ralink: make cevt systick selectable via kconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38319
2013-10-07 15:02:23 +00:00
John Crispin
baf9d53792 ralink: fix mt7620a pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38318
2013-10-07 15:02:18 +00:00
Hauke Mehrtens
64c2bc256c brcm47xx: Cocci spatch "noderef"
sizeof when applied to a pointer typed expression gives the size of the
pointer.
Found by coccinelle spatch "misc/noderef.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>

SVN-Revision: 38312
2013-10-07 00:01:01 +00:00
Hauke Mehrtens
2402f8a9ee brcm47xx: move clock detection patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38311
2013-10-07 00:00:10 +00:00
Hauke Mehrtens
4c193a30ce brcm47xx: move and rename nvram gpio patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38310
2013-10-06 23:57:11 +00:00
Hauke Mehrtens
b201818044 brcm47xx: update early printk patches
Early printk was disabled because it caused hangs on some devices, the
old patches were using the CFE console now we use the normal serial
console, it is at a constant address.

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

SVN-Revision: 38309
2013-10-06 23:55:35 +00:00
Hauke Mehrtens
ebf0778721 brcm47xx: update board detection patches
Add patches like they are currently in the mainline mips tree and add
some more pending patches for board detection.

* Now the board name is shown under machine in /proc/cpuinfo.

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

SVN-Revision: 38308
2013-10-06 23:51:24 +00:00
Hauke Mehrtens
53a2c19c69 kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38307
2013-10-06 22:35:28 +00:00
Hauke Mehrtens
2c5e4aa6ad brcm47xx: b44: fix some problems with the phy
* do not try initialize a unused phy
* some improvements to the phylib patch
* do not turn the phy off when mac is off

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

SVN-Revision: 38306
2013-10-06 18:31:32 +00:00
Luka Perkov
fa3ab0c237 kirkwood: add support for UBI (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38301
2013-10-04 03:45:52 +00:00
Luka Perkov
60dd4429b7 imx6: update upstream pcie patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38298
2013-10-03 13:06:42 +00:00
Luka Perkov
5617993e10 kirkwood: enable dts compilation
In 3.10 we might build those, so for now just add this functionality.

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

SVN-Revision: 38297
2013-10-03 02:50:03 +00:00
Luka Perkov
a30df8987d kirkwood: fix initramfs images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38296
2013-10-03 02:50:02 +00:00
Luka Perkov
38936426f7 kirkwood: update patches and configuration (3.10)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38295
2013-10-03 02:50:00 +00:00
Hauke Mehrtens
97b15fc45b brcm47xx: add support for ipv6 in default network config
Modify /etc/init.d/netconfig to use UCI defaults for building the
default network config, which includes appropriate defaults for IPV6.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38294
2013-10-02 23:22:18 +00:00
Hauke Mehrtens
9e5eeb3c38 kernel: bgmac: fix BCM4707 patch
The bool logic was the wrong way around.

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

SVN-Revision: 38292
2013-10-02 23:12:46 +00:00
Hauke Mehrtens
101034fa23 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38291
2013-10-02 22:26:43 +00:00