Flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1 with error!

Is it possible to test that with devkit? And just use sdkamanger instead of the BSP prepared manually?

i can not get devkit,i work on home,can not go to company get devkit.
i can user sdkmanager ,but it will take some time.

@WayneWWW


we have two kind of core board,
use sdkmanager,the left one,can not flash successfully,and print like above。
use sdkmanager,the right one,can flash successfully,but can not bring up,print like follow:

ÿ
[0002.523] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0002.531] I> MB1 (prd-version: 2.2.0.0-t194-41334769-3540ffaa)
[0002.536] I> Boot-mode: Platform RCM
[0002.539] I> Platform: Silicon
[0002.542] I> Chip revision : A02P
[0002.545] I> Bootrom patch version : 15 (correctly patched)
[0002.550] I> ATE fuse revision : 0x200
[0002.554] I> Ram repair fuse : 0x0
[0002.557] I> Ram Code : 0x2
[0002.560] I> rst_source: 0xb, rst_level: 0x1
[0002.565] I> USB configuration success
[0004.846] I> mb2 image downloaded
[0004.938] I> Recovery boot mode 0
[0004.952] I> UPHY full init done
[0004.959] I> MB1 done

[0004.964] I> Welcome to MB2(TBoot-BPMP) Applet (version: default.t194-mobile-a1105112)
[0004.971] I> DMA Heap @ [0x40020000 - 0x40065800]
[0004.976] I> Default Heap @ [0xd486400 - 0xd48a400]
[0004.980] W> Profiler not initialized
[0005.002] I> sdmmc DDR50 mode
[0005.007] I> QSPI-0l initialized successfully
[0005.014] E> CLK_RST: instance 6 not found in module 44.
[0005.019] E> MPhy CAR configuration failed error = 1747992077
[0005.024] E> UFS initialization failed
[0005.027] I> UFS is not present
[0005.031] W> Cannot find any partition table for 00000003
[0005.037] > PARTITION_MANAGER: Failed to publish partition.
[0005.046] I> Found 19 partitions in SDMMC_USER (instance 3)
[0005.054] I> Found 42 partitions in QSPI_FLASH (instance 0)
[0005.059] W> Profiler not initialized
[0005.062] I> Entering 3p server
[0005.066] I> USB configuration success
[0006.275] I> Populate chip info
[0006.462] I> Populate eeprom info
[0006.485] I> Populate eeprom info for module cvm
[0006.490] > DEVICE_PROD: device prod is not initialized.
[0006.749] I> Rebooting : reboot-recovery

[0006.766] I> Reset to recovery mode
ÿ
[0202.342] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0202.350] I> MB1 (prd-version: 2.2.0.0-t194-41334769-3540ffaa)
[0202.356] I> Boot-mode: RCM
[0202.358] I> Platform: Silicon
[0202.361] I> Chip revision : A02P
[0202.364] I> Bootrom patch version : 15 (correctly patched)
[0202.369] I> ATE fuse revision : 0x200
[0202.373] I> Ram repair fuse : 0x0
[0202.376] I> Ram Code : 0x2
[0202.378] I> rst_source: 0xb, rst_level: 0x1
[0202.384] I> USB configuration success
[0204.488] I> bct_bootrom image downloaded
[0204.546] W> PROD_CONFIG: device prod data is empty in MB1 BCT.
[0204.553] I> Temperature = 41500
[0204.556] W> Skipping boost for clk: BPMP_CPU_NIC
[0204.561] W> Skipping boost for clk: BPMP_APB
[0204.565] W> Skipping boost for clk: AXI_CBB
[0204.569] W> Skipping boost for clk: AON_CPU_NIC
[0204.573] W> Skipping boost for clk: CAN1
[0204.577] W> Skipping boost for clk: CAN2
[0204.581] I> Boot-device: QSPI (instance: 0)
[0204.585] I> Qspi flash params source = mb1bct
[0204.589] I> bct_mb1 image downloaded
[0204.654] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0204.661] W> Thermal config not found in BCT
[0204.670] W> MEMIO rail config not found in BCT
[0204.681] I> bct_mem image downloaded
[0207.316] I> blob image downloaded
[0207.423] I> Recovery boot mode 0
[0207.481] W> Platform config not found in BCT
[0207.514] I> MB1 done

ÿ󬠩n enter
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
ÿ
ᙰ207.524] I> Welcome to MB2(TBoot-BPMP) Recovery (version: default.t194-mobile-ded99dd3)
[0207.525] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0207.525] I> Default Heap @ [0xd486400 - 0xd48a400]
[0207.527] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0207.533] W> device prod register failed
[0207.547] I> Relocating BR-BCT
[0207.548] > DEVICE_PROD: device prod is not initialized.
[0207.601] I> Relocating OP-TEE dtb from: 0x6bfffd40 to 0x70050000, size: 703
[0207.602] I> [0] START: 0x80000000, SIZE: 0x47c00000
[0207.602] I> dram_block larger than 80000000
[0207.603] I> [1] START: 0x100000000, SIZE: 0x380000000
[0207.605] I> Setting NS memory ranges to OP-TEE dtb finished.
[0207.742] I> EKB detected (length: 0x410) @ VA:0x526fa200
[0207.743] I> Setting EKB blob info to OPTEE dtb finished.
ÿ㍏TICE: BL31: v2.5(release):ef8af0b99
NOTICE: BL31: Built : 20:57:59, May 16 2022
I/TC:
ÿ
ᡰmp: init
bpmp: tag is 128431eec76692047e1ac1ebc0392266
ÿ㇯TC: Non-secure external DT found
ÿᲫu_dt_init: not sku 0x00
clk_early initialized
mail_early initialized
fuse initialized
hwwdt initialized
t194_ec_get_ec_list: found 45 ecs
ec initialized
vmon_setup_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
fmon initialized
mc initialized
reset initialized
nvhs initialized
uphy_early initialized
emc_early initialized
392 clocks registered
ÿ㇯TC: OP-TEE version: 6f444aÿ᢬k initialized
ÿ㤿ᨯ_dpd initialized
ÿ㧿᳨ermal initialized
thermal_mrq initialized
ÿ➨gcc versiÿ᧲c initialized
vrmon_dt_init: vrmon node not found
vrmon_chk_boot_state: found 0 rail monitors
vrmon initialized
ÿ㮮 9.3.0 ÿᱥgulator initialized
ÿ⧂uildroot 2020.08)) #2 Tue May 17 04:00:18 UTC 2022 aarch64
I/TC: Primary CPU initializing
ÿᠶfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
dvs initialized
pm initialized
suspend initialized
pg_late initialized
pg_mrq_init initialized
strap initialized
nvl initialized
emc initialized
emc_mrq initialized
clk_dt initialized
tj_init initialized
/uphy is not enabled status = disabled
uphy_dt initialized
uphy_mrq initialized
uphy initialized
ec_swd_poll_start: 281 reg polling start w period 47 ms
ec_late initialized
hwwdt_late initialized
reset_mrq initialized
ec_mrq initialized
fmon_mrq initialized
clk_mrq initialized
avfs_mrq initialized
mail_mrq initialized
i2c_mrq initialized
tag_mrq initialized
console_mrq initialized
mrq initialized
clk_sync_fmon_post initialized
clk_dt_late initialized
noc_late initialized
pm_post initialized
dbells initialized
dmce initialized
cvc initialized
avfs_clk_mach_post initialized
ÿ㇯ÿᠶfs_clk_platform_post initialized
ÿ㓃:ÿᢶc_late initialized
regulator_post initialized
rm initialized
console_late initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
profile initialized
fuse_late initialized
extras_post initialized
bpmp: init complete
entering main console loop
] ÿ⟐rimary CPU switching to normal world boot
ÿ
ٰ208.291] I> Welcome to TBoot-CPU Recovery
[0208.295] I> Heap: [0xa0f00000 … 0xa9f00000
[0208.299] I> gpio framework initialized
[0208.313] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra194-gpio’ driver
[0208.320] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra194-gpio-aon’ driver
[0208.321] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0208.331] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0208.339] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0208.340] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0208.345] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0208.355] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0208.363] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0208.367] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0208.376] I> fixed regulator driver initialized
[0208.523] I> CPU: Nvidia Carmel
[0208.524] I> CPU: MIDR: 0x4e0f0040, MPIDR: 0x80000000
[0208.524] I> Platform: Silicon
[0208.524] I> chip revision : A02P
[0208.524] I> Boot_device: QSPI_FLASH instance: 0
[0208.525] I> qspi flash-0 params source = boot args
[0208.526] I> QSPI source rate = 204000 Khz
[0208.526] I> Requested rate for QSPI clock = 12000 Khz
[0208.530] I> BPMP-set rate for QSPI clk = 12000 Khz
[0208.535] I> QSPI-0l initialized successfully
[0208.539] I> sdmmc-3 params source = safe params
[0208.949] I> sdmmc DDR50 mode
[0208.963] I> Found 42 partitions in QSPI_FLASH (instance 0)
[0208.964] W> Cannot find any partition table for 00000003
[0208.965] > PARTITION_MANAGER: Failed to publish partition.
[0208.966] I> Found 19 partitions in SDMMC_USER (instance 3)
[0208.966] I> Recovery boot_type: 0
[0208.967] I> Entering 3p server
[0208.967] I> USB configuration success
[0209.439] I> Populate storage info
[0209.592] I> Erasing device 3: 0
[0209.604] I> QSPI: Erasing entire device
[0318.655] I> Writing device 3: 0.
[0318.913] I> Found 42 partitions in QSPI_FLASH (instance 0)
[0318.947] I> Erasing device 1: 3
[0319.509] I> Writing device 1: 3.
[0319.571] I> Writing device 1: 3.
[0319.598] I> Found 19 partitions in SDMMC_USER (instance 3)
[0319.627] I> Writing device 1: 3.
[0319.659] I> Found 19 partitions in SDMMC_USER (instance 3)
[0319.690] I> Writing mb1 partition.
[0323.103] I> Writing mb1_b partition.
[0326.512] I> Writing spe-fw partition.
[0327.836] I> Writing mb2 partition.
[0330.222] I> Writing mts-preboot partition.
[0330.612] I> Writing mts-mce partition.
[0332.599] I> Writing mts-proper partition.
[0378.418] I> Writing sc7 partition.
[0379.217] I> Writing xusb-fw partition.
[0381.045] I> Writing cpu-bootloader partition.
[0417.864] I> Writing bootloader-dtb partition.
[0421.366] I> Writing secure-os partition.
[0428.422] I> Writing eks partition.
[0428.553] I> Writing adsp-fw partition.
[0433.873] I> Writing rce-fw partition.
[0440.721] I> Writing bpmp-fw partition.
[0454.205] I> Writing bpmp-fw-dtb partition.
[0459.483] I> Writing spe-fw_b partition.
[0460.833] I> Writing mb2_b partition.
[0463.252] I> Writing mts-preboot_b partition.
[0463.640] I> Writing mts-mce_b partition.
[0465.637] I> Writing mts-proper_b partition.
[0511.453] I> Writing sc7_b partition.
[0512.251] I> Writing xusb-fw_b partition.
[0514.081] I> Writing cpu-bootloader_b partition.
[0550.912] I> Writing bootloader-dtb_b partition.
[0554.413] I> Writing SMD partition.
[0554.485] I> Writing VER_b partition.
[0554.547] I> Writing VER partition.
[0554.603] I> Writing device 1: 3.
[0554.660] I> Writing APP partition.
[1323.726] I> Writing kernel partition.
[1329.681] I> Writing kernel-dtb partition.
[1329.783] I> Writing secure-os_b partition.
[1329.923] I> Writing eks_b partition.
[1329.995] I> Writing adsp-fw_b partition.
[1330.123] I> Writing rce-fw_b partition.
[1330.275] I> Writing bpmp-fw_b partition.
[1330.491] I> Writing bpmp-fw-dtb_b partition.
[1330.643] I> Writing kernel_b partition.
[1336.622] I> Writing kernel-dtb_b partition.
[1336.740] I> Writing recovery partition.
[1343.245] I> Writing recovery-dtb partition.
[1343.384] I> Writing esp partition.
[1353.285] I> Writing BCT partition.
[1353.662] I> Writing MB1_BCT partition.
[1354.199] I> Writing MB1_BCT_b partition.
[1354.767] I> Writing MEM_BCT partition.
[1357.728] I> Writing MEM_BCT_b partition.
[1360.726] I> Rebooting : reset-coldboot

ÿ怢Shutdown state requested 1
Rebooting system …
ÿ
[0000.025] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0000.033] I> MB1 (prd-version: 2.2.0.0-t194-41334769-3540ffaa)
[0000.039] I> Boot-mode: Coldboot
[0000.042] I> Platform: Silicon
[0000.044] I> Chip revision : A02P
[0000.048] I> Bootrom patch version : 15 (correctly patched)
[0000.053] I> ATE fuse revision : 0x200
[0000.056] I> Ram repair fuse : 0x0
[0000.059] I> Ram Code : 0x2
[0000.062] I> rst_source: 0xb, rst_level: 0x1
[0000.067] I> Boot-device: QSPI (instance: 0)
[0000.071] I> Qspi flash params source = brbct
[0000.075] I> Qspi using bpmp-dma
[0000.078] I> Qspi clock source : pllp
[0000.081] I> QSPI Flash Size = 32 MB
[0000.084] I> Qspi initialized successfully
[0000.088] I> Boot chain mechanism: A/B
[0000.092] I> Current Boot-Chain Slot: 0
[0000.095] W> No valid slot number is found in scratch register
[0000.101] W> Return default slot: _a
[0000.104] I> Qspi flash params source = brbct
[0000.110] W> PROD_CONFIG: device prod data is empty in MB1 BCT.
[0000.116] I> Temperature = 48500
[0000.119] W> Skipping boost for clk: BPMP_CPU_NIC
[0000.123] W> Skipping boost for clk: BPMP_APB
[0000.127] W> Skipping boost for clk: AXI_CBB
[0000.131] W> Skipping boost for clk: AON_CPU_NIC
[0000.136] W> Skipping boost for clk: CAN1
[0000.139] W> Skipping boost for clk: CAN2
[0000.144] I> Boot-device: QSPI (instance: 0)
[0000.147] I> Qspi flash params source = mb1bct
[0000.152] I> Qspi using bpmp-dma
[0000.155] I> Qspi clock source : pllc_out0
[0000.158] I> Qspi reinitialized
[0000.161] I> Qspi flash params source = mb1bct
[0000.174] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0000.181] W> Thermal config not found in BCT
[0000.189] W> MEMIO rail config not found in BCT
[0000.201] I> Qspi flash params source = mb1bct
[0000.214] I> Qspi flash params source = mb1bct
[0000.248] I> Qspi flash params source = mb1bct
[0000.812] I> Qspi flash params source = mb1bct
[0000.829] I> Qspi flash params source = mb1bct
[0000.863] W> Platform config not found in BCT
[0000.889] I> Qspi flash params source = mb1bct
[0000.915] I> MB1 done

ÿ󬠩n enter
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
ÿ
ᙰ000.924] I> Welcome to MB2(TBoot-BPMP) (version: default.t194-mobile-f46b9673)
[0000.925] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.925] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.926] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.932] W> device prod register failed
[0000.936] I> Boot_device: QSPI_FLASH instance: 0
[0000.940] I> qspi flash-0 params source = boot args
[0000.946] I> QSPI-0l initialized successfully
[0000.949] I> sdmmc-3 params source = safe params
[0001.272] I> sdmmc DDR50 mode
[0001.282] I> Found 42 partitions in QSPI_FLASH (instance 0)
[0001.283] W> Cannot find any partition table for 00000003
[0001.284] > PARTITION_MANAGER: Failed to publish partition.
[0001.288] I> Found 19 partitions in SDMMC_USER (instance 3)
[0001.289] W> No valid slot number is found in scratch register
[0001.289] W> Return default slot: _a
[0001.290] I> Active Boot chain : 0
[0001.898] I> Relocating BR-BCT
[0001.900] > DEVICE_PROD: device prod is not initialized.
[0002.143] I> Relocating OP-TEE dtb from: 0x6bfff0f0 to 0x70050000, size: 703
[0002.144] I> [0] START: 0x80000000, SIZE: 0x2f000000
[0002.145] I> [1] START: 0xaf200000, SIZE: 0x18a00000
[0002.145] I> dram_block larger than 80000000
[0002.145] I> [2] START: 0x100000000, SIZE: 0x380000000
[0002.149] I> Setting NS memory ranges to OP-TEE dtb finished.
[0002.249] I> EKB detected (length: 0x410) @ VA:0x52709400
[0002.250] I> Setting EKB blob info to OPTEE dtb finished.
ÿ㍏TICE: BL31: v2.5(release):ef8af0b99
NOTICE: BL31: Built : 20:57:59, May 16 2022
I/TC:
ÿ
ᡰmp: init
bpmp: tag is 128431eec76692047e1ac1ebc0392266
sku_dt_init: not sku 0x00
clk_early initialized
mail_early initialized
fuse initialized
hwwdt initialized
t194_ec_get_ec_list: found 45 ecs
ec initialized
vmon_setup_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
ÿ㇯TC: Non-secure extÿᥭon initialized
mc initialized
ÿ㤲ÿᱥset initialized
nvhs initialized
uphy_early initialized
emc_early initialized
ÿ㭡l DT found
ÿ౹2 clocks registered
clk initialized
io_dpd initialized
thermal initialized
thermal_mrq initialized
i2c initialized
vrmon_dt_init: vrmon node not found
vrmon_chk_boot_state: found 0 rail monitors
vrmon initialized
regulator initialized
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
ÿ㇯TC: OP-TEE version: 6f444acf (gcc version 9.3.0 (Buildroot ÿ᣶s initialized
ÿ⳿ᯭ initialized
ÿ⮲ÿᲵspend initialized
ÿ⮮0ÿᯧ_late initialized
ÿⶩÿᯧ_mrq_init initialized
strap initialized
ÿ⪿᭶l initialized
ÿ➣2 Tueÿ᤭c initialized
emc_mrq initialized
ÿ⟍ay 17 04:00:18 UTC 2022 aarch64
I/TC: Primary CPU initializing
ÿ᢬k_dt initialized
tj_init initialized
uphy_dt initialized
uphy_mrq initialized
uphy initialized
ec_swd_poll_start: 281 reg polling start w period 47 ms
ec_late initialized
hwwdt_late initialized
reset_mrq initialized
ec_mrq initialized
fmon_mrq initialized
clk_mrq initialized
avfs_mrq initialized
mail_mrq initialized
i2c_mrq initialized
tag_mrq initialized
console_mrq initialized
mrq initialized
clk_sync_fmon_post initialized
clk_dt_late initialized
noc_late initialized
pm_post initialized
dbells initialized
dmce initialized
cvc initialized
avfs_clk_mach_post initialized
avfs_clk_platform_post initialized
cvc_late initialized
regulator_post initialized
rm initialized
console_late initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
profile initialized
fuse_late initialized
extras_post initialized
bpmp: init complete
entering main console loop
] ÿ㇯TC: Primary CPU switching to normal world boot
ÿ
ɥtson UEFI firmware (version r34.1-975eef6 built on 2022-05-16T20:58:45-07:00)

Then there are lots and lots of spaces and then no printing.

@WayneWWW
i want bring up system of the right one,3668 0030. Maybe ddr is 16G. the 3668 0000 ddr is 8G .

i will use jetpack 32.7.2 ,try with 3688-0030 board.

i use 32.7.2 jetpack,falsh successfully,and bring up to unbuntu system.

so the Xavier NX ,3688-0030 is 16G ddr,and the latest jetpack not fit it.

and sdkmanager or jetpack is not downwards, upwards compatible.

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