Skip to main content

1 reply

Maxime_MARCHETTO1
ST Community Manager
June 12, 2026

The problem was in U-boot DT.

&ltdc { status = "okay"; /* USER CODE BEGIN ltdc */ port{ #address-cells = <1>; #size-cells = <0>; }; /* USER CODE END ltdc */ };

 

The solution was to copy the DT from.DK.

&ltdc { status = "okay"; /* USER CODE BEGIN ltdc */ port{ #address-cells = <1>; #size-cells = <0>; ltdc_ep0_out:endpoint@0{ reg = <0>; remote-endpoint = <&dsi_in>; }; }; /* USER CODE END ltdc */ };

Now Linux is booting!

Maxime_MARCHETTO1
ST Community Manager
June 12, 2026

Hi  and welcome to ST Community,

Thank you for reporting this issue.

Could you please try launching STM32CubeMX2 from the command line in debug mode with the following command:

cube mx start --log-level debug 

After that, please share the relevant log files with us so we can investigate further. You can find them under:

/home/<USER>/.local/share/stm32cube/logs 

Press Ctrl + H to toggle hidden files and folders, such as .local.

Best regards,
Oussama.

Maxime_MARCHETTO1
ST Community Manager
June 12, 2026

Hello Oussama,

I have tried both removing and commenting this line (127.0.0.1 localhost), but it didn't change anything.

However, thanks to your suggestion about /etc/hosts and this issue nuxt issue 19068, I figured out that my $HOST variable was set to :
HOST=MyPrecious

Thus, it tried to find a port for MyPrecious, which is not a valid host !

Thus adding it to /etc/hosts with a given IP:

127.0.0.1 localhost 127.0.2.1 MyPrecious

 

Solved the problem !!! Thus, you should make sure that if $HOST is defined, it HAS TO BE GIVEN an IP in /etc/hosts.

Thus, my problem is solved.

I hope that it will help others !

 

Thank you Oussama for your time,

Laurent.