diff mbox series

[06/13] ARM: ep93xx: mark most board files as unused

Message ID 20220721141722.2414719-7-arnd@kernel.org (mailing list archive)
State New, archived
Headers show
Series ARM: mark most boards as unused | expand

Commit Message

Arnd Bergmann July 21, 2022, 2:17 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Most of the remaining ARM board files in the kernel have no known users,
and we plan to remove those in early 2023.

For ep93xx, Alexander Sverdlin still has access to the edb93xx family
of reference boards, while Nikita Shubin has a ts7250 and is working on
a device tree conversion for those.

This is a total of nine machine definitions that we will keep
around, but these are all similar machines and are defined in only
two board files. The other six board files now have a dependency on
CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.

Cc: Nikita Shubin <nikita.shubin@maquefel.me>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/configs/ep93xx_defconfig | 9 ---------
 arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)

Comments

Alexander Sverdlin July 21, 2022, 2:30 p.m. UTC | #1
Hi Arnd!

On Thu, 2022-07-21 at 16:17 +0200, Arnd Bergmann wrote:
> Most of the remaining ARM board files in the kernel have no known users,
> and we plan to remove those in early 2023.
> 
> For ep93xx, Alexander Sverdlin still has access to the edb93xx family
> of reference boards, while Nikita Shubin has a ts7250 and is working on
> a device tree conversion for those.
> 
> This is a total of nine machine definitions that we will keep
> around, but these are all similar machines and are defined in only
> two board files. The other six board files now have a dependency on
> CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.
> 
> Cc: Nikita Shubin <nikita.shubin@maquefel.me>
> Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> Cc: Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Lukasz Majewski <lukma@denx.de>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>

> ---
>  arch/arm/configs/ep93xx_defconfig | 9 ---------
>  arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
>  2 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/configs/ep93xx_defconfig b/arch/arm/configs/ep93xx_defconfig
> index dd390f3b19d2..afa4f789da1f 100644
> --- a/arch/arm/configs/ep93xx_defconfig
> +++ b/arch/arm/configs/ep93xx_defconfig
> @@ -8,7 +8,6 @@ CONFIG_EXPERT=y
>  CONFIG_ARCH_MULTI_V4T=y
>  # CONFIG_ARCH_MULTI_V7 is not set
>  CONFIG_ARCH_EP93XX=y
> -CONFIG_MACH_ADSSPHERE=y
>  CONFIG_MACH_EDB9301=y
>  CONFIG_MACH_EDB9302=y
>  CONFIG_MACH_EDB9302A=y
> @@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y
>  CONFIG_MACH_EDB9312=y
>  CONFIG_MACH_EDB9315=y
>  CONFIG_MACH_EDB9315A=y
> -CONFIG_MACH_GESBC9312=y
> -CONFIG_MACH_MICRO9H=y
> -CONFIG_MACH_MICRO9M=y
> -CONFIG_MACH_MICRO9L=y
> -CONFIG_MACH_MICRO9S=y
> -CONFIG_MACH_SIM_ONE=y
> -CONFIG_MACH_SNAPPER_CL15=y
>  CONFIG_MACH_TS72XX=y
> -CONFIG_MACH_VISION_EP9307=y
>  CONFIG_AEABI=y
>  CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
>  CONFIG_MODULES=y
> diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig
> index ecac8b487dae..f96d14073b91 100644
> --- a/arch/arm/mach-ep93xx/Kconfig
> +++ b/arch/arm/mach-ep93xx/Kconfig
> @@ -27,6 +27,7 @@ comment "EP93xx Platforms"
>  
>  config MACH_ADSSPHERE
>         bool "Support ADS Sphere"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the ADS
>           Sphere board.
> @@ -99,6 +100,7 @@ config MACH_EDB9315A
>  
>  config MACH_GESBC9312
>         bool "Support Glomation GESBC-9312-sx"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the Glomation
>           GESBC-9312-sx board.
> @@ -109,6 +111,7 @@ config MACH_MICRO9
>  config MACH_MICRO9H
>         bool "Support Contec Micro9-High"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-High board.
> @@ -116,6 +119,7 @@ config MACH_MICRO9H
>  config MACH_MICRO9M
>         bool "Support Contec Micro9-Mid"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-Mid board.
> @@ -123,6 +127,7 @@ config MACH_MICRO9M
>  config MACH_MICRO9L
>         bool "Support Contec Micro9-Lite"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-Lite board.
> @@ -130,18 +135,21 @@ config MACH_MICRO9L
>  config MACH_MICRO9S
>         bool "Support Contec Micro9-Slim"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-Slim board.
>  
>  config MACH_SIM_ONE
>          bool "Support Simplemachines Sim.One board"
> +       depends on UNUSED_BOARD_FILES
>          help
>            Say 'Y' here if you want your kernel to support the
>            Simplemachines Sim.One board.
>  
>  config MACH_SNAPPER_CL15
>         bool "Support Bluewater Systems Snapper CL15 Module"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the Bluewater
>           Systems Snapper CL15 Module.
> @@ -154,6 +162,7 @@ config MACH_TS72XX
>  
>  config MACH_VISION_EP9307
>         bool "Support Vision Engraving Systems EP9307 SoM"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Vision Engraving Systems EP9307 SoM.
Hartley Sweeten July 21, 2022, 3:51 p.m. UTC | #2
Hello,

I still have some Vision EP9302 boards that I use.

Hartley

-----Original Message-----
From: Alexander Sverdlin <alexander.sverdlin@gmail.com> 
Sent: Thursday, July 21, 2022 7:30 AM
To: Arnd Bergmann <arnd@kernel.org>; linux-arm-kernel@lists.infradead.org
Cc: Arnd Bergmann <arnd@arndb.de>; Nikita Shubin <nikita.shubin@maquefel.me>; Hartley Sweeten <HartleyS@visionengravers.com>; Lukasz Majewski <lukma@denx.de>
Subject: Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused


Hi Arnd!

On Thu, 2022-07-21 at 16:17 +0200, Arnd Bergmann wrote:
> Most of the remaining ARM board files in the kernel have no known 
> users, and we plan to remove those in early 2023.
>
> For ep93xx, Alexander Sverdlin still has access to the edb93xx family 
> of reference boards, while Nikita Shubin has a ts7250 and is working 
> on a device tree conversion for those.
>
> This is a total of nine machine definitions that we will keep around, 
> but these are all similar machines and are defined in only two board 
> files. The other six board files now have a dependency on 
> CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.
>
> Cc: Nikita Shubin <nikita.shubin@maquefel.me>
> Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> Cc: Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Lukasz Majewski <lukma@denx.de>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>

> ---
>  arch/arm/configs/ep93xx_defconfig | 9 ---------
>  arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
>  2 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/configs/ep93xx_defconfig 
> b/arch/arm/configs/ep93xx_defconfig
> index dd390f3b19d2..afa4f789da1f 100644
> --- a/arch/arm/configs/ep93xx_defconfig
> +++ b/arch/arm/configs/ep93xx_defconfig
> @@ -8,7 +8,6 @@ CONFIG_EXPERT=y
>  CONFIG_ARCH_MULTI_V4T=y
>  # CONFIG_ARCH_MULTI_V7 is not set
>  CONFIG_ARCH_EP93XX=y
> -CONFIG_MACH_ADSSPHERE=y
>  CONFIG_MACH_EDB9301=y
>  CONFIG_MACH_EDB9302=y
>  CONFIG_MACH_EDB9302A=y
> @@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y  CONFIG_MACH_EDB9312=y  
> CONFIG_MACH_EDB9315=y  CONFIG_MACH_EDB9315A=y -CONFIG_MACH_GESBC9312=y 
> -CONFIG_MACH_MICRO9H=y -CONFIG_MACH_MICRO9M=y -CONFIG_MACH_MICRO9L=y 
> -CONFIG_MACH_MICRO9S=y -CONFIG_MACH_SIM_ONE=y 
> -CONFIG_MACH_SNAPPER_CL15=y  CONFIG_MACH_TS72XX=y 
> -CONFIG_MACH_VISION_EP9307=y  CONFIG_AEABI=y
>  CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
>  CONFIG_MODULES=y
> diff --git a/arch/arm/mach-ep93xx/Kconfig 
> b/arch/arm/mach-ep93xx/Kconfig index ecac8b487dae..f96d14073b91 100644
> --- a/arch/arm/mach-ep93xx/Kconfig
> +++ b/arch/arm/mach-ep93xx/Kconfig
> @@ -27,6 +27,7 @@ comment "EP93xx Platforms"
>
>  config MACH_ADSSPHERE
>         bool "Support ADS Sphere"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the ADS
>           Sphere board.
> @@ -99,6 +100,7 @@ config MACH_EDB9315A
>
>  config MACH_GESBC9312
>         bool "Support Glomation GESBC-9312-sx"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the Glomation
>           GESBC-9312-sx board.
> @@ -109,6 +111,7 @@ config MACH_MICRO9  config MACH_MICRO9H
>         bool "Support Contec Micro9-High"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-High board.
> @@ -116,6 +119,7 @@ config MACH_MICRO9H  config MACH_MICRO9M
>         bool "Support Contec Micro9-Mid"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-Mid board.
> @@ -123,6 +127,7 @@ config MACH_MICRO9M  config MACH_MICRO9L
>         bool "Support Contec Micro9-Lite"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-Lite board.
> @@ -130,18 +135,21 @@ config MACH_MICRO9L  config MACH_MICRO9S
>         bool "Support Contec Micro9-Slim"
>         select MACH_MICRO9
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Contec Micro9-Slim board.
>
>  config MACH_SIM_ONE
>          bool "Support Simplemachines Sim.One board"
> +       depends on UNUSED_BOARD_FILES
>          help
>            Say 'Y' here if you want your kernel to support the
>            Simplemachines Sim.One board.
>
>  config MACH_SNAPPER_CL15
>         bool "Support Bluewater Systems Snapper CL15 Module"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the Bluewater
>           Systems Snapper CL15 Module.
> @@ -154,6 +162,7 @@ config MACH_TS72XX
>
>  config MACH_VISION_EP9307
>         bool "Support Vision Engraving Systems EP9307 SoM"
> +       depends on UNUSED_BOARD_FILES
>         help
>           Say 'Y' here if you want your kernel to support the
>           Vision Engraving Systems EP9307 SoM.

--
Alexander Sverdlin.
Alexander Sverdlin July 21, 2022, 4:01 p.m. UTC | #3
Hi Hartley!

On Thu, 2022-07-21 at 15:51 +0000, Hartley Sweeten wrote:
> I still have some Vision EP9302 boards that I use.

Which Kconfig entry is it?
Is it MACH_VISION_EP9307 or MACH_EDB9302?
Hartley Sweeten July 21, 2022, 4:09 p.m. UTC | #4
Alexander,

MACH_VISION_EP9307

I also have a EDB9302 eval boad, a Sim.One board and a Contec Micro9 board. But I have not powered those on for quite a while. They did work last time I used them.

MACH_SIM_ONE
MACH_MICRO9

Hartley


-----Original Message-----
From: Alexander Sverdlin <alexander.sverdlin@gmail.com> 
Sent: Thursday, July 21, 2022 9:01 AM
To: Hartley Sweeten <HartleyS@visionengravers.com>; Arnd Bergmann <arnd@kernel.org>; linux-arm-kernel@lists.infradead.org
Cc: Arnd Bergmann <arnd@arndb.de>; Nikita Shubin <nikita.shubin@maquefel.me>; Lukasz Majewski <lukma@denx.de>
Subject: Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi Hartley!

On Thu, 2022-07-21 at 15:51 +0000, Hartley Sweeten wrote:
> I still have some Vision EP9302 boards that I use.

Which Kconfig entry is it?
Is it MACH_VISION_EP9307 or MACH_EDB9302?

--
Alexander Sverdlin.
Arnd Bergmann July 21, 2022, 7:10 p.m. UTC | #5
On Thu, Jul 21, 2022 at 6:09 PM Hartley Sweeten
<HartleyS@visionengravers.com> wrote:
>
> Alexander,
>
> MACH_VISION_EP9307

Ok, marked as still in use.

> I also have a EDB9302 eval boad, a Sim.One board and a Contec Micro9 board. But I
> have not powered those on for quite a while. They did work last time I used them.
>
> MACH_SIM_ONE
> MACH_MICRO9

That sounds to me like it fits in the 'unused' category, so I left it
marked that way.
Let me know if you think we should keep them for now.

Also, do you have any additional thoughts on longterm viability of
ep93xx, especially
plans for how long Vision EP9302 kernel updates will get distributed
to users, and
whether it makes sense to convert it to DT?

     Arnd
Lukasz Majewski July 22, 2022, 8:04 a.m. UTC | #6
Hi Arnd,

> From: Arnd Bergmann <arnd@arndb.de>
> 
> Most of the remaining ARM board files in the kernel have no known
> users, and we plan to remove those in early 2023.
> 
> For ep93xx, Alexander Sverdlin still has access to the edb93xx family
> of reference boards, while Nikita Shubin has a ts7250 and is working
> on a device tree conversion for those.

I do know about one actively used TS7250 based board. It is going to be
still used for some time. However, I don't have the HW with me, but may
be available when the BSP will be refurbished.

> 
> This is a total of nine machine definitions that we will keep
> around, but these are all similar machines and are defined in only
> two board files. The other six board files now have a dependency on
> CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.
> 
> Cc: Nikita Shubin <nikita.shubin@maquefel.me>
> Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> Cc: Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Lukasz Majewski <lukma@denx.de>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  arch/arm/configs/ep93xx_defconfig | 9 ---------
>  arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
>  2 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/configs/ep93xx_defconfig
> b/arch/arm/configs/ep93xx_defconfig index dd390f3b19d2..afa4f789da1f
> 100644 --- a/arch/arm/configs/ep93xx_defconfig
> +++ b/arch/arm/configs/ep93xx_defconfig
> @@ -8,7 +8,6 @@ CONFIG_EXPERT=y
>  CONFIG_ARCH_MULTI_V4T=y
>  # CONFIG_ARCH_MULTI_V7 is not set
>  CONFIG_ARCH_EP93XX=y
> -CONFIG_MACH_ADSSPHERE=y
>  CONFIG_MACH_EDB9301=y
>  CONFIG_MACH_EDB9302=y
>  CONFIG_MACH_EDB9302A=y
> @@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y
>  CONFIG_MACH_EDB9312=y
>  CONFIG_MACH_EDB9315=y
>  CONFIG_MACH_EDB9315A=y
> -CONFIG_MACH_GESBC9312=y
> -CONFIG_MACH_MICRO9H=y
> -CONFIG_MACH_MICRO9M=y
> -CONFIG_MACH_MICRO9L=y
> -CONFIG_MACH_MICRO9S=y
> -CONFIG_MACH_SIM_ONE=y
> -CONFIG_MACH_SNAPPER_CL15=y
>  CONFIG_MACH_TS72XX=y
> -CONFIG_MACH_VISION_EP9307=y
>  CONFIG_AEABI=y
>  CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
>  CONFIG_MODULES=y
> diff --git a/arch/arm/mach-ep93xx/Kconfig
> b/arch/arm/mach-ep93xx/Kconfig index ecac8b487dae..f96d14073b91 100644
> --- a/arch/arm/mach-ep93xx/Kconfig
> +++ b/arch/arm/mach-ep93xx/Kconfig
> @@ -27,6 +27,7 @@ comment "EP93xx Platforms"
>  
>  config MACH_ADSSPHERE
>  	bool "Support ADS Sphere"
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the ADS
>  	  Sphere board.
> @@ -99,6 +100,7 @@ config MACH_EDB9315A
>  
>  config MACH_GESBC9312
>  	bool "Support Glomation GESBC-9312-sx"
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
> Glomation GESBC-9312-sx board.
> @@ -109,6 +111,7 @@ config MACH_MICRO9
>  config MACH_MICRO9H
>  	bool "Support Contec Micro9-High"
>  	select MACH_MICRO9
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
>  	  Contec Micro9-High board.
> @@ -116,6 +119,7 @@ config MACH_MICRO9H
>  config MACH_MICRO9M
>  	bool "Support Contec Micro9-Mid"
>  	select MACH_MICRO9
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
>  	  Contec Micro9-Mid board.
> @@ -123,6 +127,7 @@ config MACH_MICRO9M
>  config MACH_MICRO9L
>  	bool "Support Contec Micro9-Lite"
>  	select MACH_MICRO9
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
>  	  Contec Micro9-Lite board.
> @@ -130,18 +135,21 @@ config MACH_MICRO9L
>  config MACH_MICRO9S
>  	bool "Support Contec Micro9-Slim"
>  	select MACH_MICRO9
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
>  	  Contec Micro9-Slim board.
>  
>  config MACH_SIM_ONE
>          bool "Support Simplemachines Sim.One board"
> +	depends on UNUSED_BOARD_FILES
>          help
>            Say 'Y' here if you want your kernel to support the
>            Simplemachines Sim.One board.
>  
>  config MACH_SNAPPER_CL15
>  	bool "Support Bluewater Systems Snapper CL15 Module"
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
> Bluewater Systems Snapper CL15 Module.
> @@ -154,6 +162,7 @@ config MACH_TS72XX
>  
>  config MACH_VISION_EP9307
>  	bool "Support Vision Engraving Systems EP9307 SoM"
> +	depends on UNUSED_BOARD_FILES
>  	help
>  	  Say 'Y' here if you want your kernel to support the
>  	  Vision Engraving Systems EP9307 SoM.




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
Arnd Bergmann July 22, 2022, 9:14 a.m. UTC | #7
On Fri, Jul 22, 2022 at 10:04 AM Lukasz Majewski <lukma@denx.de> wrote:
> > From: Arnd Bergmann <arnd@arndb.de>
> >
> > Most of the remaining ARM board files in the kernel have no known
> > users, and we plan to remove those in early 2023.
> >
> > For ep93xx, Alexander Sverdlin still has access to the edb93xx family
> > of reference boards, while Nikita Shubin has a ts7250 and is working
> > on a device tree conversion for those.
>
> I do know about one actively used TS7250 based board. It is going to be
> still used for some time. However, I don't have the HW with me, but may
> be available when the BSP will be refurbished.

Ok, thanks for the information. It sounds like an increasing argument
for doing a DT conversion after all. How often does the BSP get a new
kernel? I think Nikita's DT conversion for ts7250 (see [1]) shouldn't
be too hard to port from 5.11 to 5.20+, as most of the patches just
introduce driver support. The multiplatform conversion in 5.19 hopefully
made things a bit easier but likely also requires a few extra changes.

       Arnd

https://lore.kernel.org/linux-arm-kernel/20220704120749.7a742c2c@redslave.neermore.group/
Lukasz Majewski July 22, 2022, 11:04 a.m. UTC | #8
Hi Arnd,

> On Fri, Jul 22, 2022 at 10:04 AM Lukasz Majewski <lukma@denx.de>
> wrote:
> > > From: Arnd Bergmann <arnd@arndb.de>
> > >
> > > Most of the remaining ARM board files in the kernel have no known
> > > users, and we plan to remove those in early 2023.
> > >
> > > For ep93xx, Alexander Sverdlin still has access to the edb93xx
> > > family of reference boards, while Nikita Shubin has a ts7250 and
> > > is working on a device tree conversion for those.  
> >
> > I do know about one actively used TS7250 based board. It is going
> > to be still used for some time. However, I don't have the HW with
> > me, but may be available when the BSP will be refurbished.  
> 
> Ok, thanks for the information. It sounds like an increasing argument
> for doing a DT conversion after all. How often does the BSP get a new
> kernel? 

Last time it was from 2.6.2X to 4.14 LTS ...

> I think Nikita's DT conversion for ts7250 (see [1]) shouldn't
> be too hard to port from 5.11 to 5.20+, as most of the patches just
> introduce driver support. The multiplatform conversion in 5.19
> hopefully made things a bit easier but likely also requires a few
> extra changes.

I could easily get updated the customer's board to the DT if at least
one ep93xx is in tree (as it is based on TS7250).

However, I cannot predict when the new BSP (with new Kernel) will be
required .... 

> 
>        Arnd
> 
> https://lore.kernel.org/linux-arm-kernel/20220704120749.7a742c2c@redslave.neermore.group/




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
Arnd Bergmann July 22, 2022, 12:16 p.m. UTC | #9
On Fri, Jul 22, 2022 at 1:04 PM Lukasz Majewski <lukma@denx.de> wrote:
> > On Fri, Jul 22, 2022 at 10:04 AM Lukasz Majewski <lukma@denx.de> wrote:
> > > > From: Arnd Bergmann <arnd@arndb.de>
>
> Last time it was from 2.6.2X to 4.14 LTS ...

Ok.

> > I think Nikita's DT conversion for ts7250 (see [1]) shouldn't
> > be too hard to port from 5.11 to 5.20+, as most of the patches just
> > introduce driver support. The multiplatform conversion in 5.19
> > hopefully made things a bit easier but likely also requires a few
> > extra changes.
>
> I could easily get updated the customer's board to the DT if at least
> one ep93xx is in tree (as it is based on TS7250).

Both the ts7250/bk3 and the edb93xx variants are going to stay
for the moment, based on the feedback I got from Alexander and
Nikita, so this part is fine.

> However, I cannot predict when the new BSP (with new Kernel) will be
> required ....

I see that 4.14-lts will stop getting updates in early 2024, so I guess
this is the latest point to upgrade in order to still receive security fixes
(assuming that you actually update the production kernel periodically
for updated 4.14.y releases).

This still gives us the choice between two approaches that let us
retire the ep93xx board files in 2024:

a) do the DT conversion over the next 18 months (hopefully
    quicker) and let you update to that when the 4.14 release
    ends, with the option of further updates later.

b) do nothing until the LTS release in late 2023 and retire
   all of ep93xx in early 2024, leaving users with LTS  kernel
   fixes until at least 2027 (depending on how long this release
   gets maintained).

If everyone is fine with the limitations of b), that is obviously
the easier path, otherwise a) should not be that hard either.

       Arnd
Nikita Shubin July 25, 2022, 8:08 a.m. UTC | #10
Hello Arnd!

On Fri, 22 Jul 2022 14:16:20 +0200
Arnd Bergmann <arnd@kernel.org> wrote:

> On Fri, Jul 22, 2022 at 1:04 PM Lukasz Majewski <lukma@denx.de> wrote:
> > > On Fri, Jul 22, 2022 at 10:04 AM Lukasz Majewski <lukma@denx.de>
> > > wrote:  
> > > > > From: Arnd Bergmann <arnd@arndb.de>  
> >
> > Last time it was from 2.6.2X to 4.14 LTS ...  
> 
> Ok.
> 
> > > I think Nikita's DT conversion for ts7250 (see [1]) shouldn't
> > > be too hard to port from 5.11 to 5.20+, as most of the patches
> > > just introduce driver support. The multiplatform conversion in
> > > 5.19 hopefully made things a bit easier but likely also requires
> > > a few extra changes.  
> >
> > I could easily get updated the customer's board to the DT if at
> > least one ep93xx is in tree (as it is based on TS7250).  
> 
> Both the ts7250/bk3 and the edb93xx variants are going to stay
> for the moment, based on the feedback I got from Alexander and
> Nikita, so this part is fine.
> 
> > However, I cannot predict when the new BSP (with new Kernel) will be
> > required ....  
> 
> I see that 4.14-lts will stop getting updates in early 2024, so I
> guess this is the latest point to upgrade in order to still receive
> security fixes (assuming that you actually update the production
> kernel periodically for updated 4.14.y releases).
> 
> This still gives us the choice between two approaches that let us
> retire the ep93xx board files in 2024:
> 
> a) do the DT conversion over the next 18 months (hopefully
>     quicker) and let you update to that when the 4.14 release
>     ends, with the option of further updates later.
> 
> b) do nothing until the LTS release in late 2023 and retire
>    all of ep93xx in early 2024, leaving users with LTS  kernel
>    fixes until at least 2027 (depending on how long this release
>    gets maintained).
> 
> If everyone is fine with the limitations of b), that is obviously
> the easier path, otherwise a) should not be that hard either.

I feel a bit nostalgic about ts7250, as it was my very first "embedded"
Linux board, so i think it needs a proper retirement.

So let me finish the full conversion on the top of 5.20+ and then we can
think if it's suitable for plan "a". It won't take long, as i have a
bootable BSP on branch [2].

> 
>        Arnd
Arnd Bergmann July 25, 2022, 8:16 a.m. UTC | #11
On Mon, Jul 25, 2022 at 10:08 AM Nikita Shubin
<nikita.shubin@maquefel.me> wrote:
> On Fri, 22 Jul 2022 14:16:20 +0200 Arnd Bergmann <arnd@kernel.org> wrote:
> >
> > This still gives us the choice between two approaches that let us
> > retire the ep93xx board files in 2024:
> >
> > a) do the DT conversion over the next 18 months (hopefully
> >     quicker) and let you update to that when the 4.14 release
> >     ends, with the option of further updates later.
> >
> > b) do nothing until the LTS release in late 2023 and retire
> >    all of ep93xx in early 2024, leaving users with LTS  kernel
> >    fixes until at least 2027 (depending on how long this release
> >    gets maintained).
> >
> > If everyone is fine with the limitations of b), that is obviously
> > the easier path, otherwise a) should not be that hard either.
>
> I feel a bit nostalgic about ts7250, as it was my very first "embedded"
> Linux board, so i think it needs a proper retirement.
>
> So let me finish the full conversion on the top of 5.20+ and then we can
> think if it's suitable for plan "a". It won't take long, as i have a
> bootable BSP on branch [2].

That is perfect, thanks a lot!

       Arnd
diff mbox series

Patch

diff --git a/arch/arm/configs/ep93xx_defconfig b/arch/arm/configs/ep93xx_defconfig
index dd390f3b19d2..afa4f789da1f 100644
--- a/arch/arm/configs/ep93xx_defconfig
+++ b/arch/arm/configs/ep93xx_defconfig
@@ -8,7 +8,6 @@  CONFIG_EXPERT=y
 CONFIG_ARCH_MULTI_V4T=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_EP93XX=y
-CONFIG_MACH_ADSSPHERE=y
 CONFIG_MACH_EDB9301=y
 CONFIG_MACH_EDB9302=y
 CONFIG_MACH_EDB9302A=y
@@ -17,15 +16,7 @@  CONFIG_MACH_EDB9307A=y
 CONFIG_MACH_EDB9312=y
 CONFIG_MACH_EDB9315=y
 CONFIG_MACH_EDB9315A=y
-CONFIG_MACH_GESBC9312=y
-CONFIG_MACH_MICRO9H=y
-CONFIG_MACH_MICRO9M=y
-CONFIG_MACH_MICRO9L=y
-CONFIG_MACH_MICRO9S=y
-CONFIG_MACH_SIM_ONE=y
-CONFIG_MACH_SNAPPER_CL15=y
 CONFIG_MACH_TS72XX=y
-CONFIG_MACH_VISION_EP9307=y
 CONFIG_AEABI=y
 CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
 CONFIG_MODULES=y
diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig
index ecac8b487dae..f96d14073b91 100644
--- a/arch/arm/mach-ep93xx/Kconfig
+++ b/arch/arm/mach-ep93xx/Kconfig
@@ -27,6 +27,7 @@  comment "EP93xx Platforms"
 
 config MACH_ADSSPHERE
 	bool "Support ADS Sphere"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the ADS
 	  Sphere board.
@@ -99,6 +100,7 @@  config MACH_EDB9315A
 
 config MACH_GESBC9312
 	bool "Support Glomation GESBC-9312-sx"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the Glomation
 	  GESBC-9312-sx board.
@@ -109,6 +111,7 @@  config MACH_MICRO9
 config MACH_MICRO9H
 	bool "Support Contec Micro9-High"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-High board.
@@ -116,6 +119,7 @@  config MACH_MICRO9H
 config MACH_MICRO9M
 	bool "Support Contec Micro9-Mid"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Mid board.
@@ -123,6 +127,7 @@  config MACH_MICRO9M
 config MACH_MICRO9L
 	bool "Support Contec Micro9-Lite"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Lite board.
@@ -130,18 +135,21 @@  config MACH_MICRO9L
 config MACH_MICRO9S
 	bool "Support Contec Micro9-Slim"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Slim board.
 
 config MACH_SIM_ONE
         bool "Support Simplemachines Sim.One board"
+	depends on UNUSED_BOARD_FILES
         help
           Say 'Y' here if you want your kernel to support the
           Simplemachines Sim.One board.
 
 config MACH_SNAPPER_CL15
 	bool "Support Bluewater Systems Snapper CL15 Module"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the Bluewater
 	  Systems Snapper CL15 Module.
@@ -154,6 +162,7 @@  config MACH_TS72XX
 
 config MACH_VISION_EP9307
 	bool "Support Vision Engraving Systems EP9307 SoM"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Vision Engraving Systems EP9307 SoM.