Which SDMMC could be used for boot media on Jetson nano?

I want to design a Jetson Nano carrier board, and I can not sure that if SDMMC3 can be used for boot media?

Here are some information about boot sequence in design guide:

### Boot Sequence and Sysboot Configuration Files
U-Boot functionality includes a default booting scan sequence. It scans bootable devices in the following order:
•External SD card
•Internal eMMC (Jetson TX2 series devices only)
•USB device (Jetson TX2 series devices only)
•NFS device
U‑Boot looks for an extlinux.conf configuration file in the following directory of the bootable partition on each bootable device:
<rootfs>/boot/extlinux
Upon finding the extlinux.conf file, U-Boot performs the following steps:
1.Uses the sysboot command to read out boot configuration from extlinux.conf
2.Loads the kernel Image file
3.Boots the kernel
The Image file is user-accessible in the <rootfs>/boot location after booting. The extlinux.conf file is user-accessible in the <rootfs>/boot/extlinux location. You can easily change these files to test your own kernel without flashing.
The file extlinux.conf is a standard text-format sysboot configuration file that contains all boot information. It indicates the kernel image filename, the device tree blob filename, and the kernel boot command line.

Is “External SD Card” include SDMMC3?

Yes, if you add an extra sdcard slot on your board, it can be used to boot rootfs.

ok, by the way, are VDD_EN and CD signals necessary in custom board design?

Yes, they are necessary.

I have deleted VCC_EN signal and load switch, and CD signal is reseverd.

I could not seen any message in dmesg, and can not seen any device in ls /dev/sd*.

In my opinion, It is should be OK :the 3.3v power that for SD card supply always exist.

Could you tell about the power management information of SD card ?

Hi,

Did you configure the dts file?

Hi , WayneWWW

I have configurated DTS files today, but it is look like does not work(could not be used for boot or general mmc).

If SDMMC3 used for boot, the message like these:

[0000.125] [L4T TegraBoot] (version 00.00.2018.01-l4t-80a468da)
[0000.131] Processing in cold boot mode Bootloader 2
[0000.135] A02 Bootrom Patch rev = 1023
[0000.139] Power-up reason: pmc por
[0000.142] No Battery Present
[0000.145] pmic max77620 reset reason
[0000.148] pmic max77620 NVERC : 0x50
[0000.151] RamCode = 0
[0000.154] Platform has DDR4 type RAM
[0000.157] max77620 disabling SD1 Remote Sense
[0000.161] Setting DDR voltage to 1125mv
[0000.165] Serial Number of Pmic Max77663: 0xd0ff4
[0000.173] Entering ramdump check
[0000.176] Get RamDumpCarveOut = 0x0
[0000.179] RamDumpCarveOut=0x0,  RamDumperFlag=0xe59ff3f8
[0000.184] Last reboot was clean, booting normally!
[0000.189] Sdram initialization is successful
[0000.193] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.199] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.205] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.211] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.216] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.222] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.228] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.234] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0000.250] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.256] Platform-DebugCarveout: 0
[0000.259] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.265] Non secure mode, and RB not enabled.
[0000.269] Read GPT from (4:0)
[0000.273] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.283] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.289] Number of retries left 4
[0000.293] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.303] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.309] Number of retries left 3
[0000.313] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.323] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.329] Number of retries left 2
[0000.333] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.343] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.349] Number of retries left 1
[0000.353] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.363] Command complete wait failed with error 0x3 Interrupt 0x18001
[0000.369] Number of retries left 0
[0000.373] Send command failed with 0x3
[0000.376] CMD8 send failed. Retrying CMD0/CMD8 (2)...
[0000.381] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.391] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.398] Number of retries left 4
[0000.401] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.411] Command complete wait failed with error 0x3 Interrupt 0x18001
[0000.418] Number of retries left 3
[0000.421] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.431] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.438] Number of retries left 2
[0000.441] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.451] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.458] Number of retries left 1
[0000.461] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.471] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.478] Number of retries left 0
[0000.481] Send command failed with 0x3
[0000.485] CMD8 send failed. Retrying CMD0/CMD8 (1)...
[0000.490] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.500] Command complete wait failed with error 0x3 Interrupt 0x18001
[0000.506] Number of retries left 4
[0000.510] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.520] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.526] Number of retries left 3
[0000.530] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.540] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.546] Number of retries left 2
[0000.550] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.560] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.566] Number of retries left 1
[0000.570] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.580] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.586] Number of retries left 0
[0000.589] Send command failed with 0x3
[0000.593] CMD8 send failed. Retrying CMD0/CMD8 (0)...
[0000.598] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.608] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.615] Number of retries left 4
[0000.618] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.628] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.635] Number of retries left 3
[0000.638] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.648] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.655] Number of retries left 2
[0000.658] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.668] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.675] Number of retries left 1
[0000.678] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.688] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.695] Number of retries left 0
[0000.698] Send command failed with 0x3
[0000.701] CMD55 send failed with error 0x3 in SdIdentifyCard func at 1870 line
[0000.708] SD Identify card failed with 0x3
[0000.712] SdIdentifyCard has failed with error 0x3 in NvTbootSdmmcInit func at 87 line
[0000.720] Sdmmc Init failed with 0x3 error
[0000.724] Read PT from (2:0)
[0000.739] Using BFS PT to query partitions
[0000.743] PT: Partition TBC NOT found !
[0000.747] Warning: Find Partition via PT Failed
[0000.751] failed to load NvTbootTbootCpu from (4:0)
[0000.756] re-load NvTbootTbootCpu from (2:0)
[0000.760] Read GPT from (4:0)
[0000.763] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.773] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.780] Number of retries left 4
[0000.783] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.793] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.800] Number of retries left 3
[0000.803] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.813] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.820] Number of retries left 2
[0000.823] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.833] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.840] Number of retries left 1
[0000.843] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.853] Command complete wait failed with error 0x3 Interrupt 0x18001
[0000.860] Number of retries left 0
[0000.863] Send command failed with 0x3
[0000.867] CMD8 send failed. Retrying CMD0/CMD8 (2)...
[0000.872] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.882] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.888] Number of retries left 4
[0000.892] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.902] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.908] Number of retries left 3
[0000.912] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.922] Command complete wait failed with error 0x3 Interrupt 0x18001
[0000.928] Number of retries left 2
[0000.932] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.942] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.948] Number of retries left 1
[0000.952] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.962] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.968] Number of retries left 0
[0000.972] Send command failed with 0x3
[0000.975] CMD8 send failed. Retrying CMD0/CMD8 (1)...
[0000.980] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0000.990] Command complete wait failed with error 0x3 Interrupt 0x18000
[0000.997] Number of retries left 4
[0001.000] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.010] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.017] Number of retries left 3
[0001.020] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.030] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.037] Number of retries left 2
[0001.040] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.050] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.057] Number of retries left 1
[0001.060] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.071] Command complete wait failed with error 0x3 Interrupt 0x18001
[0001.077] Number of retries left 0
[0001.080] Send command failed with 0x3
[0001.084] CMD8 send failed. Retrying CMD0/CMD8 (0)...
[0001.089] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.099] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.105] Number of retries left 4
[0001.109] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.119] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.125] Number of retries left 3
[0001.129] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.139] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.145] Number of retries left 2
[0001.149] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.159] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.165] Number of retries left 1
[0001.169] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.179] Command complete wait failed with error 0x3 Interrupt 0x18001
[0001.185] Number of retries left 0
[0001.189] Send command failed with 0x3
[0001.192] CMD55 send failed with error 0x3 in SdIdentifyCard func at 1870 line
[0001.199] SD Identify card failed with 0x3
[0001.203] SdIdentifyCard has failed with error 0x3 in NvTbootSdmmcInit func at 87 line
[0001.211] Sdmmc Init failed with 0x3 error
[0001.215] PT: Partition TBC NOT found !
[0001.218] Warning: Find Partition via PT Failed
[0001.223] Read GPT from (4:0)
[0001.226] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.236] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.243] Number of retries left 4
[0001.246] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.256] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.263] Number of retries left 3
[0001.266] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.276] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.283] Number of retries left 2
[0001.286] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.296] Command complete wait failed with error 0x3 Interrupt 0x18001
[0001.303] Number of retries left 1
[0001.306] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.316] Command complete wait failed with error 0x3 Interrupt 0x18001
[0001.323] Number of retries left 0
[0001.326] Send command failed with 0x3
[0001.329] CMD8 send failed. Retrying CMD0/CMD8 (2)...
[0001.335] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.345] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.351] Number of retries left 4
[0001.355] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.365] Command complete wait failed with error 0x3 Interrupt 0x18001
[0001.371] Number of retries left 3
[0001.375] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.385] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.391] Number of retries left 2
[0001.395] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.405] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.411] Number of retries left 1
[0001.415] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.425] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.431] Number of retries left 0
[0001.434] Send command failed with 0x3
[0001.438] CMD8 send failed. Retrying CMD0/CMD8 (1)...
[0001.443] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.453] Command complete wait failed with error 0x3 Interrupt 0x18001
[0001.460] Number of retries left 4
[0001.463] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.473] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.480] Number of retries left 3
[0001.483] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.493] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.500] Number of retries left 2
[0001.503] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.513] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.520] Number of retries left 1
[0001.523] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.533] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.540] Number of retries left 0
[0001.543] Send command failed with 0x3
[0001.547] CMD8 send failed. Retrying CMD0/CMD8 (0)...
[0001.552] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.562] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.568] Number of retries left 4
[0001.572] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.582] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.588] Number of retries left 3
[0001.592] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.602] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.608] Number of retries left 2
[0001.612] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.622] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.628] Number of retries left 1
[0001.632] Error mask set in wait for cmd complete with error 0x3 in HwSdmmcWaitForCommandComplete func at 278 line
[0001.642] Command complete wait failed with error 0x3 Interrupt 0x18000
[0001.648] Number of retries left 0
[0001.651] Send command failed with 0x3
[0001.655] CMD55 send failed with error 0x3 in SdIdentifyCard func at 1870 line
[0001.662] SD Identify card failed with 0x3
[0001.666] SdIdentifyCard has failed with error 0x3 in NvTbootSdmmcInit func at 87 line
[0001.674] Sdmmc Init failed with 0x3 error
[0001.678] PT: Partition TBC NOT found !
[0001.681] Warning: Find Partition via PT Failed
[0001.686] Error is 1

I found that when no boot media plugged ,the result is equal(means that SDMMC3 is does not work).

Here are my “dtis” files which build from Nvidia official pinmux configuration tool.
tegra210-jetson-cv-gpio-p2597-2180-a00.zip (1.0 KB) tegra210-porg-pinmux-p3448-0000-b00.zip (3.2 KB)

Hi,

This is wrong.

The dts files need to be downloaded from our download center and follow the L4T developer guide to build it as a dtb.

Then, flash this dtb to your board to make it work.
The pinmux dts is not what I am talking about here. They are two different things.