Hi,
.
.
.
mmc1 : Data timeout error
REGISTER DUMP (mmc1)
.
.
.
.
"mmc1 : Data timeout error
REGISTER DUMP (mmc1) "does not always give the error.
While the system is booting, I added a line to check the sd card patitions in FSTAB, but I can’t see the patitions in FSTAB. This is why I am getting an error.
I applied 9875882.diff.zip, common.dts but not solved error.
DTB error or image error ?
Do I need to update image when I make changes to sd.c? Would a DTB update be enough?
Reference post:
tegra210-porg-p3448-common.dtsi (21.1 KB)
log :
[0000.241] [L4T TegraBoot] (version 00.00.2018.01-l4t-80a468da)
[0000.246] Processing in cold boot mode Bootloader 2
[0000.251] A02 Bootrom Patch rev = 1023
[0000.254] Power-up reason: pmc por
[0000.257] No Battery Present
[0000.260] pmic max77620 reset reason
[0000.263] pmic max77620 NVERC : 0x50
[0000.267] RamCode = 0
[0000.269] Platform has DDR4 type RAM
[0000.272] max77620 disabling SD1 Remote Sense
[0000.277] Setting DDR voltage to 1125mv
[0000.281] Serial Number of Pmic Max77663: 0x2c1de6
[0000.288] Entering ramdump check
[0000.291] Get RamDumpCarveOut = 0x0
[0000.295] RamDumpCarveOut=0x0, RamDumperFlag=0xe59ff3f8
[0000.300] Last reboot was clean, booting normally!
[0000.304] Sdram initialization is successful
[0000.308] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.315] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.320] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.326] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.332] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.338] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.344] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.350] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0000.366] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.372] Platform-DebugCarveout: 0
[0000.375] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.381] Non secure mode, and RB not enabled.
[0000.397] Csd NumOfBlocks=0
[0000.591] *** Booting BFS0.
[0000.593] Read PT from (0:3)
[0000.599] Using BFS PT to query partitions
[0000.603] PT: Partition LNX NOT found !
[0001.188] *** Booting KFS0.
[0001.190] Read GPT from (0:3)
[0001.195] Using GPT Primary to query partitions
[0001.199] Loading Tboot-CPU binary
[0001.206] Verifying TBC in OdmNonSecureSBK mode
[0001.216] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0001.223] Bootloader downloaded successfully.
[0001.227] Downloaded Tboot-CPU binary to 0xa0000258
[0001.232] MAX77620_GPIO5 configured
[0001.236] CPU power rail is up
[0001.239] CPU clock enabled
[0001.242] Performing RAM repair
[0001.245] Updating A64 Warmreset Address to 0xa00002e9
[0001.251] Loading NvTbootBootloaderDTB
[0001.268] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0001.333] Bootloader DTB Load Address: 0x83000000
[0001.338] Loading NvTbootKernelDTB
[0001.354] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0001.420] Kernel DTB Load Address: 0x83100000
[0001.425] Loading cboot binary
[0001.436] Verifying EBT in OdmNonSecureSBK mode
[0001.477] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0001.484] Bootloader downloaded successfully.
[0001.489] PT: Partition NCT NOT found !
[0001.493] Warning: Find Partition via PT Failed
[0001.497] Next binary entry address: 0x92c00258
[0001.501] BoardId: 3448
[0001.506] Overriding pmu board id with proc board id
[0001.511] Display board id is not available
[0001.523] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0001.575] /bpmp deleted
[0001.577] SC7EntryFw header found loaded at 0xff700000
[0001.767] OVR2 PMIC
[0001.769] Bpmp FW successfully loaded
[0001.774] WB0 init successfully at 0xff780000
[0001.778] Set NvDecSticky Bits
[0001.781] GSC2 address ff53fffc value c0edbbcc
[0001.788] GSC MC Settings done
[0001.791] TOS Image length 53680
[0001.794] Monitor size 53680
[0001.797] OS size 0
[0001.802] Secure Os AES-CMAC Verification Success!
[0001.807] TOS image cipher info: plaintext
[0001.811] Loading and Validation of Secure OS Successful
[0001.827] SC7 Entry Firmware - 0xff700000, 0x4000
[0001.831] NvTbootPackSdramParams: start.
[0001.836] NvTbootPackSdramParams: done.
[0001.840] Tegraboot started after 170595 us
[0001.844] Basic modules init took 1381666 us
[0001.848] Sec Bootdevice Read Time = 545 ms, Read Size = 14459 KB
[0001.854] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0001.860] Next stage binary read took 7378 us
[0001.864] Carveout took -19289 us
[0001.867] CPU initialization took 344277 us
[0001.871] Total time taken by TegraBoot 1714032 us
[0001.876] Starting CPU & Halting co-processor
64NOTICE: BL31: v1.3(release):41d46a9cf
NOTICE: BL31: Built : 21:18:12, Jun 25 2020
ERROR: Error initializing runtime service trusty_fast
[0001.998] RamCode = 0
[0002.003] LPDDR4 Training: Read DT: Number of tables = 2
[0002.008] EMC Training (SRC-freq: 204000; DST-freq: 1600000)
[0002.020] EMC Training Successful
[0002.023] 408000 not found in DVFS table
[0002.030] RamCode = 0
[0002.033] DT Write: emc-table@204000 succeeded
[0002.039] DT Write: emc-table@1600000 succeeded
[0002.043] LPDDR4 Training: Write DT: Number of tables = 2
[0002.101]
[0002.102] Debug Init done
[0002.104] Marked DTB cacheable
[0002.107] Bootloader DTB loaded at 0x83000000
[0002.112] Marked DTB cacheable
[0002.115] Kernel DTB loaded at 0x83100000
[0002.119] DeviceTree Init done
[0002.132] Pinmux applied successfully
[0002.136] gicd_base: 0x50041000
[0002.140] gicc_base: 0x50042000
[0002.143] Interrupts Init done
[0002.147] Using base:0x60005090 & irq:208 for tick-timer
[0002.152] Using base:0x60005098 for delay-timer
[0002.157] platform_init_timer: DONE
[0002.160] Timer(tick) Init done
[0002.164] osc freq = 38400 khz
[0002.168]
[0002.169] Welcome to L4T Cboot
[0002.172]
[0002.173] Cboot Version: 00.00.2018.01-t210-3a7ad565
[0002.178] calling constructors
[0002.181] initializing heap
[0002.184] initializing threads
[0002.187] initializing timers
[0002.190] creating bootstrap completion thread
[0002.194] top of bootstrap2()
[0002.197] CPU: ARM Cortex A57
[0002.200] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0002.204] initializing platform
[0002.258] Config for emmc ddr50 mode completed
[0002.263] sdmmc bdev is already initialized
[0002.267] Enable APE clock
[0002.269] Un-powergate APE partition
[0002.273] of_register: registering tegra_udc to of_hal
[0002.278] of_register: registering inv20628-driver to of_hal
[0002.284] of_register: registering ads1015-driver to of_hal
[0002.289] of_register: registering lp8557-bl-driver to of_hal
[0002.295] of_register: registering bq2419x_charger to of_hal
[0002.300] of_register: registering bq27441_fuel_gauge to of_hal
[0002.312] gpio framework initialized
[0002.315] of_register: registering tca9539_gpio to of_hal
[0002.321] of_register: registering tca9539_gpio to of_hal
[0002.326] of_register: registering i2c_bus_driver to of_hal
[0002.332] of_register: registering i2c_bus_driver to of_hal
[0002.337] of_register: registering i2c_bus_driver to of_hal
[0002.343] pmic framework initialized
[0002.346] of_register: registering max77620_pmic to of_hal
[0002.352] regulator framework initialized
[0002.356] of_register: registering tps65132_bl_driver to of_hal
[0002.362] initializing target
[0002.368] gpio_driver_register: register ‘tegra_gpio_driver’ driver
[0002.376] board ID = D78, board SKU = 2
[0002.382] fixed regulator driver initialized
[0002.399] initializing OF layer
[0002.402] NCK carveout not present
[0002.406] Skipping dts_overrides
[0002.410] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.427] I2C Bus Init done
[0002.429] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.440] I2C Bus Init done
[0002.442] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.453] I2C Bus Init done
[0002.455] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.466] I2C Bus Init done
[0002.468] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.479] I2C Bus Init done
[0002.481] of_children_init: Ops found for compatible string maxim,max77620
[0002.492] max77620_init using irq 118
[0002.497] register ‘maxim,max77620’ pmic
[0002.501] gpio_driver_register: register ‘max77620-gpio’ driver
[0002.507] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.518] I2C Bus Init done
[0002.521] NCK carveout not present
[0002.531] Find /i2c@7000c000’s alias i2c0
[0002.535] get eeprom at 1-a0, size 256, type 0
[0002.544] Find /i2c@7000c500’s alias i2c2
[0002.548] get eeprom at 3-a0, size 256, type 0
[0002.552] get eeprom at 3-ae, size 256, type 0
[0002.557] pm_ids_update: Updating 1,a0, size 256, type 0
[0002.562] I2C slave not started
[0002.565] I2C write failed
[0002.567] Writing offset failed
[0002.571] eeprom_init: EEPROM read failed
[0002.574] pm_ids_update: eeprom init failed
[0002.579] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.609] pm_ids_update: The pm board id is 3448-0002-400
[0002.615] Adding plugin-manager/ids/3448-0002-400=/i2c@7000c500:module@0x50
[0002.623] pm_ids_update: pm id update successful
[0002.628] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.633] I2C slave not started
[0002.636] I2C write failed
[0002.639] Writing offset failed
[0002.642] eeprom_init: EEPROM read failed
[0002.646] pm_ids_update: eeprom init failed
[0002.676] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0002.682] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0002.690] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0002.696] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0002.705] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e9:e4:1a
[0002.711] Plugin Manager: Parse ODM data 0x00094000
[0002.721] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000
[0002.736] Find /i2c@7000c000’s alias i2c0
[0002.740] get eeprom at 1-a0, size 256, type 0
[0002.748] Find /i2c@7000c500’s alias i2c2
[0002.752] get eeprom at 3-a0, size 256, type 0
[0002.757] get eeprom at 3-ae, size 256, type 0
[0002.761] pm_ids_update: Updating 1,a0, size 256, type 0
[0002.766] I2C slave not started
[0002.769] I2C write failed
[0002.772] Writing offset failed
[0002.775] eeprom_init: EEPROM read failed
[0002.779] pm_ids_update: eeprom init failed
[0002.783] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.813] pm_ids_update: The pm board id is 3448-0002-400
[0002.820] Adding plugin-manager/ids/3448-0002-400=/i2c@7000c500:module@0x50
[0002.827] pm_ids_update: pm id update successful
[0002.831] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.837] I2C slave not started
[0002.840] I2C write failed
[0002.842] Writing offset failed
[0002.845] eeprom_init: EEPROM read failed
[0002.849] pm_ids_update: eeprom init failed
[0002.879] Add serial number:1423119073484 as DT property
[0002.887] Applying platform configs
[0002.894] platform-init is not present. Skipping
[0002.898] calling apps_init()
[0002.914] Found 17 GPT partitions in “sdmmc3_user”
[0002.919] Proceeding to Cold Boot
[0002.922] starting app android_boot_app
[0002.926] Device state: unlocked
[0002.929] display console init
[0002.938] could not find regulator
[0002.961] hdmi cable not connected
[0002.964] is_hdmi_needed: HDMI not connected, returning fDT entry for leds-pwm not found
a[0002.976] lse
[0002.977] hdmi is not connected
[0002.980] sor0 is not supported
[0002.983] display_console_init: no valid display out_type
[0002.992] subnode volume_up is not found !
[0002.995] subnode back is not found !
[0002.999] subnode volume_down is not found !
[0003.003] subnode menu is not found !
[0003.007] Gpio keyboard init success
[0003.054] found decompressor handler: lz4-legacy
[0003.068] decompressing blob (type 1)…
[0003.102] display_resolution: No display init
[0003.106] Failed to retrieve display resolution
[0003.110] Could not load/initialize BMP blob…ignoring
[0003.160] decompressor handler not found
[0003.164] load_firmware_blob: Firmware blob loaded, entries=2
[0003.170] -------> se_aes_verify_sbk_clear: 747
[0003.174] se_aes_verify_sbk_clear: Error
[0003.178] bl_battery_charging: connected to external power supply
[0003.186] xusb is supported
[0003.192] error while finding nvidia,portmap
[0003.696] xusb blob version 0 size 124416
[0003.700] firmware size 124416
[0003.704] Firmware timestamp: 0x5da88fc3, Version: 50.25 release
[0003.720] xhci0: 64 bytes context size, 32-bit DMA
[0003.760] usbus0: 5.0Gbps Super Speed USB v3.0
[0003.780] uhub0: <Nvidia XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
[0004.430] uhub0: 9 ports with 9 removable, self powered
[0005.430] failed to get HID devices
[0005.433] failed to init xhci or no usb device attached
[0005.440] display_console_ioctl: No display init
[0005.445] switch_backlight failed
[0005.454] device_query_partition_size: failed to open partition sdmmc3_user:MSC !
[0005.462] MSC Partition not found
[0005.472] device_query_partition_size: failed to open partition sdmmc3_user:USP !
[0005.479] USP partition read failed!
[0005.482] blob_init: blob-partition USP header read failed
[0005.488] android_boot Unable to update recovery partition
[0005.493] kfs_getpartname: name = LNX
[0005.497] Loading kernel from LNX
[0005.561] load kernel from storage
[0005.570] decompressor handler not found
[0005.592] Successfully loaded kernel and ramdisk images
[0005.598] display_resolution: No display init
[0005.602] Failed to retrieve display resolution
[0005.607] bmp blob is not loaded and initialized
[0005.611] Failed to display boot-logo
[0005.615] NCK carveout not present
[0005.618] Skipping dts_overrides
[0005.621] NCK carveout not present
[0005.631] Find /i2c@7000c000’s alias i2c0
[0005.635] get eeprom at 1-a0, size 256, type 0
[0005.644] Find /i2c@7000c500’s alias i2c2
[0005.648] get eeprom at 3-a0, size 256, type 0
[0005.652] get eeprom at 3-ae, size 256, type 0
[0005.657] pm_ids_update: Updating 1,a0, size 256, type 0
[0005.662] I2C slave not started
[0005.665] I2C write failed
[0005.668] Writing offset failed
[0005.671] eeprom_init: EEPROM read failed
[0005.675] pm_ids_update: eeprom init failed
[0005.679] pm_ids_update: Updating 3,a0, size 256, type 0
[0005.709] pm_ids_update: The pm board id is 3448-0002-400
[0005.716] Adding plugin-manager/ids/3448-0002-400=/i2c@7000c500:module@0x50
[0005.723] pm_ids_update: pm id update successful
[0005.728] pm_ids_update: Updating 3,ae, size 256, type 0
[0005.733] I2C slave not started
[0005.736] I2C write failed
[0005.739] Writing offset failed
[0005.742] eeprom_init: EEPROM read failed
[0005.746] pm_ids_update: eeprom init failed
[0005.776] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0005.782] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0005.790] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0005.796] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0005.805] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e9:e4:1a
[0005.811] Plugin Manager: Parse ODM data 0x00094000
[0005.821] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000
[0005.829] Add serial number:1423119073484 as DT property
[0005.838] “bpmp” doesn’t exist, creating
[0005.844] Updated bpmp info to DTB
[0005.849] Updated initrd info to DTB
[0005.852] “proc-board” doesn’t exist, creating
[0005.858] Updated board info to DTB
[0005.861] “pmu-board” doesn’t exist, creating
[0005.867] Updated board info to DTB
[0005.870] “display-board” doesn’t exist, creating
[0005.876] Updated board info to DTB
[0005.879] “reset” doesn’t exist, creating
[0005.883] Updated reset info to DTB
[0005.887] display_console_ioctl: No display init
[0005.891] display_console_ioctl: No display init
[0005.896] display_console_ioctl: No display init
[0005.900] Cmdline: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,2 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000
[0005.935] DTB cmdline: earlycon=uart8250,mmio32,0x70006000
[0005.940] boot image cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1
[0005.956] Updated bootarg info to DTB
[0005.960] Adding uuid 00000001644475c21c0000000f028000 to DT
[0005.966] Adding eks info 0 to DT
[0005.971] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7
[0005.977] Updated memory info to DTB
[0005.986] set vdd_core voltage to 1125 mv
[0005.990] setting ‘vdd-core’ regulator to 1125000 micro volts
[0006.010] Found secure-pmc; disable BPMP
U-Boot 2016.07-ge6da093be3 (Jun 25 2020 - 21:18:08 -0700)
TEGRA210
Model: NVIDIA P3450-Porg
Board: NVIDIA P3450-PORG
DRAM: 4 GiB
MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
*** Warning - spi_flash_probe() failed, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
MMC: no card present
** Bad device mmc 1 **
Hit any key to stop autoboot: 0
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1…
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
878 bytes read in 74 ms (10.7 KiB/s)
1: primary kernel
Retrieving file: /boot/initrd
5488163 bytes read in 200 ms (26.2 MiB/s)
Retrieving file: /boot/Image
34396168 bytes read in 811 ms (40.4 MiB/s)
append: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,2 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 earlycon=uart8250,mmio32,0x70006000 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1
Flattened Device Tree blob at 83100000
Booting using the fdt blob at 0x83100000
reserving fdt memory region: addr=80000000 size=20000
Using Device Tree in place at 0000000083100000, end 000000008317784d
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.140-tegra (root@jetson) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #4 SMP PREEMPT Mon Apr 18 16:13:03 +03 2022
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] OF: fdt:memory scan node memory@80000000, reg size 48,
[ 0.000000] OF: fdt: - 80000000 , 7ee00000
[ 0.000000] OF: fdt: - 100000000 , 7f200000
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options ‘’)
[ 0.000000] bootconsole [uart8250] enabled
[ 0.996774] tegradc tegradc.1: dpd enable lookup fail:-19
[ 1.502890] Host read timeout at address 545c00c4
[ 1.797807] imx219 7-0010: imx219_board_setup: error during i2c read probe (-121)
[ 1.805446] imx219 7-0010: board setup failed
[ 1.833831] imx219 8-0010: imx219_board_setup: error during i2c read probe (-121)
[ 1.841361] imx219 8-0010: board setup failed
[ 2.544097] cgroup: cgroup2: unknown option “nsdelegate”
[ 3.591192] using random self ethernet address
[ 3.603148] using random host ethernet address
[ 4.186060] random: crng init done
[ 4.189467] random: 7 urandom warning(s) missed due to ratelimiting
[ 4.260683] using random self ethernet address
[ 4.267584] using random host ethernet address
Ubuntu 18.04.4 LTS ubuntu ttyS0
ubuntu login: