summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* base-files: add a init.d option that will start the syscall tracerJohn Crispin2015-03-261-1/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45009
* base-files: create jail folder on bootJohn Crispin2015-03-261-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45008
* kernel: extend seccomp with a LOG actionJohn Crispin2015-03-261-0/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45007
* include: add a seccomp filter install wrapperJohn Crispin2015-03-261-0/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45006
* kernel: cleanup seccomp symbol selectionJohn Crispin2015-03-261-7/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45005
* uclibc: add LD_PRELOAD supportJohn Crispin2015-03-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45004
* bcm53xx: use the correct kernel imageFelix Fietkau2015-03-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45003
* drop 3.19 supportImre Kaloz2015-03-26217-37003/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45002
* odhcp6c: various small fixesSteven Barth2015-03-251-2/+2
| | | | SVN-Revision: 45001
* ar71xx/image: move wdr3500/wdr3600/wdr4300 to new building codeFelix Fietkau2015-03-251-6/+33
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45000
* ar71xx/image: add tplink device template for new building codeFelix Fietkau2015-03-251-0/+22
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 44999
* ar71xx/image: add Build/mktplinkfw as buildstep for new build codeFelix Fietkau2015-03-251-0/+20
| | | | | | | | | Use `mktplinkfw sysupgrade` or `mktplinkfw factory` or `mktplinkfw image` Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 44998
* include/image.mk: define variable FILESYSTEMFelix Fietkau2015-03-251-0/+1
| | | | | | | | | | 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
* bcm53xx: convert to new image building codeFelix Fietkau2015-03-251-63/+48
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44996
* brcm63xx: use a lookup for bcmcia's ready gpioJonas Gorski2015-03-254-0/+236
| | | | | | | | | 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
* brcm63xx: fix bcm96328avng board nameJonas Gorski2015-03-251-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44994
* brcm63xx: fix bt v2500v dts based detectionJonas Gorski2015-03-251-4/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44993
* brcm63xx: move RTA770(B)W to dtsJonas Gorski2015-03-2548-265/+323
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44992
* brcm63xx: move MAGIC to dtsJonas Gorski2015-03-2591-289/+303
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44991
* brcm63xx: move CPVA502+ to dtsJonas Gorski2015-03-2535-32/+103
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44990
* brcm63xx: move dg834g v4 to dtsJonas Gorski2015-03-2533-32/+125
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44989
* brcm63xx: move dsl-2640u to dtsJonas Gorski2015-03-25103-315/+352
| | | | | | | | Also build image again(?). Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44988
* brcm63xx: move bcm963268bu_p300 to dtsJonas Gorski2015-03-2531-196/+115
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44987
* brcm63xx: fix compilation on 3.14Jonas Gorski2015-03-251-1/+1
| | | | | | | | | | | 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
* brcm63xx: Add BT Home Hub 2A support.Jonas Gorski2015-03-258-1/+218
| | | | | | | | | | | | | | | | | | 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
* brcm63xx: move kernel load address to 8MiBJonas Gorski2015-03-253-1/+69
| | | | | | | | Fixes boot when uncompressed kernel is > 4 MiB (#19251). Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44984
* brcm63xx: hcsimage: respect load addressJonas Gorski2015-03-251-1/+2
| | | | | | | | Respect the vmlinux load address when generating images. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44983
* brcm63xx: add Livebox 1 firmware image generationJonas Gorski2015-03-252-3/+40
| | | | | | | | | | | | | | | | | | | | | | 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
* brcm63xx: add a dummy image recipe for boards missing proper imagesJonas Gorski2015-03-251-1/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44981
* brcm63xx: drop non-dtb image recipeJonas Gorski2015-03-251-11/+0
| | | | | | | | All images generated contain dtbs, so it is now unused. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44980
* image.mk: allow image build code to run a per-filesystem prepare stepFelix Fietkau2015-03-251-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44979
* kernel: merge upstream bgmac driver improvementsFelix Fietkau2015-03-253-0/+480
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44978
* bcm53xx: enable the full-line-of-zero optimization in the cache controllerFelix Fietkau2015-03-251-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44977
* toolchain/glibc: remove broken eglibc 2.15 supportFelix Fietkau2015-03-253-20/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44976
* toolchain: drop obsolete references to the coldfire targetFelix Fietkau2015-03-251-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44975
* kernel: yaffs: use new_sync_{read,write} for 3.18+Gabor Juhos2015-03-253-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* iproute2: fix build error with musl (#19302)Felix Fietkau2015-03-251-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44973
* automake: portability fixesJo-Philipp Wich2015-03-243-5/+59
| | | | | | | | | | | | | 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
* autoconf: portability fixesJo-Philipp Wich2015-03-243-22/+84
| | | | | | | | | | | | | 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
* kernel: backport rest of bcma patchesRafał Miłecki2015-03-243-26/+67
| | | | | | | | | | 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
* kernel: mac80211: backport bcma patch renaming IRQ control functionRafał Miłecki2015-03-243-54/+272
| | | | | | | | | 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
* mark 3.10 targets as brokenRafał Miłecki2015-03-245-4/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44968
* lldpd: add option to disable privilege separationJo-Philipp Wich2015-03-243-0/+80
| | | | | | | | | | 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
* x86: use PARTUUID instead explicitly specifying the device by defaultJo-Philipp Wich2015-03-245-42/+57
| | | | | | | | | | | | | This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44966
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-2415-97/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44965
* toolchain: remove obsolete references to the cris architectureFelix Fietkau2015-03-243-18/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44964
* toolchain: remove obsolete checks for avr32Felix Fietkau2015-03-241-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44963
* toolchain: remove obsolete !avr32 dependencyFelix Fietkau2015-03-241-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44962
* uClibc: remove avr32 supportFelix Fietkau2015-03-243-23/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44961
* binutils: remove version 2.20.1 (only used by avr32)Felix Fietkau2015-03-2410-31205/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44960