arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board
PATCH 1/1 arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board
When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this in kirkwood-pogoplug-series-4-u-boot.dtsi.
---
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi new file +7 -0
@@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Tony Dinh <[email protected]> + */ +&uart0 { + u-boot,dm-pre-reloc; +};
Signature · 1 line
2.30.2
Quoted 5 lines · Tony Dinh
When
DM_SERIALis enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this inkirkwood-pogoplug-series-4-u-boot.dtsi.Signed-off-by Tony Dinh <[email protected]>
Thanks,
Stefan
Quoted 12 lines
---
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)create mode 100644
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsiarch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi new file +0
-0
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi line 7
Quoted 7 lines
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi new file +7
-0@@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Tony Dinh <[email protected]> + */ +&uart0 { + u-boot,dm-pre-reloc; +};
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
Am 2023-02-13 09:43, schrieb Stefan Roese:
Quoted 8 lines · Tony Dinh
Quoted 5 lines
When
DM_SERIALis enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this inkirkwood-pogoplug-series-4-u-boot.dtsi.Signed-off-by Tony Dinh <[email protected]>Reviewed-by Stefan Roese <[email protected]>
If I understood it correctly, this is a workaround, right? Maybe we can include a link to the original discussion here for the case when someone stumbles over this commit:
-michael
Hi Michael,
Quoted 8 lines · Michael Walle
Am 2023-02-13 09:43, schrieb Stefan Roese:
Quoted 7 lines · Tony Dinh
Quoted 5 lines
When
DM_SERIALis enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this inkirkwood-pogoplug-series-4-u-boot.dtsi.Signed-off-by Tony Dinh <[email protected]>
Quoted 7 lines
Quoted 1 line
Reviewed-by Stefan Roese <[email protected]>If I understood it correctly, this is a workaround, right? Maybe we can include a link to the original discussion here for the case when someone stumbles over this commit:
Correct, it's not fully understood, why this property is really needed. Some bug still might be hidden in the early DT console code. Still we want to move forward with this board, so this dm-pre-reloc property helps here.
I'll add the link to the discussion to the commit text. Good idea.
Thanks,
Stefan
Quoted 5 lines · Tony Dinh
When
DM_SERIALis enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this inkirkwood-pogoplug-series-4-u-boot.dtsi.Signed-off-by Tony Dinh <[email protected]>
Applied to u-boot-marvell/master
Thanks,
Stefan
Quoted 12 lines
---
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)create mode 100644
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsiarch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi new file +0
-0
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi line 7
Quoted 7 lines
arch/arm/dts/kirkwood-pogoplug-series-4-u-boot.dtsi new file +7
-0@@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Tony Dinh <[email protected]> + */ +&uart0 { + u-boot,dm-pre-reloc; +};
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
Quoted 18 lines · Stefan Roese
Hi Michael,
Quoted 14 lines · Michael Walle
Am 2023-02-13 09:43, schrieb Stefan Roese:
Quoted 8 lines · Tony Dinh
Quoted 5 lines
When
DM_SERIALis enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this inkirkwood-pogoplug-series-4-u-boot.dtsi.Signed-off-by Tony Dinh <[email protected]>Reviewed-by Stefan Roese <[email protected]>If I understood it correctly, this is a workaround, right? Maybe we can include a link to the original discussion here for the case when someone stumbles over this commit:
Quoted 8 lines
Quoted 1 line
Correct, it's not fully understood, why this property is really needed. Some bug still might be hidden in the early DT console code. Still we want to move forward with this board, so this dm-pre-reloc property helps here.
I'll add the link to the discussion to the commit text. Good idea.
Thanks Stefan!
All the best,
Tony
Quoted 4 lines
Thanks,
Stefan