aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
Commit message (Collapse)AuthorAgeFilesLines
* ppc4xx: remove booke-wdt watchdog packageChristian Lamparter2016-07-222-2/+2
| | | | | | | | 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>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: remove unneeded symbolsDirk Neukirchen2016-06-061-3/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* target/mpc85xx: check for 'generic' subtarget for initramfs image fileJohn Crispin2016-03-031-0/+2
| | | | | | | | | | | | | Copy 'cuImage.tl-wdr4900-v1-initramfs' only for the 'generic' subtarget. This is a follow-up to: http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=b889fe55c1844aec2c03da28fecb03e958c21f18 We build our initramfs images more rarely, so it took a while to catch this too. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 48892
* mpc85xx/tl-wdr4900: correct address of the gpio controllerJohn Crispin2016-02-261-1/+1
| | | | | | | | since linux 3.19 the address of the gpio-controller changed Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48794
* mpc85xx: fix TL-WDR4900 mac address assignment to match original firmwareFelix Fietkau2016-02-072-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48645
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48493
* kernel: clean up redundant SLUB/SLAB related defines for 4.4Felix Fietkau2016-01-212-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48443
* mpc85xx: update to linux 4.4, remove unnecessary patchesFelix Fietkau2016-01-1712-186/+53
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48297
* mpc85xx: Add PTP node for TL-WD4900 in device treeFelix Fietkau2016-01-171-0/+13
| | | | | | | | | | | | PTP requires at least one timer to be 1PPS so describe it. For testing, load kernel module gianfar_ptp and use ptp4l from linuxptp. Copied from FSL P1010RDB reference design. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> SVN-Revision: 48275
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753
* all: remove dummy ucidef_set_interface_loopback() from board.dJo-Philipp Wich2015-12-031-2/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47744
* board.d: remove redundant ucidef_set_interfaces_lan_wan() callsJo-Philipp Wich2015-12-031-1/+0
| | | | | | | | | | This removes calls to ucidef_set_interfaces_lan_wan() and ucidef_set_interfaces_lan() on boards where all relevant info can be inferred from the switch definition. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47722
* board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()Jo-Philipp Wich2015-12-031-2/+1
| | | | | | | | | | | | This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47721
* mpc85xx: fix up m25p80 device id (#21286)Felix Fietkau2015-12-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47691
* mpc85xx: fix typo added in r47676Jo-Philipp Wich2015-12-011-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47681
* mpc85xx: record board id and model name in /etc/board.jsonJo-Philipp Wich2015-11-301-0/+13
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47680
* mpc85xx: convert to ucidef_add_switch_ports()Jo-Philipp Wich2015-11-301-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47676
* mpc85xx: migrate network setup to board detection frameworkJo-Philipp Wich2015-11-201-7/+5
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47540
* target/mpc85xx: check if 'generic' subtarget for image file ↵John Crispin2015-10-051-2/+5
| | | | | | | | | | | cuImage.tl-wdr4900-v1 Only add 'cuImage.tl-wdr4900-v1' to KERNEL_IMAGES if the selected subtarget is 'generic'. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47109
* mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1John Crispin2015-07-091-0/+11
| | | | | | | | | This patch adds the RFKill GPIO control switch and enables another GPIO to control power supply to USB Ports by emulating an LED GPIO for WDR4900v1. Signed-off-by: Guo Wei Lim <alphasparc@gmail.com> SVN-Revision: 46279
* mpc85xx: disable SPE FPU support until musl gets support for it (fixes #19896)Felix Fietkau2015-07-081-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46268
* mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfigFelix Fietkau2015-05-251-0/+1
| | | | | | | | | | | | | | | | | Currently port 6 is shown as up 10MBit/half in LUCI and swconfig. Reason is that all bits in the port 6 config are zero. This means that also the aneg flag is not set and in this case ar8216_read_port_link hardcodes the link to be up. This is no real problem but a little annoying. To fix this initialize port 6 with the aneg bit enabled. This causes ar8216_read_port_link to evaluate the link status bit which is always zero for port 6 as no PHY is connected to this port. And it doesn't hurt as port 6 isn't connected to anything on TL-WDR4900. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45749
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-211-30/+0
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45711
* mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entryImre Kaloz2015-05-032-3/+2
| | | | | | | | | This also changes the MAC address to one of the adresses actually used by the stock firmware on one of the ethernet interfaces. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45599
* mpc85xx: gianfar: add mtd-mac-address supportImre Kaloz2015-05-031-0/+19
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45598
* mpc85xx: move newly created files from patch files to files directoryImre Kaloz2015-05-035-585/+525
| | | | | | | | This will make these files much more maintainable. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45597
* drop 3.19 supportImre Kaloz2015-03-2610-1258/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45002
* mpc85xx: drop 3.14 supportJohn Crispin2015-03-169-1203/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44818
* kernel: move KERNFS to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44615
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-063-3/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44614
* kernel: disbale HAMRADIO in generic configJohn Crispin2015-03-063-3/+0
| | | | | | | | | | | | | | | HAMRADIO enabled in all generic configs, but no one platform directly use related drivers/protocols. This symbol is only used for kmod-ax25 package modules. Furthermore, half of platforms explicitly disables this symbol, what silently disables build of modules for kmod-ax25 package. So disable HAMRADIO by-default in generic config, add it to kmod-ax25 package and remove it from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44613
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44612
* mpc85xx: add 3.19 supportJohn Crispin2015-02-2410-0/+1262
| | | | | | | | | | | | | It took very little to make the TL-WDR4900 work under 3.19: - config is the same as for 3.18 - only patch 210 had to be refreshed, the other patches are the same as for 3.18 - in /etc/config/wireless the path options need to be prefixed with "platform/" ('platform/ffe09000.pci/...') Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44517
* mpc85xx: add mpic timer clock frequency to avoid boot log warningJohn Crispin2015-02-221-0/+48
| | | | | | | | | | | | | | | | | MPIC timers are enabled in the config, however a devicetree clock setting is missing causing the following error: /soc@ffe00000/timer@41100: cannot get timer frequency. /soc@ffe00000/timer@42100: cannot get timer frequency. This patch adds the missing clock and avoids the error. It's a functional copy of this code do_fixup_by_compat_u32(blob, "fsl,mpic", "clock-frequency", get_bus_freq(0), 1); in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44501
* mpc85xx: set v3.18 as defaultJohn Crispin2015-02-191-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44496
* mpc85xx: add v3.18 supportJohn Crispin2015-02-179-0/+1207
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44485
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44305
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44304
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+4
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715
* mpc85xx: remove linux 3.10 supportFelix Fietkau2014-12-1311-1437/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43684
* mcp85xx/p1020: fixup config-defaultJohn Crispin2014-12-111-0/+19
| | | | | | | | this was missed during the 3.14 bump Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43628
* mpc85xx: fix another typo in the image makefileFelix Fietkau2014-12-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43625
* mpc85xx: add missing devicetree ranges property for ethernet devicesFelix Fietkau2014-12-111-0/+30
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43624
* mpc85xx: fix typo in image nameFelix Fietkau2014-12-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43622
* mpc85xx: fix initramfs imagesFelix Fietkau2014-12-112-8/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43620
* mpc85xx: update to linux 3.14Felix Fietkau2014-11-271-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43413
* mpc85xx: refresh linux 3.14 patchesFelix Fietkau2014-11-275-39/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43412
* mpc85xx: remove the PHY reset change patch (no longer necessary)Felix Fietkau2014-11-271-30/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43411