This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDS64GPEVM: Failed to mount the root file system when booting SD card with Processor SDK Linux

Part Number: TMDS64GPEVM

Our customer is using processor SDK Linux 08.00.00.21 and sometimes fails to mount the root file system on SD card boot.

Attached are the logs for success and failure:

In case of success:

U-Boot SPL 2021.01 (Aug 27 2021 - 04:35:24 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
SPL initial stack usage: 13392 bytes
Trying to boot from MMC2
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
NOTICE:  BL31: Built : 21:46:29, Aug 10 2021

U-Boot SPL 2021.01 (Aug 27 2021 - 04:38:29 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from MMC2


U-Boot 2021.01 (Aug 27 2021 - 04:38:29 +0900)

SoC:   AM64X SR1.0
Model: Texas Instruments AM642 EVM
Board: AM64-GPEVM rev A
DRAM:  2 GiB
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000
Hit any key to stop autoboot:  0
## Error: "boot_rprocs" not defined
19137024 bytes read in 797 ms (22.9 MiB/s)
53223 bytes read in 5 ms (10.2 MiB/s)
Moving Image from 0x80080000 to 0x80200000, end=81550000
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.41-ti-am6442evm-g4c2eade9f7 (user01@ubuntu) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Sat Aug 21 05:47:01 JST 2021
[    0.000000] Machine model: Texas Instruments AM642 EVM
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a3ffffff]
[    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a4ffffff]
[    0.000000]   node   0: [mem 0x00000000a5000000-0x00000000a57fffff]
[    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
[    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 2 pages/cpu s49880 r8192 d73000 u131072
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 32736
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16500a,mmio32,0x02800000 mtdparts=fc40000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern) root=/dev/mmcblk1p5 rw roottypefs=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1448832K/2097152K available (10816K kernel code, 1344K rwdata, 4288K rodata, 1856K init, 758K bss, 124032K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @a4000000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000a58c0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000a58d0000
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4d4 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.000318] Console: colour dummy device 80x25
[    0.000378] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000395] pid_max: default: 32768 minimum: 301
[    0.000484] LSM: Security Framework initializing
[    0.000579] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.000619] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.002959] rcu: Hierarchical SRCU implementation.
[    0.003257] Platform MSI: msi-controller@1820000 domain created
[    0.003543] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.003660] EFI services will not be available.
[    0.004108] smp: Bringing up secondary CPUs ...
[    0.004859] Detected VIPT I-cache on CPU1
[    0.004898] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
[    0.004912] GICv3: CPU1: using allocated LPI pending table @0x00000000a58e0000
[    0.004978] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005111] smp: Brought up 1 node, 2 CPUs
[    0.005133] SMP: Total of 2 processors activated.
[    0.005143] CPU features: detected: 32-bit EL0 Support
[    0.005152] CPU features: detected: CRC32 instructions
[    0.013235] CPU: All CPU(s) started at EL2
[    0.013265] alternatives: patching kernel code
[    0.014492] devtmpfs: initialized
[    0.022513] KASLR disabled due to lack of seed
[    0.022803] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022821] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[    0.024951] pinctrl core: initialized pinctrl subsystem
[    0.025562] DMI not present or invalid.
[    0.026244] NET: Registered protocol family 16
[    0.034053] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.034527] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.034638] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.035278] thermal_sys: Registered thermal governor 'step_wise'
[    0.035285] thermal_sys: Registered thermal governor 'power_allocator'
[    0.035797] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.035904] ASID allocator initialised with 65536 entries
[    0.064451] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[    0.064472] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.064480] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.066448] cryptd: max_cpu_qlen set to 1000
[    0.070218] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR1.0 JTAGID[0x0bb3802f] Detected
[    0.070848] vsys_5v0: supplied by evm_12v0
[    0.071174] vsys_3v3: supplied by evm_12v0
[    0.071557] vddb_3v3_display: supplied by vsys_3v3
[    0.072594] iommu: Default domain type: Translated
[    0.073043] SCSI subsystem initialized
[    0.073780] mc: Linux media interface: v0.10
[    0.073816] videodev: Linux video capture interface: v2.00
[    0.073912] pps_core: LinuxPPS API ver. 1 registered
[    0.073919] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.073938] PTP clock support registered
[    0.073977] EDAC MC: Ver: 3.0.0
[    0.074813] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100
[    0.075022] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100
[    0.075155] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100
[    0.075926] FPGA manager framework
[    0.076038] Advanced Linux Sound Architecture Driver Initialized.
[    0.077256] clocksource: Switched to clocksource arch_sys_counter
[    0.077762] VFS: Disk quotas dquot_6.6.0
[    0.077877] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.084150] NET: Registered protocol family 2
[    0.084399] IP idents hash table entries: 32768 (order: 2, 262144 bytes, linear)
[    0.085909] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    0.086017] TCP established hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.086145] TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linear)
[    0.086377] TCP: Hash tables configured (established 16384 bind 16384)
[    0.086560] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.086658] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.086903] NET: Registered protocol family 1
[    0.087549] RPC: Registered named UNIX socket transport module.
[    0.087565] RPC: Registered udp transport module.
[    0.087571] RPC: Registered tcp transport module.
[    0.087578] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.087595] PCI: CLS 0 bytes, default 64
[    0.088394] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.093126] Initialise system trusted keyrings
[    0.093458] workingset: timestamp_bits=46 max_order=15 bucket_order=0
[    0.098469] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.099189] NFS: Registering the id_resolver key type
[    0.099231] Key type id_resolver registered
[    0.099237] Key type id_legacy registered
[    0.099311] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.099320] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.099544] 9p: Installing v9fs 9p2000 file system support
[    0.144106] Key type asymmetric registered
[    0.144131] Asymmetric key parser 'x509' registered
[    0.144200] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.144211] io scheduler mq-deadline registered
[    0.144218] io scheduler kyber registered
[    0.146820] pinctrl-single f4000.pinctrl: 180 pins, size 720
[    0.147921] pinctrl-single a40000.timesync-router: 512 pins, size 2048
[    0.157612] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.174353] brd: module loaded
[    0.182522] loop: module loaded
[    0.183341] megasas: 07.714.04.00-rc1
[    0.186349] libphy: Fixed MDIO Bus: probed
[    0.187786] tun: Universal TUN/TAP device driver, 1.6
[    0.188524] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.188534] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.188588] sky2: driver version 1.30
[    0.189897] VFIO - User Level meta-driver version: 0.3
[    0.190979] i2c /dev entries driver
[    0.192111] sdhci: Secure Digital Host Controller Interface driver
[    0.192121] sdhci: Copyright(c) Pierre Ossman
[    0.192474] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.193751] ledtrig-cpu: registered to indicate activity on CPUs
[    0.194179] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.195497] optee: probing for conduit method.
[    0.195538] optee: revision 3.12 (3d47a131)
[    0.196169] optee: initialized driver
[    0.198725] NET: Registered protocol family 17
[    0.198891] 9pnet: Installing 9P2000 support
[    0.198959] Key type dns_resolver registered
[    0.199203] Loading compiled-in X.509 certificates
[    0.213431] ti-sci 44043000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
[    0.247192] random: fast init done
[    0.251888] omap_i2c 20000000.i2c: bus 0 rev0.12 at 100 kHz
[    0.253925] pca953x 1-0022: supply vcc not found, using dummy regulator
[    0.254074] pca953x 1-0022: using AI
[    0.306886] Console: switching to mono frame buffer device 12x2
[    0.335683] ssd1307fb 1-003c: fb0: Solomon SSD1307 framebuffer device registered, using 192 bytes of video memory
[    0.335915] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    0.337158] omap_i2c 20020000.i2c: bus 2 rev0.12 at 100 kHz
[    0.338344] omap_i2c 20030000.i2c: bus 3 rev0.12 at 100 kHz
[    0.338739] ti-sci-intr bus@f4000:bus@4000000:interrupt-controller1: Interrupt Router 5 domain created
[    0.338890] ti-sci-intr bus@f4000:interrupt-controller0: Interrupt Router 3 domain created
[    0.339131] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
[    0.349514] j721e-pcie f102000.pcie: host bridge /bus@f4000/pcie@f102000 ranges:
[    0.349572] j721e-pcie f102000.pcie:       IO 0x0068001000..0x0068010fff -> 0x0068001000
[    0.349596] j721e-pcie f102000.pcie:      MEM 0x0068011000..0x006fffffff -> 0x0068011000
[    0.349620] j721e-pcie f102000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x0000000000
[    1.362101] j721e-pcie f102000.pcie: PCI host bridge to bus 0000:00
[    1.362122] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.362133] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x68001000-0x68010fff])
[    1.362142] pci_bus 0000:00: root bus resource [mem 0x68011000-0x6fffffff]
[    1.362194] pci 0000:00:00.0: [104c:b010] type 01 class 0x060400
[    1.362217] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xfffffffff 64bit pref]
[    1.362306] pci 0000:00:00.0: supports D1
[    1.362315] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.364932] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.367346] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.367391] pci 0000:00:00.0: BAR 0: no space for [mem size 0x1000000000 64bit pref]
[    1.367400] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x1000000000 64bit pref]
[    1.367412] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.367972] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[    1.368761] ti-bcdma 485c0100.dma-controller: Number of rings: 68
[    1.370119] ti-bcdma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
[    1.371965] ti-pktdma 485c0000.dma-controller: Number of rings: 288
[    1.379456] ti-pktdma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
[    1.383023] printk: console [ttyS2] disabled
[    1.383114] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 16, base_baud = 3000000) is a 8250
[    2.774086] printk: console [ttyS2] enabled
[    2.781751] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    2.786799] 7 cmdlinepart partitions found on MTD device fc40000.spi.0
[    2.793319] Creating 7 MTD partitions on "fc40000.spi.0":
[    2.798716] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    2.805655] 0x000000080000-0x000000280000 : "ospi.tispl"
[    2.812269] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    2.818941] 0x000000680000-0x0000006c0000 : "ospi.env"
[    2.825451] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    2.832390] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    2.839033] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    2.901266] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.908865] libphy: 8000f00.mdio: probed
[    2.915044] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[    2.923286] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000002
[    2.936553] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
[    2.943327] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
[    2.950474] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    2.957050] pps pps0: new PPS source ptp0
[    2.961481] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[    2.973992] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[    2.984040] mmc0: CQHCI version 5.10
[    2.985451] gpio-mux mux-controller: 2-way mux-controller registered
[    3.002303] vdd_mmc1: supplied by vsys_3v3
[    3.007562] libphy: mdio_mux: probed
[    3.019632] mmc1: CQHCI version 5.10
[    3.019789] debugfs: Directory 'pd:114' with parent 'pm_genpd' already present!
[    3.030651] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[    3.043502] ALSA device list:
[    3.046489]   No soundcards found.
[    3.069868] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[    3.078159] Waiting for root device /dev/mmcblk1p5...
[    3.131037] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[    3.137789] mmc0: Command Queue Engine enabled
[    3.142241] mmc0: new HS400 MMC card at address 0001
[    3.148143] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[    3.149782] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
[    3.150002] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
[    3.150231] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
[    3.150487] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
[    3.156084]  mmcblk1: p1 p2 p3 p4 < p5 >
[    3.207029] EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: (null)
[    3.215267] VFS: Mounted root (ext4 filesystem) on device 179:5.
[    3.227144] devtmpfs: mounted
[    3.231103] Freeing unused kernel memory: 1856K
[    3.235675] Run /sbin/init as init process
[    3.492498] systemd[1]: System time before build time, advancing clock.
[    3.567393] NET: Registered protocol family 10
[    3.573200] Segment Routing with IPv6
[    3.599689] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    3.626091] systemd[1]: Detected architecture arm64.

Welcome to Debian GNU/Linux 10 (buster)!

[    3.673027] systemd[1]: Set hostname to <am6442evm>.
[    4.043272] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    4.060346] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    4.303299] random: systemd: uninitialized urandom read (16 bytes read)
[    4.319384] random: systemd: uninitialized urandom read (16 bytes read)
[    4.326447] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    4.349463] random: systemd: uninitialized urandom read (16 bytes read)
[    4.359267] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    4.382423] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.402802] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    4.418055] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password �cts to Console Directory Watch.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
         Starting Create list of re�codes for the current kernel...
         Mounting POSIX Message Queue File System...
         Mounting Huge Pages File System...
         Starting Set the console keyboard layout...
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
         Starting Load Kernel Modules...
[  OK  ] Started Forward Password R�cuests to Wall Directory Watch.
[    4.798214] EXT4-fs (mmcblk1p5): re-mounted. Opts: errors=remount-ro
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Create list of req�c nodes for the current kernel.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
         Starting Create System Users...
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Load/Save Random Seed.
[    5.326078] systemd-journald[147]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Set console font and keymap...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Helper to synchronize boot up for ifupdown.
         Starting Raise network interfaces...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[    6.272144] 93xx46 spi1.0: 16-bit eeprom
[    6.289361] CAN device driver interface
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen �cess of backlight:ssd1307fb0...
[  OK  ] Found device /dev/ttyS2.
[  OK  ] Started Load/Save Screen B�ctness of backlight:ssd1307fb0.
[    6.509382] davinci_mdio 300b2400.mdio: davinci mdio revision 1.7, bus freq 1000000
[    6.536723] libphy: 300b2400.mdio: probed
[    6.592681] davinci_mdio 300b2400.mdio: phy[15]: device 300b2400.mdio:0f, driver TI DP83869
[    6.617573] platform 78000000.r5f: configured R5F for remoteproc mode
[    6.633229] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[    6.643029] rti-wdt bus@f4000:watchdog@e000000: invalid resource
[    6.661349] rti-wdt: probe of bus@f4000:watchdog@e000000 failed with error -22
[    6.669153] remoteproc remoteproc0: 78000000.r5f is available
[    6.696343] remoteproc remoteproc0: Direct firmware load for am64-main-r5f0_0-fw failed with error -2
[    6.711473] remoteproc remoteproc0: powering up 78000000.r5f
[    6.720774] remoteproc remoteproc0: Direct firmware load for am64-main-r5f0_0-fw failed with error -2
[    6.731458] remoteproc remoteproc0: request_firmware failed: -2
[    6.737575] rti-wdt bus@f4000:watchdog@e010000: invalid resource
[    6.747400] platform 78200000.r5f: configured R5F for remoteproc mode
[    6.757566] rti-wdt: probe of bus@f4000:watchdog@e010000 failed with error -22
[    6.758086] m_can_platform 20701000.can: m_can device registered (irq=36, version=32)
[    6.765051] platform 78200000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
[    6.798242] m_can_platform 20711000.can: m_can device registered (irq=38, version=32)
[    6.819048] remoteproc remoteproc1: 78200000.r5f is available
[    6.819349] remoteproc remoteproc1: Direct firmware load for am64-main-r5f0_1-fw failed with error -2
[    6.819362] remoteproc remoteproc1: powering up 78200000.r5f
[    6.819396] remoteproc remoteproc1: Direct firmware load for am64-main-r5f0_1-fw failed with error -2
[    6.819403] remoteproc remoteproc1: request_firmware failed: -2
[    6.870817] platform 78400000.r5f: configured R5F for remoteproc mode
[    6.872095] platform 78400000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
[    6.872440] remoteproc remoteproc2: 78400000.r5f is available
[    6.872754] remoteproc remoteproc2: Direct firmware load for am64-main-r5f1_0-fw failed with error -2
[    6.872767] remoteproc remoteproc2: powering up 78400000.r5f
[    6.872802] remoteproc remoteproc2: Direct firmware load for am64-main-r5f1_0-fw failed with error -2
[    6.872809] remoteproc remoteproc2: request_firmware failed: -2
[    6.891722] platform 78600000.r5f: configured R5F for remoteproc mode
[    6.892484] platform 78600000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
[    6.902207] remoteproc remoteproc3: 78600000.r5f is available
[    6.902451] remoteproc remoteproc3: Direct firmware load for am64-main-r5f1_1-fw failed with error -2
[    6.902464] remoteproc remoteproc3: powering up 78600000.r5f
[    6.902500] remoteproc remoteproc3: Direct firmware load for am64-main-r5f1_1-fw failed with error -2
[    6.902507] remoteproc remoteproc3: request_firmware failed: -2
[    7.252386] remoteproc remoteproc4: 30034000.pru is available
[    7.290061] remoteproc remoteproc5: 30004000.rtu is available
[    7.341653] remoteproc remoteproc6: 3000a000.txpru is available
[    7.363098] remoteproc remoteproc7: 30038000.pru is available
[    7.383084] remoteproc remoteproc8: 30006000.rtu is available
[    7.417955] remoteproc remoteproc9: 3000c000.txpru is available
[    7.457615] remoteproc remoteproc10: 300b4000.pru is available
[  OK  ] Found device /dev/mmcblk1p3.[    7.486403] remoteproc remoteproc11: 30084000.rtu is available

[    7.537807] remoteproc remoteproc12: 3008a000.txpru is available
[    7.595368] remoteproc remoteproc13: 300b8000.pru is available
[    7.631623] remoteproc remoteproc14: 30086000.rtu is available
[    7.681901] remoteproc remoteproc15: 3008c000.txpru is available
[    7.951320] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: single EMAC mode
[    8.097512] random: crng init done
[    8.100938] random: 7 urandom warning(s) missed due to ratelimiting
[    8.107360] omap_rng 40910000.rng: Random Number Generator ver. 241b34c
[    8.263109] usbcore: registered new interface driver usbfs
[    8.333541] usbcore: registered new interface driver hub
[    8.363750] usbcore: registered new device driver usb
         Activating swap /dev/mmcblk1p3...
[  OK  ] Started ifup for eth0.
[    8.593474] Adding 524224k swap on /dev/mmcblk1p3.  Priority:-2 extents:1 across:524224k SS
[    8.635423] TI DP83867 8000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=8000f00.mdio:00, irq=POLL)
[    8.655235] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
[  OK  ] Activated swap /dev/mmcblk1p3.
[  OK  ] Reached target Swap.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
         Starting Login Service...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
         Starting Permit User Sessions...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Starts ProFTPD daemon...
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
         Starting The Apache HTTP Server...
[  OK  ] Started System Logging Service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Login Service.
[  OK  ] Started The Apache HTTP Server.
[   12.766802] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   12.775314] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Debian GNU/Linux 10 am6442evm ttyS2

am6442evm login:


In case of failure:

U-Boot SPL 2021.01 (Aug 27 2021 - 04:35:24 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
SPL initial stack usage: 13392 bytes
Trying to boot from MMC2
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
NOTICE:  BL31: Built : 21:46:29, Aug 10 2021

U-Boot SPL 2021.01 (Aug 27 2021 - 04:38:29 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from MMC2


U-Boot 2021.01 (Aug 27 2021 - 04:38:29 +0900)

SoC:   AM64X SR1.0
Model: Texas Instruments AM642 EVM
Board: AM64-GPEVM rev A
DRAM:  2 GiB
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000
Hit any key to stop autoboot:  0
## Error: "boot_rprocs" not defined
19137024 bytes read in 797 ms (22.9 MiB/s)
53223 bytes read in 5 ms (10.2 MiB/s)
Moving Image from 0x80080000 to 0x80200000, end=81550000
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.41-ti-am6442evm-g4c2eade9f7 (user01@ubuntu) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Sat Aug 21 05:47:01 JST 2021
[    0.000000] Machine model: Texas Instruments AM642 EVM
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a3ffffff]
[    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a4ffffff]
[    0.000000]   node   0: [mem 0x00000000a5000000-0x00000000a57fffff]
[    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
[    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 2 pages/cpu s49880 r8192 d73000 u131072
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 32736
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16500a,mmio32,0x02800000 mtdparts=fc40000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern) root=/dev/mmcblk1p5 rw roottypefs=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1448832K/2097152K available (10816K kernel code, 1344K rwdata, 4288K rodata, 1856K init, 758K bss, 124032K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @a4000000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000a58c0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000a58d0000
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4d4 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.000316] Console: colour dummy device 80x25
[    0.000375] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000391] pid_max: default: 32768 minimum: 301
[    0.000480] LSM: Security Framework initializing
[    0.000575] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.000614] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.002968] rcu: Hierarchical SRCU implementation.
[    0.003270] Platform MSI: msi-controller@1820000 domain created
[    0.003550] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.003664] EFI services will not be available.
[    0.004126] smp: Bringing up secondary CPUs ...
[    0.004878] Detected VIPT I-cache on CPU1
[    0.004918] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
[    0.004933] GICv3: CPU1: using allocated LPI pending table @0x00000000a58e0000
[    0.005000] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005131] smp: Brought up 1 node, 2 CPUs
[    0.005152] SMP: Total of 2 processors activated.
[    0.005162] CPU features: detected: 32-bit EL0 Support
[    0.005171] CPU features: detected: CRC32 instructions
[    0.013260] CPU: All CPU(s) started at EL2
[    0.013288] alternatives: patching kernel code
[    0.014582] devtmpfs: initialized
[    0.022618] KASLR disabled due to lack of seed
[    0.022908] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022926] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[    0.025101] pinctrl core: initialized pinctrl subsystem
[    0.025713] DMI not present or invalid.
[    0.026385] NET: Registered protocol family 16
[    0.034315] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.034792] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.034901] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.035543] thermal_sys: Registered thermal governor 'step_wise'
[    0.035549] thermal_sys: Registered thermal governor 'power_allocator'
[    0.036062] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.036168] ASID allocator initialised with 65536 entries
[    0.064796] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[    0.064818] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.064826] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.066774] cryptd: max_cpu_qlen set to 1000
[    0.070557] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR1.0 JTAGID[0x0bb3802f] Detected
[    0.071189] vsys_5v0: supplied by evm_12v0
[    0.071515] vsys_3v3: supplied by evm_12v0
[    0.071897] vddb_3v3_display: supplied by vsys_3v3
[    0.072958] iommu: Default domain type: Translated
[    0.073390] SCSI subsystem initialized
[    0.074053] mc: Linux media interface: v0.10
[    0.074087] videodev: Linux video capture interface: v2.00
[    0.074182] pps_core: LinuxPPS API ver. 1 registered
[    0.074190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.074208] PTP clock support registered
[    0.074247] EDAC MC: Ver: 3.0.0
[    0.075107] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100
[    0.075316] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100
[    0.075448] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100
[    0.076224] FPGA manager framework
[    0.076335] Advanced Linux Sound Architecture Driver Initialized.
[    0.077715] clocksource: Switched to clocksource arch_sys_counter
[    0.078226] VFS: Disk quotas dquot_6.6.0
[    0.078332] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.084945] NET: Registered protocol family 2
[    0.085195] IP idents hash table entries: 32768 (order: 2, 262144 bytes, linear)
[    0.086952] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    0.087106] TCP established hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.087233] TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linear)
[    0.087468] TCP: Hash tables configured (established 16384 bind 16384)
[    0.087645] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.087740] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.087982] NET: Registered protocol family 1
[    0.088634] RPC: Registered named UNIX socket transport module.
[    0.088650] RPC: Registered udp transport module.
[    0.088656] RPC: Registered tcp transport module.
[    0.088662] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.088679] PCI: CLS 0 bytes, default 64
[    0.089474] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.094343] Initialise system trusted keyrings
[    0.094629] workingset: timestamp_bits=46 max_order=15 bucket_order=0
[    0.099606] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.100327] NFS: Registering the id_resolver key type
[    0.100368] Key type id_resolver registered
[    0.100374] Key type id_legacy registered
[    0.100449] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.100457] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.100681] 9p: Installing v9fs 9p2000 file system support
[    0.144816] Key type asymmetric registered
[    0.144840] Asymmetric key parser 'x509' registered
[    0.144910] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.144921] io scheduler mq-deadline registered
[    0.144927] io scheduler kyber registered
[    0.147584] pinctrl-single f4000.pinctrl: 180 pins, size 720
[    0.148690] pinctrl-single a40000.timesync-router: 512 pins, size 2048
[    0.158568] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.175676] brd: module loaded
[    0.183719] loop: module loaded
[    0.184535] megasas: 07.714.04.00-rc1
[    0.187551] libphy: Fixed MDIO Bus: probed
[    0.188998] tun: Universal TUN/TAP device driver, 1.6
[    0.189841] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.189856] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.189916] sky2: driver version 1.30
[    0.191119] VFIO - User Level meta-driver version: 0.3
[    0.192216] i2c /dev entries driver
[    0.193347] sdhci: Secure Digital Host Controller Interface driver
[    0.193356] sdhci: Copyright(c) Pierre Ossman
[    0.194100] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.195413] ledtrig-cpu: registered to indicate activity on CPUs
[    0.195831] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.197138] optee: probing for conduit method.
[    0.197180] optee: revision 3.12 (3d47a131)
[    0.197893] optee: initialized driver
[    0.200538] NET: Registered protocol family 17
[    0.200702] 9pnet: Installing 9P2000 support
[    0.200768] Key type dns_resolver registered
[    0.201014] Loading compiled-in X.509 certificates
[    0.215707] ti-sci 44043000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
[    0.249829] random: fast init done
[    0.254348] omap_i2c 20000000.i2c: bus 0 rev0.12 at 100 kHz
[    0.256334] pca953x 1-0022: supply vcc not found, using dummy regulator
[    0.256483] pca953x 1-0022: using AI
[    0.307347] Console: switching to mono frame buffer device 12x2
[    0.336150] ssd1307fb 1-003c: fb0: Solomon SSD1307 framebuffer device registered, using 192 bytes of video memory
[    0.336386] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    0.337648] omap_i2c 20020000.i2c: bus 2 rev0.12 at 100 kHz
[    0.338830] omap_i2c 20030000.i2c: bus 3 rev0.12 at 100 kHz
[    0.339232] ti-sci-intr bus@f4000:bus@4000000:interrupt-controller1: Interrupt Router 5 domain created
[    0.339387] ti-sci-intr bus@f4000:interrupt-controller0: Interrupt Router 3 domain created
[    0.339630] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
[    0.350008] j721e-pcie f102000.pcie: host bridge /bus@f4000/pcie@f102000 ranges:
[    0.350065] j721e-pcie f102000.pcie:       IO 0x0068001000..0x0068010fff -> 0x0068001000
[    0.350089] j721e-pcie f102000.pcie:      MEM 0x0068011000..0x006fffffff -> 0x0068011000
[    0.350115] j721e-pcie f102000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x0000000000
[    1.362602] j721e-pcie f102000.pcie: PCI host bridge to bus 0000:00
[    1.362623] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.362635] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x68001000-0x68010fff])
[    1.362644] pci_bus 0000:00: root bus resource [mem 0x68011000-0x6fffffff]
[    1.362695] pci 0000:00:00.0: [104c:b010] type 01 class 0x060400
[    1.362719] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xfffffffff 64bit pref]
[    1.362805] pci 0000:00:00.0: supports D1
[    1.362814] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.365436] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.367855] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.367901] pci 0000:00:00.0: BAR 0: no space for [mem size 0x1000000000 64bit pref]
[    1.367910] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x1000000000 64bit pref]
[    1.367922] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.368476] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[    1.369268] ti-bcdma 485c0100.dma-controller: Number of rings: 68
[    1.370581] ti-bcdma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
[    1.372458] ti-pktdma 485c0000.dma-controller: Number of rings: 288
[    1.380021] ti-pktdma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
[    1.383566] printk: console [ttyS2] disabled
[    1.383657] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 16, base_baud = 3000000) is a 8250
[    2.774690] printk: console [ttyS2] enabled
[    2.782355] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    2.787374] 7 cmdlinepart partitions found on MTD device fc40000.spi.0
[    2.793895] Creating 7 MTD partitions on "fc40000.spi.0":
[    2.799292] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    2.806209] 0x000000080000-0x000000280000 : "ospi.tispl"
[    2.812771] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    2.819517] 0x000000680000-0x0000006c0000 : "ospi.env"
[    2.825937] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    2.832971] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    2.839658] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    2.901722] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.909322] libphy: 8000f00.mdio: probed
[    2.915727] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[    2.923966] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000002
[    2.937199] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
[    2.944210] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
[    2.944217] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    2.944860] pps pps0: new PPS source ptp0
[    2.945229] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[    2.961951] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[    2.985824] mmc1: CQHCI version 5.10
[    2.986508] gpio-mux mux-controller: 2-way mux-controller registered
[    3.004068] vdd_mmc1: supplied by vsys_3v3
[    3.009356] libphy: mdio_mux: probed
[    3.021635] mmc0: CQHCI version 5.10
[    3.021927] debugfs: Directory 'pd:114' with parent 'pm_genpd' already present!
[    3.025756] mmc1: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[    3.045372] ALSA device list:
[    3.048359]   No soundcards found.
[    3.065725] mmc0: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[    3.074216] Waiting for root device /dev/mmcblk1p5...
[    3.131259] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    3.131326] mmc1: Command Queue Engine enabled
[    3.142570] mmc1: new HS400 MMC card at address 0001
[    3.142925] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    3.148281] mmcblk1: mmc1:0001 S0J56X 14.8 GiB
[    3.156853] mmcblk1boot0: mmc1:0001 S0J56X partition 1 31.5 MiB
[    3.163107] mmcblk1boot1: mmc1:0001 S0J56X partition 2 31.5 MiB
[    3.169438] mmcblk1rpmb: mmc1:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
[    3.176838]  mmcblk0: p1 p2 p3 p4 < p5 >
[    3.190025] VFS: Cannot open root device "mmcblk1p5" or unknown-block(179,37): error -6
[    3.198072] Please append a correct "root=" boot option; here are the available partitions:
[    3.206448] 0100            4096 ram0
[    3.206451]  (driver?)
[    3.212557] 0101            4096 ram1
[    3.212560]  (driver?)
[    3.218666] 0102            4096 ram2
[    3.218669]  (driver?)
[    3.224765] 0103            4096 ram3
[    3.224768]  (driver?)
[    3.230868] 0104            4096 ram4
[    3.230871]  (driver?)
[    3.236964] 0105            4096 ram5
[    3.236968]  (driver?)
[    3.243068] 0106            4096 ram6
[    3.243071]  (driver?)
[    3.249166] 0107            4096 ram7
[    3.249169]  (driver?)
[    3.255276] 0108            4096 ram8
[    3.255279]  (driver?)
[    3.261373] 0109            4096 ram9
[    3.261377]  (driver?)
[    3.267477] 010a            4096 ram10
[    3.267481]  (driver?)
[    3.273662] 010b            4096 ram11
[    3.273665]  (driver?)
[    3.279851] 010c            4096 ram12
[    3.279854]  (driver?)
[    3.286041] 010d            4096 ram13
[    3.286044]  (driver?)
[    3.292223] 010e            4096 ram14
[    3.292225]  (driver?)
[    3.298411] 010f            4096 ram15
[    3.298414]  (driver?)
[    3.304599] 1f00             512 mtdblock0
[    3.304602]  (driver?)
[    3.311142] 1f01            2048 mtdblock1
[    3.311146]  (driver?)
[    3.317676] 1f02            4096 mtdblock2
[    3.317679]  (driver?)
[    3.324213] 1f03             256 mtdblock3
[    3.324216]  (driver?)
[    3.330782] 1f04             256 mtdblock4
[    3.330785]  (driver?)
[    3.337314] 1f05           57088 mtdblock5
[    3.337317]  (driver?)
[    3.343852] 1f06             256 mtdblock6
[    3.343855]  (driver?)
[    3.350388] b300        15558144 mmcblk0
[    3.350392]  driver: mmcblk
[    3.357181]   b301           65536 mmcblk0p1 33d0c7ad-01
[    3.357184]
[    3.363972]   b302           65536 mmcblk0p2 33d0c7ad-02
[    3.363975]
[    3.370775]   b303          524288 mmcblk0p3 33d0c7ad-03
[    3.370778]
[    3.377566]   b304               1 mmcblk0p4
[    3.377569]
[    3.383403]   b305        14900736 mmcblk0p5 33d0c7ad-05
[    3.383405]
[    3.390199] b320        15540224 mmcblk1
[    3.390203]  driver: mmcblk
[    3.396995] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,37)
[    3.405504] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.41-ti-am6442evm-g4c2eade9f7 #1
[    3.413662] Hardware name: Texas Instruments AM642 EVM (DT)
[    3.419220] Call trace:
[    3.421671]  dump_backtrace+0x0/0x1a0
[    3.425325]  show_stack+0x18/0x68
[    3.428634]  dump_stack+0xd0/0x12c
[    3.432027]  panic+0x16c/0x334
[    3.435076]  mount_block_root+0x1c4/0x254
[    3.439074]  mount_root+0x10c/0x140
[    3.442552]  prepare_namespace+0x130/0x170
[    3.446637]  kernel_init_freeable+0x210/0x23c
[    3.450984]  kernel_init+0x14/0x114
[    3.454463]  ret_from_fork+0x10/0x34
[    3.458034] SMP: stopping secondary CPUs
[    3.461955] Kernel Offset: disabled
[    3.465434] CPU features: 0x0040002,2000200c
[    3.469689] Memory Limit: none
[    3.472744] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,37) ]---


The root file system is located on the "mmcblk1p5" partition, but in case of failure, the partition cannot be opened.

[ 3.190025] VFS: Cannot open root device "mmcblk1p5" or unknown-block(179,37): error -6

The order of the mounted MMC devices seems to be different between success and failure.

In case of success:

[ 3.148143] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[ 3.149782] mmcblk0: mmc0:0001 S0J56X 14.8 GiB

In case of failure:

[ 3.142925] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 3.148281] mmcblk1: mmc1:0001 S0J56X 14.8 GiB

Why does it fail to mount the root file system?

Best regards,

Daisuke