Hi,
I‘ve been working on flash our custom board using Xavier NX. And we use initrd flash to flash the internal and external emmc on our board.
But I get a problem in flash the external emmc, it seems it can not recongnize the right external emmc(emmc1). The flash host log and board uart log is attached below.
host flash log - 副本.txt (186.5 KB)
seriallog - 副本.log (46.7 KB)
I noticed that in flash flow, when board boot up, it shows mmc2 on 3440000. But we only have one external emmc. And using initrd flash we assign the external device is mmcblk1 not mmcblk2. And in we used the sdmmc3 pin to external emmc which is 3440000.
And when using flash.sh to flash the board, there is no mmc2 existing, I wonder how to fix this. Thank you for help!
[ 5.878359] sdhci-tegra 3400000.sdhci: Got CD GPIO
[ 5.878593] sdhci-tegra 3400000.sdhci: BWMGR client registration for eMC Successful
[ 5.878848] irq: IRQ258: trimming hierarchy from :pmc@c360000
[ 5.879790] sdhci-tegra 3460000.sdhci: BWMGR client registration for eMC Successful
[ 5.880478] sdhci-tegra 3440000.sdhci: BWMGR client registration for eMC Successful
[ 5.882991] tegra194-isp5 13e10000.host1x:isp@14800000: initialized
[ 5.890397] irq: IRQ259: trimming hierarchy from :interrupt-controller@3881000
[ 5.891183] sdhci-tegra 3400000.sdhci: wakeup init done, cdirq 259
[ 5.893093] tegra194-vi5 15c10000.vi: initialized
[ 5.902321] mmc0: CQHCI version 5.10
[ 5.906664] tegradc 15200000.display: disp0 connected to head0->sor1
[ 5.912583] generic_infoframe_type: 0x87
[ 5.913534] nvethernet 2490000.ethernet: Adding to iommu group 28
[ 5.916162] tegradc 15200000.display: DT parsed successfully
[ 5.922851] nvethernet 2490000.ethernet: failed to read skip mac reset flag, default 0
[ 5.928090] tegradc 15200000.display: Display dc.(____ptrval____) registered with id=0
[ 5.934786] mmc0: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA 64-bit
[ 5.935976] nvethernet 2490000.ethernet: failed to read MDIO address
[ 5.945470] tegra_nvdisp_bandwidth_register_max_config: max config iso bw = 15681600 KB/s
[ 5.948963] mmc2: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit
[ 5.951844] nvethernet 2490000.ethernet: setting to default DMA bit mask
[ 5.951850] nvethernet 2490000.ethernet: set default TXQ to TC mapping
[ 5.951854] nvethernet 2490000.ethernet: Setting default PTP RX queue
[ 5.951873] nvethernet 2490000.ethernet: Failed to read DMA Tx ring size, using default [1024]
[ 5.958114] tegra_nvdisp_bandwidth_register_max_config: max config EMC floor = 933000000 Hz
[ 5.966646] nvethernet 2490000.ethernet: Failed to read DMA Rx ring size, using default [1024]
[ 5.966671] nvethernet 2490000.ethernet: missing nvidia,pad_auto_cal_pu_offset, setting default 0
[ 5.970902] mmc1: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit
[ 5.974230] tegra_nvdisp_bandwidth_register_max_config: max config hubclk = 300000000 Hz
[ 5.981066] nvethernet 2490000.ethernet: missing nvidia,pad_auto_cal_pd_offset, setting default 0
[ 5.989005] nvethernet 2490000.ethernet: failed to get eqos_rx_m clk
[ 5.994261] tegradc 15200000.display: vblank syncpt # 11 for dc 0
[ 6.002163] nvethernet 2490000.ethernet: failed to get eqos_rx_input clk
[ 6.002173] nvethernet 2490000.ethernet: failed to get eqos_tx_divider clk
[ 6.010384] tegradc 15200000.display: vpulse3 syncpt # 12 for dc 0
[ 6.020303] nvethernet 2490000.ethernet: Ethernet MAC address: 48:b0:2d:87:b6:40
[ 6.028927] tegradc 15200000.display: hdmi: invalid prod list prod_list_hdmi_board
[ 6.041516] mmc2: new HS200 MMC card at address 0001
[ 6.041969] mmcblk2: mmc2:0001 IS128G 116 GiB
[ 6.042199] mmcblk2boot0: mmc2:0001 IS128G partition 1 4.00 MiB
[ 6.042373] mmcblk2boot1: mmc2:0001 IS128G partition 2 4.00 MiB
[ 6.042540] mmcblk2rpmb: mmc2:0001 IS128G partition 3 4.00 MiB, chardev (510:0)
[ 6.043633] tegradc 15200000.display: hdmi: tegra_hdmi_tmds_range_read(bd) failed
[ 6.050275] tegradc 15200000.display: probed
[ 6.057970] mmc0: Command Queue Engine enabled
[ 6.057975] mmc0: periodic cache flush enabled
[ 6.057988] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[ 6.058450] mmcblk0: mmc0:0001 DG4016 14.7 GiB
[ 6.058612] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[ 6.058770] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 6.058903] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB, chardev (510:1)