Commit graph

30740 commits

Author SHA1 Message Date
John Crispin
67c83a6595 x86: add missing symbol to xen_domu
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45016
2015-03-26 10:59:10 +00:00
John Crispin
b98c198883 toolchain: fix eglibc build when TOOLCHAINOPTS is not set
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45015
2015-03-26 10:59:04 +00:00
John Crispin
2d994f2fdc cobalt: enable bridge
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45014
2015-03-26 10:58:59 +00:00
John Crispin
b1e19ee445 lua: fix eglibc reference
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45013
2015-03-26 10:58:52 +00:00
John Crispin
eadb51fa98 mdns: add jail and seccomp support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45012
2015-03-26 10:58:44 +00:00
John Crispin
f5e2b62ab7 dnsmasq: add jail support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45011
2015-03-26 10:58:30 +00:00
John Crispin
e85b93d9b8 procd: add jail support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45010
2015-03-26 10:58:25 +00:00
John Crispin
4cf7929869 base-files: add a init.d option that will start the syscall tracer
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45009
2015-03-26 10:58:17 +00:00
John Crispin
5b23cfab73 base-files: create jail folder on boot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45008
2015-03-26 10:58:11 +00:00
John Crispin
c67144cc05 kernel: extend seccomp with a LOG action
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45007
2015-03-26 10:58:03 +00:00
John Crispin
d95e0687aa include: add a seccomp filter install wrapper
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45006
2015-03-26 10:57:56 +00:00
John Crispin
006f8c9446 kernel: cleanup seccomp symbol selection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45005
2015-03-26 10:57:51 +00:00
John Crispin
384eb8ce7d uclibc: add LD_PRELOAD support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45004
2015-03-26 10:57:44 +00:00
Felix Fietkau
414e8ba634 bcm53xx: use the correct kernel image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45003
2015-03-26 10:42:36 +00:00
Imre Kaloz
af69bf56b6 drop 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45002
2015-03-26 09:42:59 +00:00
Steven Barth
6c0d6a3cb3 odhcp6c: various small fixes
SVN-Revision: 45001
2015-03-25 18:24:54 +00:00
Felix Fietkau
34b51b6f6f ar71xx/image: move wdr3500/wdr3600/wdr4300 to new building code
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 45000
2015-03-25 17:58:14 +00:00
Felix Fietkau
8d2d62ca95 ar71xx/image: add tplink device template for new building code
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 44999
2015-03-25 17:58:10 +00:00
Felix Fietkau
41785176ec ar71xx/image: add Build/mktplinkfw as buildstep for new build code
Use `mktplinkfw sysupgrade` or `mktplinkfw factory` or
`mktplinkfw image`

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 44998
2015-03-25 17:58:05 +00:00
Felix Fietkau
d973d160bf include/image.mk: define variable FILESYSTEM
Set it to the filesystem which is build. mktplinkfw need to know which filesystem
is used.
FILESYSTEM can be squashfs, jffs2-64k, ...

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 44997
2015-03-25 17:58:00 +00:00
Felix Fietkau
48c69e3022 bcm53xx: convert to new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44996
2015-03-25 17:57:44 +00:00
Jonas Gorski
8ffc831bef brcm63xx: use a lookup for bcmcia's ready gpio
Should fix pcmcia on BCM6348 and BCM6358 after switching to DT-probed
gpio controllers.

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

SVN-Revision: 44995
2015-03-25 15:37:38 +00:00
Jonas Gorski
1e07f8c7ff brcm63xx: fix bcm96328avng board name
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44994
2015-03-25 15:36:26 +00:00
Jonas Gorski
4dc169f9a2 brcm63xx: fix bt v2500v dts based detection
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44993
2015-03-25 15:36:15 +00:00
Jonas Gorski
10cdfd04e6 brcm63xx: move RTA770(B)W to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44992
2015-03-25 15:36:12 +00:00
Jonas Gorski
0e4c1ba284 brcm63xx: move MAGIC to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44991
2015-03-25 15:36:05 +00:00
Jonas Gorski
582dfc52f5 brcm63xx: move CPVA502+ to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44990
2015-03-25 15:35:57 +00:00
Jonas Gorski
46b4d4d1d5 brcm63xx: move dg834g v4 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44989
2015-03-25 15:35:43 +00:00
Jonas Gorski
30a579c674 brcm63xx: move dsl-2640u to dts
Also build image again(?).

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

SVN-Revision: 44988
2015-03-25 15:35:37 +00:00
Jonas Gorski
16ea19053a brcm63xx: move bcm963268bu_p300 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44987
2015-03-25 15:35:24 +00:00
Jonas Gorski
ad218d3033 brcm63xx: fix compilation on 3.14
Fixes the following issue:

drivers/gpio/gpio-bcm63xx.c: In function 'bcm63xx_gpio_probe':
drivers/gpio/gpio-bcm63xx.c:80:4: error: implicit declaration of function 'devm_kasprintf' [-Werror=implicit-function-declaration]

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

SVN-Revision: 44986
2015-03-25 15:35:15 +00:00
Jonas Gorski
2d3371cd0f brcm63xx: Add BT Home Hub 2A support.
Support for the BT HomeHub 2.0 Type A.

This router was manufactured by Thomson, and it's BCM6358 based.
The leds are controled by two chained HC594, all working ok. The BCM5325
switch has the RESET# pin wired to the GPIO15, but currently there is no
way to tell the b53 driver how to get this gpio number in brcm63xx,
therefore swconfig won't use it when performing a switch reset.

The patch was tested with several firmwares, and all except unsupported
stuff (i.e xDSL) works pretty well.

Tested-by: Tahir <tahir00ali@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

SVN-Revision: 44985
2015-03-25 15:35:12 +00:00
Jonas Gorski
065d6e9047 brcm63xx: move kernel load address to 8MiB
Fixes boot when uncompressed kernel is > 4 MiB (#19251).

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

SVN-Revision: 44984
2015-03-25 15:34:59 +00:00
Jonas Gorski
ee0140a678 brcm63xx: hcsimage: respect load address
Respect the vmlinux load address when generating images.

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

SVN-Revision: 44983
2015-03-25 15:34:45 +00:00
Jonas Gorski
d84fafb9f3 brcm63xx: add Livebox 1 firmware image generation
Currently there isn't images ready for flashing liveboxes boards. This
patch adds a script and the code to call it in the  bcm63xx images
builder makefile to generate the livebox 1 firmware.

I removed some lines to avoid generating unneded files in the bin/ dir
for this board. And added code to generate a squashed rootfs aligned to
64 kB since the current one in the /bin dir is 128 kB aligned and
doesn't work. Still no sysupgrade support for this board. Upgrading from
within openwrt can be done writing with mtd the kernel, and then the 64k
aligned rootfs.

Regards

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: use sed instead of a separate shell script for the boot script, make it
 respect the load address]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44982
2015-03-25 15:34:40 +00:00
Jonas Gorski
77e3d442b0 brcm63xx: add a dummy image recipe for boards missing proper images
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44981
2015-03-25 15:34:26 +00:00
Jonas Gorski
02d68c2b57 brcm63xx: drop non-dtb image recipe
All images generated contain dtbs, so it is now unused.

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

SVN-Revision: 44980
2015-03-25 15:34:23 +00:00
Felix Fietkau
ab43a5abd0 image.mk: allow image build code to run a per-filesystem prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44979
2015-03-25 14:30:53 +00:00
Felix Fietkau
fafa3f57e3 kernel: merge upstream bgmac driver improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44978
2015-03-25 14:30:46 +00:00
Felix Fietkau
68ca1f285c bcm53xx: enable the full-line-of-zero optimization in the cache controller
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44977
2015-03-25 14:30:40 +00:00
Felix Fietkau
2efb6be426 toolchain/glibc: remove broken eglibc 2.15 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44976
2015-03-25 14:29:23 +00:00
Felix Fietkau
6aba44bfe0 toolchain: drop obsolete references to the coldfire target
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44975
2015-03-25 14:29:17 +00:00
Gabor Juhos
621979b49f kernel: yaffs: use new_sync_{read,write} for 3.18+
Using the do_sync_{read,write} functions in conjunction
with the generic_file_{read,write}_iter causes a kernel
panic like this:

  root@OpenWrt:/# mount -t yaffs /dev/mtdblock5 /mnt
  [ 2884.110000] yaffs: dev is 32505861 name is "mtdblock5" rw
  [ 2884.120000] yaffs: passed flags ""
  root@OpenWrt:/# hexdump -vC -n 64 /mnt/kernel
  [ 2902.700000] CPU 0 Unable to handle kernel paging request at virtual \
    address 00000000, epc == 00000000, ra == 80129414
  [ 2902.710000] Oops[#1]:
  [ 2902.710000] CPU: 0 PID: 1030 Comm: hexdump Not tainted 3.18.9 #2
  [ 2902.710000] task: 878e7a20 ti: 868c6000 task.ti: 868c6000
  [ 2902.710000] $ 0   : 00000000 fffffff8 00000000 00000000
  [ 2902.710000] $ 4   : 868c7e70 868c7ea8 00000001 868c7f08
  [ 2902.710000] $ 8   : 00000038 80064f18 80072280 00000000
  [ 2902.710000] $12   : 7fa152b8 7709e3a0 00c42008 7709e3a0
  [ 2902.710000] $16   : 868c7f08 86a46000 00000010 878e7a20
  [ 2902.710000] $20   : 7705c4b0 00000010 00000000 00000000
  [ 2902.710000] $24   : 770960bc 7707dd78
  [ 2902.710000] $28   : 868c6000 868c7e58 7f8e7030 80129414
  [ 2902.710000] Hi    : 00000000
  [ 2902.710000] Lo    : ffffffff
  [ 2902.710000] epc   : 00000000   (null)
  [ 2902.710000]     Not tainted
  [ 2902.710000] ra    : 80129414 do_sync_read+0x7c/0xb4
  [ 2902.710000] Status: 1900dc03 KERNEL EXL IE
  [ 2902.710000] Cause : 00800008
  [ 2902.710000] BadVA : 00000000
  [ 2902.710000] PrId  : 00019750 (MIPS 74Kc)

Change the yaffs code to use the new_sync_{read,write} functions
instead.

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

SVN-Revision: 44974
2015-03-25 08:59:12 +00:00
Felix Fietkau
31b0f0be12 iproute2: fix build error with musl (#19302)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44973
2015-03-25 00:11:07 +00:00
Jo-Philipp Wich
f6c581cc3e automake: portability fixes
The rework of the host tools discovery caused automake to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated automake executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

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

SVN-Revision: 44972
2015-03-24 13:13:01 +00:00
Jo-Philipp Wich
e0c8e20f8c autoconf: portability fixes
The rework of the host tools discovery caused autoconf to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated autoconfig executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

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

SVN-Revision: 44971
2015-03-24 13:12:52 +00:00
Rafał Miłecki
8fdd0fb07c kernel: backport rest of bcma patches
This backports
bcma: allow disabling (not building) PCI driver
Revert "bcma: Kconfig: Let it depend on PCI"

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

SVN-Revision: 44970
2015-03-24 10:39:10 +00:00
Rafał Miłecki
a7724918c9 kernel: mac80211: backport bcma patch renaming IRQ control function
This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

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

SVN-Revision: 44969
2015-03-24 10:38:59 +00:00
Rafał Miłecki
a4d7571367 mark 3.10 targets as broken
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44968
2015-03-24 10:38:50 +00:00
Jo-Philipp Wich
437d710546 lldpd: add option to disable privilege separation
Helpful to disable when debugging lldpd crashes (when working on it).
When privilege separation is on, some crashes are stack-traced to
some privilege separation code.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 44967
2015-03-24 10:13:08 +00:00