aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* apm821xx: tc654: add driver for Microchip TC654/TC655 PWM fan controllersChristian Lamparter2016-07-221-0/+1037
| | | | | | | | | | | | | | | | | | | This patch adds a hwmon driver for the Microchip TC654 and TC655 Dual SMBus PWM Fan Speed Controllers with Fan Fault detection. The chip is described in the DS2001734C Spec Document from Microchip. It supports: - Shared PWM Fan Drive for two fans - Provides RPM - automatic PWM controller (needs additional NTC/PTC Thermistors.) - Overtemperature alarm (when using NTC/PTC Thermistors) The TC654 is used by the Netgear WNDR47X0 to control its system fan. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: add support for the Western Digital MyBook Live SeriesChristian Lamparter2016-07-2220-2/+1006
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware Highlights: This patch adds support for Western Digital MyBook Live Series: CPU: AMCC PowerPC UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200, OPB=100, EBC=100 MHz) 32 kB I-Cache 32 kB D-Cache, 256 kB L2-Cache, 32 kB OnChip Memory Board: Apollo-3G - APM82181 Board, 1*SATA DRAM: 256 MB (2x NT5TU64M16GG-AC) FLASH: 512 kB (SST 39VF040) Ethernet: 1xRGMII - 1 Gbit - Broadcom PHY BCM54610 WARNING: The serial port needs a TTL/RS-232 v3.3 level converter! The MyBook Live Duo additionally features a 1x USB 2.0 host port and can support a second hard-drive. This target produces two images for a target. 1. ext4 image The extracted/raw image can be directly installed on the internal HDD via "dd if=img.ext4 of=/dev/sdX". This can either be done in place with the stock MyBook Live firmware via ssh. Or by removing the HDD and writing the image with a different PC. The the compressed images are useful for sysupgrade. 2. recovery.tar image for TFTP and Serial. extract the recovery.tar to a TFTP server directory. On the MyBook Live (Duo) serial port - Hit Enter during u-boot and insert: # setenv serverip 192.168.1.254; setenv ipaddr 192.168.1.1; run net_self Where 192.168.1.254 is your TFTP server. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7Christian Lamparter2016-07-221-0/+1088
| | | | | | | | | | This patch fixes the sata_dwc_460ex SATA driver which is used by the SATA controllers in the MyBook Live Series and WNDR4700. The code was backported from the upstream kernel. It can be dropped completely on 4.7+. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: dw_dmac: backport fixes and cleanups from 4.7Christian Lamparter2016-07-224-0/+2303
| | | | | | | | | | This patch fixes the dw_dmac dma engine which is used by the SATA controllers in the MyBook Live Series and WNDR4700. The code was backported from the upstream kernel. It can be dropped completely on 4.7+. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: add support for the Cisco Meraki MR24Chris Blake2016-07-2216-10/+732
| | | | | | | | | | | | | | | | | | | This patch adds support for the Cisco Meraki MR24 Access point to the apm821xx target. Board: MR24 - Meraki MR24 Cloud Managed Access Point CPU: APM82181 SoC 800 MHz (PLB=200 OPB=100 EBC=100) Flash size: 32MiB RAM Size: 128MiB Wireless: Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz Ethernet ports: 1x Gigabit Atheros AR8035 WARNING: The serial port needs a TTL/RS-232 v3.3 level converter! For flashing instructions, visit: <https://github.com/riptidewave93/Openwrt-MR24/blob/master/README.md#flashing> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* apm821xx: add support for the apm821xx device targetChris Blake2016-07-2215-0/+1178
| | | | | | | | This adds a new target for PowerPC APM82181 and APM82161 (464-based) boards, as well as adds support for the booke-wdt watchdog package. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ppc4xx: remove booke-wdt watchdog packageChristian Lamparter2016-07-225-18/+4
| | | | | | | | This patch gets rid of the booke watchdog kmod package. Instead the affected boards will enable it in their kernel configs. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* lantiq: fix image creation of P2812HNUF3 & BTHOMEHUBV3AMathias Kresin2016-07-221-2/+2
| | | | | | | | Both devices were converted to the new image build code but still using the LegacyDevice define. Therefore an image isn't created for the mentioned devices. Signed-off-by: Mathias Kresin <dev@kresin.me>
* libpcap: fix dependency of install-shared-so make targetMatthias Schiffer2016-07-211-16/+20
| | | | | | | | | | | | | There seems to be a situation in which a rebuild of libpcap.so is triggered in the install step of the libpcap Makefile. libpcap.so is the wrong target, leading to the build failure reported in [1]. Fix the dependency of install-shared-so to $(SHAREDLIB) so the build can succeed in this case. [1] https://dev.openwrt.org/ticket/19894 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* samba36: avoid picking up a dependency on libunwind (fixes GH #212)Felix Fietkau2016-07-211-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix an error on parsing radius_das_clientFelix Fietkau2016-07-212-1/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k: add NAPI supportFelix Fietkau2016-07-211-0/+642
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add a mesh related fixFelix Fietkau2016-07-211-0/+42
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: enable CONFIG_SND_PROC_FS by default (FS#54)Felix Fietkau2016-07-211-2/+2
| | | | | | Some user space code relies on it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc: disable libmpx to fix build errors on x86 with gcc 6.1Felix Fietkau2016-07-211-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add missing profile for the nand subtarget (FS#56)Felix Fietkau2016-07-211-0/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix WNDR4300v1 / WNDR3700v4 build (FS#56)Felix Fietkau2016-07-211-3/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix more image build code whitespace/tab issuesFelix Fietkau2016-07-211-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: strip DEVICE_ prefix from profiles (FS#55)Felix Fietkau2016-07-212-4/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix image builder profile override (FS#55)Felix Fietkau2016-07-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix tab vs whitespace issue in image building codeFelix Fietkau2016-07-211-180/+180
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove obsolete MultiProfile template codeFelix Fietkau2016-07-211-40/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: switch to the new image build codeFelix Fietkau2016-07-216-405/+127
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update bcma backporting changes up to 4.8Rafał Miłecki2016-07-204-3/+101
| | | | | | This allows building bcm47xxsflash on ARM. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: backport patch for MTD_BCM47XXSFLASH dependencyRafał Miłecki2016-07-202-0/+41
| | | | | | | This is required to update bcma without build breakage. One of bcma patches changes BCMA_SFLASH dependency. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ipq806x: clean up redundant initialization of core device image variablesFelix Fietkau2016-07-201-4/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: initialize BOARD_NAME and IMAGES, add it to DEVICE_VARSFelix Fietkau2016-07-201-1/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for specifying the VID header offset for UBIFelix Fietkau2016-07-202-1/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: remove obsolete jffs2 image build codeFelix Fietkau2016-07-201-16/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove obsolete reference to $(PROFILE)Felix Fietkau2016-07-201-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* config: remove options for including kernel/dtb in rootfsFelix Fietkau2016-07-201-41/+0
| | | | | | These options were a big design flaw to begin with Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: unconditionally install kernel images/dtb files into rootfs (needed by ↵Felix Fietkau2016-07-202-18/+4
| | | | | | boards) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove obsolete code for including kernel/dtb in rootfsFelix Fietkau2016-07-201-45/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: remove obsolete code for including kernel/dtb in rootfsFelix Fietkau2016-07-201-11/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: remove obsolete kernel version supportFelix Fietkau2016-07-2012-2081/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove obsolete ubinize.cfg fileFelix Fietkau2016-07-201-13/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up redundant variables in the image building codeFelix Fietkau2016-07-201-15/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: get rid of useless ubifs/ubi option variablesFelix Fietkau2016-07-201-33/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: convert remaining xway NAND devices to new image build codeFelix Fietkau2016-07-201-65/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: convert AVM xrx200 devices to new image build codeFelix Fietkau2016-07-201-10/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: convert simple xrx200 devices to new image build codeFelix Fietkau2016-07-201-15/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add image build template for NAND devicesFelix Fietkau2016-07-201-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: simplify image building codeFelix Fietkau2016-07-201-34/+3
| | | | | | | | Specifying the device profile in PROFILES is unnecessary, and for all devices the DEVICE_PROFILE variable matched the device name. Get rid of this useless variable and set DEVICE_DTS to $(1) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix building NAND images in default configFelix Fietkau2016-07-201-35/+22
| | | | | | Remove remaining references to $(PROFILE) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for parameter passing to mkfs from devicesFelix Fietkau2016-07-201-3/+10
| | | | | | Will be used to support different ubifs parameters per device Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split legacy image mkfs.ubifs command from the one used for the new ↵Felix Fietkau2016-07-202-42/+54
| | | | | | image building code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split legacy image building code out of image.mkFelix Fietkau2016-07-202-37/+40
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2Felix Fietkau2016-07-201-1/+1
| | | | | | | If jffs2 support was not enabled by the target, jffs2 are quite likely to be broken, so we shouldn't build them. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: disable jffs2 support on xrx200Felix Fietkau2016-07-202-20/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: replace some template abstraction with make pattern rulesFelix Fietkau2016-07-201-14/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>