Commit Graph

28907 Commits (c4979908344bc5d49e6b8ebef003b3c32d6bd284)
 

Author SHA1 Message Date
Felix Fietkau 1f85497423 gcc: update, split and rework 4.9 musl patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42970
10 years ago
Felix Fietkau 69c1568779 gcc: update, split and rework 4.8 musl patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42969
10 years ago
Jo-Philipp Wich 05abf01ac0 x86_64: fix invoking sysupgrade on PARTUUID mounted system
Fix sysupgrade to determine the correct boot block device to use if
/proc/cmdline contains a PARTUUID root.

Change the preinit move_config() hook to use the UUID scanning code
from sysupgrade in order to avoid code duplication.

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

SVN-Revision: 42968
10 years ago
Jo-Philipp Wich e2e2e54bfe x86_64: unbreak squashfs images
Enable the required squashfs and block2mtd support in the kernel in order
to be able to actually boot them.

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

SVN-Revision: 42967
10 years ago
Jo-Philipp Wich 1a376e9f1c x86_64: use default block2mtd timeout of 5s
If the underlying block device is a USB device it might require some
time to settle, observed when booting a squashfs image from sd card
on an Alix APU board.

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

SVN-Revision: 42966
10 years ago
Jo-Philipp Wich 226db60627 x86_64: sysupgrade: consider hdX and vdX devices as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42965
10 years ago
Felix Fietkau 0a7bd0c8b9 openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42963
10 years ago
Felix Fietkau 663ddf8f17 gcc: backport an upstream fix for extern vars with local weak definitions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42962
10 years ago
Felix Fietkau fedcfd0303 polarssl: do not build the unused programs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42960
10 years ago
Felix Fietkau 78e333ae20 rpcd: update to the latest version, fixes build after libubox update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42959
10 years ago
Felix Fietkau 35e9d448f2 ramips: fix usercfg partition offset for WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42958
10 years ago
Felix Fietkau a7ee0142e7 ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42955
10 years ago
Felix Fietkau b537205ea2 toolchain: fix binutils broken symlink
The Makefile for binutils creates a broken symlink to "binutils-linaro" in
"trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2".
Modify the Makefile to point the symlink to the correct directory.

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

SVN-Revision: 42954
10 years ago
Felix Fietkau e641bb026b mac80211: add a maintenance script for upstream backport commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42953
10 years ago
Felix Fietkau f0d9e712e4 mac80211: update to 2014-10-08
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42952
10 years ago
Steven Barth 6d3fd947e4 odhcpd: fix regression in dhcpv6 t1 and t2 calculation
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42951
10 years ago
Felix Fietkau b6086a3079 polarssl: add missing version bump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42949
10 years ago
Felix Fietkau e5daecce98 polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42947
10 years ago
Jo-Philipp Wich 45d2e6d5a0 x86_64: support sysupgrade config restore on PARTUUID mounted disks
Fix the move_config() procedure to properly find the corresponding disk if
the rootfs was mounted by PARTUUID instead of a device node.

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

SVN-Revision: 42946
10 years ago
Jo-Philipp Wich ce405e5757 x86_64: add kmod-r8169 to the default packages
This kmod is required by the Alix APU 1D4 to be reachable after
installing an x86-64 image.

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

SVN-Revision: 42945
10 years ago
Steven Barth f71f3afd20 odhcpd: multiple fixes
* Rewrite ndp proxy using kernel proxying
* Aid flash-renumbering in hybrid DHCPv6-mode
* Unicast RAs to RS senders
* Add support for router address

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42944
10 years ago
Steven Barth 99984eaeb3 hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42942
10 years ago
Rafał Miłecki 4fce5d1951 bcm53xx: image: switch Netgear and Buffalo devices to UBI
We still don't have a smart sysupgrade method, but at least we can use
UBI which provides some protection for rootfs (SquashFS).

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

SVN-Revision: 42941
10 years ago
Rafał Miłecki 150c200e91 bcm53xx: hack UBI to erase all dirty blocks left by CFE
UBI requires PEBs to be formatted (with a valid UBI header) or empty
(0xFF), however CFE doesn't clear blocks after flashing the image. To
workaround this problem, teach UBI to recognize EOF mark in a similar
way JFFS2 handles that in OpenWrt.

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

SVN-Revision: 42940
10 years ago
Rafał Miłecki 1ffe299eab bcm53xx: enable UBI and UBIFS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42939
10 years ago
Rafał Miłecki aa5b5153f9 bcm53xx: image: build UBI partition image
This could be used on NAND devices once we get UBI working.

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

SVN-Revision: 42938
10 years ago
Rafał Miłecki 241c098fa1 bcm53xx: image: specify flash type for all devices
This will allow us to add proper support for NAND one day.

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

SVN-Revision: 42937
10 years ago
Jo-Philipp Wich 299c8c3291 x86_64: initial support for PARTUUID
This change configures grub to mount the rootfs by PARTUUID instead of the
device path if CONFIG_TARGET_ROOTFS_PARTNAME is unset.

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

SVN-Revision: 42936
10 years ago
Jo-Philipp Wich cc97eaff10 sdk: improve feed setup
- Add current buildroot scm url as base feed to feeds.conf
 - Prefer feeds.conf over feeds.conf.default when generating the SDK feeds.conf.default

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

SVN-Revision: 42935
10 years ago
Jo-Philipp Wich 6358368500 firmware-utils: allow passing a specific MBR signature to ptgen
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42934
10 years ago
Jo-Philipp Wich 4f73613c26 build: improve feed handling for opkg.conf
- Consider not installed feeds as well
 - Add option to decide whether to comment disabled feeds

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

SVN-Revision: 42931
10 years ago
Jo-Philipp Wich 7949a3d381 openssl: update to v1.0.1j (CVE-2014-3513, CVE-2014-3567, CVE-2014-3568)
Also refresh patches and bump copyright year in Makefile.

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

SVN-Revision: 42929
10 years ago
John Crispin 666659fb31 default_postinst() fix wrong call of group_add
[base-files] default_postinst() fix wrong call of group_add
after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is
always called. shell scripting can be tricky...

wrong call:
[ -n "$gid" ] && group_exists $name || group_add $name $gid

this leads to a call of 'group_add' when $gid is emtpy, proof:

root@box:~ functionA() { echo A; }
root@box:~ functionB() { echo B; }
root@box:~ VAR=
root@box:~ [ -n "$VAR" ] && functionA || functionB
B
root@box:~ # functionB was called, but VAR is not filled
root@box:~ VAR=filled
root@box:~ [ -n "$VAR" ] && functionA || functionB
A

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42926
10 years ago
Rafał Miłecki 579b0d9c5b bcm53xx: add support for Buffalo WZR-600DHP2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42925
10 years ago
Rafał Miłecki 96a33c0dd7 bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42924
10 years ago
John Crispin d099a34980 base-files: default_postinst() force clear luci-indexcache
Inside every LuCI package you need to clear luci-indexcache and
sometimes when installing non LuCI pacakges it's also needed to clear
it. Easier put it into default_postinst().

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 42923
10 years ago
John Crispin 6e46fc8a38 wr1043nd-v2: Change .code of the wi-fi button to KEY_RFKILL
This patch changes the code of the Wi-Fi On/Off button on the TP-Link WR1043ND v2
from KEY_WLAN to KEY_RFKILL (and renames a few constants to match). The reason
for this change is, that the KEY_WIFI button code is not recognized by the
hotplug subsystem. This means that the userspace is not notified about the
button being pressed which effectively renders it useless.

Signed-off-by: Josef Gajdusek <atx@atx.name>

SVN-Revision: 42922
10 years ago
John Crispin 607b3cac36 package: add libnetfilter-log.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42921
10 years ago
John Crispin ddb9bf4bac lantiq xway: generate ramdisk image by default
The installation process on nand-based boards using ubi
like the BTHOMEHUBV2B makes use of a ramdisk image, so it
makes sense to generate this by default.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 42920
10 years ago
John Crispin 5efe2e5e3c base-files: the USERID code path did not check for duplicate groups
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42919
10 years ago
John Crispin a08f4367c0 procd: update to latest git
this adds the remaining patches that Michel Stam sent

Signed-off-by: Michel Stam <m.stam@fugro.nl>

SVN-Revision: 42918
10 years ago
John Crispin ea74a1119e libubox: update to latest git
this adds a new helper for setting/overriding the signal handlers

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

SVN-Revision: 42917
10 years ago
John Crispin 70be73e153 uClibc: Backport uClibc master git commit fd355bc1dbcb794ae1abf0fad1459e28d8567ba0 (eventfd.h: Use new "bits/" scheme for arch-specific flags)
This patch adds missing architecture-specific headers for use with
eventfd(2). Fixes #16679.

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>

SVN-Revision: 42916
10 years ago
John Crispin 70def60b04 ar71xx: fix seama factory type image generation.
Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the
computation of image's MD5 checksum as part of the seama header.  But
OpenWrt will erase blocks including and after the marker thus
invalidating the checksum after the first boot.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42915
10 years ago
John Crispin 24a0269b71 ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

	root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
	00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
	00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
	00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
	00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
	00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
	00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
	00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42914
10 years ago
John Crispin 13dce9817e udev/Config.in: help format, and fix spelling mistake
Formatting and spelling fixes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

SVN-Revision: 42913
10 years ago
John Crispin 064f50871b target/toolchain/Config.in: Clarify packaging of toolchain.
Change the "help" info to emphasize that this option refers
specifically to packaging the toolchain that would be built anyway.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

SVN-Revision: 42912
10 years ago
John Crispin 20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
10 years ago
John Crispin 8267c0e2ac rb532: switch to 3.14 and ath5k
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42910
10 years ago
John Crispin cc292d7de8 generic: fix yaffs compilation on 3.14
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42909
10 years ago