Felix Fietkau
a04caa9327
musl: fix getopt optional argument processing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 11:03:20 +00:00
Rafał Miłecki
9c2251891b
bcm53xx: switch RT-N18U firmware to the UBI
...
According to the ticket #18152 it also uses NAND with 0x20000 erase size
and 0x800 page size.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 22:09:40 +00:00
Felix Fietkau
07c8649499
netifd: update to the latest version, fixes link status handling on VLAN devices ( #18106 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 20:09:35 +00:00
Felix Fietkau
6ae004207b
base-files: fix telnet login on musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 15:07:19 +00:00
Felix Fietkau
50b9e7832e
rpcd: add 802.11ac for iwinfo
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 13:55:11 +00:00
Felix Fietkau
95672f9712
binutils: remove linaro version string, it confuses gcc lto support detection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:43:08 +00:00
Felix Fietkau
32189f3e54
gcc: update 4.9 to linaro 2014.10
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:42:59 +00:00
John Crispin
058c79e407
openssl: host build fails when ccache is enabled
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:19:53 +00:00
John Crispin
f16cd1a9e5
hostapd: Add wpa_psk_file option to netifd.sh
...
The wpa_psk_file option offers the possibility to use a different WPA-PSK key for each client. The directive points to a file with the following syntax:
mac_address wpa_passphrase_or_hex_key
Example:
00:11:22:33:44:55 passphrase_for_client_1
00:11:22:33:44:67 passphrase_for_client_2
00:11:22:33:44:89 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
So it is possible to specify both ASCII passphrases and raw 64-chars hex keys.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:19:21 +00:00
Imre Kaloz
cbc5f498cd
[comgt]: fix compile against musl
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 10:00:02 +00:00
Felix Fietkau
a9160b7360
prereq-build: rename the openssl check to libssl, add back the old check - it is required after all
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:23:55 +00:00
Felix Fietkau
6c36b1d9d0
firmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:36 +00:00
Felix Fietkau
c0464fcf03
Revert "openssl: add host build."
...
This reverts commit r42988
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:21 +00:00
Felix Fietkau
2b7618dbe6
tools: revert faulty dependency on package stuff
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:02 +00:00
Felix Fietkau
1ce5222054
prereq-build: replace the openssl command check with a check for headers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:17:56 +00:00
John Crispin
669f224beb
ramips: revert 1d5afc012e9d3eef0b113e1a89cff7508b731f90
...
the submitted patch was bogus
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:48:51 +00:00
John Crispin
27802dad51
ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:58 +00:00
John Crispin
96ea58bf32
ramips: add comments for image/Makefile.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:51 +00:00
John Crispin
b677d14781
ar71xx: add comments for Image/BuildLoader{, Alone}.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:44 +00:00
John Crispin
4cd9d06c9c
firmware-utils: restore compilation of mkhilinkfw.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:38 +00:00
John Crispin
a762173207
openssl: add host build.
...
Only support Linux at the moment.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:27 +00:00
John Crispin
ff763853bc
build: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:21 +00:00
John Crispin
a5fc2d42b8
firmware-utils: fix compilation warnings.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:13 +00:00
John Crispin
c23daabb8c
failsafe-mode: print short help on commandline
...
[base-files] failsafe-mode: print short help on commandline
Like mentioned in ticket https://dev.openwrt.org/ticket/11911
this should make the IRC much quieter. Failsafe is somehow
special and even experienced users are helpless, because they
are not used to this seldom situation. Also: likely you have
no internet access in this mode, so you cannot use the wiki.
a failsafe-session now looks like this:
first we see from 'package/base-files/files/bin/login.sh' the hint:
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
after this the /etc/banner ("OpenWrt - wireless freedom")
and then the new text:
================= FAILSAFE MODE active ================
special commands:
* firstboot reset settings to factory defaults
* mount_root mount root-partition with config files
after mount_root:
* passwd change root's password
* /etc/config directory with config files
for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================
this supersedes the old patches:
http://patchwork.openwrt.org/patch/3337/
http://patchwork.openwrt.org/patch/3553/
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:05 +00:00
John Crispin
9b1894c42f
kernel: add another missing symbol for 3.14
...
SENSORS_VEXPRESS is masked by HWMON
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:57 +00:00
John Crispin
12fd40cbfd
ramips: add support for Nexx WT3020 devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:48 +00:00
John Crispin
06de14dded
ramips: sort boards in upgrade/platform.sh alphabetically
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:39 +00:00
Felix Fietkau
19cb89c9a0
iproute2: fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 23:04:17 +00:00
Felix Fietkau
d7be7f6241
authsae: fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 23:04:02 +00:00
Felix Fietkau
500725cc51
gdb: update to version 7.8, fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 22:49:42 +00:00
Felix Fietkau
97249405f8
valgrind: update to the latest version, fix musl support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 22:35:27 +00:00
Felix Fietkau
fb600aedfd
toolchain: mark musl as non-broken
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:57:28 +00:00
Felix Fietkau
069e264caa
base-files: fix ldd definition if /usr/bin/ldd exists
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:46:08 +00:00
Felix Fietkau
8536f53c68
toolchain: drop the mips softfloat symlink hack
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:46:03 +00:00
Felix Fietkau
e34f086b82
toolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/ldd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:58 +00:00
Felix Fietkau
911415a0a0
gcc: do not assume that the Mac OS X filesystem is case insensitive
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:51 +00:00
Felix Fietkau
e2048f6c80
mountd: explicitly link libubox (needed by libuci)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:45 +00:00
Felix Fietkau
493c3bb1c7
musl: update to version 1.1.5
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:41 +00:00
Felix Fietkau
2402885a09
gcc: update, split and rework 4.9 musl patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:36 +00:00
Felix Fietkau
c9527a6a03
gcc: update, split and rework 4.8 musl patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:28 +00:00
Jo-Philipp Wich
1de7d3dadd
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 20:28:43 +00:00
Jo-Philipp Wich
826c353963
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 17:58:46 +00:00
Jo-Philipp Wich
fc13c5df1c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 17:46:37 +00:00
Jo-Philipp Wich
02ef17870c
x86_64: sysupgrade: consider hdX and vdX devices as well
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 17:13:50 +00:00
Felix Fietkau
2e352aab13
openssl: add ABI_VERSION to fix package rebuild issues ( fixes #18169 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 16:19:07 +00:00
Felix Fietkau
78bf28895b
gcc: backport an upstream fix for extern vars with local weak definitions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 16:18:56 +00:00
Felix Fietkau
5e574fc33f
polarssl: do not build the unused programs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 09:43:31 +00:00
Felix Fietkau
48fe35fed7
rpcd: update to the latest version, fixes build after libubox update
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:46:00 +00:00
Felix Fietkau
e99ea7b270
ramips: fix usercfg partition offset for WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:45:56 +00:00
Felix Fietkau
f5a97a37e3
ar71xx: disable irq on reboot to fix hang issues ( fixes #17839 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 19:25:30 +00:00