aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: use the correct kernel imageFelix Fietkau2015-03-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop 3.19 supportImre Kaloz2015-03-26217-37003/+0
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: various small fixesSteven Barth2015-03-251-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: move wdr3500/wdr3600/wdr4300 to new building codeFelix Fietkau2015-03-251-6/+33
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: add tplink device template for new building codeFelix Fietkau2015-03-251-0/+22
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: convert to new image building codeFelix Fietkau2015-03-251-63/+48
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm96328avng board nameJonas Gorski2015-03-251-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bt v2500v dts based detectionJonas Gorski2015-03-251-4/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move RTA770(B)W to dtsJonas Gorski2015-03-2548-265/+323
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move MAGIC to dtsJonas Gorski2015-03-2591-289/+303
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move CPVA502+ to dtsJonas Gorski2015-03-2535-32/+103
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move dg834g v4 to dtsJonas Gorski2015-03-2533-32/+125
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move dsl-2640u to dtsJonas Gorski2015-03-25103-315/+352
| | | | | | | | Also build image again(?). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move bcm963268bu_p300 to dtsJonas Gorski2015-03-2531-196/+115
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add a dummy image recipe for boards missing proper imagesJonas Gorski2015-03-251-1/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: merge upstream bgmac driver improvementsFelix Fietkau2015-03-253-0/+480
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/glibc: remove broken eglibc 2.15 supportFelix Fietkau2015-03-253-20/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: drop obsolete references to the coldfire targetFelix Fietkau2015-03-251-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: fix build error with musl (#19302)Felix Fietkau2015-03-251-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mark 3.10 targets as brokenRafał Miłecki2015-03-245-4/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-2415-97/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete references to the cris architectureFelix Fietkau2015-03-243-18/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete checks for avr32Felix Fietkau2015-03-241-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete !avr32 dependencyFelix Fietkau2015-03-241-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: remove avr32 supportFelix Fietkau2015-03-243-23/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove version 2.20.1 (only used by avr32)Felix Fietkau2015-03-2410-31205/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86_64: fix PARTUUID format with leading zerosJo-Philipp Wich2015-03-241-1/+1
| | | | | | | | | Otherwise the root device won't be found in 1/16 of the generated images (whenever the signature starts with a zero digit). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove defunct binutils default version selection for aarch64Felix Fietkau2015-03-241-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove 4.4.7 (only used by avr32)Felix Fietkau2015-03-2417-23285/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: remove targetFelix Fietkau2015-03-2412-375/+0
| | | | | | | | | It depends on obsolete compilers and only works on one device (an evaluation board). Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma with most patches from wireless-drivers-nextRafał Miłecki2015-03-242-14/+510
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport fixed_phy_register EXPORT fix from 3.19Rafał Miłecki2015-03-231-0/+30
| | | | | | | | | This fixes ERROR: "fixed_phy_register" [drivers/net/ethernet/broadcom/bgmac.ko] undefined! Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44954 3c298f89-4303-0410-b956-a3cf2f4a3e73