Commit Graph

25855 Commits

Author SHA1 Message Date
Gabor Juhos
0c740a80fd ar71xx: image: fix WNDR4300 initramfs image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38659
2013-11-05 18:41:20 +00:00
Gabor Juhos
c98db0707c ar71xx: image: allow to use optional parameters for MkuImageLzma/initramfs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38658
2013-11-05 18:41:18 +00:00
Imre Kaloz
cc4b946fa2 update for 3.12 final
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38657
2013-11-05 17:46:18 +00:00
Hauke Mehrtens
73ed236907 brcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500L
This closes #14367 and #14328.

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

SVN-Revision: 38656
2013-11-05 17:09:19 +00:00
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
2d31dc039a package/ubox: fix jffs2 handling on MTD devices emulated by gluebi
The jffs2_ready() function in mount_root.c checks
the presence of various JFFS2 markers at the start
of a given MTD device. The function works on NOR
flashes because JFFS2 puts 'cleanmarker' nodes at
the start of freshly erased blocks.

However if jffs2 is used on a MTD device emulated
by the gluebi layer, the 'cleanmarker' nodes are
not present and the jffs2_ready() function fails.

Update the code to handle jffs2 correctly even on
MTD devices emulated by the gluebi layer.

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

SVN-Revision: 38654
2013-11-05 16:31:12 +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
Luka Perkov
0edf22694e include: add more CPU flags for arm
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38649
2013-11-05 08:00:24 +00:00
Jo-Philipp Wich
5db9587b5f dnsmasq: fix backward compatibility with existing configs
Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.

Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".

SVN-Revision: 38648
2013-11-04 22:40:56 +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
a02ef5d05e kernel: fix dependencies of kmod-thermal
This depends on kmod-hwmon-core

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

SVN-Revision: 38639
2013-11-03 20:18:45 +00:00
Hauke Mehrtens
1f3c0f9c54 kernel: fix dependencies of usb-eth-gadget
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38638
2013-11-03 20:17:52 +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
Felix Fietkau
2c84ff42f7 openvpn: clean up and fix the init script
- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
  the uci file. this avoids having to restart all instances if only one
  of them changes.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38632
2013-10-31 17:36:24 +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
Felix Fietkau
e16f104a6f netifd: update to the latest version, fixes regression in proto-shell scripts (#14400, #14402)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38627
2013-10-31 11:22:01 +00:00
Imre Kaloz
b27b8b5bdd use a single package to build MLO/u-boot for all omap boards
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38626
2013-10-31 10:57:46 +00:00
Luka Perkov
ed676cf0ff uboot-imx6: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38625
2013-10-31 00:00:51 +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
Jo-Philipp Wich
8effe85ada cyassl: drop obsolete patches
SVN-Revision: 38610
2013-10-30 15:16:59 +00:00
Jo-Philipp Wich
5e8abac86f cyassl: upgrade to v2.8.0
Un-reverts the previous update commit and forward-ports the patch
to improve legacy SSLv2 handshake handling.

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

SVN-Revision: 38609
2013-10-30 13:19:48 +00:00
Felix Fietkau
fdfc296aaf ustream-ssl: update to the latest version, adds support for the current cyassl version (#14386)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38608
2013-10-30 12:56:47 +00:00
Felix Fietkau
ab9619b4c8 libubox: update to latest version, makes jshn roughly twice as fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38607
2013-10-30 11:25:05 +00:00
Felix Fietkau
22890e6382 netifd: update to latest version, adds fixes and some preparation for supporting wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38606
2013-10-30 11:25:01 +00:00
Hauke Mehrtens
b81685f0a4 kernel: add missing dependency for kernel 3.12 in tg3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38605
2013-10-30 09:50:13 +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
6b604495a4 uboot-ar71xx: make it depend on the generic ar71xx subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38599
2013-10-30 06:54:56 +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