aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update kernel 4.9 to 4.9.29Koen Vandeputte2017-05-212-3/+3
| | | | | | | | | | | | | - Refresh all patches - Removed upstreamed - Adapted 1 Compile tested on: bcm53xx, cns3xxx, imx6, lantiq Run tested on: cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [update from 4.9.28 to 4.9.29] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* target: mpc85xx: make kernel_menuconfigAlexandru Ardelean2017-05-021-14/+33
| | | | | | | It's the best method I know (so far) to refresh the kernel config to a default state. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* target: mpc85xx: tl_wdr4900_v1: drop 'fsl_rstcr_restart' hookAlexandru Ardelean2017-05-021-1/+0
| | | | | | | | | | | | Since commit: http://github.com/torvalds/linux/commit/7120438e5d82f445acbfe131a1b58eab7e83fa33 Seems that fsl_rstcr_restart() has been converted to a reset handler and dropped as hook/callback. Apply the same to the `tl_wdr4900_v1` target. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* target: mpc85xx: refresh kernel patchesAlexandru Ardelean2017-05-023-136/+9
| | | | | | | | | | | | | Re-applied patches: 001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch 100-powerpc-85xx-tl-wdr4900-v1-support.patch Dropped patch: 200-spi-fsl-espi-preallocate-local-buffer.patch now part of kernel upstream hash https://github.com/torvalds/linux/commit/1423877b73ed5f4982eaba8bed359605b9918a2b Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* target: mpc85xx: switch to kernel 4.9Alexandru Ardelean2017-05-025-1/+1
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel: remove DEVMEM/DEVKMEM platform overridesFelix Fietkau2017-01-101-1/+0
| | | | | | Those options are handled via top-level menuconfig instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: build i2c support into the kernel instead of packaging it separatelyFelix Fietkau2017-01-101-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: build usb support into the kernel instead of packaging it separatelyFelix Fietkau2017-01-103-4/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: enable the crypto acceleration driver in the kernel config instead ↵Felix Fietkau2017-01-101-1/+23
| | | | | | of packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cleanup ucidef_set_interface* usageMathias Kresin2016-09-101-1/+1
| | | | | | | | - quote the interface name - remove call of not existing function - remove the proto if it's the default proto Signed-off-by: Mathias Kresin <dev@kresin.me>
* use immediate set in target MakefilesMathias Kresin2016-09-101-1/+1
| | | | | | | | No functional change, it's just to have the same style everywhere. This way I don't need to use any regex magic to extract all subtargets for compile tests. Signed-off-by: Mathias Kresin <dev@kresin.me>
* build: fix subtarget descriptionsFelix Fietkau2016-09-041-4/+4
| | | | | | Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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