cancel
Showing results for 
Search instead for 
Did you mean: 

extlinux.conf can't chose uInitrd boot

ttao.1
Associate II

hi st expert

I am porting openstlinux for my robot board, I found that the system froze after uboot selected the extlinux file, and then rebooted after a while,the uart log :

0693W00000aIpSSQA0.pngDo I have any debugging means to analyze where the current problem is? thanks advance!

my extlinux.conf context:

0693W00000aIpnJQAS.png

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickD
ST Employee

Hi,

its seens you are blocking when U-Boot try to display the splash screen

(it the last operation in the trace: extlinux is parsed, the bmp file is loaded and displayed)

and the Watchdog occur after 32s

it is the trace of 'Reset reason' in TF-A log = IWDG2 Reset

1/ to confirm, you can try to skip this splash screen step by removing the line

"MENU BACKGROUND /splash...." in the extlinux.conf file

2/ if it is confirmed, you need to debug the display configuration on your "robot board" in U-Boot

(device tree / Panel driver)

FYI: splash screen is displayed here for DISTRO boot with extlinux.conf

https://github.com/STMicroelectronics/u-boot/blob/v2021.10-stm32mp/cmd/pxe_utils.c#L1454

=> command cls + bmp_display()

you can activate debug trace (define DEBUG and LOG_DEBUG)

in the driver (DSI / LTDC ) and framework (DISPLAY U-Class) used for your panel on your board

https://wiki.st.com/stm32mpu/wiki/U-Boot_-_How_to_debug

for example...

=> https://github.com/STMicroelectronics/u-boot/tree/v2021.10-stm32mp/drivers/video/stm32

=> https://github.com/STMicroelectronics/u-boot/blob/v2021.10-stm32mp/drivers/video/simple_panel.c

=> https://github.com/STMicroelectronics/u-boot/blob/v2021.10-stm32mp/drivers/video/video-uclass.c

regards

Patrick

View solution in original post

2 REPLIES 2
PatrickD
ST Employee

Hi,

its seens you are blocking when U-Boot try to display the splash screen

(it the last operation in the trace: extlinux is parsed, the bmp file is loaded and displayed)

and the Watchdog occur after 32s

it is the trace of 'Reset reason' in TF-A log = IWDG2 Reset

1/ to confirm, you can try to skip this splash screen step by removing the line

"MENU BACKGROUND /splash...." in the extlinux.conf file

2/ if it is confirmed, you need to debug the display configuration on your "robot board" in U-Boot

(device tree / Panel driver)

FYI: splash screen is displayed here for DISTRO boot with extlinux.conf

https://github.com/STMicroelectronics/u-boot/blob/v2021.10-stm32mp/cmd/pxe_utils.c#L1454

=> command cls + bmp_display()

you can activate debug trace (define DEBUG and LOG_DEBUG)

in the driver (DSI / LTDC ) and framework (DISPLAY U-Class) used for your panel on your board

https://wiki.st.com/stm32mpu/wiki/U-Boot_-_How_to_debug

for example...

=> https://github.com/STMicroelectronics/u-boot/tree/v2021.10-stm32mp/drivers/video/stm32

=> https://github.com/STMicroelectronics/u-boot/blob/v2021.10-stm32mp/drivers/video/simple_panel.c

=> https://github.com/STMicroelectronics/u-boot/blob/v2021.10-stm32mp/drivers/video/video-uclass.c

regards

Patrick

hi PatrickD:

After remove "MENU BACKGROUND /splash...." in the extlinux.conf  kernel boot success, i'll try debug the display issue, thanks a lot!

B&R

Tao