[U-Boot] [RFC] enforce CONFIG_DM=y

The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200 * h2200
Renesas * sh7757lcr * sh7752evb * r2dplus * sh7753evb * sh7763rdp * MigoR * r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Best regards
Heinrich

On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Regards, Simon

On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?

On 8/13/19 11:53 AM, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Sure it is not up to me to take the decision. But I would like to get the opinion-forming started.
We have discussed on the dev list that we should strive to move partitions to the driver model and to provide a better integration between the drivers and the UEFI sub-system. CONFIG_DM=y is one of the prerequisites.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
Since more than a year all maintainers are urged to move to DM_MMC, DM_USB, DM_SATA, etc. See doc/driver-model/migration.rst. These all require that DM is enabled. The maintainers of the boards concerned are on copy.
Best regards
Heinrich

On Tue, Aug 13, 2019 at 11:53:59AM +0200, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
I think for H2200 we talked about dropping that during the last "can we find a newer toolchain for everyone?" thread, and I'll check my email again on that. For the SH boards, you and I had a conversation about them awhile ago that lead to you removing a number of platforms, so those are the ones that are left that need converting or dropping.

On 8/13/19 1:12 PM, Tom Rini wrote:
On Tue, Aug 13, 2019 at 11:53:59AM +0200, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
I think for H2200 we talked about dropping that during the last "can we find a newer toolchain for everyone?" thread, and I'll check my email again on that. For the SH boards, you and I had a conversation about them awhile ago that lead to you removing a number of platforms, so those are the ones that are left that need converting or dropping.
I agree that H2200 board should be removed from main Das U-Boot tree. I don't have enough time to support it correctly (to keep up with development of whole project).
Sincerely, Lukasz Dalek

On 8/13/19 11:53 AM, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
+CC Shimoda-san with correct email address.

On 8/13/19 11:53 AM, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
So I was asked to retain migor and r2dplus. I need some time to figure out the details of what will really be retained. When are they due to be dropped ?

On 8/23/19 12:49 PM, Marek Vasut wrote:
On 8/13/19 11:53 AM, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
So I was asked to retain migor and r2dplus. I need some time to figure out the details of what will really be retained. When are they due to be dropped ?
The boards above are the ones that cannot be built with DM=y. Others may be failing at runtime. Therefore I suggest targeting the v2020.01 release. If that date is ok, let's add a warning via /Makefile:
"This board does not use CONFIG_DM=y. All boards without CONFIG_DM=y will be removed from U-Boot with the v2020.01 release."
Best regards
Heinrich Schuchardt

On 8/23/19 1:35 PM, Heinrich Schuchardt wrote:
On 8/23/19 12:49 PM, Marek Vasut wrote:
On 8/13/19 11:53 AM, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
So I was asked to retain migor and r2dplus. I need some time to figure out the details of what will really be retained. When are they due to be dropped ?
The boards above are the ones that cannot be built with DM=y. Others may be failing at runtime. Therefore I suggest targeting the v2020.01 release. If that date is ok, let's add a warning via /Makefile:
That's fine I think.
"This board does not use CONFIG_DM=y. All boards without CONFIG_DM=y will be removed from U-Boot with the v2020.01 release."
I am somewhat concerned that enforcing the overhead of DM on everyone might make U-Boot less "universal".

On Fri, Aug 23, 2019 at 08:49:29PM +0200, Marek Vasut wrote:
On 8/23/19 1:35 PM, Heinrich Schuchardt wrote:
On 8/23/19 12:49 PM, Marek Vasut wrote:
On 8/13/19 11:53 AM, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed.
I ran a test on Travis CI https://travis-ci.org/xypron2/u-boot/builds/569776600 that showed only 8 boards remain that cannot be built with CONFIG_DM=y.
H2200
- h2200
Renesas
- sh7757lcr
- sh7752evb
- r2dplus
- sh7753evb
- sh7763rdp
- MigoR
- r7780mp.
I think it is time that we enforce CONFIG_DM=y in U-Boot and remove boards that do not support it.
Agreed, that is a small list. I think Tom should make the call though.
Was there ever a warning about this , to notify the maintainers that the boards need conversion ?
So I was asked to retain migor and r2dplus. I need some time to figure out the details of what will really be retained. When are they due to be dropped ?
The boards above are the ones that cannot be built with DM=y. Others may be failing at runtime. Therefore I suggest targeting the v2020.01 release. If that date is ok, let's add a warning via /Makefile:
That's fine I think.
"This board does not use CONFIG_DM=y. All boards without CONFIG_DM=y will be removed from U-Boot with the v2020.01 release."
I am somewhat concerned that enforcing the overhead of DM on everyone might make U-Boot less "universal".
Do you have some suggestions on how to improve the situation?
participants (6)
-
Heinrich Schuchardt
-
Marek Vasut
-
Marek Vasut
-
Simon Glass
-
Tom Rini
-
Łukasz Dałek