Morello board hangs before reaching UEFI at LcdGraphicsOutputDxe.efi

Hi,

I just started with the Morello board, and after flashing the latest prebuilt on a USB memory,  Linux wouldn't boot to home and hangs at SMP bringup which pointed me to

 Morello: Pre-built images stall at "smp: Bringing up secondary CPUs" 

Then I go the latest firmware prebuilt 

https://git.morello-project.org/morello/board-firmware/-/tree/morello/mainline?ref_type=heads

And flashed it on the SD card as mentioned in 

https://git.morello-project.org/morello/docs/-/blob/morello/mainline/firmware/user-guide.rst#id23

And now I can't reach UEFI boot menu and it hangs as follows:

add-symbol-file /builds/morello/manifest/bsp/uefi/edk2/Build/morellosoc/DEBUG_CLANGDWARF/AARCH64/NetworkPkg/HttpDxe/HttpD0
Loading driver at 0x000F7F30000 EntryPoint=0x000F7F315DC HttpDxe.efi
add-symbol-file /builds/morello/manifest/bsp/uefi/edk2/Build/morellosoc/DEBUG_CLANGDWARF/AARCH64/NetworkPkg/HttpBootDxe/H0
Loading driver at 0x000F7F17000 EntryPoint=0x000F7F185DC HttpBootDxe.efi
ConvertPages: failed to find range 180000000 - 180022FFF
Loading driver at 0x000F7EF4000 EntryPoint=0x000F7EF6008
Loading driver at 0x000F7EF4000 EntryPoint=0x000F7EF6008
add-symbol-file /builds/morello/manifest/bsp/uefi/edk2/Build/morellosoc/DEBUG_CLANGDWARF/AARCH64/Platform/ARM/Morello/Dri0
Loading driver at 0x000F7EED000 EntryPoint=0x000F7EEE2AC PlatformDxe.efi
[PlatformDxe:I2cEnableBusConf]: requested bus speed 400000 != configured bus speed 386363
add-symbol-file /builds/morello/manifest/bsp/uefi/edk2/Build/morellosoc/DEBUG_CLANGDWARF/AARCH64/ArmPlatformPkg/Drivers/L0
Loading driver at 0x000F7EE3000 EntryPoint=0x000F7EE44C4 LcdGraphicsOutputDxe.efi


Please note that I have no screen connected, and when I connect one via HDMI it still hangs with slightly different error
Loading driver at 0x000F7EF4000 EntryPoint=0x000F7EF6008
Loading driver at 0x000F7EF4000 EntryPoint=0x000F7EF6008
add-symbol-file /builds/morello/manifest/bsp/uefi/edk2/Build/morellosoc/DEBUG_CLANGDWARF/AARCH64/Platform/ARM/Morello/Dri0
Loading driver at 0x000F7EED000 EntryPoint=0x000F7EEE2AC PlatformDxe.efi
[PlatformDxe:I2cEnableBusConf]: requested bus speed 400000 != configured bus speed 386363
add-symbol-file /builds/morello/manifest/bsp/uefi/edk2/Build/morellosoc/DEBUG_CLANGDWARF/AARCH64/ArmPlatformPkg/Drivers/L0
Loading driver at 0x000F7EE3000 EntryPoint=0x000F7EE44C4 LcdGraphicsOutputDxe.efi
EDID block read interrupt not set
InitializeDisplay: ERROR - Can not initialise the display. Exit Status=Time out
EDID block read interrupt not set
InitializeDisplay: ERROR - Can not initialise the display. Exit Status=Time out
EDID block read interrupt not set
InitializeDisplay: ERROR - Can not initialise the display. Exit Status=Time out
Thanks,
Mostafa
Parents
  • Hi Mostafa,

    After checking on the shared logs I could see the following in the SCP logs:

    [    0.000000] [PCIe] Powering ON controller...
    [    0.004050] [PCIe] Timeout!
    [    0.006834] [FWK] Process event ([NOT 17:0]: [ELM 17:0] -> [ELM 34:0]) (-7)
    [    0.013758] [CCIX] Powering ON controller...
    [    0.018023] [CCIX] Timeout!
    [    0.020809] [FWK] Process event ([NOT 17:0]: [ELM 17:0] -> [ELM 34:1]) (-7)


    What I believe that the hang is properly because of the issue with the PCIe controller which has not been turned on as the stage where boot hangs in UEFI is actually followed by the PCIe enumeration and as evident from SCP, the controller is not on so it's in a wait queue, I guess.

    Few things to check from here:
    1. Can you check the power supplies if they are as per the guide?
    2. Any secondary media or any external device connected to the board via PCIe, CCIX or USB interface? If yes, can you please unplug everything and check a nominal boot if that takes you through the UEFI menu?
    3. If available, can you please try the same firmware on any board? We are not facing it currently on any of the other Morello boards.

    Thanks,
    Himanshu

Reply
  • Hi Mostafa,

    After checking on the shared logs I could see the following in the SCP logs:

    [    0.000000] [PCIe] Powering ON controller...
    [    0.004050] [PCIe] Timeout!
    [    0.006834] [FWK] Process event ([NOT 17:0]: [ELM 17:0] -> [ELM 34:0]) (-7)
    [    0.013758] [CCIX] Powering ON controller...
    [    0.018023] [CCIX] Timeout!
    [    0.020809] [FWK] Process event ([NOT 17:0]: [ELM 17:0] -> [ELM 34:1]) (-7)


    What I believe that the hang is properly because of the issue with the PCIe controller which has not been turned on as the stage where boot hangs in UEFI is actually followed by the PCIe enumeration and as evident from SCP, the controller is not on so it's in a wait queue, I guess.

    Few things to check from here:
    1. Can you check the power supplies if they are as per the guide?
    2. Any secondary media or any external device connected to the board via PCIe, CCIX or USB interface? If yes, can you please unplug everything and check a nominal boot if that takes you through the UEFI menu?
    3. If available, can you please try the same firmware on any board? We are not facing it currently on any of the other Morello boards.

    Thanks,
    Himanshu

Children