Remove some e500/MPC85xx evaluation platforms
Subsystems (3)
cover Remove some e500/MPC85xx evaluation platforms
[This RFC is proposed for v6.4 and hence is based off linux-next.]
In a similar theme to the e300/MPC83xx evaluation platform removal[1], this targets removal of some 13 --> 21 year old e500/MPC85xx evaluation boards that were produced in limited numbers and primarily made available to hardware/software developers to shape their own boards and BSPs.
We start with the MPC8540-ADS[2] and MPC8560-ADS[3] -- based on the revision history in the user's guide[4], these near-identical platforms date back to at least 2002. These boards are probably a part of the very small few that still exist from the ppc ---> powerpc transition. Typical of evaluation boards, and as the picture[3] shows, these boards had a large footprint in order to break out connectors to evaluate as many features as possible.
While it is up to each board OEM to provide input on the EOL of support for their own product, I will note that for comparison that I retired our SBC8560 support over a decade ago, in v3.6 (2012, in commit b048b4e17cbb) and nobody complained.
Next, position yourself about 2007, and the MPC8548CDS (and variants) appeared as a vehicle to showcase the then new e500-v2 processor family, in a PCI-X card form factor with an additional backplane and the CPU on yet another daughter-card. Not very "hobbyist" friendly. As the saying goes, a picture[5] is worth 1000 words.
Again, for comparison, and perhaps well overdue, I'd requested removal of our SBC8548 support in Jan 2021 (c12adb067844, v5.15).
Still roughly in the 2007 era, the MPC8568-MDS[6] just might have been the 2nd last in the MDS line that was similar to the MPC83xx-MDS in general form factor. However, as can be seen in the User Guide picture, the PCI/PCI-X card edge has been deleted.
A semi-recent change in the Kconfig descriptions, in commit d20c96deb3e2 ("powerpc/85xx: Fix description of MPC85xx and P1/P2 boards options") made it clear some of the MPC8568-MDS support was shared/reused by the lower end of the next gen DDR3 enabled processor family -- QorIQ -- in the P1021/P1012 MDS[7] platforms. This MDS variant re-added a PCI-e card edge but retained the MDS form factor and overall goal of enabling hardware designs for OEM board manufacturers.
Given that, we also include the P1021/P1012 MDS in this series, so that we can then remove the MPC85xx_MDS Kconfig option and anything relying on it.
Finally, we remove some orphaned MPC85xx kernel config fragments.
Future considerations:
----------------------
Similar to the e300/MPC83xx series, what is NOT touched here is any of the e500/MPC85xx RDS or DS platforms.
DS platforms -- In the next MPC85xx platform evolution, the M or C was dropped from MDS/CDS designation -- as the evaluation systems dropped the "card+backplane" architecture and more closely resembled a typical full sized PC-ATX motherboard of the era, with soldered CPU mounted high; RAM sockets nearby, and ATX compliant PCI slots below that.
However the feature rich, evaluation goal was retained in this new Development System (DS) line. Contrast that with the RDS systems which were a smaller form factor and with only core/critical features exposed to connectors, and a ready to deploy to market as-is for the overall goal.
With that in mind, in the future we may want to consider looking at the removal of the e500-v2 DS (MP8572DS[8], MPC8544DS[9], ...) platforms. However there is now once again overlap with the newer P1/P2 procfam DS systems from the same commit, and this time not under the MDS umbrella.
Paul.
--
[1] https://lore.kernel.org/all/[email protected]/
[2] https://www.nxp.com/products/no-longer-manufactured/application-development-system-for-mpc8540:MPC8540ADS
[3] https://www.nxp.com/products/no-longer-manufactured/application-development-system-for-mpc8560:MPC8560ADS
[4] https://www.nxp.com/docs/en/reference-manual/MPC8560ADSUG.pdf
[5] https://www.flickr.com/photos/daiharuki/905150424/in/photostream/
[6] https://www.nxp.com/docs/en/user-guide/MPC8568EMDSPBUGAD.pdf
[7] https://www.nxp.com/design/qoriq-developer-resources/qoriq-p1021-p1012-modular-development-system:P1021MDS
[8] https://www.nxp.com/products/no-longer-manufactured/integrated-communications-processor-development-system:MPC8572DS
[9] https://www.nxp.com/docs/en/fact-sheet/MPC8544DSFS.pdf
---
Paul Gortmaker (4):
powerpc: drop MPC8540_ADS and MPC8560_ADS platform support
powerpc: drop MPC85xx_CDS platform support
powerpc: drop MPC8568_MDS / P1021_MDS platform support
powerpc: remove orphaned MPC85xx kernel config fragments.
arch/powerpc/boot/Makefile | 5 - arch/powerpc/boot/dts/fsl/mpc8540ads.dts | 355 ---------------- arch/powerpc/boot/dts/fsl/mpc8541cds.dts | 375 ----------------- arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi | 302 ------------- arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts | 82 ---- arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts | 82 ---- arch/powerpc/boot/dts/fsl/mpc8555cds.dts | 375 ----------------- arch/powerpc/boot/dts/fsl/mpc8560ads.dts | 388 ----------------- arch/powerpc/boot/dts/fsl/mpc8568mds.dts | 310 -------------- arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi | 270 ------------ arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi | 68 --- arch/powerpc/boot/dts/fsl/p1021mds.dts | 319 -------------- arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------ arch/powerpc/configs/85xx-smp.config | 2 - .../configs/85xx/mpc8540_ads_defconfig | 47 --- .../configs/85xx/mpc8560_ads_defconfig | 50 --- .../configs/85xx/mpc85xx_cds_defconfig | 52 --- arch/powerpc/configs/mpc85xx_base.config | 3 - arch/powerpc/platforms/85xx/Makefile | 3 - arch/powerpc/platforms/85xx/mpc85xx_ads.c | 171 -------- arch/powerpc/platforms/85xx/mpc85xx_cds.c | 397 ----------------- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 398 ------------------ 23 files changed, 4198 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8540ads.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8541cds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8555cds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8560ads.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568mds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/p1021mds.dts delete mode 100644 arch/powerpc/configs/85xx-32bit.config delete mode 100644 arch/powerpc/configs/85xx-hw.config delete mode 100644 arch/powerpc/configs/85xx-smp.config delete mode 100644 arch/powerpc/configs/85xx/mpc8540_ads_defconfig delete mode 100644 arch/powerpc/configs/85xx/mpc8560_ads_defconfig delete mode 100644 arch/powerpc/configs/85xx/mpc85xx_cds_defconfig delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_ads.c delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_cds.c delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_mds.c
Signature · 1 line
2.17.1
PATCH 1/4 powerpc: drop MPC8540_ADS and MPC8560_ADS platform support
Based on the revision history in the manual(s), these e500-v1 platforms were first available around 2002.
Like a lot of evaluation boards, they attempted to provide break-out connectors for all possible features, and that combined with four PCI-X slots (and the age/era) meant for a considerably large board.
As I recall it, from a Linux point of view, the biggest difference between 8540 and 8560 was in the UART implementation, and that is reflected in a diff of the defconfigs.
In any case, these are over 20 years old, and by today's standards only have a small amount of DDR1 memory, and were not widely available.
Given that, it makes sense to remove support from them in 2023.
--- arch/powerpc/boot/Makefile | 2 - arch/powerpc/boot/dts/fsl/mpc8540ads.dts | 355 ---------------- arch/powerpc/boot/dts/fsl/mpc8560ads.dts | 388 ------------------ .../configs/85xx/mpc8540_ads_defconfig | 47 --- .../configs/85xx/mpc8560_ads_defconfig | 50 --- arch/powerpc/configs/mpc85xx_base.config | 2 - arch/powerpc/platforms/85xx/Makefile | 2 - arch/powerpc/platforms/85xx/mpc85xx_ads.c | 171 -------- 8 files changed, 1017 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8540ads.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8560ads.dts delete mode 100644 arch/powerpc/configs/85xx/mpc8540_ads_defconfig delete mode 100644 arch/powerpc/configs/85xx/mpc8560_ads_defconfig delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_ads.c
arch/powerpc/boot/Makefile +0 -2
@@ -340,8 +340,6 @@ image-$(CONFIG_MPC836x_MDS) += cuImage.mpc836x_mds image-$(CONFIG_ASP834x) += dtbImage.asp834x-redboot # Board ports in arch/powerpc/platform/85xx/Kconfig -image-$(CONFIG_MPC8540_ADS) += cuImage.mpc8540ads -image-$(CONFIG_MPC8560_ADS) += cuImage.mpc8560ads image-$(CONFIG_MPC85xx_CDS) += cuImage.mpc8541cds \ cuImage.mpc8548cds_32b \ cuImage.mpc8555cds
arch/powerpc/boot/dts/fsl/mpc8540ads.dts deleted +0 -355
355 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8560ads.dts deleted +0 -388
388 lines not on this page · raw message
arch/powerpc/configs/85xx/mpc8540_ads_defconfig deleted +0 -47
47 lines not on this page · raw message
arch/powerpc/configs/85xx/mpc8560_ads_defconfig deleted +0 -50
50 lines not on this page · raw message
arch/powerpc/configs/mpc85xx_base.config +0 -2
@@ -1,7 +1,5 @@ CONFIG_MATH_EMULATION=y CONFIG_MPC8536_DS=y -CONFIG_MPC8540_ADS=y -CONFIG_MPC8560_ADS=y CONFIG_MPC85xx_CDS=y CONFIG_MPC85xx_DS=y CONFIG_MPC85xx_MDS=y
arch/powerpc/platforms/85xx/Makefile +0 -2
@@ -12,8 +12,6 @@ obj-y += common.o obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o obj-$(CONFIG_C293_PCIE) += c293pcie.o -obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o -obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads.o obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o obj-$(CONFIG_MPC8536_DS) += mpc8536_ds.o obj-$(CONFIG_MPC85xx_DS) += mpc85xx_ds.o
arch/powerpc/platforms/85xx/mpc85xx_ads.c deleted +0 -171
171 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 2/4 powerpc: drop MPC85xx_CDS platform support
In reply to Paul GortmakerThe MPC8541/8548/8555 Configurable Development System (CDS) were the vehicle used to provide evaluation of the 1st e500-v2 CPUs around 2007.
Similar to the earlier MPC83xx-MDS systems we removed, the "brains" exist on a PCI-X card, but additional connectors exist to the right of the PCI-X slot, two structural metal pins are used to provide stability in a vertical ATX mounting, and the CPU is now on a daughter-card vs. a clamped down BGA.
Given the extra complexity and risk of connector damage, the 8548CDS I had access to came pre-assembled in a basic white Antec case common for that era, and I'm inclined to assume that was the default.
Power was typical "Pentium4" 2005 ATX - the main 20 pin connector went to the PCI ATX form factor backplane, and the 4 pin black/yellow went to the CPU card.
Like previous evaluation boards, they attempted to provide break-out connectors for as many features as possible, and that made for a fairly complex looking system.
In any case, these are over 15 years old, and fairly complex systems, originally made for a small group of industry related people, and made for use where quiet fan operation wasn't important. Given that, it makes sense to remove support from them in 2023.
--- arch/powerpc/boot/Makefile | 3 - arch/powerpc/boot/dts/fsl/mpc8541cds.dts | 375 ----------------- arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi | 302 ------------- arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts | 82 ---- arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts | 82 ---- arch/powerpc/boot/dts/fsl/mpc8555cds.dts | 375 ----------------- .../configs/85xx/mpc85xx_cds_defconfig | 52 --- arch/powerpc/configs/mpc85xx_base.config | 1 - arch/powerpc/platforms/85xx/Makefile | 1 - arch/powerpc/platforms/85xx/mpc85xx_cds.c | 397 ------------------ 10 files changed, 1670 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8541cds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8555cds.dts delete mode 100644 arch/powerpc/configs/85xx/mpc85xx_cds_defconfig delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/boot/Makefile +0 -3
@@ -340,9 +340,6 @@ image-$(CONFIG_MPC836x_MDS) += cuImage.mpc836x_mds image-$(CONFIG_ASP834x) += dtbImage.asp834x-redboot # Board ports in arch/powerpc/platform/85xx/Kconfig -image-$(CONFIG_MPC85xx_CDS) += cuImage.mpc8541cds \ - cuImage.mpc8548cds_32b \ - cuImage.mpc8555cds image-$(CONFIG_MPC85xx_MDS) += cuImage.mpc8568mds image-$(CONFIG_MPC85xx_DS) += cuImage.mpc8544ds \ cuImage.mpc8572ds
arch/powerpc/boot/dts/fsl/mpc8541cds.dts deleted +0 -375
375 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi deleted +0 -302
302 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts deleted +0 -82
82 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts deleted +0 -82
82 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8555cds.dts deleted +0 -375
375 lines not on this page · raw message
arch/powerpc/configs/85xx/mpc85xx_cds_defconfig deleted +0 -52
52 lines not on this page · raw message
arch/powerpc/configs/mpc85xx_base.config +0 -1
@@ -1,6 +1,5 @@ CONFIG_MATH_EMULATION=y CONFIG_MPC8536_DS=y -CONFIG_MPC85xx_CDS=y CONFIG_MPC85xx_DS=y CONFIG_MPC85xx_MDS=y CONFIG_MPC85xx_RDB=y
arch/powerpc/platforms/85xx/Makefile +0 -1
@@ -12,7 +12,6 @@ obj-y += common.o obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o obj-$(CONFIG_C293_PCIE) += c293pcie.o -obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o obj-$(CONFIG_MPC8536_DS) += mpc8536_ds.o obj-$(CONFIG_MPC85xx_DS) += mpc85xx_ds.o obj-$(CONFIG_MPC85xx_MDS) += mpc85xx_mds.o
arch/powerpc/platforms/85xx/mpc85xx_cds.c deleted +0 -397
397 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 3/4 powerpc: drop MPC8568_MDS / P1021_MDS platform support
In reply to Paul GortmakerThe MPC8568-MDS just might have been the 2nd last in the MDS line that was similar to the MPC83xx-MDS in general form factor. However, as can be seen in the 8568MDS User Guide picture, the PCI/PCI-X card edge has been deleted.
A recent change in the Kconfig descriptions, in commit d20c96deb3e2 ("powerpc/85xx: Fix description of MPC85xx and P1/P2 boards options") made it clear some of the MPC8568-MDS support is shared/reused by the next gen processor family evaluation -- the QorIQ P1021/P1012 MDS platforms.
The P1021/P1012 MDS platforms add a PCI-e card edge where the MPC8568-MDS had none. But they retained the basic MDS form factor and overall goals of enabling hardware designs.
Given that, we also include the P1021/P1012 MDS removal in this commit, so that we can remove the MPC85xx_MDS Kconfig option and anything relying on it.
Like previous evaluation boards, both systems attempted to provide break-out connectors for as many features as possible, and that made for a fairly complex looking system that isn't really "hobbyist" friendly.
In any case, these are over a decade old, and originally made for a small group of industry related people. Given that, it makes sense to remove support from them here in 2023.
--- arch/powerpc/boot/dts/fsl/mpc8568mds.dts | 310 -------------- arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi | 270 ------------ arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi | 68 --- arch/powerpc/boot/dts/fsl/p1021mds.dts | 319 -------------- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 398 ------------------ 5 files changed, 1365 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568mds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/p1021mds.dts delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_mds.c
arch/powerpc/boot/dts/fsl/mpc8568mds.dts deleted +0 -310
@@ -1,310 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * MPC8568E MDS Device Tree Source - * - * Copyright 2007, 2008 Freescale Semiconductor Inc. - */ - -/include/ "mpc8568si-pre.dtsi" - -/ { - model = "MPC8568EMDS"; - compatible = "MPC8568EMDS", "MPC85xxMDS"; - - aliases { - pci0 = &pci0; - pci1 = &pci1; - rapidio0 = &rio; - }; - - memory { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x0>; - }; - - lbc: localbus@e0005000 { - reg = <0x0 0xe0005000 0x0 0x1000>; - ranges = <0x0 0x0 0xfe000000 0x02000000 - 0x1 0x0 0xf8000000 0x00008000 - 0x2 0x0 0xf0000000 0x04000000 - 0x4 0x0 0xf8008000 0x00008000 - 0x5 0x0 0xf8010000 0x00008000>; - - nor@0,0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "cfi-flash"; - reg = <0x0 0x0 0x02000000>; - bank-width = <2>; - device-width = <2>; - }; - - bcsr@1,0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,mpc8568mds-bcsr"; - reg = <1 0 0x8000>; - ranges = <0 1 0 0x8000>; - - bcsr5: gpio-controller@11 { - #gpio-cells = <2>; - compatible = "fsl,mpc8568mds-bcsr-gpio"; - reg = <0x5 0x1>; - gpio-controller; - }; - }; - - pib@4,0 { - compatible = "fsl,mpc8568mds-pib"; - reg = <4 0 0x8000>; - }; - - pib@5,0 { - compatible = "fsl,mpc8568mds-pib"; - reg = <5 0 0x8000>; - }; - }; - - soc: soc8568@e0000000 { - ranges = <0x0 0x0 0xe0000000 0x100000>; - - i2c-sleep-nexus { - i2c@3000 { - rtc@68 { - compatible = "dallas,ds1374"; - reg = <0x68>; - interrupts = <3 1 0 0>; - }; - }; - }; - - enet0: ethernet@24000 { - tbi-handle = <&tbi0>; - phy-handle = <&phy2>; - }; - - mdio@24520 { - phy0: ethernet-phy@7 { - interrupts = <1 1 0 0>; - reg = <0x7>; - }; - phy1: ethernet-phy@1 { - interrupts = <2 1 0 0>; - reg = <0x1>; - }; - phy2: ethernet-phy@2 { - interrupts = <1 1 0 0>; - reg = <0x2>; - }; - phy3: ethernet-phy@3 { - interrupts = <2 1 0 0>; - reg = <0x3>; - }; - tbi0: tbi-phy@11 { - reg = <0x11>; - device_type = "tbi-phy"; - }; - }; - - enet1: ethernet@25000 { - tbi-handle = <&tbi1>; - phy-handle = <&phy3>; - sleep = <&pmc 0x00000040>; - }; - - mdio@25520 { - tbi1: tbi-phy@11 { - reg = <0x11>; - device_type = "tbi-phy"; - }; - }; - - par_io@e0100 { - num-ports = <7>; - - pio1: ucc_pin@1 { - pio-map = < - /* port pin dir open_drain assignment has_irq */ - 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */ - 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */ - 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */ - 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */ - 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */ - 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */ - 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */ - 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */ - 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */ - 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */ - 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */ - 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */ - 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */ - 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */ - 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */ - 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */ - 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */ - 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */ - 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */ - 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */ - 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */ - 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */ - 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */ - }; - - pio2: ucc_pin@2 { - pio-map = < - /* port pin dir open_drain assignment has_irq */ - 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */ - 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */ - 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */ - 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */ - 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */ - 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */ - 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */ - 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */ - 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */ - 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */ - 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */ - 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */ - 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */ - 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */ - 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */ - 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */ - 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */ - 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */ - 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */ - 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */ - 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */ - 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */ - 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */ - 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */ - 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */ - }; - }; - }; - - qe: qe@e0080000 { - ranges = <0x0 0x0 0xe0080000 0x40000>; - reg = <0x0 0xe0080000 0x0 0x480>; - - spi@4c0 { - mode = "cpu"; - }; - - spi@500 { - mode = "cpu"; - }; - - enet2: ucc@2000 { - device_type = "network"; - compatible = "ucc_geth"; - local-mac-address = [ 00 00 00 00 00 00 ]; - rx-clock-name = "none"; - tx-clock-name = "clk16"; - pio-handle = <&pio1>; - phy-handle = <&phy0>; - phy-connection-type = "rgmii-id"; - }; - - enet3: ucc@3000 { - device_type = "network"; - compatible = "ucc_geth"; - local-mac-address = [ 00 00 00 00 00 00 ]; - rx-clock-name = "none"; - tx-clock-name = "clk16"; - pio-handle = <&pio2>; - phy-handle = <&phy1>; - phy-connection-type = "rgmii-id"; - }; - - mdio@2120 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x2120 0x18>; - compatible = "fsl,ucc-mdio"; - - /* These are the same PHYs as on - * gianfar's MDIO bus */ - qe_phy0: ethernet-phy@7 { - interrupt-parent = <&mpic>; - interrupts = <1 1 0 0>; - reg = <0x7>; - }; - qe_phy1: ethernet-phy@1 { - interrupt-parent = <&mpic>; - interrupts = <2 1 0 0>; - reg = <0x1>; - }; - qe_phy2: ethernet-phy@2 { - interrupt-parent = <&mpic>; - interrupts = <1 1 0 0>; - reg = <0x2>; - }; - qe_phy3: ethernet-phy@3 { - interrupt-parent = <&mpic>; - interrupts = <2 1 0 0>; - reg = <0x3>; - }; - }; - }; - - pci0: pci@e0008000 { - reg = <0x0 0xe0008000 0x0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0x0 0xe2000000 0x0 0x800000>; - clock-frequency = <66666666>; - interrupt-map-mask = <0xf800 0x0 0x0 0x7>; - interrupt-map = < - /* IDSEL 0x12 AD18 */ - 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1 0 0 - 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1 0 0 - 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1 0 0 - 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1 0 0 - - /* IDSEL 0x13 AD19 */ - 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1 0 0 - 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1 0 0 - 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0 - 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1 0 0>; - }; - - /* PCI Express */ - pci1: pcie@e000a000 { - ranges = <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x10000000 - 0x1000000 0x0 0x00000000 0x0 0xe2800000 0x0 0x800000>; - reg = <0x0 0xe000a000 0x0 0x1000>; - pcie@0 { - ranges = <0x2000000 0x0 0xa0000000 - 0x2000000 0x0 0xa0000000 - 0x0 0x10000000 - - 0x1000000 0x0 0x0 - 0x1000000 0x0 0x0 - 0x0 0x800000>; - }; - }; - - rio: rapidio@e00c00000 { - reg = <0x0 0xe00c0000 0x0 0x20000>; - port1 { - ranges = <0x0 0x0 0x0 0xc0000000 0x0 0x20000000>; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - gpios = <&bcsr5 1 0>; - }; - - amber { - gpios = <&bcsr5 2 0>; - }; - - red { - gpios = <&bcsr5 3 0>; - }; - }; -}; - -/include/ "mpc8568si-post.dtsi"
arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi deleted +0 -270
270 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi deleted +0 -68
68 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/p1021mds.dts deleted +0 -319
319 lines not on this page · raw message
arch/powerpc/platforms/85xx/mpc85xx_mds.c deleted +0 -398
398 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 4/4 powerpc: remove orphaned MPC85xx kernel config fragments.
In reply to Paul GortmakerNone of these have a reference anymore anywhere, such as like this:
arch/powerpc/Makefile: $(call merge_into_defconfig,mpc85xx_base.config,\
As such, we probably should just clean up and remove them.
--- arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------------------------- arch/powerpc/configs/85xx-smp.config | 2 - 3 files changed, 146 deletions(-) delete mode 100644 arch/powerpc/configs/85xx-32bit.config delete mode 100644 arch/powerpc/configs/85xx-hw.config delete mode 100644 arch/powerpc/configs/85xx-smp.config
arch/powerpc/configs/85xx-32bit.config deleted +0 -5
@@ -1,5 +0,0 @@ -CONFIG_HIGHMEM=y -CONFIG_KEXEC=y -CONFIG_PPC_85xx=y -CONFIG_PROC_KCORE=y -CONFIG_PHYS_64BIT=y
arch/powerpc/configs/85xx-hw.config deleted +0 -139
139 lines not on this page · raw message
arch/powerpc/configs/85xx-smp.config deleted +0 -2
@@ -1,2 +0,0 @@ -CONFIG_NR_CPUS=24 -CONFIG_SMP=y
Signature · 1 line
2.17.1
Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.
Quoted 11 lines · On Tuesday 21 February 2023 14:46:37 Paul Gortmaker wrote:
None of these have a reference anymore anywhere, such as like this:
arch/powerpc/Makefile: $(call merge_into_defconfig,mpc85xx_base.config,\As such, we probably should just clean up and remove them.
Cc Scott Wood <[email protected]>Cc Michael Ellerman <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc Paul Mackerras <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Quoted 8 lines
--- arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------------------------- arch/powerpc/configs/85xx-smp.config | 2 - 3 files changed, 146 deletions(-) delete mode 100644 arch/powerpc/configs/85xx-32bit.config delete mode 100644 arch/powerpc/configs/85xx-hw.config delete mode 100644 arch/powerpc/configs/85xx-smp.config
This change is likely going to break mpc85xx platform because defconfig files includes all these files which you are going to remove. For example in arch/powerpc/Makefile is:
PHONY += mpc85xx_smp_defconfigmpc85xx_smp_defconfig:
$(call merge_into_defconfig,mpc85xx_base.config,\ 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)
And for P2020 boards I'm using mpc85xx_smp_defconfig configuration as this one compiles SMP kernel, ideal for P2020 which is dual-core SoC.
Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.
Quoted 21 lines · [Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.] On…
Quoted 11 lines · On Tuesday 21 February 2023 14:46:37 Paul Gortmaker wrote:
None of these have a reference anymore anywhere, such as like this:
arch/powerpc/Makefile: $(call merge_into_defconfig,mpc85xx_base.config,\As such, we probably should just clean up and remove them.
Cc Scott Wood <[email protected]>Cc Michael Ellerman <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc Paul Mackerras <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>Quoted 8 lines
--- arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------------------------- arch/powerpc/configs/85xx-smp.config | 2 - 3 files changed, 146 deletions(-) delete mode 100644 arch/powerpc/configs/85xx-32bit.config delete mode 100644 arch/powerpc/configs/85xx-hw.config delete mode 100644 arch/powerpc/configs/85xx-smp.config
Quoted 8 lines
This change is likely going to break mpc85xx platform because defconfig files includes all these files which you are going to remove. For example in
arch/powerpc/Makefileis:PHONY +=
mpc85xx_smp_defconfigmpc85xx_smp_defconfig:$(call merge_into_defconfig,mpc85xx_base.config,\ 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)
OK, it seems you've answered a question for me. That being "why didn't grep find a reference to these fragments?"
It seems the ".config" extension is optional?
This seems inconsistent at best, to reference some files with the .config extension and others without it. Not blaming you for that, but it is probably something that needs looking into.
I am fine with dropping this config frag patch as we figure that out.
Paul.
--
Quoted 3 lines
And for P2020 boards I'm using
mpc85xx_smp_defconfigconfiguration as this one compiles SMP kernel, ideal for P2020 which is dual-core SoC.
Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.
Quoted 32 lines · On Tuesday 21 February 2023 16:29:32 Paul Gortmaker wrote:
Quoted 21 lines · [Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.] On…
Quoted 11 lines · On Tuesday 21 February 2023 14:46:37 Paul Gortmaker wrote:
None of these have a reference anymore anywhere, such as like this:
arch/powerpc/Makefile: $(call merge_into_defconfig,mpc85xx_base.config,\As such, we probably should just clean up and remove them.
Cc Scott Wood <[email protected]>Cc Michael Ellerman <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc Paul Mackerras <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>Quoted 8 lines
--- arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------------------------- arch/powerpc/configs/85xx-smp.config | 2 - 3 files changed, 146 deletions(-) delete mode 100644 arch/powerpc/configs/85xx-32bit.config delete mode 100644 arch/powerpc/configs/85xx-hw.config delete mode 100644 arch/powerpc/configs/85xx-smp.configQuoted 8 lines
This change is likely going to break mpc85xx platform because defconfig files includes all these files which you are going to remove. For example in
arch/powerpc/Makefileis:PHONY +=
mpc85xx_smp_defconfigmpc85xx_smp_defconfig:$(call merge_into_defconfig,mpc85xx_base.config,\ 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)
Quoted 4 lines
OK, it seems you've answered a question for me. That being "why didn't grep find a reference to these fragments?"
It seems the ".config" extension is optional?
I really do not know. (And I'm not sure if I want to know answer :D)
Quoted 3 lines
This seems inconsistent at best, to reference some files with the .config extension and others without it. Not blaming you for that, but it is probably something that needs looking into.
I agree it is inconsistent. But it was there before I looked or touched any powerpc code. So it looks like something which nobody wanted to cleanup because "it works" and had no motivation.
Quoted 8 lines
I am fine with dropping this config frag patch as we figure that out.
Paul.
--Quoted 3 lines
And for P2020 boards I'm using
mpc85xx_smp_defconfigconfiguration as this one compiles SMP kernel, ideal for P2020 which is dual-core SoC.
Crystal Wood
maintainerRe: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.
Quoted 36 lines · Pali Rohár
Quoted 35 lines · On Tuesday 21 February 2023 16:29:32 Paul Gortmaker wrote:
[Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config
Quoted 31 lines · fragments.] On 21/02/2023 (Tue 21:03) Pali Roh??r wrote:
Quoted 17 lines · On Tuesday 21 February 2023 14:46:37 Paul Gortmaker wrote:
None of these have a reference anymore anywhere, such as like this:
arch/powerpc/Makefile: $(call
merge_into_defconfig,mpc85xx_base.config,\As such, we probably should just clean up and remove them.
Cc Scott Wood <[email protected]>Cc Michael Ellerman <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc Paul Mackerras <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>---
arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------------------------ -
arch/powerpc/configs/85xx-smp.config | 2 -Quoted 4 lines
3 files changed, 146 deletions(-)delete mode 100644
arch/powerpc/configs/85xx-32bit.configdelete mode 100644arch/powerpc/configs/85xx-hw.configdelete mode 100644arch/powerpc/configs/85xx-smp.configThis change is likely going to break mpc85xx platform because defconfig files includes all these files which you are going to remove. For example in
arch/powerpc/Makefileis:PHONY +=
mpc85xx_smp_defconfigmpc85xx_smp_defconfig:
$(call merge_into_defconfig,mpc85xx_base.config,\
85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)
Quoted 6 lines
Quoted 4 lines
OK, it seems you've answered a question for me. That being "why didn't grep find a reference to these fragments?"
It seems the ".config" extension is optional?
I really do not know. (And I'm not sure if I want to know answer :D)
It's not optional; you have to leave it off:
# Used to create 'merged defconfigs'
# To use it $(call) it with the first argument as the base defconfig
# and the second argument as a space separated list of .config files to merge, # without the .config suffix. define merge_into_defconfig ...
Quoted 7 lines
Quoted 3 lines
This seems inconsistent at best, to reference some files with the .config extension and others without it. Not blaming you for that, but it is probably something that needs looking into.
I agree it is inconsistent. But it was there before I looked or touched any powerpc code. So it looks like something which nobody wanted to cleanup because "it works" and had no motivation.
No, it's intentional to reduce verbosity. If by "inconsistent" you're referring to mpc85xx_base.config, that argument sometimes refers to _defconfig files (i.e. the pseries targets which were the initial user of merge_into_config) so that argument can't autoappend .config.
-Crystal
Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.
Quoted 57 lines · [Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config fragments.] On…
Quoted 36 lines · Pali Roh??r
Quoted 35 lines · On Tuesday 21 February 2023 16:29:32 Paul Gortmaker wrote:
[Re: [PATCH 4/4] powerpc: remove orphaned MPC85xx kernel config
Quoted 31 lines · fragments.] On 21/02/2023 (Tue 21:03) Pali Roh??r wrote:
Quoted 12 lines · On Tuesday 21 February 2023 14:46:37 Paul Gortmaker wrote:
None of these have a reference anymore anywhere, such as like this:
??
arch/powerpc/Makefile:?? $(call
merge_into_defconfig,mpc85xx_base.config,\As such, we probably should just clean up and remove them.
Cc Scott Wood <[email protected]>Cc Michael Ellerman <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc Paul Mackerras <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>Quoted 9 lines
---
??arch/powerpc/configs/85xx-32bit.config |???? 5 - ??arch/powerpc/configs/85xx-hw.config?????? | 139 ------------------------ -
??arch/powerpc/configs/85xx-smp.config???? |???? 2 -
??3 files changed, 146 deletions(-)
??delete mode 100644arch/powerpc/configs/85xx-32bit.config??delete mode 100644arch/powerpc/configs/85xx-hw.config??delete mode 100644arch/powerpc/configs/85xx-smp.configThis change is likely going to break mpc85xx platform because defconfig files includes all these files which you are going to remove. For example in
arch/powerpc/Makefileis:PHONY +=
mpc85xx_smp_defconfigmpc85xx_smp_defconfig:
????????????????$(call merge_into_defconfig,mpc85xx_base.config,\
????????????????????????????????85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)Quoted 6 lines
Quoted 4 lines
OK, it seems you've answered a question for me.?? That being "why didn't grep find a reference to these fragments?"
It seems the ".config" extension is optional?
I really do not know. (And I'm not sure if I want to know answer :D)
It's not optional; you have to leave it off:
# Used to create 'merged defconfigs'
# To use it $(call) it with the first argument as the base defconfig# and the second argument as a space separated list of .config files to merge, # without the .config suffix. define merge_into_defconfig ...Quoted 4 lines
Quoted 3 lines
This seems inconsistent at best, to reference some files with the .config extension and others without it.?? Not blaming you for that, but it is probably something that needs looking into.
Quoted 8 lines
Quoted 3 lines
I agree it is inconsistent. But it was there before I looked or touched any powerpc code. So it looks like something which nobody wanted to cleanup because "it works" and had no motivation.
No, it's intentional to reduce verbosity. If by "inconsistent" you're referring to mpc85xx_base.config, that argument sometimes refers to
_defconfigfiles (i.e. the pseries targets which were the initial user ofmerge_into_config) so that argument can't autoappend .config.
Thanks for the detailed explanation. As I believe I said elsewhere, I wouldn't be submitting this change once I understood the use case. Plus it wasn't significant in reducing our overall maintain/build/boot kernel overhead in v6.4+ in linux-next etc. --- as that was the real goal here.
I deleted our various BSPs years ago because I didn't think it was fair or reasonable to expect other people to update/carry them on our behalf.
I would hope that is a statement that everyone could get behind.
Thanks,
Paul.
--
Quoted 3 lines
-Crystal
Hello! I would like to let you know that I have there patch series which creates one generic machine descriptor for all P2 boards:
https://lore.kernel.org/linuxppc-dev/[email protected]/
Basically it allows any P2 board to boot one universal kernel binary just with correct DTS file. After P2 is merged I was thinking about looking at P1 boards too.
So I would suggest to do some "big" removal of older code after this is merged, so I do not have to rebase again my patch series which is basically cleanup and make maintenance easier.
I understand that removing old machine descriptions with board code for old boards which nobody use and nobody wants to maintain is logical step.
But if something like generic machine descriptor for P1 happens too (like I did for P2 in above patch series), it would mean that the only board specific information would be stored in DTS files. And does it make sense to remove just old DTS files? Are there any maintenance with them? (Do not take it wrong, just I'm asking)
Quoted 11 lines · [Re: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platforms] On…
Hello! I would like to let you know that I have there patch series which creates one generic machine descriptor for all P2 boards:
https://lore.kernel.org/linuxppc-dev/[email protected]/Basically it allows any P2 board to boot one universal kernel binary just with correct DTS file. After P2 is merged I was thinking about looking at P1 boards too.
So I would suggest to do some "big" removal of older code after this is merged, so I do not have to rebase again my patch series which is basically cleanup and make maintenance easier.
Thanks for the update -- I don't want to make extra work for anyone.
If I drop the MPC8568/P1 removal for now, then would you agree that your work and the remaining changes - this ADS/CDS removal can continue in parallel?
Thanks,
Paul.
--
Quoted 10 lines
I understand that removing old machine descriptions with board code for old boards which nobody use and nobody wants to maintain is logical step.
But if something like generic machine descriptor for P1 happens too (like I did for P2 in above patch series), it would mean that the only board specific information would be stored in DTS files. And does it make sense to remove just old DTS files? Are there any maintenance with them? (Do not take it wrong, just I'm asking)
Quoted 10 lines · On Tuesday 21 February 2023 16:35:54 Paul Gortmaker wrote:
Quoted 8 lines · [Re: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platforms] On…
Hello! I would like to let you know that I have there patch series which creates one generic machine descriptor for all P2 boards:
https://lore.kernel.org/linuxppc-dev/[email protected]/Basically it allows any P2 board to boot one universal kernel binary just with correct DTS file. After P2 is merged I was thinking about looking at P1 boards too.
Quoted 8 lines
Quoted 3 lines
So I would suggest to do some "big" removal of older code after this is merged, so I do not have to rebase again my patch series which is basically cleanup and make maintenance easier.
Thanks for the update -- I don't want to make extra work for anyone.
If I drop the MPC8568/P1 removal for now, then would you agree that your work and the remaining changes - this ADS/CDS removal can continue in parallel?
I hope that Christophe review my patches soon.
I'm looking again at my and your changes and seems that there should not be conflicts because my patches touches only mpc85xx_ds.c+mpc85xx_rdb.c and your changes touches remaining mpc85xx_*.c board files.
About P1 I have not decided if I do some code work in this area. I wanted to look at it (and if it is big maybe I just drop my idea).
So I think both your and my patch series could continue in parallel (in case they are not going to be bigger).
Quoted 14 lines
Thanks,
Paul.
--Quoted 10 lines
I understand that removing old machine descriptions with board code for old boards which nobody use and nobody wants to maintain is logical step.
But if something like generic machine descriptor for P1 happens too (like I did for P2 in above patch series), it would mean that the only board specific information would be stored in DTS files. And does it make sense to remove just old DTS files? Are there any maintenance with them? (Do not take it wrong, just I'm asking)
Quoted 7 lines · Paul Gortmaker
[This RFC is proposed for v6.4 and hence is based off linux-next.]
In a similar theme to the e300/MPC83xx evaluation platform removal[1], this targets removal of some 13 --> 21 year old e500/MPC85xx evaluation boards that were produced in limited numbers and primarily made available to hardware/software developers to shape their own boards and BSPs.
These e500 platforms are similar to the e300 platforms that they are still being shipped, the targeting market probably caused it to have a longer life cycle.
Quoted 19 lines
We start with the MPC8540-ADS[2] and MPC8560-ADS[3] -- based on the revision history in the user's guide[4], these near-identical platforms date back to at least 2002. These boards are probably a part of the very small few that still exist from the ppc ---> powerpc transition. Typical of evaluation boards, and as the picture[3] shows, these boards had a large footprint in order to break out connectors to evaluate as many features as possible.
While it is up to each board OEM to provide input on the EOL of support for their own product, I will note that for comparison that I retired our SBC8560 support over a decade ago, in v3.6 (2012, in commit
b048b4e17cbb) and nobody complained.Next, position yourself about 2007, and the MPC8548CDS (and variants) appeared as a vehicle to showcase the then new e500-v2 processor family, in a PCI-X card form factor with an additional backplane and the CPU on yet another daughter-card. Not very "hobbyist" friendly. As the saying goes, a picture[5] is worth 1000 words.
Quoted 7 lines
Again, for comparison, and perhaps well overdue, I'd requested removal of our SBC8548 support in Jan 2021 (
c12adb067844, v5.15).Still roughly in the 2007 era, the MPC8568-MDS[6] just might have been the 2nd last in the MDS line that was similar to the MPC83xx-MDS in general form factor. However, as can be seen in the User Guide picture, the PCI/PCI-X card edge has been deleted.
The difference here from the e300 platforms is that MPC8540ADS, MPC8560ADS, MPC8548CDS, MPC8568-MDS are the only reference platforms supplied by us for these SoCs. We don't have a separation of evaluation platforms vs product-like platforms like we did later. That probably means even if they don't look like "hobbyist" friendly they are more likely to be still in use.
Quoted 112 lines
A semi-recent change in the
Kconfigdescriptions, in commitd20c96deb3e2("powerpc/85xx: Fix description of MPC85xx and P1/P2 boards options") made it clear some of the MPC8568-MDS support was shared/reused by the lower end of the next gen DDR3 enabled processor family -- QorIQ -- in the P1021/P1012 MDS[7] platforms. This MDS variant re-added a PCI-e card edge but retained the MDS form factor and overall goal of enabling hardware designs for OEM board manufacturers.Given that, we also include the P1021/P1012 MDS in this series, so that we can then remove the
MPC85xx_MDSKconfigoption and anything relying on it.Finally, we remove some orphaned MPC85xx kernel config fragments.
Future considerations:
----------------------
Similar to the e300/MPC83xx series, what is NOT touched here is any of the e500/MPC85xx RDS or DS platforms.DS platforms -- In the next MPC85xx platform evolution, the M or C was dropped from MDS/CDS designation -- as the evaluation systems dropped the "card+backplane" architecture and more closely resembled a typical full sized PC-ATX motherboard of the era, with soldered CPU mounted high; RAM sockets nearby, and ATX compliant PCI slots below that.
However the feature rich, evaluation goal was retained in this new Development System (DS) line. Contrast that with the RDS systems which were a smaller form factor and with only core/critical features exposed to connectors, and a ready to deploy to market as-is for the overall goal.
With that in mind, in the future we may want to consider looking at the removal of the e500-v2 DS (MP8572DS[8], MPC8544DS[9], ...) platforms. However there is now once again overlap with the newer P1/P2 procfam DS systems from the same commit, and this time not under the MDS umbrella.
Paul.
--[1] https://lore.kernel.org/all/[email protected]/
[2] https://www.nxp.com/products/no-longer-manufactured/application-development-system-for-mpc8540:MPC8540ADS
[3] https://www.nxp.com/products/no-longer-manufactured/application-development-system-for-mpc8560:MPC8560ADS
[4] https://www.nxp.com/docs/en/reference-manual/MPC8560ADSUG.pdf
[5] https://www.flickr.com/photos/daiharuki/905150424/in/photostream/
[6] https://www.nxp.com/docs/en/user-guide/MPC8568EMDSPBUGAD.pdf
[7] https://www.nxp.com/design/qoriq-developer-resources/qoriq-p1021-p1012-modular-development-system:P1021MDS
[8] https://www.nxp.com/products/no-longer-manufactured/integrated-communications-processor-development-system:MPC8572DS
[9] https://www.nxp.com/docs/en/fact-sheet/MPC8544DSFS.pdfCc Scott Wood <[email protected]>Cc Michael Ellerman <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc Paul Mackerras <[email protected]>Cc Li Yang <[email protected]>Cc Claudiu Manoil <[email protected]>Cc Pali Rohár <[email protected]>---
Paul Gortmaker (4):
powerpc: dropMPC8540_ADSandMPC8560_ADSplatform support
powerpc: dropMPC85xx_CDSplatform support
powerpc: dropMPC8568_MDS/P1021_MDSplatform support
powerpc: remove orphaned MPC85xx kernel config fragments.arch/powerpc/boot/Makefile | 5 - arch/powerpc/boot/dts/fsl/mpc8540ads.dts | 355 ---------------- arch/powerpc/boot/dts/fsl/mpc8541cds.dts | 375 ----------------- arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi | 302 ------------- arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts | 82 ---- arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts | 82 ---- arch/powerpc/boot/dts/fsl/mpc8555cds.dts | 375 ----------------- arch/powerpc/boot/dts/fsl/mpc8560ads.dts | 388 ----------------- arch/powerpc/boot/dts/fsl/mpc8568mds.dts | 310 -------------- arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi | 270 ------------ arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi | 68 --- arch/powerpc/boot/dts/fsl/p1021mds.dts | 319 -------------- arch/powerpc/configs/85xx-32bit.config | 5 - arch/powerpc/configs/85xx-hw.config | 139 ------ arch/powerpc/configs/85xx-smp.config | 2 - .../configs/85xx/mpc8540_ads_defconfig | 47 --- .../configs/85xx/mpc8560_ads_defconfig | 50 --- .../configs/85xx/mpc85xx_cds_defconfig | 52 --- arch/powerpc/configs/mpc85xx_base.config | 3 - arch/powerpc/platforms/85xx/Makefile | 3 - arch/powerpc/platforms/85xx/mpc85xx_ads.c | 171 -------- arch/powerpc/platforms/85xx/mpc85xx_cds.c | 397 ----------------- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 398 ------------------ 23 files changed, 4198 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8540ads.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8541cds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds_32b.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8548cds_36b.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8555cds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8560ads.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568mds.dts delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568si-post.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi delete mode 100644 arch/powerpc/boot/dts/fsl/p1021mds.dts delete mode 100644 arch/powerpc/configs/85xx-32bit.config delete mode 100644 arch/powerpc/configs/85xx-hw.config delete mode 100644 arch/powerpc/configs/85xx-smp.config delete mode 100644 arch/powerpc/configs/85xx/mpc8540_ads_defconfig delete mode 100644 arch/powerpc/configs/85xx/mpc8560_ads_defconfig delete mode 100644 arch/powerpc/configs/85xx/mpc85xx_cds_defconfig delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_ads.c delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_cds.c delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_mds.c--
2.17.1
Michael Ellerman
reviewerQuoted 14 lines · Li Yang
Quoted 7 lines · Paul Gortmaker
[This RFC is proposed for v6.4 and hence is based off linux-next.]
In a similar theme to the e300/MPC83xx evaluation platform removal[1], this targets removal of some 13 --> 21 year old e500/MPC85xx evaluation boards that were produced in limited numbers and primarily made available to hardware/software developers to shape their own boards and BSPs.
These e500 platforms are similar to the e300 platforms that they are still being shipped, the targeting market probably caused it to have a longer life cycle.
...
Quoted 7 lines
The difference here from the e300 platforms is that MPC8540ADS, MPC8560ADS, MPC8548CDS, MPC8568-MDS are the only reference platforms supplied by us for these SoCs. We don't have a separation of evaluation platforms vs product-like platforms like we did later. That probably means even if they don't look like "hobbyist" friendly they are more likely to be still in use.
OK. But what is the chance anyone is booting upstream kernels on them?
I assume no one at NXP is testing upstream on those boards?
cheers
Quoted 33 lines
-----Original Message-----
From: Michael Ellerman <[email protected]>
Sent: Thursday, April 13, 2023 9:14 PM
To: Leo Li <[email protected]>; Paul Gortmaker <[email protected]>
Cc: Scott Wood <[email protected]>; Paul Mackerras <[email protected]>; Claudiu Manoil <[email protected]>; [email protected]; Pali Rohár <[email protected]>
Subject: Re: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platformsQuoted 9 lines · Li Yang
Quoted 7 lines · Paul Gortmaker
[This RFC is proposed for v6.4 and hence is based off linux-next.]
In a similar theme to the e300/MPC83xx evaluation platform removal[1], this targets removal of some 13 --> 21 year old e500/MPC85xx evaluation boards that were produced in limited numbers and primarily made available to hardware/software developers to shape
their own boards and BSPs.
Quoted 5 lines
These e500 platforms are similar to the e300 platforms that they are still being shipped, the targeting market probably caused it to have a longer life cycle.
...
Quoted 3 lines
The difference here from the e300 platforms is that MPC8540ADS, MPC8560ADS, MPC8548CDS, MPC8568-MDS are the only reference
Quoted 7 lines
platforms
Quoted 4 lines
supplied by us for these SoCs. We don't have a separation of evaluation platforms vs product-like platforms like we did later. That probably means even if they don't look like "hobbyist" friendly they are more likely to be still in use.
OK. But what is the chance anyone is booting upstream kernels on them?
We do still have these parts shipped, which means that there are definitely active users of these silicons. But it is really hard to say how many of they are running latest upstream kernel. IMO, if the nature of the application is critical it is likely they will need to update the kernel to get all the security fixes. And the reference board will be helpful as a starting point when they update the kernel.
Quoted 2 lines
I assume no one at NXP is testing upstream on those boards?
To be frank they are not included in the routine tests carried out by the development team now which is not ideal to me. But I think the support team are probably willing to help on issues with latest kernel when needed.
Regards,
Leo
Quoted 34 lines · [RE: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platforms] On…
Quoted 34 lines
-----Original Message-----
From: Michael Ellerman <[email protected]>
Sent: Thursday, April 13, 2023 9:14 PM
To: Leo Li <[email protected]>; Paul Gortmaker <[email protected]>
Cc: Scott Wood <[email protected]>; Paul Mackerras <[email protected]>; Claudiu Manoil <[email protected]>; [email protected]; Pali Roh??r <[email protected]>
Subject: Re: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platformsQuoted 9 lines · Li Yang
Quoted 7 lines · On Tue, Feb 21, 2023 at 1:52???PM Paul Gortmaker…
[This RFC is proposed for v6.4 and hence is based off linux-next.]
In a similar theme to the e300/MPC83xx evaluation platform removal[1], this targets removal of some 13 --> 21 year old e500/MPC85xx evaluation boards that were produced in limited numbers and primarily made available to hardware/software developers to shape
their own boards and BSPs.
Quoted 5 lines
These e500 platforms are similar to the e300 platforms that they are still being shipped, the targeting market probably caused it to have a longer life cycle.
...
Quoted 3 lines
The difference here from the e300 platforms is that MPC8540ADS, MPC8560ADS, MPC8548CDS, MPC8568-MDS are the only reference
platforms
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
supplied by us for these SoCs. We don't have a separation of evaluation platforms vs product-like platforms like we did later. That probably means even if they don't look like "hobbyist" friendly they are more likely to be still in use.
OK. But what is the chance anyone is booting upstream kernels on them?
We do still have these parts shipped, which means that there are definitely active users of these silicons. But it is really hard to say how many of they are running latest upstream kernel. IMO, if the nature of the application is critical it is likely they will need to update the kernel to get all the security fixes. And the reference board will be helpful as a starting point when they update the kernel.
I think the right thing to do here with this series is to remove the super ancient 20+ year old MPC8540ADS and MPC8560ADS; and leave the slightly more modern ones for another day in the future.
I don't think anyone can realistically argue against that?
Paul.
--
Quoted 8 lines
Quoted 3 lines
I assume no one at NXP is testing upstream on those boards?
To be frank they are not included in the routine tests carried out by the development team now which is not ideal to me. But I think the support team are probably willing to help on issues with latest kernel when needed.
Regards,
Leo