The system does not start after kernel compilation (ERROR: mounting PARTUUID)

Want to understand what I am doing wrong

Problem statement

I have custom BLE implementation server on Jetson Orin Nano based on GATT (BLE), but after each launch, the client crashes when attempting to subscribe to the characteristic. This configuration works on Jetson Xavier. After some analysis, I found that the option is not included in the kernel configuration CONFIG_BT_LE (CONFIG_BT_LE=n)

The decision was made to reassemble the core.

Precondition

  • Host PC based on Ubuntu 22.04
  • Jetson Orin Nano 8gb dev kit
  • JetPack 6.2.1 / Jetson Linux (L4T) R36.4.4

Steps

  1. Host preparation
    sudo apt update
    sudo apt install -y build-essential bc flex bison libssl-dev libncurses-dev
    dwarves rsync cpio git wget xz-utils
    sudo apt install -y gcc-aarch64-linux-gnu g+±aarch64-linux-gnu

  2. Download L4T BSP & sources
    Jetson_Linux_R36.4.4_aarch64 & Tegra_Linux_Sample-Root-Filesystem_R36.4.4_aarch64.tbz2
    tar -xf Jetson_Linux_R36.4.4_aarch64.tbz2
    cd Linux_for_Tegra/rootfs
    sudo tar -xpf ../../Tegra_Linux_Sample-Root-Filesystem_R36.4.4_aarch64.tbz2
    cd ..
    sudo ./apply_binaries.sh

  3. wget ``https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v4.4/sources/public_sources.tbz2
    tar -xf public_sources.tbz2
    tar -xf Linux_for_Tegra/source/kernel_src.tbz2 -C Linux_for_Tegra/source

  4. Env preparation
    cd Linux_for_Tegra/source/kernel/kernel-jammy-src
    export ARCH=arm64
    export CROSS_COMPILE=aarch64-linux-gnu-
    export LOCALVERSION=-custom-ble
    OUT=$PWD/../out-custom
    mkdir -p “$OUT

  5. Config
    make O=“$OUT” tegra_prod_defconfig
    scripts/config --file “$OUT/.config”
    –set-str LOCALVERSION “-custom-ble”
    to have build with custom name like 5.15.148-tegra-custom-ble (then it changed several times, cache problem )
    make O=“$OUT” menuconfig
    enable CONFIG_BT_LE=y
    Here full list
    CONFIG_BT=m
    CONFIG_BT_LE=y
    CONFIG_BT_LEDS=y
    CONFIG_BT_HCIBTUSB=m
    CONFIG_BT_HCIBTUSB_BCM=y
    CONFIG_BT_HCIBTUSB_RTL=y
    CONFIG_BT_HCIUART=m
    CONFIG_BT_HCIUART_SERDEV=y
    CONFIG_BT_HCIUART_H4=y
    CONFIG_BT_HCIUART_LL=y
    CONFIG_BT_HCIUART_BCM=y
    CONFIG_BT_HCIUART_QCA=y

  6. Build

    make O=“$OUT” -j"$(nproc)" Image modules dtbs
    
    cp “$OUT/arch/arm64/boot/Image” ../../kernel/Image
    cp “$OUT/arch/arm64/boot/dts/nvidia/”*.dtb ../../kernel/dtb/
    sudo make O=“$OUT” modules_install INSTALL_MOD_PATH=../../rootfs
    
  7. Flash
    lsusb | grep -i nvidia
    device already in recover mode
    cd Linux_for_Tegra
    sudo ./flash.sh jetson-orin-nano-devkit nvme0n1p1

And here

Problem number one - stuck on

Retrieving storage infomation
tegrarcm_v2 --chip 0x23 0 --oem platformdetails storage storage_info.bin

Minicom logs

[0052.443] I> MB1: MSS reconfig completed
I> MB2 (version: 0.0.0.0-t234-54845784-0fbce5b9) I> t234-A01-1-Silicon (0x12347)
I> Boot-mode : RCM Flash I> Emulation: I> Entry timestamp: 0x0320ac5a I> Regular heap: [base:0x40040000, size:0x10000] I> DMA heap: [base:0x273800000, size:0x800000] I> Task: SE error check I> Task: MB2 Params integrity check I> Task: Enable CCPLEX WDT 5th expiry I> Task: ARI update carveout TZDRAM I> Task: Configure OEM set LA/PTSA values I> Task: Check MC errors I> Task: SMMU external bypass disable I> Task: PSC mailbox init I> Task: Map CCPLEX_INTERWORLD_SHMEM carveout I> Task: Program CBB PCIE AMAP regions
I> Task: Boot device init I> Boot_device: QSPI_FLASH instance: 0 I> Qspi clock source : pllc_out0 I> QSPI Flash: Macronix 64MB I> QSPI-0l initialized successfully I> Secondary storage device: QSPI_FLASH instance: 0
I> Secondary storage device: SDCARD instance: 0 E> Error in command_complete 18000 int_status
E> Sending CMD_SD_SEND_IF_COND failed
E> Error opening sdcard-0
E> STORAGE: Failed to initialize device: 6, instance: 0.
C> Secondary storage init failed
C> Task 0x0 failed (err: 0x39390706)
E> Top caller module: SDMMC, error module: SDMMC, reason: 0x06, aux_info: 0x07
I> Busy SpinThen I’ve changed a build command to

sudo ./flash.sh jetson-orin-nano-devkit-nvme internal
It took three attempts to build it because there were delays.
After Jetson rebooted, we saw a new log.

And problem number 2

Root device found: PARTUUID=06712622-071b-407c-96ea-ef1aff2cebde
ERROR: mounting PARTUUID=06712622-071b-407c-96ea-ef1aff2cebde as /mnt fail...

Minicom logs

Jetson System firmware version 36.4.4-gcid-41062509 date 2025-06-16T15:25:51+00: 00 ESC to enter Setup. F11 to enter Boot Manager Menu. Enter to continue boot. L4TLauncher: Attempting Direct Boot EFI stub: Booting Linux Kernel… EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services… ??debugfs initialized ??I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled ??
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd421]
[ 0.000000] Linux version 5.15.148-tegra-custom-ble-custom-ble (roman@roman) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Mon Dec 15 19:51:26 EET 2025 ()
[ 0.000000] Machine model: NVIDIA Jetson Orin Nano Developer Kit
[ 0.000000] efi: EFI v2.70 by EDK II
[ 0.000000] efi: RTPROP=0x26d82f198 TPMFinalLog=0x25e3f0000 SMBIOS=0xffff0000 SMBIOS 3.0=0x26d220000 MEMATTR=0x2671ae018 ESRT=0x26632be98 TPMEventLog=0x25e408018 RNG=0x25b130018 MEMRESERVE=0x25e40ac18
[ 0.000000] random: crng init done
[ 0.000000] secureboot: Secure boot disabled
[ 0.000000] esrt: Reserving ESRT space from 0x000000026632be98 to 0x000000026632bed0.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000024a000000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x0000000277ffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x271304900-0x271306fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x0000000277ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000bdffffff]
[ 0.000000] node 0: [mem 0x00000000c2000000-0x00000000fffdffff]
[ 0.000000] node 0: [mem 0x00000000fffe0000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000025e239fff]
[ 0.000000] node 0: [mem 0x000000025e23a000-0x000000025e3fffff]
[ 0.000000] node 0: [mem 0x000000025e400000-0x000000025e40afff]
[ 0.000000] node 0: [mem 0x000000025e40b000-0x000000025e40bfff]
[ 0.000000] node 0: [mem 0x000000025e40c000-0x000000026b8effff]
[ 0.000000] node 0: [mem 0x000000026b8f0000-0x000000026d82ffff]
[ 0.000000] node 0: [mem 0x000000026d830000-0x0000000271dfffff]
[ 0.000000] node 0: [mem 0x0000000271e00000-0x0000000271ffffff]
[ 0.000000] node 0: [mem 0x0000000272000000-0x000000027259ffff]
[ 0.000000] node 0: [mem 0x0000000272f00000-0x0000000272ffffff]
[ 0.000000] node 0: [mem 0x0000000276000000-0x0000000277ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000277ffffff]
[ 0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
[ 0.000000] On node 0, zone Normal: 2400 pages in unavailable ranges
[ 0.000000] On node 0, zone Normal: 12288 pages in unavailable ranges
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 19 pages/cpu s39384 r8192 d30248 u77824
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Address authentication (architected algorithm)
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: detected: Hardware dirty bit management
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] alternatives: patching kernel code
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2001056
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=PARTUUID=06712622-071b-407c-96ea-ef1aff2cebde rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 video=efifb:off console=tty0 bl_prof_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=655
[ 0.000000] Unknown kernel command line parameters “mminit_loglevel=4 fbcon=map:0 bl_prof_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=65536@0x271E00000”, will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfe0000-0x00000000fffe0000] (64MB)
[ 0.000000] Memory: 7525908K/8133248K available (15488K kernel code, 3088K rwdata, 8804K rodata, 6464K init, 497K bss, 345196K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 960 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000f440000
[ 0.000000] arch_timer: cp15 timer(s) running at 31.25MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[ 0.000001] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[ 0.000308] Console: colour dummy device 80x25
[ 0.000317] printk: console [tty0] enabled
[ 0.000388] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=125000)
[ 0.000395] pid_max: default: 32768 minimum: 301
[ 0.000423] LSM: Security Framework initializing
[ 0.000446] Yama: becoming mindful.
[ 0.000461] SELinux: Initializing.
[ 0.000525] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000541] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.001493] rcu: Hierarchical SRCU implementation.
[ 0.003332] Tegra Revision: A01 SKU: 213 CPU Process: 0 SoC Process: 0
[ 0.003557] Remapping and enabling EFI services.
[ 0.004326] smp: Bringing up secondary CPUs …
[ 0.004788] Detected PIPT I-cache on CPU1
[ 0.004831] GICv3: CPU1: found redistributor 100 region 0:0x000000000f460000
[ 0.004871] CPU1: Booted secondary processor 0x0000000100 [0x410fd421]
[ 0.005293] Detected PIPT I-cache on CPU2
[ 0.005303] GICv3: CPU2: found redistributor 200 region 0:0x000000000f480000
[ 0.005317] CPU2: Booted secondary processor 0x0000000200 [0x410fd421]
[ 0.005692] Detected PIPT I-cache on CPU3
[ 0.005701] GICv3: CPU3: found redistributor 300 region 0:0x000000000f4a0000
[ 0.005714] CPU3: Booted secondary processor 0x0000000300 [0x410fd421]
[ 0.008132] Detected PIPT I-cache on CPU4
[ 0.008159] GICv3: CPU4: found redistributor 10200 region 0:0x000000000f500000
[ 0.008186] CPU4: Booted secondary processor 0x0000010200 [0x410fd421]
[ 0.008631] Detected PIPT I-cache on CPU5
[ 0.008644] GICv3: CPU5: found redistributor 10300 region 0:0x000000000f520000
[ 0.008659] CPU5: Booted secondary processor 0x0000010300 [0x410fd421]
[ 0.008711] smp: Brought up 1 node, 6 CPUs
[ 0.008715] SMP: Total of 6 processors activated.
[ 0.008718] CPU features: detected: 32-bit EL0 Support
[ 0.008719] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.008722] CPU features: detected: Common not Private translations
[ 0.008723] CPU features: detected: CRC32 instructions
[ 0.008724] CPU features: detected: Data cache clean to Point of Persistence
[ 0.008726] CPU features: detected: Generic authentication (architected algorithm)
[ 0.008727] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.008728] CPU features: detected: LSE atomic instructions
[ 0.008729] CPU features: detected: Privileged Access Never
[ 0.008730] CPU features: detected: RAS Extension Support
[ 0.008734] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.034711] CPU: All CPU(s) started at EL2
[ 0.035885] devtmpfs: initialized
[ 0.046320] KASLR enabled
[ 0.046408] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.046422] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.048567] pinctrl core: initialized pinctrl subsystem
[ 0.049067] SMBIOS 3.6.0 present.
[ 0.049075] DMI: NVIDIA NVIDIA Jetson Orin Nano Developer Kit/Jetson, BIOS 36.4.4-gcid-41062509 06/16/2025
[ 0.049352] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.050440] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.050511] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.050565] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.050620] audit: initializing netlink subsys (disabled)
[ 0.050702] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[ 0.051693] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.051695] thermal_sys: Registered thermal governor ‘power_allocator’
[ 0.053504] cpuidle: using governor menu
[ 0.053660] ASID allocator initialised with 32768 entries
[ 0.054707] Serial: AMBA PL011 UART driver
[ 0.063310] 31d0000.serial: ttyAMA0 at MMIO 0x31d0000 (irq = 117, base_baud = 0) is a SBSA
[ 0.071699] platform bpmp: Fixing up cyclic dependency with 2c60000.external-memory-controller
[ 0.078313] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.078318] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.078319] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.078321] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.078776] cryptd: max_cpu_qlen set to 1000
[ 0.079786] ACPI: Interpreter disabled.
[ 0.080782] VDD_1V8_AO: supplied by VDD_5V0_SYS
[ 0.080887] VDD_3V3_AO: supplied by VDD_5V0_SYS
[ 0.081023] VDD_AV10_HUB: supplied by VDD_5V0_SYS
[ 0.081357] iommu: Default domain type: Translated
[ 0.081360] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.081543] SCSI subsystem initialized
[ 0.081689] vgaarb: loaded
[ 0.081787] usbcore: registered new interface driver usbfs
[ 0.081801] usbcore: registered new interface driver hub
[ 0.081811] usbcore: registered new device driver usb
[ 0.082135] pps_core: LinuxPPS API ver. 1 registered
[ 0.082137] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.082142] PTP clock support registered
[ 0.082191] EDAC MC: Ver: 3.0.0
[ 0.082933] Registered efivars operations
[ 0.083367] FPGA manager framework
[ 0.083404] Advanced Linux Sound Architecture Driver Initialized.
[ 0.083874] clocksource: Switched to clocksource arch_sys_counter
[ 0.083956] VFS: Disk quotas dquot_6.6.0
[ 0.083984] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.084121] pnp: PnP ACPI: disabled
[ 0.085809] NET: Registered PF_INET protocol family
[ 0.085931] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.087604] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.087706] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.087716] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.087810] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.089288] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.089467] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.089503] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.089688] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.090063] RPC: Registered named UNIX socket transport module.
[ 0.090067] RPC: Registered udp transport module.
[ 0.090068] RPC: Registered tcp transport module.
[ 0.090070] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.090083] PCI: CLS 0 bytes, default 64
[ 0.090297] Unpacking initramfs…
[ 0.096328] kvm [1]: IPA Size Limit: 48 bits
[ 0.096370] kvm [1]: GICv3: no GICV resource entry
[ 0.096380] kvm [1]: disabling GICv2 emulation
[ 0.096419] kvm [1]: GIC system register CPU interface enabled
[ 0.096521] kvm [1]: vgic interrupt IRQ9
[ 0.096667] kvm [1]: VHE mode initialized successfully
[ 0.099526] Initialise system trusted keyrings
[ 0.099634] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[ 0.103149] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.103470] NFS: Registering the id_resolver key type
[ 0.103506] Key type id_resolver registered
[ 0.103508] Key type id_legacy registered
[ 0.103545] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.103564] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 0.103748] 9p: Installing v9fs 9p2000 file system support
[ 0.118868] NET: Registered PF_ALG protocol family
[ 0.118883] Key type asymmetric registered
[ 0.118889] Asymmetric key parser ‘x509’ registered
[ 0.118985] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.118993] io scheduler mq-deadline registered
[ 0.119000] io scheduler kyber registered
[ 0.129349] EINJ: ACPI disabled.
[ 0.141421] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.143197] SuperH (H)SCI(F) driver initialized
[ 0.143545] msm_serial: driver initialized
[ 0.144313] printk: console [ttyTCU0] enabled
[ 0.145249] arm-smmu 8000000.iommu: probing hardware configuration…
[ 0.145257] arm-smmu 8000000.iommu: SMMUv2 with:
[ 0.145263] arm-smmu 8000000.iommu: stage 1 translation
[ 0.145268] arm-smmu 8000000.iommu: stage 2 translation
[ 0.145270] arm-smmu 8000000.iommu: nested translation
[ 0.145278] arm-smmu 8000000.iommu: stream matching with 128 register groups
[ 0.145283] arm-smmu 8000000.iommu: 128 context banks (0 stage-2 only)
[ 0.145295] arm-smmu 8000000.iommu: Supported page sizes: 0x61311000
[ 0.145298] arm-smmu 8000000.iommu: Stage-1: 48-bit VA → 48-bit IPA
[ 0.145299] arm-smmu 8000000.iommu: Stage-2: 48-bit IPA → 48-bit PA
[ 0.146282] arm-smmu 10000000.iommu: probing hardware configuration…
[ 0.146286] arm-smmu 10000000.iommu: SMMUv2 with:
[ 0.146289] arm-smmu 10000000.iommu: stage 1 translation
[ 0.146291] arm-smmu 10000000.iommu: stage 2 translation
[ 0.146292] arm-smmu 10000000.iommu: nested translation
[ 0.146295] arm-smmu 10000000.iommu: stream matching with 128 register groups
[ 0.146298] arm-smmu 10000000.iommu: 128 context banks (0 stage-2 only)
[ 0.146305] arm-smmu 10000000.iommu: Supported page sizes: 0x61311000
[ 0.146308] arm-smmu 10000000.iommu: Stage-1: 48-bit VA → 48-bit IPA
[ 0.146309] arm-smmu 10000000.iommu: Stage-2: 48-bit IPA → 48-bit PA
[ 0.146708] arm-smmu 12000000.iommu: probing hardware configuration…
[ 0.146712] arm-smmu 12000000.iommu: SMMUv2 with:
[ 0.146714] arm-smmu 12000000.iommu: stage 1 translation
[ 0.146715] arm-smmu 12000000.iommu: stage 2 translation
[ 0.146716] arm-smmu 12000000.iommu: nested translation
[ 0.146718] arm-smmu 12000000.iommu: stream matching with 128 register groups
[ 0.146720] arm-smmu 12000000.iommu: 128 context banks (0 stage-2 only)
[ 0.146724] arm-smmu 12000000.iommu: Supported page sizes: 0x61311000
[ 0.146726] arm-smmu 12000000.iommu: Stage-1: 48-bit VA → 48-bit IPA
[ 0.146727] arm-smmu 12000000.iommu: Stage-2: 48-bit IPA → 48-bit PA
[ 0.154189] loop: module loaded
[ 0.155161] megasas: 07.717.02.00-rc1
[ 0.159466] tun: Universal TUN/TAP device driver, 1.6
[ 0.160099] thunder_xcv, ver 1.0
[ 0.160126] thunder_bgx, ver 1.0
[ 0.160150] nicpf, ver 1.0
[ 0.161037] hclge is initializing
[ 0.161074] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 0.161082] hns3: Copyright (c) 2017 Huawei Corporation.
[ 0.161124] e1000: Intel(R) PRO/1000 Network Driver
[ 0.161129] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 0.161162] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.161165] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.161201] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.161206] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.161223] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.161230] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.161458] sky2: driver version 1.30
[ 0.162184] VFIO - User Level meta-driver version: 0.3
[ 0.163748] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 0.163756] ehci-pci: EHCI PCI platform driver
[ 0.163778] ehci-platform: EHCI generic platform driver
[ 0.163856] ehci-orion: EHCI orion driver
[ 0.163939] ehci-exynos: EHCI Exynos driver
[ 0.163995] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 0.164021] ohci-pci: OHCI PCI platform driver
[ 0.164050] ohci-platform: OHCI generic platform driver
[ 0.164121] ohci-exynos: OHCI Exynos driver
[ 0.164571] usbcore: registered new interface driver usb-storage
[ 0.166468] i2c_dev: i2c /dev entries driver
[ 0.169785] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: ``dm-devel@redhat.com
[ 0.171576] sdhci: Secure Digital Host Controller Interface driver
[ 0.171583] sdhci: Copyright(c) Pierre Ossman
[ 0.172052] Synopsys Designware Multimedia Card Interface Driver
[ 0.172672] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.173770] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.179818] pstore: Registered efi as persistent store backend
[ 0.180141] SMCCC: SOC_ID: ID = jep106:036b:0234 Revision = 0x00000401
[ 0.180736] tegra-bpmp bpmp: Adding to iommu group 0
[ 0.182079] tegra-bpmp bpmp: firmware: e941463f35523d12ee54-da583751bbf
[ 0.398938] Freeing initrd memory: 15492K
[ 3.126391] usbcore: registered new interface driver usbhid
[ 3.126402] usbhid: USB HID core driver
[ 3.130805] optee: probing for conduit method.
[ 3.130854] optee: revision 4.2 (d78bc5fa)
[ 3.191394] optee: dynamic shared memory is enabled
[ 3.191652] optee: initialized driver
[ 3.196385] NET: Registered PF_PACKET protocol family
[ 3.196591] 9pnet: Installing 9P2000 support
[ 3.196691] Key type dns_resolver registered
[ 3.198249] printk: console [tty0]: printing thread started
[ 3.198309] printk: console [ttyTCU0]: printing thread started
[ 3.198399] Loading compiled-in X.509 certificates
[ 3.214231] Loaded X.509 cert ‘Build time autogenerated kernel key: 9093a999b16705c66188bdce369014295b7a464a’
[ 3.215218] pstore: Using crash dump compression: deflate
[ 3.243651] tegra-gpcdma 2600000.dma-controller: Adding to iommu group 1
[ 3.245066] tegra-gpcdma 2600000.dma-controller: GPC DMA driver register 31 channels
[ 3.246289] serial-tegra 3100000.serial: RX in PIO mode
[ 3.246295] serial-tegra 3100000.serial: TX in PIO mode
[ 3.246354] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART
[ 3.247321] 3140000.serial: ttyTHS2 at MMIO 0x3140000 (irq = 113, base_baud = 0) is a TEGRA_UART
[ 3.250079] tegra_rtc c2a0000.rtc: registered as rtc1
[ 3.250087] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[ 3.250490] tegra-i2c 3160000.i2c: Adding to iommu group 1
[ 3.253187] tegra-hsierrrptinj: CONFIG_TEGRA_HSIERRRPTINJ not enabled
[ 3.253773] tegra-i2c 3180000.i2c: Adding to iommu group 1
[ 3.255628] tegra-hsierrrptinj: CONFIG_TEGRA_HSIERRRPTINJ not enabled
[ 3.256016] tegra-i2c 31b0000.i2c: Adding to iommu group 1
[ 3.257507] tegra-hsierrrptinj: CONFIG_TEGRA_HSIERRRPTINJ not enabled
[ 3.257885] tegra-i2c c240000.i2c: Adding to iommu group 1
[ 3.259527] i2c 1-0025: Fixing up cyclic dependency with 3520000.padctl
[ 3.259612] tegra-hsierrrptinj: CONFIG_TEGRA_HSIERRRPTINJ not enabled
[ 3.260037] tegra-i2c c250000.i2c: Adding to iommu group 1
[ 3.263525] tegra-hsierrrptinj: CONFIG_TEGRA_HSIERRRPTINJ not enabled
[ 3.285792] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 1550000 KHz, changing to: 1510400 KHz
[ 3.287340] sdhci-tegra 3400000.mmc: Adding to iommu group 2
[ 3.290171] sdhci-tegra 3400000.mmc: Got CD GPIO
[ 3.292834] tegra-xusb 3610000.usb: Adding to iommu group 3
[ 3.309413] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[ 3.309421] tegra-xusb 3610000.usb: xHCI Host Controller
[ 3.309435] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
[ 3.310162] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
[ 3.310186] tegra-xusb 3610000.usb: irq 124, io mem 0x03610000
[ 3.310300] tegra-xusb 3610000.usb: xHCI Host Controller
[ 3.310304] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
[ 3.310307] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
[ 3.310733] hub 1-0:1.0: USB hub found
[ 3.310746] hub 1-0:1.0: 4 ports detected
[ 3.311014] hub 2-0:1.0: USB hub found
[ 3.311024] hub 2-0:1.0: 4 ports detected
[ 3.334356] irq: IRQ228: trimming hierarchy from :bus@0:interrupt-controller@f400000-1
[ 3.334602] mmc0: SDHCI controller on 3400000.mmc [3400000.mmc] using ADMA 64-bit
[ 3.336309] irq: IRQ229: trimming hierarchy from :bus@0:pmc@c360000
[ 3.336363] irq: IRQ230: trimming hierarchy from :bus@0:interrupt-controller@f400000-1
[ 3.336425] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 3.379520] ALSA device list:
[ 3.379523] No soundcards found.
[ 3.386457] Freeing unused kernel memory: 6464K
[ 3.386535] Run /init as init process
[ 3.401629] Checking overlayfs setting…
[ 3.411718] Overlayfs is disabled…
[ 3.417659] Root device found: PARTUUID=06712622-071b-407c-96ea-ef1aff2cebde
[ 3.647890] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[ 3.819527] hub 1-2:1.0: USB hub found
[ 3.820679] hub 1-2:1.0: 4 ports detected
[ 3.937109] usb 2-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using tegra-xusb
[ 3.990013] hub 2-1:1.0: USB hub found
[ 3.992306] hub 2-1:1.0: 4 ports detected
[ 4.099883] usb 1-3: new full-speed USB device number 3 using tegra-xusb
[ 14.303695] ERROR: mounting PARTUUID=06712622-071b-407c-96ea-ef1aff2cebde as /mnt fail…
[ 14.305164] ERROR: PARTUUID=06712622-071b-407c-96ea-ef1aff2cebde mount fail…
[ 14.306570] ttyTCU0: Press [ENTER] to start bash in 30 seconds…
[ 17.307028] ttyTCU0: Press [ENTER] to start bash in 27 seconds…
[ 20.307408] ttyTCU0: Press [ENTER] to start bash in 24 seconds…
[ 23.307777] ttyTCU0: Press [ENTER] to start bash in 21 seconds…
[ 26.308152] ttyTCU0: Press [ENTER] to start bash in 18 seconds…

Before that, I tried to assemble the kernel on Jetson, and something similar came out

I also used l4t_initrd_flash.sh, but after
successfully writing the system to NVMe and creating a working EFI partition, I couldn’t update QSPI (Error flashing qspi, mtd_debug: error!: open()) due to internal driver conflicts between the Initramfs environment (in RAM) and the QSPI chip.

Therefore, I need a fresh opinion/perspective on what is going wrong.

Thank you.

Someone else will probably need to help since I’ve not flashed with NVMe, but flash.sh will probably instead need to be the initrd flash method (see “Linux_for_Tegra/tools/kernel_flash/”).

Also, I only looked at the basic steps, and “probably” (no guarantee) the cross compile was ok.

Additionally, keep in mind that this is no longer a dev kit. The dev kit does not have eMMC for a Nano, so the target is likely wrong. Furthermore, if this is a third party carrier board, then there is a fairly high chance that you’ll need that carrier board’s modified device tree (this wouldn’t fail flash, but it would mean at least part of the hardware would fail for incorrect device tree nodes).

Sorry for the late response.
Is this still an issue to support? Any result can be shared?

Probably comes from the PCIe driver in in the initrd which is not updated to match your kernel.

Mismatch driver could not be auto loaded.
Without PCIe driver, you won’t have NVMe SSD to mount rootfs.

Hi,

You might not selecting the right xml table for your device, so force it.

Please refer to this instructions from our website: NVIDIA Jetson Orin Nano - Flashing the Board from Cmdline

Read everything, and give special attention to this command to flash the board in case you are using NVMe:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit internal