[PATCH] socfpga: fix the serial console on DE1-SoC

Previously, the TX LED would flash but nothing would appear on the serial port, and the board would appear dead with a build of the socfpga_cyclone5_defconfig. I have verified that adding the frequency to the uart will fix the serial console on my board.
Thanks to @ehoffman on the Rocketboards forum: https://forum.rocketboards.org/t/cyclonev-programming-fpga-from-u-boot/2230/...
Signed-off-by: Jade Lovelace lists@jade.fyi ---
arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts index ff1e61e0cb..b71496bfb5 100644 --- a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts +++ b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts @@ -75,6 +75,7 @@ };
&uart0 { + clock-frequency = <100000000>; u-boot,dm-pre-reloc; };

On 2/11/23 02:15, Jade Lovelace wrote:
Previously, the TX LED would flash but nothing would appear on the serial port, and the board would appear dead with a build of the socfpga_cyclone5_defconfig. I have verified that adding the frequency to the uart will fix the serial console on my board.
Thanks to @ehoffman on the Rocketboards forum: https://forum.rocketboards.org/t/cyclonev-programming-fpga-from-u-boot/2230/...
Signed-off-by: Jade Lovelace lists@jade.fyi
arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts index ff1e61e0cb..b71496bfb5 100644 --- a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts +++ b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts @@ -75,6 +75,7 @@ };
&uart0 {
- clock-frequency = <100000000>; u-boot,dm-pre-reloc; };
Reviewed-by: Marek Vasut marex@denx.de
Tom, can you pick this one directly for current release ?

On Fri, 10 Feb 2023 17:15:26 -0800, Jade Lovelace wrote:
Previously, the TX LED would flash but nothing would appear on the serial port, and the board would appear dead with a build of the socfpga_cyclone5_defconfig. I have verified that adding the frequency to the uart will fix the serial console on my board.
Thanks to @ehoffman on the Rocketboards forum: https://forum.rocketboards.org/t/cyclonev-programming-fpga-from-u-boot/2230/...
[...]
Applied to u-boot/master, thanks!
participants (3)
-
Jade Lovelace
-
Marek Vasut
-
Tom Rini