Only 2GB detected with PCN211181 affected module

I’m using L4T 32.7.6 with PCN211181 overlay fully applied. We have a few U-Boot patches on top of tegra-l4t-r32.7.6_good U-Boot tag to support our product, but those should not affect U-Boot’s memory probe.

The same code can detect full 4GB on unaffected modules. The affected modules are confirmed to have D8CSC marking on the memory chips.

The full U-Boot boot log can be found here:

[0000.232] [L4T TegraBoot] (version 00.00.2018.01-l4t-b1625959)
[0000.237] Processing in cold boot mode Bootloader 2
[0000.242] A02 Bootrom Patch rev = 1023
[0000.245] Power-up reason: pmc por
[0000.249] No Battery Present
[0000.251] pmic max77620 reset reason
[0000.255] pmic max77620 NVERC : 0x40
[0000.258] RamCode = 1
[0000.260] Platform has DDR4 type RAM
[0000.264] max77620 disabling SD1 Remote Sense
[0000.268] Setting DDR voltage to 1125mv
[0000.272] Serial Number of Pmic Max77663: 0x8016f
[0000.279] Entering ramdump check
[0000.282] Get RamDumpCarveOut = 0x0
[0000.286] RamDumpCarveOut=0x0,  RamDumperFlag=0xe59ff3f8
[0000.291] Last reboot was clean, booting normally!
[0000.295] Sdram initialization is successful 
[0000.299] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.306] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.311] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.317] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.323] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.329] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.335] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.341] GSC3 Carveout Base=0x00000000bf300000 Size=0x00d00000
[0000.357] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.363] Platform-DebugCarveout: 0
[0000.366] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.372] Non secure mode, and RB not enabled.
[0000.376] *** Booting BFS0.
[0000.379] Initialize FailControl
[0000.382] Read PT from (0:3)
[0000.397] Csd NumOfBlocks=0
[0000.436] PT crc32 and magic check passed.
[0000.440] Using BFS PT to query partitions 
[0000.444] PT: Partition LNX NOT found ! 
[0000.448] *** Booting KFS0.
[0000.450] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.456] BoardID = 3448, SKU = 0x2
[0000.459] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0000.465] Read GPT from (0:3)
[0000.473] Using GPT Primary to query partitions
[0000.478] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.484] Loading Tboot-CPU binary
[0000.490] Verifying TBC in OdmNonSecureSBK mode
[0000.501] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.508] Bootloader downloaded successfully.
[0000.512] Downloaded Tboot-CPU binary to 0xa0000258
[0000.517] MAX77620_GPIO5 configured
[0000.521] CPU power rail is up
[0000.524] CPU clock enabled
[0000.527] Performing RAM repair
[0000.530] Updating A64 Warmreset Address to 0xa00002e9
[0000.535] BoardID = 3448, SKU = 0x2
[0000.539] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0000.545] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.551] Loading NvTbootBootloaderDTB
[0000.568] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0000.639] Bootloader DTB Load Address: 0x83000000
[0000.644] BoardID = 3448, SKU = 0x2
[0000.647] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0000.653] Loading NvTbootKernelDTB
[0000.677] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0000.748] Kernel DTB Load Address: 0x83100000
[0000.752] BoardID = 3448, SKU = 0x2
[0000.756] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0000.762] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.769] Loading cboot binary
[0000.780] Verifying EBT in OdmNonSecureSBK mode
[0000.821] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0000.828] Bootloader downloaded successfully.
[0000.832] BoardID = 3448, SKU = 0x2
[0000.836] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0000.842] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.848] PT: Partition NCT NOT found ! 
[0000.852] Warning: Find Partition via PT Failed
[0000.856] Next binary entry address: 0x92c00258 
[0000.860] BoardId: 3448
[0000.865] Overriding pmu board id with proc board id
[0000.870] Display board id is not available 
[0000.874] BoardID = 3448, SKU = 0x2
[0000.877] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0000.883] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.897] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0000.986] /bpmp deleted
[0000.989] SC7EntryFw header found loaded at 0xff700000
[0001.396] OVR2 PMIC
[0001.398] Bpmp FW successfully loaded
[0001.402] BoardID = 3448, SKU = 0x2
[0001.405] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0001.411] NvTbootFailControlDoFailover: No failover; Continuing ...
[0001.418] WB0 init successfully at 0xff780000
[0001.422] Verifying NvTbootWb0 in OdmNonSecureSBK mode
[0001.428] Set NvDecSticky Bits
[0001.431] GSC2 address ff53fffc value c0edbbcc
[0001.437] GSC MC Settings done
[0001.440] BoardID = 3448, SKU = 0x2
[0001.444] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0001.450] TOS Image length 53680
[0001.453]  Monitor size 53680
[0001.456]  OS size 0
[0001.461] Secure Os AES-CMAC Verification Success!
[0001.466] TOS image cipher info: plaintext
[0001.470] Loading and Validation of Secure OS Successful
[0001.486] SC7 Entry Firmware - 0xff700000, 0x4000
[0001.490] NvTbootPackSdramParams: start. 
[0001.495] NvTbootPackSdramParams: done. 
[0001.499] Tegraboot started after 161507 us
[0001.503] Basic modules init took 749774 us
[0001.507] Sec Bootdevice Read Time = 61 ms, Read Size = 3682 KB
[0001.513] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0001.518] Next stage binary read took 7384 us
[0001.523] Carveout took -34773 us
[0001.526] CPU initialization took 651747 us
[0001.530] Total time taken by TegraBoot 1374132 us

[0001.535] Starting CPU & Halting co-processor 

64NOTICE:  BL31: v1.3(release):269577911
NOTICE:  BL31: Built : 23:37:38, Nov  4 2024
ERROR:   Error initializing runtime service trusty_fast
[0001.657] RamCode = 1
[0001.659] get_emc_table_offset: Can't find emc-table node
[0001.664] LPDDR4 Training: Can't find emc-table node
[0001.712] 
[0001.713] Debug Init done
[0001.716] Marked DTB cacheable
[0001.719] Bootloader DTB loaded at 0x83000000
[0001.724] Marked DTB cacheable
[0001.726] Kernel DTB loaded at 0x83100000
[0001.730] DeviceTree Init done
[0001.745] Pinmux applied successfully
[0001.750] gicd_base: 0x50041000
[0001.754] gicc_base: 0x50042000
[0001.756] Interrupts Init done
[0001.761] Using base:0x60005090 & irq:208 for tick-timer
[0001.766] Using base:0x60005098 for delay-timer
[0001.771] platform_init_timer: DONE
[0001.774] Timer(tick) Init done
[0001.778] osc freq = 38400 khz
[0001.782] 
[0001.783] Welcome to L4T Cboot
[0001.786] 
[0001.787] Cboot Version: 00.00.2018.01-t210-acb23272
[0001.792] calling constructors
[0001.795] initializing heap
[0001.798] initializing threads
[0001.801] initializing timers
[0001.804] creating bootstrap completion thread
[0001.808] top of bootstrap2()
[0001.811] CPU: ARM Cortex A57
[0001.814] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0001.819] initializing platform
[0001.873] Config for emmc ddr50 mode completed
[0001.878] sdmmc bdev is already initialized
[0001.882] Enable APE clock
[0001.884] Un-powergate APE partition
[0001.888] of_register: registering tegra_udc to of_hal
[0001.893] of_register: registering inv20628-driver to of_hal
[0001.899] of_register: registering ads1015-driver to of_hal
[0001.904] of_register: registering lp8557-bl-driver to of_hal
[0001.910] of_register: registering bq2419x_charger to of_hal
[0001.916] of_register: registering bq27441_fuel_gauge to of_hal
[0001.928] gpio framework initialized
[0001.932] of_register: registering tca9539_gpio to of_hal
[0001.937] of_register: registering tca9539_gpio to of_hal
[0001.942] of_register: registering i2c_bus_driver to of_hal
[0001.948] of_register: registering i2c_bus_driver to of_hal
[0001.954] of_register: registering i2c_bus_driver to of_hal
[0001.959] pmic framework initialized
[0001.963] of_register: registering max77620_pmic to of_hal
[0001.968] regulator framework initialized
[0001.972] of_register: registering tps65132_bl_driver to of_hal
[0001.978] initializing target
[0001.984] gpio_driver_register: register 'tegra_gpio_driver' driver
[0001.993] board ID = D78, board SKU = 2
[0002.000] fixed regulator driver initialized
[0002.021] initializing OF layer
[0002.024] NCK carveout not present
[0002.027] Skipping dts_overrides
[0002.032] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.051] I2C Bus Init done
[0002.053] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.064] I2C Bus Init done
[0002.067] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.078] I2C Bus Init done
[0002.081] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.092] I2C Bus Init done
[0002.094] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.105] I2C Bus Init done
[0002.108] of_children_init: Ops found for compatible string maxim,max77620
[0002.119] max77620_init using irq 118
[0002.124] register 'maxim,max77620' pmic
[0002.128] gpio_driver_register: register 'max77620-gpio' driver
[0002.135] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.146] I2C Bus Init done
[0002.150] NCK carveout not present
[0002.161] Find /i2c@7000c000's alias i2c0
[0002.165] get eeprom at 1-a0, size 256, type 0
[0002.175] Find /i2c@7000c500's alias i2c2
[0002.178] get eeprom at 3-a0, size 256, type 0
[0002.183] get eeprom at 3-ae, size 256, type 0
[0002.187] pm_ids_update: Updating 1,a0, size 256, type 0
[0002.193] I2C slave not started
[0002.196] I2C write failed
[0002.198] Writing offset failed
[0002.201] eeprom_init: EEPROM read failed
[0002.205] pm_ids_update: eeprom init failed
[0002.209] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.239] pm_ids_update: The pm board id is 3448-0002-402
[0002.246] Adding plugin-manager/ids/3448-0002-402=/i2c@7000c500:module@0x50
[0002.255] pm_ids_update: pm id update successful
[0002.259] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.265] I2C slave not started
[0002.268] I2C write failed
[0002.270] Writing offset failed
[0002.273] eeprom_init: EEPROM read failed
[0002.277] pm_ids_update: eeprom init failed
[0002.307] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0002.313] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0002.321] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0002.327] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0002.336] updating /chosen/nvidia,ethernet-mac node 3c:6d:66:18:e2:7d
[0002.342] Plugin Manager: Parse ODM data 0x000a4000
[0002.355] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 
[0002.371] Find /i2c@7000c000's alias i2c0
[0002.375] get eeprom at 1-a0, size 256, type 0
[0002.385] Find /i2c@7000c500's alias i2c2
[0002.389] get eeprom at 3-a0, size 256, type 0
[0002.393] get eeprom at 3-ae, size 256, type 0
[0002.398] pm_ids_update: Updating 1,a0, size 256, type 0
[0002.403] I2C slave not started
[0002.406] I2C write failed
[0002.409] Writing offset failed
[0002.412] eeprom_init: EEPROM read failed
[0002.416] pm_ids_update: eeprom init failed
[0002.420] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.450] pm_ids_update: The pm board id is 3448-0002-402
[0002.457] Adding plugin-manager/ids/3448-0002-402=/i2c@7000c500:module@0x50
[0002.463] pm_ids_update: pm id update successful
[0002.468] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.473] I2C slave not started
[0002.476] I2C write failed
[0002.479] Writing offset failed
[0002.482] eeprom_init: EEPROM read failed
[0002.486] pm_ids_update: eeprom init failed
[0002.516] Add serial number:1654724091868 as DT property
[0002.524] Applying platform configs
[0002.532] platform-init is not present. Skipping
[0002.536] calling apps_init()
[0002.557] Found 17 GPT partitions in "sdmmc3_user"
[0002.562] Proceeding to Cold Boot
[0002.565] starting app android_boot_app
[0002.569] Device state: unlocked
[0002.572] display console init
[0002.582] could not find regulator
[0002.605] hdmi cable not connected
[0002.608] is_hdmi_needed: HDMI not connected, returning fDT entry for leds-pwm not found
a[0002.621] lse
[0002.622] hdmi is not connected
[0002.625] sor0 is not supported
[0002.628] display_console_init: no valid display out_type
[0002.637] subnode volume_up is not found !
[0002.641] subnode back is not found !
[0002.644] subnode volume_down is not found !
[0002.649] subnode menu is not found !
[0002.652] Gpio keyboard init success
[0002.700] found decompressor handler: lz4-legacy
[0002.714] decompressing blob (type 1)...
[0002.779] display_resolution: No display init
[0002.783] Failed to retrieve display resolution
[0002.788] Could not load/initialize BMP blob...ignoring
[0002.793] -------> se_aes_verify_sbk_clear: 747
[0002.797] se_aes_verify_sbk_clear: Error
[0002.801] SE operation failed
[0002.804] bl_battery_charging: connected to external power supply
[0002.814] display_console_ioctl: No display init
[0002.819] switch_backlight failed
[0002.828] device_query_partition_size: failed to open partition sdmmc3_user:MSC !
[0002.836] MSC Partition not found
[0002.845] device_query_partition_size: failed to open partition sdmmc3_user:USP !
[0002.853] USP partition read failed!
[0002.856] blob_init: blob-partition USP header read failed
[0002.862] android_boot Unable to update recovery partition
[0002.867] kfs_getpartname: name = LNX
[0002.871] Loading kernel from LNX
[0002.966] load kernel from storage
[0002.976] decompressor handler not found
[0003.010] Successfully loaded kernel and ramdisk images
[0003.015] board ID = D78, board SKU = 2
[0003.020] display_resolution: No display init
[0003.024] Failed to retrieve display resolution
[0003.029] bmp blob is not loaded and initialized
[0003.033] Failed to display boot-logo
[0003.037] NCK carveout not present
[0003.040] Skipping dts_overrides
[0003.043] NCK carveout not present
[0003.054] Find /i2c@7000c000's alias i2c0
[0003.058] get eeprom at 1-a0, size 256, type 0
[0003.068] Find /i2c@7000c500's alias i2c2
[0003.072] get eeprom at 3-a0, size 256, type 0
[0003.076] get eeprom at 3-ae, size 256, type 0
[0003.081] pm_ids_update: Updating 1,a0, size 256, type 0
[0003.086] I2C slave not started
[0003.089] I2C write failed
[0003.092] Writing offset failed
[0003.095] eeprom_init: EEPROM read failed
[0003.099] pm_ids_update: eeprom init failed
[0003.103] pm_ids_update: Updating 3,a0, size 256, type 0
[0003.133] pm_ids_update: The pm board id is 3448-0002-402
[0003.140] Adding plugin-manager/ids/3448-0002-402=/i2c@7000c500:module@0x50
[0003.149] pm_ids_update: pm id update successful
[0003.153] pm_ids_update: Updating 3,ae, size 256, type 0
[0003.159] I2C slave not started
[0003.161] I2C write failed
[0003.164] Writing offset failed
[0003.167] eeprom_init: EEPROM read failed
[0003.171] pm_ids_update: eeprom init failed
[0003.201] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0003.207] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0003.215] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0003.221] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0003.230] updating /chosen/nvidia,ethernet-mac node 3c:6d:66:18:e2:7d
[0003.236] Plugin Manager: Parse ODM data 0x000a4000
[0003.249] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 
[0003.257] Add serial number:1654724091868 as DT property
[0003.267] "bpmp" doesn't exist, creating 
[0003.273] Updated bpmp info to DTB
[0003.278] Updated initrd info to DTB
[0003.281] "proc-board" doesn't exist, creating 
[0003.288] Updated board info to DTB
[0003.291] "pmu-board" doesn't exist, creating 
[0003.297] Updated board info to DTB
[0003.300] "display-board" doesn't exist, creating 
[0003.306] Updated board info to DTB
[0003.310] "reset" doesn't exist, creating 
[0003.314] Updated reset info to DTB
[0003.318] display_console_ioctl: No display init
[0003.322] display_console_ioctl: No display init
[0003.327] display_console_ioctl: No display init
[0003.331] Cmdline: tegraid=21.1.2.0.0 ddr_die=2048M@2048M section=256M 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,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt 
[0003.366] DTB cmdline: earlycon=uart8250,mmio32,0x70006000 
[0003.371] 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 
[0003.388] Updated bootarg info to DTB
[0003.391] Adding uuid 00000001644077090000000005fc82c0 to DT
[0003.397] Adding eks info 0 to DT
[0003.403] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7
[0003.409] Updated memory info to DTB
[0003.418] set vdd_core voltage to 1075 mv
[0003.422] setting 'vdd-core' regulator to 1075000 micro volts
[0003.428] Found secure-pmc; disable BPMP


U-Boot 2020.04-00005-ge5ea88b0bc (Dec 14 2024 - 18:46:43 +0800)

SoC: tegra210
Model: OKdo Nano C100
Board: NVIDIA P3450-0000
DRAM:  2 GiB
MMC:   sdhci@700b0400: 1, sdhci@700b0600: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Card did not respond to voltage select!
Hit any key to stop autoboot:  0 
Tegra210 (P3450-0000) # <INTERRUPT>
Tegra210 (P3450-0000) # <INTERRUPT>
Tegra210 (P3450-0000) # <INTERRUPT>
Tegra210 (P3450-0000) # <INTERRUPT>
Tegra210 (P3450-0000) # ums 0 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1d5a000
CTRL+C - Operation aborted
Tegra210 (P3450-0000) # boot
Card did not respond to voltage select!
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
879 bytes read in 32 ms (26.4 KiB/s)
1:      primary kernel
Retrieving file: /boot/initrd
7160200 bytes read in 186 ms (36.7 MiB/s)
Retrieving file: /boot/Image
34707464 bytes read in 783 ms (42.3 MiB/s)
append: tegraid=21.1.2.0.0 ddr_die=2048M@2048M section=256M 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,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt  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 
Deleting existing nvidia,tegra210-sdhci node at 700B0400...
Deleting existing nvidia,tegra210-emc node at 7001B000...
Retrieving file: /boot/tegra210-p3448-common-sdmmc3.dtbo
4202 bytes read in 29 ms (140.6 KiB/s)
Retrieving file: /boot/tegra210-porg-p3448-emc-a00.dtbo
73917 bytes read in 29 ms (2.4 MiB/s)
## Flattened Device Tree blob at 83100000
   Booting using the fdt blob at 0x83100000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
   Using Device Tree in place at 0000000083100000, end 0000000083149fff
copying carveout for /host1x@50000000/dc@54200000...
copying carveout for /host1x@50000000/dc@54240000...

Starting kernel ...

The main output line I’m checking is DRAM: 2 GiB

Could you clarify how did you apply the overlay file first?

And if you don’t change Uboot, will this issue happen?

After checking again. it seems that I got a few project mixed up, and the one I though have the overlay applied actually was not applied.
Recreating the source tree fixed the issue.

2 Likes

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