Switch boot from NVME to SD and vice versa without touching any data

Hi,

I have SD version module. It does not have EMMC.

I installed JP5 to NVME. After it i installed JP4.6 to SD.
If i removed SD, then no boot happened.

Now i want switch back to NVME.
And after it i will switch back to SD again.

How i can do it?

Best regards, Viktor.

There is no way to do this because the bootloader software is on the QSPI of the module and only one version can be used on that.

The jp5.0 bootloader is UEFI but the jp4.x bootloader is cboot. We don’t have a cross version test.

Which means only UEFI can support jp5.0 image and only cboot can support jp4.x. Thus, what you want to do is not possible. Even if you boot up, we cannot guarantee the functionality.

Ok. Can i reflash QSPI every time before using certain storage?

I think the real problem here is the version. But not certain storage.

If you want to boot cross version on same board, then it is not practical. I mean you would need to reflash every time but due to the flash time, I would say nobody would want to try that.

If your NVMe and SD are both using same version, then it is possible. No need to flash.

Ok. May be i can reflash some partitions on NVME to make it bootable?
If in sdkmanager i uncheck flash device, will it repair boot issue?
I do not want to erase all data on NVME/SD.

It is a complicated situation and not able to directly give a solution.

We don’t know what kind of “cannot boot” is it. I mean this statement is just like someone tells you “my computer crashes”. You would know that possible root cause could be various… Thus, please dump the uart log from your board when this “cannot boot” situation happened so that we can find out what is going on.

If the error is coming from the root filesystem, then you may only flash the board (sd/nvme) to recover it. However, if it is some bootloader crash on the QSPI, then we can still save it by flashing qspi only.

Ok, will try get boot log.

Boot log:

[19:17:27:013] [0000.024] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.␍␊

[19:17:27:020] [0000.033] I> MB1 (prd-version: 1.5.1.3-t194-41334769-d2a21c57)␍␊

[19:17:27:028] [0000.038] I> Boot-mode: Coldboot␍␊

[19:17:27:028] [0000.041] I> Chip revision : A02P␍␊

[19:17:27:035] [0000.044] I> Bootrom patch version : 15 (correctly patched)␍␊

[19:17:27:035] [0000.049] I> ATE fuse revision : 0x200␍␊

[19:17:27:042] [0000.053] I> Ram repair fuse : 0x0␍␊

[19:17:27:042] [0000.056] I> Ram Code : 0x0␍␊

[19:17:27:049] [0000.058] I> rst_source : 0x0␍␊

[19:17:27:049] [0000.061] I> rst_level : 0x0␍␊

[19:17:27:049] [0000.065] I> Boot-device: QSPI␍␊

[19:17:27:056] [0000.067] I> Qspi flash params source = brbct␍␊

[19:17:27:056] [0000.071] I> Qspi using bpmp-dma␍␊

[19:17:27:064] [0000.074] I> Qspi clock source : pllp␍␊

[19:17:27:064] [0000.078] I> QSPI Flash Size = 32 MB␍␊

[19:17:27:072] [0000.081] I> Qspi initialized successfully␍␊

[19:17:27:072] [0000.085] I> Active Boot chain : 1␍␊

[19:17:27:078] [0000.088] I> Boot-device: QSPI␍␊

[19:17:27:078] [0000.091] I> Qspi flash params source = brbct␍␊

[19:17:27:085] [0000.097] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.␍␊

[19:17:27:090] [0000.105] I> Temperature = 30000␍␊

[19:17:27:095] [0000.108] W> Skipping boost for clk: BPMP_CPU_NIC␍␊

[19:17:27:103] [0000.112] W> Skipping boost for clk: BPMP_APB␍␊

[19:17:27:103] [0000.116] W> Skipping boost for clk: AXI_CBB␍␊

[19:17:27:108] [0000.120] W> Skipping boost for clk: AON_CPU_NIC␍␊

[19:17:27:113] [0000.124] W> Skipping boost for clk: CAN1␍␊

[19:17:27:113] [0000.128] W> Skipping boost for clk: CAN2␍␊

[19:17:27:121] [0000.132] I> Boot-device: QSPI␍␊

[19:17:27:121] [0000.135] I> Boot-device: QSPI␍␊

[19:17:27:127] [0000.138] I> Qspi flash params source = mb1bct␍␊

[19:17:27:127] [0000.142] I> Qspi using bpmp-dma␍␊

[19:17:27:135] [0000.145] I> Qspi clock source : pllc_out0␍␊

[19:17:27:135] [0000.149] I> Qspi reinitialized␍␊

[19:17:27:140] [0000.152] I> Qspi flash params source = mb1bct␍␊

[19:17:27:145] [0000.157] I> ECC region[0]: Start:0x0, End:0x0␍␊

[19:17:27:151] [0000.161] I> ECC region[1]: Start:0x0, End:0x0␍␊

[19:17:27:151] [0000.165] I> ECC region[2]: Start:0x0, End:0x0␍␊

[19:17:27:156] [0000.170] I> ECC region[3]: Start:0x0, End:0x0␍␊

[19:17:27:161] [0000.174] I> ECC region[4]: Start:0x0, End:0x0␍␊

[19:17:27:169] [0000.178] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000␍␊

[19:17:27:169] [0000.184] I> Non-ECC region[1]: Start:0x0, End:0x0␍␊

[19:17:27:174] [0000.188] I> Non-ECC region[2]: Start:0x0, End:0x0␍␊

[19:17:27:195] [0000.193] I> Non-ECC region[3]: Start:0x0, End:0x0␍␊

[19:17:27:195] [0000.197] I> Non-ECC region[4]: Start:0x0, End:0x0␍␊

[19:17:27:195] [0000.202] E> FAILED: Thermal config␍␊

[19:17:27:195] [0000.210] E> FAILED: MEMIO rail config␍␊

[19:17:27:208] [0000.220] I> Boot-device: QSPI␍␊

[19:17:27:208] [0000.223] I> Qspi flash params source = mb1bct␍␊

[19:17:27:221] [0000.232] I> Qspi flash params source = mb1bct␍␊

[19:17:27:230] [0000.244] I> Qspi flash params source = mb1bct␍␊

[19:17:27:294] [0000.310] I> Qspi flash params source = mb1bct␍␊

[19:17:27:308] [0000.319] I> Qspi flash params source = mb1bct␍␊

[19:17:27:330] [0000.346] I> Qspi flash params source = mb1bct␍␊

[19:17:27:344] [0000.358] I> MB1 done␍␊

[19:17:27:351] ␍␊

[19:17:27:351] <break>

[19:17:27:351] <0xff><0xfd><0xff><0xe0>main enter␍␊

[19:17:27:361] SPE VERSION #: R01.00.14 Created: Sep 19 2018 @ 11:03:21␍␊

[19:17:27:361] HW Function test␍␊

[19:17:27:361] Start Scheduler.␍␊

[19:17:27:361] in late init␍␊

[19:17:27:370] <0xff><0xe2>␊

[19:17:27:370] [0000.367] I> Welcome to MB2(TBoot-BPMP) (version: 00.00.2018.32-mobile-389501e9)␍␊

[19:17:27:370] [0000.367] I> DMA Heap @ [0x526fa000 - 0x52ffa000]␍␊

[19:17:27:380] [0000.368] I> Default Heap @ [0xd486400 - 0xd48a400]␍␊

[19:17:27:380] [0000.369] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.␍␊

[19:17:27:389] [0000.374] W> device prod register failed␍␊

[19:17:27:389] [0000.378] I> Boot-device: QSPI␍␊

[19:17:27:396] [0000.381] I> Boot_device: QSPI_FLASH instance: 0␍␊

[19:17:27:396] [0000.386] I> QSPI Flash Size = 32 MB␍␊

[19:17:27:402] [0000.392] I> Qspi initialized successfully␍␊

[19:17:27:409] [0000.393] I> qspi flash-0 params source = boot args␍␊

[19:17:27:409] [0000.398] E> Failed: Unknown device 6␍␊

[19:17:27:414] [0000.404] I> Found 47 partitions in QSPI_FLASH (instance 0)␍␊

[19:17:27:421] [0000.407] I> Active Boot chain : 1␍␊

[19:17:27:421] [0000.410] I> parsing oem signed section of bpmp-fw header done␍␊

[19:17:27:427] [0000.416] I> bpmp-fw binary init read from storage␍␊

[19:17:27:436] [0000.421] I> oem authentication of bpmp-fw header done␍␊

[19:17:27:436] [0000.435] I> bpmp-fw binary done read from storage␍␊

[19:17:27:441] [0000.435] I> bpmp-fw: Authentication init Done␍␊

[19:17:27:446] [0000.436] I> parsing oem signed section of cpubl header done␍␊

[19:17:27:455] [0000.440] I> cpubl binary init read from storage␍␊

[19:17:27:455] [0000.444] I> bpmp-fw: Authentication Finalize Done␍␊

[19:17:27:460] [0000.449] I> oem authentication of cpubl header done␍␊

[19:17:27:468] [0000.456] I> cpubl binary done read from storage␍␊

[19:17:27:468] [0000.458] I> cpubl: Authentication init Done␍␊

[19:17:27:474] [0000.463] I> parsing oem signed section of rce header done␍␊

[19:17:27:479] [0000.468] I> rce binary init read from storage␍␊

[19:17:27:488] [0000.472] I> Relocating BR-BCT␍␊

[19:17:27:488] [0000.475] I> cpubl: Authentication Finalize Done␍␊

[19:17:27:493] [0000.479] I> oem authentication of rce header done␍␊

[19:17:27:493] [0000.484] I> rce binary done read from storage␍␊

[19:17:27:501] [0000.488] I> rce: Authentication init Done␍␊

[19:17:27:507] [0000.492] I> parsing oem signed section of ape header done␍␊

[19:17:27:510] [0000.497] I> ape binary init read from storage␍␊

[19:17:27:515] [0000.502] I> rce: Authentication Finalize Done␍␊

[19:17:27:515] [0000.506] I> oem authentication of ape header done␍␊

[19:17:27:521] [0000.511] I> ape binary done read from storage␍␊

[19:17:27:526] [0000.515] I> ape: Authentication init Done␍␊

[19:17:27:535] [0000.519] I> parsing oem signed section of tos header done␍␊

[19:17:27:535] [0000.524] I> tos binary init read from storage␍␊

[19:17:27:540] [0000.528] I> ape: Authentication Finalize Done␍␊

[19:17:27:545] [0000.533] I> oem authentication of tos header done␍␊

[19:17:27:554] [0000.539] I> tos binary done read from storage␍␊

[19:17:27:554] [0000.542] I> tos: Authentication init Done␍␊

[19:17:27:559] [0000.546] I> parsing oem signed section of bpmp-fw-dtb header done␍␊

[19:17:27:564] [0000.552] I> bpmp-fw-dtb binary init read from storage␍␊

[19:17:27:572] [0000.557] I> tos: Authentication Finalize Done␍␊

[19:17:27:572] [0000.563] I> oem authentication of bpmp-fw-dtb header done␍␊

[19:17:27:577] [0000.566] I> bpmp-fw-dtb binary done read from storage␍␊

[19:17:27:586] [0000.571] I> bpmp-fw-dtb: Authentication init Done␍␊

[19:17:27:586] [0000.576] I> parsing oem signed section of cpubl-dtb header done␍␊

[19:17:27:591] [0000.582] I> cpubl-dtb binary init read from storage␍␊

[19:17:27:596] [0000.587] I> bpmp-fw-dtb: Authentication Finalize Done␍␊

[19:17:27:628] [0000.644] I> oem authentication of cpubl-dtb header done␍␊

[19:17:27:634] [0000.645] I> cpubl-dtb binary done read from storage␍␊

[19:17:27:642] [0000.645] I> cpubl-dtb: Authentication init Done␍␊

[19:17:27:648] [0000.646] I> parsing oem signed section of eks header done␍␊

[19:17:27:653] [0000.647] I> eks binary init read from storage␍␊

[19:17:27:653] [0000.648] I> cpubl-dtb: Authentication Finalize Done␍␊

[19:17:27:658] [0000.648] I> oem authentication of eks header done␍␊

[19:17:27:663] [0000.653] I> eks binary done read from storage␍␊

[19:17:27:672] [0000.657] I> eks: Authentication init Done␍␊

[19:17:27:672] [0000.661] I> eks: Authentication Finalize Done␍␊

[19:17:27:677] [0000.665] I> EKB detected (length: 0x410) @ VA:0x52705400␍␊

[19:17:27:686] <0xff><0xe4>NOTICE: BL31: v1.3(release):de895fd9e␍␊

[19:17:27:686] NOTICE: BL31: Built : 20:51:20, Oct 27 2020␍␊

[19:17:27:691] ipc-unittest-main: 1519: Welcome to IPC unittest!!!␍␊

[19:17:27:696] ipc-unittest-main: 1531: waiting forever␍␊

[19:17:27:704] ipc-unittest-srv: 329: Init unittest services!!!␍␊

[19:17:27:704] hwkey-agent: 40: hwkey-agent is running!!␍␊

[19:17:27:710] hwkey-agent: 182: key_mgnt_processing .......␍␊

[19:17:27:718] hwkey-agent: 157: Init hweky-agent services!!␍␊

[19:17:27:718] platform_bootstrap_epilog: trusty bootstrap complete␍␊

[19:17:27:732] <0xff><0xe2>␊

[19:17:27:735] ␍␊

[19:17:27:735] welcome to lk␍␊

[19:17:27:735] calling constructors␍␊

[19:17:27:740] initializing heap␍␊

[19:17:27:787] creating bootstrap completion thread␍␊

[19:17:27:791] top of bootstrap2()␍␊

[19:17:27:797] initializing platform␍␊

[19:17:27:797] bpmp: platform_init␍␊

[19:17:27:804] tag is 57f8a77779f848bf2ecf21dabee5645f␍␊

[19:17:27:804] tag_show initialized␍␊

[19:17:27:831] dt initialized␍␊

[19:17:27:841] mail initialized␍␊

[19:17:27:841] chipid initialized␍␊

[19:17:27:841] fuse initialized␍␊

[19:17:27:841] sku initialized␍␊

[19:17:27:841] speedo initialized␍␊

[19:17:27:851] ec_get_ec_list: found 45 ecs␍␊

[19:17:27:851] ec initialized␍␊

[19:17:27:851] ec_mrq initialized␍␊

[19:17:27:851] vmon_populate_monitors: found 3 monitors␍␊

[19:17:27:851] vmon initialized␍␊

[19:17:27:861] adc initialized␍␊

[19:17:27:861] fmon_populate_monitors: found 73 monitors␍␊

[19:17:27:861] fmon initialized␍␊

[19:17:27:861] fmon_mrq initialized␍␊

[19:17:27:861] reset initialized␍␊

[19:17:27:869] nvhs initialized␍␊

[19:17:27:869] 391 clocks registered␍␊

[19:17:27:869] clk_mrq_init: mrq handler registered␍␊

[19:17:27:876] clk initialized␍␊

[19:17:27:876] nvlink initialized␍␊

[19:17:27:876] io_dpd initialized␍␊

[19:17:27:876] io_dpd initialized␍␊

[19:17:27:883] thermal initialized␍␊

[19:17:27:883] i2c5 controller initialized␍␊

[19:17:27:883] initialized i2c mrq handling␍␊

[19:17:27:890] i2c initialized␍␊

[19:17:27:890] regulator initialized␍␊

[19:17:27:890] avfs_clk_platform_init: bad clk id in clock@cluster1_avfs␍␊

[19:17:27:909] avfs_clk_platform initialized␍␊

[19:17:27:913] soctherm initialized␍␊

[19:17:27:918] aotag initialized␍␊

[19:17:27:918] powergate initialized␍␊

[19:17:27:949] dvs initialized␍␊

[19:17:27:951] pm initialized␍␊

[19:17:27:958] pg_late initialized␍␊

[19:17:27:958] strap initialized␍␊

[19:17:27:958] tag initialized␍␊

[19:17:27:976] emc initialized␍␊

[19:17:27:985] clk_dt initialized␍␊

[19:17:27:985] avfs_ccplex_platform initialized␍␊

[19:17:27:994] tj_max: dt node not found␍␊

[19:17:27:994] tj_init initialized␍␊

[19:17:27:994] uphy_mrq_init: mrq handler registered␍␊

[19:17:28:002] uphy_dt initialized␍␊

[19:17:28:002] uphy initialized␍␊

[19:17:28:002] safereg_init: period 80 ms␍␊

[19:17:28:002] ec_late initialized␍␊

[19:17:28:002] mrq initialized␍␊

[19:17:28:009] <0xff><0xe1>␊

[19:17:28:009] [0001.006] I> Welcome to Cboot␍␊

[19:17:28:009] [0001.007] I> Cboot Version: t194-aad9d75e␍␊

[19:17:28:018] <0xff><0xe2>WARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)␍␊

[19:17:28:018] fmon_post initialized␍␊

[19:17:28:018] <0xff><0xe1>[0001.007] I> CPU-BL Params @ 0xf2820000␍␊

[19:17:28:023] [0001.012] I> 0) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:029] [0001.017] I> 1) Base:0xf1100000 Size:0x00100000␍␊

[19:17:28:037] <0xff><0xe2>clk_set_parent failed for clk can1, parent pll_aon (-22)␍␊

[19:17:28:037] clk_set_parent failed for clk can2, parent pll_aon (-22)␍␊

[19:17:28:043] clk_set_parent failed for clk dmic5, parent pll_aon (-22)␍␊

[19:17:28:051] clk_set_parent failed for clk i2c2, parent pll_aon (-22)␍␊

[19:17:28:051] clk_set_parent failed for clk i2c8, parent pll_aon (-22)␍␊

[19:17:28:056] clk_set_parent failed for clk spi2, parent pll_aon (-22)␍␊

[19:17:28:069] clk_set_parent failed for clk pwm4, parent pll_aon (-22)␍␊

[19:17:28:069] clk_dt_late initialized␍␊

[19:17:28:069] machine_check initialized␍␊

[19:17:28:079] pm_post initialized␍␊

[19:17:28:079] dbells initialized␍␊

[19:17:28:079] avfs_clk_platform_post initialized␍␊

[19:17:28:079] dmce initialized␍␊

[19:17:28:091] cvc initialized␍␊

[19:17:28:091] ccplex_avfs_hw_init: nafll_cluster0: not monitored␍␊

[19:17:28:091] ccplex_avfs_hw_init: nafll_cluster2: not monitored␍␊

[19:17:28:091] ccplex_avfs_hw_init: nafll_cluster3: not monitored␍␊

[19:17:28:095] avfs_clk_mach_post initialized␍␊

[19:17:28:104] regulator_post initialized␍␊

[19:17:28:104] rm initialized␍␊

[19:17:28:104] sc7_diag initialized␍␊

[19:17:28:104] thermal_test initialized␍␊

[19:17:28:110] serial_late initialized␍␊

[19:17:28:110] clk_post initialized␍␊

[19:17:28:110] clk_dt_post initialized␍␊

[19:17:28:117] mc_reg initialized␍␊

[19:17:28:117] pg_post initialized␍␊

[19:17:28:117] dyn_modules initialized␍␊

[19:17:28:124] sku_debugfs initialized␍␊

[19:17:28:124] speedo_debugfs initialized␍␊

[19:17:28:124] adc_debugfs initialized␍␊

[19:17:28:129] Failed to register PTO counter for id 281␍␊

[19:17:28:129] Failed to register PTO counter for id 281␍␊

[19:17:28:137] Failed to register PTO counter for id 281␍␊

[19:17:28:137] Failed to register PTO counter for id 281␍␊

[19:17:28:143] clk_debugfs initialized␍␊

[19:17:28:143] emc_debugfs initialized␍␊

[19:17:28:151] dvs_debugfs initialized␍␊

[19:17:28:151] fmon_debugfs_init_one: no clock debugfs node to attach FMON_NAFLL_CLUSTER1␍␊

[19:17:28:157] fmon_debugfs initialized␍␊

[19:17:28:157] vmon_debugfs initialized␍␊

[19:17:28:173] pg_debugfs initialized␍␊

[19:17:28:173] profile_fs initialized␍␊

[19:17:28:173] debugfs_cons initialized␍␊

[19:17:28:173] mail_fs initialized␍␊

[19:17:28:173] profile initialized␍␊

[19:17:28:173] cvc_debugfs initialized␍␊

[19:17:28:173] dmce_debugfs initialized␍␊

[19:17:28:173] ec_debugfs initialized␍␊

[19:17:28:179] rm_rail_debugfs_init: /rm/vdd_cpu: failed␍␊

[19:17:28:179] rm_rail_debugfs_init: /rm/vdd_cpu: failed␍␊

[19:17:28:185] rm_debugfs initialized␍␊

[19:17:28:185] soctherm_debug initialized␍␊

[19:17:28:189] gr_reader initialized␍␊

[19:17:28:189] mods initialized␍␊

[19:17:28:194] dt_fs initialized␍␊

[19:17:28:194] debugfs_mrq initialized␍␊

[19:17:28:194] debug_mrq initialized␍␊

[19:17:28:203] debug_safereg initialized␍␊

[19:17:28:203] initializing target␍␊

[19:17:28:203] calling apps_init()␍␊

[19:17:28:203] starting app shell␍␊

[19:17:28:203] entering main console loop␍␊

[19:17:28:208] ] <0xff><0xe1>[0001.021] I> 2) Base:0xf2000000 Size:0x00200000␍␊

[19:17:28:214] [0001.201] I> 3) Base:0xf1200000 Size:0x00200000␍␊

[19:17:28:222] [0001.205] I> 4) Base:0xf1000000 Size:0x00100000␍␊

[19:17:28:222] [0001.210] I> 5) Base:0xf0f00000 Size:0x00100000␍␊

[19:17:28:228] [0001.214] I> 6) Base:0xf3800000 Size:0x00400000␍␊

[19:17:28:236] [0001.219] I> 7) Base:0xf1c00000 Size:0x00400000␍␊

[19:17:28:236] [0001.223] I> 8) Base:0xf0e00000 Size:0x00100000␍␊

[19:17:28:242] [0001.228] I> 9) Base:0xf0d00000 Size:0x00100000␍␊

[19:17:28:246] [0001.232] I> 10) Base:0xf3000000 Size:0x00800000␍␊

[19:17:28:246] [0001.237] I> 11) Base:0x40000000 Size:0x00040000␍␊

[19:17:28:254] [0001.241] I> 12) Base:0xf0c00000 Size:0x00100000␍␊

[19:17:28:260] [0001.245] I> 13) Base:0x40046000 Size:0x00002000␍␊

[19:17:28:260] [0001.250] I> 14) Base:0x40048000 Size:0x00002000␍␊

[19:17:28:269] [0001.254] I> 15) Base:0xac000000 Size:0x00004000␍␊

[19:17:28:274] [0001.259] I> 16) Base:0x4004a000 Size:0x00002000␍␊

[19:17:28:274] [0001.263] I> 17) Base:0xf0b00000 Size:0x00100000␍␊

[19:17:28:279] [0001.268] I> 18) Base:0x4004c000 Size:0x00002000␍␊

[19:17:28:287] [0001.272] I> 19) Base:0xf2200000 Size:0x00600000␍␊

[19:17:28:287] [0001.277] I> 20) Base:0x4004e000 Size:0x00002000␍␊

[19:17:28:293] [0001.281] I> 21) Base:0xf09d0000 Size:0x0000c000␍␊

[19:17:28:297] [0001.286] I> 22) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:306] [0001.290] I> 23) Base:0xf09e0000 Size:0x00020000␍␊

[19:17:28:306] [0001.295] I> 24) Base:0xf6000000 Size:0x02000000␍␊

[19:17:28:311] [0001.299] I> 25) Base:0x40050000 Size:0x00002000␍␊

[19:17:28:320] [0001.304] I> 26) Base:0x40040000 Size:0x00006000␍␊

[19:17:28:320] [0001.308] I> 27) Base:0xf1800000 Size:0x00400000␍␊

[19:17:28:325] [0001.312] I> 28) Base:0xf4c00000 Size:0x01400000␍␊

[19:17:28:330] [0001.317] I> 29) Base:0xf1400000 Size:0x00400000␍␊

[19:17:28:339] [0001.321] I> 30) Base:0xf0a00000 Size:0x00100000␍␊

[19:17:28:339] [0001.326] I> 31) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:344] [0001.330] I> 32) Base:0xf8000000 Size:0x08000000␍␊

[19:17:28:344] [0001.335] I> 33) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:353] [0001.339] I> 34) Base:0xf3c00000 Size:0x01000000␍␊

[19:17:28:358] [0001.344] I> 35) Base:0xab000000 Size:0x01000000␍␊

[19:17:28:358] [0001.348] I> 36) Base:0xa0000000 Size:0x0b000000␍␊

[19:17:28:363] [0001.353] I> 37) Base:0xf2800000 Size:0x00800000␍␊

[19:17:28:372] [0001.357] I> 38) Base:0x80000000 Size:0x20000000␍␊

[19:17:28:372] [0001.362] I> 39) Base:0xb0000000 Size:0x08000000␍␊

[19:17:28:378] [0001.366] I> 40) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:386] [0001.370] I> 41) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:386] [0001.375] I> 42) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:392] [0001.379] I> 43) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:396] [0001.384] I> 44) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:405] [0001.388] I> 45) Base:0x00000000 Size:0x00000000␍␊

[19:17:28:405] [0001.393] GIC-SPI Target CPU: 0␍␊

[19:17:28:405] [0001.396] Interrupts Init done␍␊

[19:17:28:410] [0001.399] calling constructors␍␊

[19:17:28:419] [0001.402] initializing heap␍␊

[19:17:28:419] [0001.404] I> Heap: [0xa0691568 ... 0xab000000]␍␊

[19:17:28:419] [0001.408] initializing threads␍␊

[19:17:28:425] [0001.411] initializing timers␍␊

[19:17:28:425] [0001.414] creating bootstrap completion thread␍␊

[19:17:28:430] [0001.418] top of bootstrap2()␍␊

[19:17:28:438] [0001.421] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000␍␊

[19:17:28:438] [0001.426] initializing platform␍␊

[19:17:28:438] [0001.429] E> DEVICE_PROD: Invalid value data = 0, size = 0.␍␊

[19:17:28:451] [0001.434] W> device prod register failed␍␊

[19:17:28:451] [0001.438] I> Bl_dtb @0xaaf00000␍␊

[19:17:28:451] [0001.443] W> "plugin-manager" doesn't exist, creating␍␊

[19:17:28:456] [0001.446] W> "ids" doesn't exist, creating␍␊

[19:17:28:461] [0001.450] W> "connection" doesn't exist, creating␍␊

[19:17:28:469] [0001.454] W> "configs" doesn't exist, creating␍␊

[19:17:28:469] [0001.466] I> Find /i2c@3160000's alias i2c0␍␊

[19:17:28:475] [0001.466] I> Reading eeprom i2c=0 address=0x50␍␊

[19:17:28:480] [0001.492] I> Device at /i2c@3160000:0x50␍␊

[19:17:28:488] [0001.493] I> Reading eeprom i2c=0 address=0x57␍␊

[19:17:28:501] [0001.517] I> Device at /i2c@3160000:0x57␍␊

[19:17:28:505] [0001.519] I> Find /i2c@c240000's alias i2c1␍␊

[19:17:28:510] [0001.519] I> Reading eeprom i2c=1 address=0x50␍␊

[19:17:28:518] [0001.521] E> I2C: slave not found in slaves.␍␊

[19:17:28:518] [0001.521] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.␍␊

[19:17:28:527] [0001.522] E> I2C_DEV: Failed to send register address 0x00000000.␍␊

[19:17:28:532] [0001.523] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.␍␊

[19:17:28:542] [0001.531] E> eeprom: Retry to read I2C slave device.␍␊

[19:17:28:547] [0001.536] E> I2C: slave not found in slaves.␍␊

[19:17:28:553] [0001.540] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.␍␊

[19:17:28:558] [0001.548] E> I2C_DEV: Failed to send register address 0x00000000.␍␊

[19:17:28:563] [0001.553] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.␍␊

[19:17:28:577] [0001.563] E> eeprom: Failed to read I2C slave device␍␊

[19:17:28:577] [0001.568] I> Eeprom read failed 0x3526070d␍␊

[19:17:28:585] [0001.572] I> create_pm_ids: id: 3668-0000-200-J, len: 15␍␊

[19:17:28:591] [0001.577] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93␍␊

[19:17:28:603] [0001.588] I> create_pm_ids: id: 3509-0000-100-G, len: 15␍␊

[19:17:28:608] [0001.593] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93␍␊

[19:17:28:620] [0001.604] I> Adding plugin-manager/ids/3668-0000-200=/i2c@3160000:module@0x50␍␊

[19:17:28:625] [0001.611] W> "i2c@3160000" doesn't exist, creating␍␊

[19:17:28:625] [0001.616] W> "module@0x50" doesn't exist, creating␍␊

[19:17:28:630] [0001.621] I> Adding plugin-manager/ids/3509-0000-100=/i2c@3160000:module@0x57␍␊

[19:17:28:639] [0001.627] W> "module@0x57" doesn't exist, creating␍␊

[19:17:28:644] [0001.634] I> Adding plugin-manager/cvm␍␊

[19:17:28:652] [0001.636] W> "chip-id" doesn't exist, creating␍␊

[19:17:28:652] [0001.640] I> Adding plugin-manager/chip-id/A02P␍␊

[19:17:28:658] [0001.644] I> Plugin-manager override starting␍␊

[19:17:28:658] [0001.650] I> node /plugin-manager/fragment-pcie-c5-rp matches␍␊

[19:17:28:670] [0001.658] I> node /plugin-manager/fragement-tegra-wdt-en matches␍␊

[19:17:28:670] [0001.664] I> node /plugin-manager/fragement-tegra-sdhci-emmc-dis matches␍␊

[19:17:28:679] [0001.671] I> Disable plugin-manager status in FDT␍␊

[19:17:28:684] [0001.672] I> Plugin-manager override finished successfully␍␊

[19:17:28:690] [0001.676] I> gpio framework initialized␍␊

[19:17:28:690] [0001.681] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver␍␊

[19:17:28:702] [0001.688] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver␍␊

[19:17:28:708] [0001.695] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46␍␊

[19:17:28:713] [0001.702] E> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539␍␊

[19:17:28:721] [0001.710] E> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539␍␊

[19:17:28:726] [0001.717] W> tegrabl_tca9539_init: failed to fetch phandle from dt␍␊

[19:17:28:735] [0001.723] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44␍␊

[19:17:28:741] [0001.730] E> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539␍␊

[19:17:28:752] [0001.738] E> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539␍␊

[19:17:28:758] [0001.745] W> tegrabl_tca9539_init: failed to fetch phandle from dt␍␊

[19:17:28:763] [0001.752] I> fixed regulator driver initialized␍␊

[19:17:28:771] [0001.760] I> register 'maxim' power off handle␍␊

[19:17:28:771] [0001.760] I> virtual i2c enabled␍␊

[19:17:28:777] [0001.762] I> registered 'maxim,max20024' pmic␍␊

[19:17:28:777] [0001.767] I> tegrabl_gpio_driver_register: register 'max20024-gpio' driver␍␊

[19:17:28:785] [0001.773] I> Boot-device: QSPI␍␊

[19:17:28:791] [0001.776] I> Boot_device: QSPI_FLASH instance: 0␍␊

[19:17:28:791] [0001.781] I> QSPI source rate = 204000 Khz␍␊

[19:17:28:796] [0001.785] I> Requested rate for QSPI clock = 34000 Khz␍␊

[19:17:28:805] [0001.790] I> BPMP-set rate for QSPI clk = 34000 Khz␍␊

[19:17:28:805] [0001.795] I> QSPI Flash Size = 32 MB␍␊

[19:17:28:810] [0001.802] I> Qspi initialized successfully␍␊

[19:17:28:818] [0001.803] I> qspi flash-0 params source = boot args␍␊

[19:17:28:818] [0001.806] I> create_pm_ids: id: 3668-0000-200-J, len: 15␍␊

[19:17:28:824] [0001.812] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93␍␊

[19:17:28:836] [0001.823] I> create_pm_ids: id: 3509-0000-100-G, len: 15␍␊

[19:17:28:842] [0001.828] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93␍␊

[19:17:28:853] [0001.839] I> Found sdcard␍␊

[19:17:28:853] [0001.843] I> enabling 'vdd-sdmmc1-sw' regulator␍␊

[19:17:28:858] [0001.850] I> regulator 'vdd-sdmmc1-sw' already enabled␍␊

[19:17:28:864] [0001.855] E> Error in command_complete 18001 int_status␍␊

[19:17:28:871] [0001.856] E> Sending CMD_SD_SEND_IF_COND failed␍␊

[19:17:28:871] [0001.870] W> Error opening sdcard-0␍␊

[19:17:28:877] [0001.870] I> -0 params source = ␍␊

[19:17:28:877] [0001.871] E> Failed to initialize device 6-0␍␊

[19:17:28:886] [0001.871] E> Error config_storage␍␊

[19:17:28:886] [0001.874] initializing target␍␊

[19:17:28:886] [0001.877] calling apps_init()␍␊

[19:17:28:891] [0001.879] starting app kernel_boot_app␍␊

[19:17:28:896] [0001.883] E> Partition manager might not be initialized.␍␊

[19:17:28:904] [0001.888] E> Failed to open partition[0001.891] E> tegrabl_load_bmp_blob: BMP blob initialization failed␍␊

[19:17:28:910] [0001.897] W> Loading bmp blob to memory failed␍␊

[19:17:28:918] [0001.902] I> Kernel type = Normal␍␊

[19:17:28:918] [0001.905] I> Loading kernel-bootctrl from partition␍␊

[19:17:28:924] [0001.910] E> Partition manager might not be initialized.␍␊

[19:17:28:929] [0001.915] E> Cannot open partition kernel-bootctrl␍␊

[19:17:28:929] [0001.919] W> tegrabl_get_kernel_bootctrl: failed to read primary bootctrl data␍␊

[19:17:28:937] [0001.926] I> Loading kernel-bootctrl_b from partition␍␊

[19:17:28:942] [0001.931] E> Partition manager might not be initialized.␍␊

[19:17:28:947] [0001.937] E> Cannot open partition kernel-bootctrl_b␍␊

[19:17:28:955] [0001.941] W> tegrabl_get_kernel_bootctrl: failed to read recovery bootctrl data␍␊

[19:17:28:961] [0001.949] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data␍␊

[19:17:28:969] [0001.956] ␍␊

[19:17:28:969] [0001.957] -----------------------------------------------␍␊

[19:17:28:974] [0001.962] Synchronous Exception: DATA ABORT (FAR: 0)␍␊

[19:17:28:979] [0001.967] -----------------------------------------------␍␊

[19:17:28:988] [0001.972] PAR_ELX: 0x80f␍␊

[19:17:28:988] [0001.974] ␍␊

[19:17:28:988] [0001.975] ESR 0x96000007: ec 0x25, il 0x1, iss 0x7␍␊

[19:17:28:993] [0001.980] -----------------------------------------------␍␊

[19:17:29:002] [0001.985] [Stack Trace]␍␊

[19:17:29:002] [0001.988] ␍␊

[19:17:29:002] [0001.989] => pc:0xA063FB44, sp:0xA0697380␍␊

[19:17:29:007] [0001.993] => pc:0xA060F450, sp:0xA06975C0␍␊

[19:17:29:007] [0001.997] => pc:0xA060F5EC, sp:0xA0697660␍␊

[19:17:29:012] [0002.000] => pc:0xA060F600, sp:0xA06976D0␍␊

[19:17:29:021] [0002.004] => pc:0xA060F284, sp:0xA0697710␍␊

[19:17:29:021] [0002.008] => pc:0xA060E7F8, sp:0xA0697720␍␊

[19:17:29:026] [0002.012] => pc:0xA060E7CC, sp:0xA0697730␍␊

[19:17:29:026] [0002.016] -----------------------------------------------␍␊

[19:17:29:035] [0002.021] iframe 0xa0697290:␍␊

[19:17:29:035] [0002.024] x0 0x 0 x1 0x a06976a0 x2 0x a06976a8 x3 0x a06976b0␍␊

[19:17:29:044] [0002.033] x4 0x 0 x5 0x 0 x6 0x 0 x7 0x 0␍␊

[19:17:29:060] [0002.042] x8 0x 43 x9 0x a x10 0x a0697748 x11 0x 88a0␍␊

[19:17:29:068] [0002.051] x12 0x a0691160 x13 0x 0 x14 0x 0 x15 0x 0␍␊

[19:17:29:074] [0002.060] x16 0x 0 x17 0x 0 x18 0x 0 x19 0x 0␍␊

[19:17:29:079] [0002.069] x20 0x a06976a8 x21 0x 0 x22 0x a066103f x23 0x a06976a0␍␊

[19:17:29:090] [0002.078] x24 0x a06976b0 x25 0x a06976e0 x26 0x 0 x27 0x 0␍␊

[19:17:29:108] [0002.087] x28 0x 0 x29 0x a06975c0 lr 0x a063fb34 sp 0x a0697380␍␊

[19:17:29:108] [0002.097] elr 0x a063fb44␍␊

[19:17:29:113] [0002.100] spsr 0x 20000209␍␊

[19:17:29:113] [0002.103] -----------------------------------------------␍␊

[19:17:29:121] [0002.108] panic (caller 0xa0601238): die␍␊

[19:17:29:121] [0002.112] HALT: spinning forever...␍␊


It is NVME only with JP5.

History:

  1. Installed JP5 to NVME. System works.
  2. Installed JP46 to SD. System works.
    NVME not bootable now if SD removed.

Hi,

What is current status here? Did you fix your issue?

No.

What is the version you want to use here? We hope you can use fix version but not keep switching. This will help us decide which solution should be applied.

I do not want to erase installed JP5 from NVME. How to init boot from NVME?

Please remove nvme from your device and flash your board with sdkmanager + jetpack5 first. After that, plug your nvme back… And share log.

You better use another empty sdcard in this step because it will erase the data too…

Thank you. Will try.

I have working sd system, it works now. I need restore NVME boot.

Can you read my comment again?

Ok. Will try.

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