We are seeing occasional boot failures on AGX Orin devkit which appear to be related to the SdMmcControllerDxe.efi
driver.
In the error case the last log messages on the serial port are
[2025-01-20 06:33:23.506] Loading driver at 0x008257A6000 EntryPoint=0x008257AEBF8 SdMmcControllerDxe.efi
[2025-01-20 06:33:23.524]
[2025-01-20 06:38:21.203] Watchdog Timer resetting system
[2025-01-20 06:38:21.205] Shutdown state requested 1
[2025-01-20 06:38:21.220] Rebooting system ...
After the SdMmcControllerDxe.efi
driver is loaded, nothing happens for 5 minutes (timestamps added by minicom), then the watchdog resets the system to forced recovery mode and we have to manually power cycle it.
–
On a successful boot there are error messages printed after the SdMmcControllerDxe.efi
driver is loaded, but this does not prevent the devkit from continuing to boot into linux, nor does it seem to have any impact on SD card functionality.
[2025-01-19 06:01:01.246] Loading driver at 0x008257A6000 EntryPoint=0x008257AEBF8 SdMmcControllerDxe.efi
[2025-01-19 06:01:01.263]
[2025-01-19 06:01:01.279] Error reported by SDHCI
[2025-01-19 06:01:01.279] Interrupt status = 8000
[2025-01-19 06:01:01.279] Error interrupt status = 1
[2025-01-19 06:01:01.285] TRB failed with Device Error
[2025-01-19 06:01:01.285] Printing SD_MMC_HC_TRB
[2025-01-19 06:01:01.290] Slot: 0
[2025-01-19 06:01:01.290] BlockSize: 512
[2025-01-19 06:01:01.290] Data: 0
[2025-01-19 06:01:01.291] DataLen: 0
[2025-01-19 06:01:01.291] Read: 0
[2025-01-19 06:01:01.291] DataPhy: 0
[2025-01-19 06:01:01.296] DataMap: 0
[2025-01-19 06:01:01.296] Mode: 0
[2025-01-19 06:01:01.296] AdmaLengthMode: 0
[2025-01-19 06:01:01.296] Event: 0
[2025-01-19 06:01:01.296] Started: 0
[2025-01-19 06:01:01.301] CommandComplete: 0
[2025-01-19 06:01:01.301] Timeout: 1000000
[2025-01-19 06:01:01.301] Retries: 5
[2025-01-19 06:01:01.302] PioModeTransferCompleted: 0
[2025-01-19 06:01:01.308] PioBlockIndex: 0
[2025-01-19 06:01:01.308] Adma32Desc: 0
[2025-01-19 06:01:01.308] Adma64V3Desc: 0
[2025-01-19 06:01:01.312] Adma64V4Desc: 0
[2025-01-19 06:01:01.313] AdmaMap: 0
[2025-01-19 06:01:01.313] AdmaPages: 0
[2025-01-19 06:01:01.313] Printing EFI_SD_MMC_PASS_THRU_COMMAND_PACKET
[2025-01-19 06:01:01.319] Command index: 1, argument: 0
[2025-01-19 06:01:01.319] Command type: 1, response type: 3
[2025-01-19 06:01:01.324] Response 0: 0, 1: 0, 2: 0, 3: 0
[2025-01-19 06:01:01.329] Timeout: 1000000
[2025-01-19 06:01:01.329] InDataBuffer: 0
[2025-01-19 06:01:01.330] OutDataBuffer: 0
[2025-01-19 06:01:01.330] InTransferLength: 0
[2025-01-19 06:01:01.336] OutTransferLength: 0
[2025-01-19 06:01:01.336] TransactionStatus: Success
[2025-01-19 06:01:01.336] Error reported by SDHCI
[2025-01-19 06:01:01.341] Interrupt status = 8000
[2025-01-19 06:01:01.341] Error interrupt status = 1
[2025-01-19 06:01:01.346] TRB failed with Device Error
[2025-01-19 06:01:01.346] Printing SD_MMC_HC_TRB
[2025-01-19 06:01:01.351] Slot: 0
[2025-01-19 06:01:01.351] BlockSize: 512
[2025-01-19 06:01:01.352] Data: 0
[2025-01-19 06:01:01.352] DataLen: 0
[2025-01-19 06:01:01.352] Read: 0
[2025-01-19 06:01:01.352] DataPhy: 0
[2025-01-19 06:01:01.357] DataMap: 0
[2025-01-19 06:01:01.358] Mode: 0
[2025-01-19 06:01:01.358] AdmaLengthMode: 0
[2025-01-19 06:01:01.358] Event: 0
[2025-01-19 06:01:01.358] Started: 0
[2025-01-19 06:01:01.364] CommandComplete: 0
[2025-01-19 06:01:01.364] Timeout: 1000000
[2025-01-19 06:01:01.364] Retries: 5
[2025-01-19 06:01:01.364] PioModeTransferCompleted: 0
[2025-01-19 06:01:01.368] PioBlockIndex: 0
[2025-01-19 06:01:01.368] Adma32Desc: 0
[2025-01-19 06:01:01.368] Adma64V3Desc: 0
[2025-01-19 06:01:01.375] Adma64V4Desc: 0
[2025-01-19 06:01:01.375] AdmaMap: 0
[2025-01-19 06:01:01.375] AdmaPages: 0
[2025-01-19 06:01:01.375] Printing EFI_SD_MMC_PASS_THRU_COMMAND_PACKET
[2025-01-19 06:01:01.379] Command index: 8, argument: 1FF
[2025-01-19 06:01:01.380] Command type: 1, response type: 8
[2025-01-19 06:01:01.386] Response 0: 0, 1: 0, 2: 0, 3: 0
[2025-01-19 06:01:01.390] Timeout: 1000000
[2025-01-19 06:01:01.391] InDataBuffer: 0
[2025-01-19 06:01:01.391] OutDataBuffer: 0
[2025-01-19 06:01:01.391] InTransferLength: 0
[2025-01-19 06:01:01.397] OutTransferLength: 0
[2025-01-19 06:01:01.397] TransactionStatus: Success
[2025-01-19 06:01:01.397] Error reported by SDHCI
[2025-01-19 06:01:01.403] Interrupt status = 8000
[2025-01-19 06:01:01.403] Error interrupt status = 1
[2025-01-19 06:01:01.407] TRB failed with Device Error
[2025-01-19 06:01:01.408] Printing SD_MMC_HC_TRB
[2025-01-19 06:01:01.413] Slot: 0
[2025-01-19 06:01:01.413] BlockSize: 512
[2025-01-19 06:01:01.413] Data: 0
[2025-01-19 06:01:01.413] DataLen: 0
[2025-01-19 06:01:01.413] Read: 0
[2025-01-19 06:01:01.414] DataPhy: 0
[2025-01-19 06:01:01.419] DataMap: 0
[2025-01-19 06:01:01.420] Mode: 0
[2025-01-19 06:01:01.420] AdmaLengthMode: 0
[2025-01-19 06:01:01.420] Event: 0
[2025-01-19 06:01:01.420] Started: 0
[2025-01-19 06:01:01.424] CommandComplete: 0
[2025-01-19 06:01:01.425] Timeout: 1000000
[2025-01-19 06:01:01.425] Retries: 5
[2025-01-19 06:01:01.425] PioModeTransferCompleted: 0
[2025-01-19 06:01:01.431] PioBlockIndex: 0
[2025-01-19 06:01:01.431] Adma32Desc: 0
[2025-01-19 06:01:01.431] Adma64V3Desc: 0
[2025-01-19 06:01:01.435] Adma64V4Desc: 0
[2025-01-19 06:01:01.436] AdmaMap: 0
[2025-01-19 06:01:01.436] AdmaPages: 0
[2025-01-19 06:01:01.436] Printing EFI_SD_MMC_PASS_THRU_COMMAND_PACKET
[2025-01-19 06:01:01.442] Command index: 5, argument: 0
[2025-01-19 06:01:01.442] Command type: 1, response type: 4
[2025-01-19 06:01:01.448] Response 0: 0, 1: 0, 2: 0, 3: 0
[2025-01-19 06:01:01.452] Timeout: 1000000
[2025-01-19 06:01:01.452] InDataBuffer: 0
[2025-01-19 06:01:01.453] OutDataBuffer: 0
[2025-01-19 06:01:01.453] InTransferLength: 0
[2025-01-19 06:01:01.458] OutTransferLength: 0
[2025-01-19 06:01:01.458] TransactionStatus: Success
[2025-01-19 06:01:01.459] Error reported by SDHCI
[2025-01-19 06:01:01.463] Interrupt status = 8000
[2025-01-19 06:01:01.464] Error interrupt status = 1
[2025-01-19 06:01:01.470] TRB failed with Device Error
[2025-01-19 06:01:01.470] Printing SD_MMC_HC_TRB
[2025-01-19 06:01:01.476] Slot: 0
[2025-01-19 06:01:01.476] BlockSize: 512
[2025-01-19 06:01:01.476] Data: 0
[2025-01-19 06:01:01.476] DataLen: 0
[2025-01-19 06:01:01.476] Read: 0
[2025-01-19 06:01:01.476] DataPhy: 0
[2025-01-19 06:01:01.480] DataMap: 0
[2025-01-19 06:01:01.480] Mode: 0
[2025-01-19 06:01:01.480] AdmaLengthMode: 0
[2025-01-19 06:01:01.480] Event: 0
[2025-01-19 06:01:01.480] Started: 0
[2025-01-19 06:01:01.487] CommandComplete: 0
[2025-01-19 06:01:01.487] Timeout: 1000000
[2025-01-19 06:01:01.487] Retries: 5
[2025-01-19 06:01:01.487] PioModeTransferCompleted: 0
[2025-01-19 06:01:01.492] PioBlockIndex: 0
[2025-01-19 06:01:01.492] Adma32Desc: 0
[2025-01-19 06:01:01.492] Adma64V3Desc: 0PCIe Controller-5 Link is DOWN
[2025-01-19 06:01:01.498]
[2025-01-19 06:01:01.498] Adma64V4Desc: 0
[2025-01-19 06:01:01.498] AdmaMap: 0
[2025-01-19 06:01:01.498] AdmaPages: 0
[2025-01-19 06:01:01.503] Printing EFI_SD_MMC_PASS_THRU_COMMAND_PACKET
[2025-01-19 06:01:01.503] Command index: 55, argument: 0
[2025-01-19 06:01:01.509] Command type: 2, response type: 0
[2025-01-19 06:01:01.509] Response 0: 0, 1: 0, 2: 0, 3: 0
[2025-01-19 06:01:01.515] Timeout: 1000000
[2025-01-19 06:01:01.515] InDataBuffer: 0
[2025-01-19 06:01:01.519] OutDataBuffer: 0
[2025-01-19 06:01:01.520] InTransferLength: 0
[2025-01-19 06:01:01.520] OutTransferLength: 0
[2025-01-19 06:01:01.520] TransactionStatus: Success
[2025-01-19 06:01:01.549] Error reported by SDHCI
[2025-01-19 06:01:01.549] Interrupt status = 8001
[2025-01-19 06:01:01.549] Error interrupt status = 1
[2025-01-19 06:01:01.555] TRB failed with Device Error
[2025-01-19 06:01:01.555] Printing SD_MMC_HC_TRB
[2025-01-19 06:01:01.561] Slot: 0
[2025-01-19 06:01:01.561] BlockSize: 512
[2025-01-19 06:01:01.561] Data: 0
[2025-01-19 06:01:01.561] DataLen: 0
[2025-01-19 06:01:01.561] Read: 0
[2025-01-19 06:01:01.561] DataPhy: 0
[2025-01-19 06:01:01.565] DataMap: 0
[2025-01-19 06:01:01.566] Mode: 0
[2025-01-19 06:01:01.566] AdmaLengthMode: 0
[2025-01-19 06:01:01.566] Event: 0
[2025-01-19 06:01:01.566] Started: 0
[2025-01-19 06:01:01.571] CommandComplete: 0
[2025-01-19 06:01:01.572] Timeout: 2500000
[2025-01-19 06:01:01.572] Retries: 5
[2025-01-19 06:01:01.572] PioModeTransferCompleted: 0
[2025-01-19 06:01:01.577] PioBlockIndex: 0
[2025-01-19 06:01:01.577] Adma32Desc: 0
[2025-01-19 06:01:01.577] Adma64V3Desc: 0
[2025-01-19 06:01:01.583] Adma64V4Desc: 0
[2025-01-19 06:01:01.583] AdmaMap: 0
[2025-01-19 06:01:01.583] AdmaPages: 0
[2025-01-19 06:01:01.583] Printing EFI_SD_MMC_PASS_THRU_COMMAND_PACKET
[2025-01-19 06:01:01.589] Command index: 7, argument: 0
[2025-01-19 06:01:01.589] Command type: 2, response type: 0
[2025-01-19 06:01:01.594] Response 0: 0, 1: 0, 2: 0, 3: 0
[2025-01-19 06:01:01.600] Timeout: 2500000
[2025-01-19 06:01:01.600] InDataBuffer: 0
[2025-01-19 06:01:01.600] OutDataBuffer: 0
[2025-01-19 06:01:01.600] InTransferLength: 0
[2025-01-19 06:01:01.610] OutTransferLength: 0
[2025-01-19 06:01:01.610] TransactionStatus: Success
[2025-01-19 06:01:01.610] Installed Fat filesystem on 8221E3998
The error messages print whether or not an SD card is installed in the devkit, the only significant difference in that case appears to be the address in the last line of the preceding log changes to Installed Fat filesystem on 8221D6B18
with an SD card installed.
This jetson was running Linux MUK 5.15.136-l4t-r36.3-1009.9+g46cdb595bebc #1 SMP PREEMPT Fri May 3 10:21:41 UTC 2024 aarch64 GNU/Linux
based on a meta-tegra
yocto linux build.
Please let me know what other debugging steps or logs I may provide to aid in debugging this.