Sdcard failed on jp6.2

Hi,

Our custom-designed board has a sdcard slot, and it work on Jp6.0

But failed on Jp6.2, no device tree or other edit

Just flash by sdkmanager, Jp6.0 is ok, Jp6.2 is failed

Here’s the dmesg while insert sdcard

Is there any suggestion to fix?

Hi zax,

Do you mean the SD card on the carrier board added by yourself?
If so, what do you modify in device tree for this use case?

If above answer is Yes, as my understanding, it should not work with SDK manager.

You can try using command to flash both releases and compare the logs for differences.

Our custom board is designed similarly to the devkit, including pin assignments and related configurations.

So I just flash the device by sdkmanager, no need to modified device tree for sdcard

device is boot from emmc, why can’t I use sdkmanager to flash?

Okay, it may work if you’ve confirmed that your custom carrier board have the similar design as the devkit.
We are not familiar with your board so that I’m not sure if any customization could cause such issue.

To clarify the issue, could you reproduce the similar issue on the devkit?
In this case, we can verify and debug this issue further locally.

No, sdcard can work on devkit with both jp6 and jp6.2

How can I verify the difference between jp6 and jp6.2 ?

Because that’s weird that we can work on Jp6 but Jp6.2

here’s part of schematic



image

Please dump the device tree configuration(with the following commands) in these 2 releases and check the dmesg.

$ sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

Hi
Here’s dump info

Could you help to check if there’s difference for sdcard?

dmesg_6.2.txt (60.4 KB)
extracked_proc_6.2.txt (395.3 KB)
dmesg_6.txt (59.0 KB)
extracted_proc_6.txt (390.7 KB)

I’ve checked both dmesg and device tree for JP6 and JP6.2, they look good to me.

Why I cannot find mmc1 related errors as you mentioned in original post?

Do you want to flash this SD card or you just want to use it as a storage device?

Because I did not insert the sdcard
mmc1 error happen only when I insert the sdcard

Just want to use as storage

Please share the full dmesg when you insert the SD card in both releases(JP6.0 and JP6.2)

sorry late for reply

  1. Flash by sdkmanager, system boot from emmc
  2. After jetson device boot up, insert the sdcard
  3. Use the same sdcard and same custom-designed board and same SOM

dmesg_insert_62.txt (68.0 KB)
dmesg_insert_6.txt (59.9 KB)

Could you share the schematic for SD_POWER_EN in your design?
We want to know where it comes from and check if your configuration is correct.

It is directly from SOM
image

Here’re another part of schematic, I’m not sure if it is relate

Okay, your connection and the configuration look good to me.

[ 2243.050643] mmc1: Tuning failed, falling back to fixed sampling clock
[ 2253.533779] mmc1: Timeout waiting for hardware interrupt.
..
[ 2263.786861] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

From the log your shared, it seems SDHCI does not receive the feedback from SD card.

We would suggest you using other SD card to verify if there’s similar issue.
Or you can ask your HW folk to check their signal from scope.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.