aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: prefer gpio-button-hotplug over button-hotplugJonas Gorski2015-03-011-1/+1
| | | | | | | | | Saves us pulling in the input system, shaving off a few kb from image sizes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: use subtarget configs for all kernelsRafał Miłecki2015-03-012-0/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: add 3.18 supportRafał Miłecki2015-02-28115-0/+15082
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ep93xx: add 3.18 supportRafał Miłecki2015-02-284-0/+1541
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc52xx: add 3.18 configRafał Miłecki2015-02-281-0/+305
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix DTS LEDs and buttonsJonas Gorski2015-02-286-20/+68
| | | | | | | | | | | | | - A4001N/A4001N1: fix swapped green and red LEDs - CVG834G: add missing LED - RTA1320: reorder LEDs by GPIO# - V2500V: add missing LEDs and buttons - WAP-5813n: fix WPS button (GPIO 35) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix ethernet breakage in 3.18Jonas Gorski2015-02-282-0/+54
| | | | | | | | | | | | Linux commit d75b1ade567ffab ("net: less interrupt masking in NAPI") chose the samantics of the napi poll return value, which caused napi to not resume interrups/polling anymore. Fix the return value to restore expected behaviour. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix BCM63268 interrupt register locations for legacy probeJonas Gorski2015-02-282-4/+4
| | | | | | | | | Legacy probe passed the IRQSTAT registers instead of the IRQMASK registers causing all register accesses to be offset by 16 bytes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix gpio register usageJonas Gorski2015-02-284-12/+12
| | | | | | | | | | The driver expected data then dir, but both dts and legacy code passed dir then data. Fix this by making the driver expect the registers in ascending order, i.e. dir then data. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc83xx: start work on 3.18 supportRafał Miłecki2015-02-2811-0/+4498
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omap: complete 3.18 supportRafał Miłecki2015-02-282-14/+602
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omap: start working on 3.18 supportRafał Miłecki2015-02-286-0/+635
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: backport and enable DT spi-gpio no CS supportJonas Gorski2015-02-277-12/+190
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix image generation and broken patchJonas Gorski2015-02-272-2/+4
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: fix mmap register read/writes > 32 bitJonas Gorski2015-02-271-34/+36
| | | | | | | | | | | | | | | | | | | | | | | For bcm63xx integrated switches, broadcom changed the data endianess to match the system endianess. But this only applies to within one word, which causes 48/64 bit values to be still split into their "litte endian" groups. E.g. 48 bit values (with 5 being the most significant byte) aligned 0x00 ..01 or 0123 0x04 2345 45.. will become 0x00 ..10 resp. 3210 0x04 5432 54.. Likewise for 64 bit values. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: remove gpio base workaroundJonas Gorski2015-02-272-68/+0
| | | | | | | | | Now that all gpio users without named gpios use DT, we do not need to fix the gpio controller bases anymore. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move buttons and leds to dts filesJonas Gorski2015-02-27191-5718/+3631
| | | | | | | | | | | | | | Register buttons and leds through DT for all available dts, and remove them from the board files. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: remove leds/buttons from board files fix wrong led polarities for dsl-274xb-c2, cpva642, p870hw comment out spi-gpio and associated leds] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: probe gpio controllers through DTJonas Gorski2015-02-2750-82/+1550
| | | | | | | | | | | | | | | | Add a generic mmio gpio controller based driver and probe it through device tree. Use aliases for base calculation until we converted all users to device tree or named gpios. Convert bcm63xx_enet's ephy-reset gpio to use a named gpio. While at it, remove the duplicate reset gpio defintion for livebox. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert BTV2500V to dtsJonas Gorski2015-02-2735-39/+99
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert RTA1320 to dtsJonas Gorski2015-02-2741-38/+93
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert RTA1025 to dtsJonas Gorski2015-02-273-2/+47
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use dtb for cvg834gJonas Gorski2015-02-274-14/+134
| | | | | | | | | | | | | Add a dtsi for bcm3368, add a dts and profile for cvg834g, and convert it to use ImageDTB. Since HCS requires more arguments, enhance the max arguments of the call. The image name is intentionally left blank to prevent non-initramfs images to be built, as they currently contain no rootfs and consequently won't work. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: image: move image argument to front in *DTB callsJonas Gorski2015-02-271-101/+101
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add dts and profile for LiveboxJonas Gorski2015-02-275-61/+119
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: allow lzma to use 32MB RAMJonas Gorski2015-02-271-4/+5
| | | | | | | | | | | | | Most 16 MiB RAM devices don't even load elf kernels, so it's safe to assume we have at least 32 MB RAM. This fixes tftp booting with the default package set as this already produces an uncompressed kernel > 8 MiB. New limit is 8 MiB compressed / 24 MiB compressed. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: mtd: move bcm963xx_tag definition into source codeJonas Gorski2015-02-2723-1592/+121
| | | | | | | | | | Remove the need for the header file to be exported - we don't need most of it anyway; all we care about are the offset of the rootfs length and header crc fields. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: do not align squashfs rootfs startJonas Gorski2015-02-275-100/+133
| | | | | | | | | | | | | We do not need to align the start of read only rootfs's to erase blocks. This allows us to write the squashfs rootfs directly behind the kernel, potentially freeing up one erase block. We still need to align for jffs2, so add a flag for imagetag to optionally align the rootfs start. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: drop call to prepare_generic_squashfsJonas Gorski2015-02-271-3/+0
| | | | | | | | We do not use the result, so no need to call it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: imagetag: use cyg_crc32 instead of duplicating codeJonas Gorski2015-02-272-47/+5
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix 3.18+ if_bridge.h header conflict with muslFelix Fietkau2015-02-273-0/+30
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fixes musl compile errorFelix Fietkau2015-02-271-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: move tmp/.prereq-build to staging_dir/host to gracefully handle ↵Felix Fietkau2015-02-271-4/+4
| | | | | | | | staging_dir deletion Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix segmentation fault in insmodJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Fix segfault in kmodloader insmod mode due to uninitialized module directory list. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: relay stderr to syslogJo-Philipp Wich2015-02-262-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add support for relaying daemon stdio to syslogJo-Philipp Wich2015-02-262-2/+5
| | | | | | | | | | | | | Procd enabled init scripts can now specify: procd_set_param stdout 1 procd_set_param stderr 1 ... to relay their respective standard IO streams to the system log. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: implement ulog_close() and call it on ulog_open()Jo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | This is required to properly update syslog idents when switching between log modes. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the block, mount_root etc. logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the kmodloader logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the procd logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: introduce generic logging apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to introduce the new ulog() logging api which supports early boot logging to dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd: honor tunlink in host dependencySteven Barth2015-02-262-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix some more null-pointer accessesSteven Barth2015-02-261-2/+2
| | | | | | | | thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix build with enabled ubifs extroot supportJo-Philipp Wich2015-02-251-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix multiple extroot problemsJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | - Support external overlays on non-MTD systems again - Account for new directory structure of overlayfs partitions (additional upper/ component) - Support executing block from either overlay or rom - Support loading fstab from either overlay or rom - Log extroot failures to dmesg Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* modules: make ahci-platform depend on TARGET_ipq806xJohn Crispin2015-02-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: kmodloader: support loading kmods from multiple directoriesJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | This is required during early boot in the extroot setup phase to support loading kmods from the overlay that depend on kmods on the rom partition. The subsequent mount_root updates will use the LD_LIBRARY_PATH env variable to pass kmod directories to kmodloader. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: refresh patchesImre Kaloz2015-02-247-14/+14
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: drop patches applied upstreamImre Kaloz2015-02-242-190/+0
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: drop 3.18 specifix dwc2 backportImre Kaloz2015-02-241-146/+0
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: the ubi patches has been fixed in the 3.19 patchset alreadyImre Kaloz2015-02-243-35/+9
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44529 3c298f89-4303-0410-b956-a3cf2f4a3e73