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.

DRA821U: how to boot from eMMc using sbl and run linux

Part Number: DRA821U

Hi, Expert

SDK version: ti-processor-sdk-rtos-j7200-evm-08_00_00_12  ti-processor-sdk-linux-j7200-evm-08_00_00_05

I have booted mcu2_1 and linux with SBL on sd card, now I want to switch to eMMC to boot.

My steps are as follows

1, follow the link[FAQ] TDA4VM: How to boot TDA4VM from eMMC UDA partition using SBL in SDK 8.1

2, compile can_boot_app_mcu_rtos_mcu1_0_release.appimage in MCUSW and rename to app

3, upadte DTB, in k3-j7200-common-proc-board.dts

#bootargs = "consol=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"
bootargs = "consol=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait"

4, use the constructappimageshlos.sh tool to convert the ATF, DTB,  kernel Image 

    I get atf_optee.appimage tidtb_linux.appimage tikernelimage_linux.appimage

5, use the MulticoreImageGen tool to combine the image of mcu2_0 and mcu2_1 into lateapp1

6, copy above files to mmcblk0p1

7, Change boot mode to eMMC boot

  • SW8: 1000_0000
  • SW9: 0000_0000

8, powerup

then I found that demo in mcu2_1 run successfully but rootfs can't start up because kernel can't find mmcblk0p1

here is the kernel log

when I change DTB as 

bootargs = "consol=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait"

it can boot from eMMC and then run rootfs from SD card.  then I type "ls /dev/mmcblk0*" and found there is no mmcblk0p1 mmcblk0p2

can you provide me with some toubleshooting ideas?

Thanks

Best Regards

jiang long

  • Hi Jiang,

    Can you please run ext4ls mmc 0:2 from U-boot and share the result?

    Regards,
    Parth

  • Hi Parth

    Since I can't enter uboot with sbl, I use the sd card to boot in spl mode, the log is as follows

    Regards,

    Jiang long

  • Hi Jian,

    Instead of using SBL to boot Linux, can you first try to boot using pure Linux boot flow and see if that is working fine?

    Regards,
    Parth

  • Hi Parth,

    I try to boot using spl, linux rootfs works, but it load from sd-card

    when I pull out the sd card, the log is as follow

    then I reboot and input this command in uboot:

    => setenv mmcdev 0

    => setenv bootpart 0

    => boot

    the log is as follow

    But when I open EMMC/rootfs, I can find the file /lib/firmware/j7200-main-r5f0_0-fw

    Regards,

    Jiang Long

  • Hi, Parth

    Now I add these command in the uboot

    => setenv mmcdev 0
    =>
    => setenv bootpart 0:2
    =>
    => setenv args_mmc "run finduuid;setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait"
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK


    =>boot

    spl boot from emmc can works

    but sbl boot still cannot find  /dev/mmcblk0p2

  • Hi Jiang,

    I am guessing that R5 is holding the eMMC and it is not released. I'll try to reproduce this issue on my end. Meanwhile, can you please share the complete logs? 

    Also, what is the intent of using eMMC boot? This does not have any added advantage over SD boot. so is there any specific reason for using eMMC booting? 

    Regards,
    Parth

  • Hi, Parth,

    Here is my log which use sbl to boot up on emmc

    On J7ES EVM Test Point TP82(SOM Board)  and it should be Active HIGH before WDG expires
    NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
    NOTICE:  BL31: Built : 07:25:50, Aug  7 2021
    ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.41-g4c2eade9f7 (oe-user@oe-host) (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 7 08:06:31 UTC 2021
    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    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   [mem 0x0000000100000000-0x00000008ffffffff]
    [    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-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    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 PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65472
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3474688K/4194304K available (10816K kernel code, 1344K rwdata, 4288K rodata, 1856K init, 758K bss, 195328K 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: 960 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:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008800b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008800c0000
    [    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.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008289] Console: colour dummy device 80x25
    [    0.012849] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023520] pid_max: default: 32768 minimum: 301
    [    0.028266] LSM: Security Framework initializing
    [    0.033013] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040585] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.049683] rcu: Hierarchical SRCU implementation.
    [    0.054773] Platform MSI: msi-controller@1820000 domain created
    [    0.060906] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070174] EFI services will not be available.
    [    0.074942] smp: Bringing up secondary CPUs ...
    ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    [    0.085920] Detected PIPT I-cache on CPU1
    [    0.085946] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.085959] GICv3: CPU1: using allocated LPI pending table @0x00000008800d0000
    [    0.085996] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.086053] smp: Brought up 1 node, 2 CPUs
    [    0.115402] SMP: Total of 2 processors activated.
    [    0.120208] CPU features: detected: 32-bit EL0 Support
    [    0.125463] CPU features: detected: CRC32 instructions
    [    0.139387] CPU: All CPU(s) started at EL2
    [    0.143586] alternatives: patching kernel code
    [    0.148651] devtmpfs: initialized
    [    0.154674] KASLR disabled due to lack of seed
    [    0.159386] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.169352] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.177001] pinctrl core: initialized pinctrl subsystem
    [    0.182608] DMI not present or invalid.
    [    0.186908] NET: Registered protocol family 16
    [    0.194386] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.201722] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.209747] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.218077] thermal_sys: Registered thermal governor 'step_wise'
    [    0.218080] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.224438] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.238089] ASID allocator initialised with 32768 entries
    [    0.254021] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.260877] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.267635] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.276031] cryptd: max_cpu_qlen set to 1000
    [    0.282527] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR1.0 JTAGID[0x0bb6d02f] Detected
    [    0.291355] vsys_3v3: supplied by evm_12v0
    [    0.295676] vsys_5v0: supplied by evm_12v0
    [    0.300256] iommu: Default domain type: Translated
    [    0.305391] SCSI subsystem initialized
    [    0.309499] mc: Linux media interface: v0.10
    [    0.313873] videodev: Linux video capture interface: v2.00
    [    0.319504] pps_core: LinuxPPS API ver. 1 registered
    [    0.324574] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.333911] PTP clock support registered
    [    0.337931] EDAC MC: Ver: 3.0.0
    [    0.341625] FPGA manager framework
    [    0.345151] Advanced Linux Sound Architecture Driver Initialized.
    [    0.351820] clocksource: Switched to clocksource arch_sys_counter
    [    0.358269] VFS: Disk quotas dquot_6.6.0
    [    0.362353] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.372182] NET: Registered protocol family 2
    [    0.376890] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear)
    [    0.385592] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.394381] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.402587] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.410401] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.417200] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.424094] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.431503] NET: Registered protocol family 1
    [    0.436304] RPC: Registered named UNIX socket transport module.
    [    0.442367] RPC: Registered udp transport module.
    [    0.447181] RPC: Registered tcp transport module.
    [    0.451986] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.458570] PCI: CLS 0 bytes, default 64
    [    0.462922] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.473676] Initialise system trusted keyrings
    [    0.478334] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.486688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.492969] NFS: Registering the id_resolver key type
    [    0.498169] Key type id_resolver registered
    [    0.502444] Key type id_legacy registered
    [    0.506569] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.513416] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.521120] 9p: Installing v9fs 9p2000 file system support
    [    0.546174] Key type asymmetric registered
    [    0.550364] Asymmetric key parser 'x509' registered
    [    0.555368] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.562927] io scheduler mq-deadline registered
    [    0.567553] io scheduler kyber registered
    [    0.572625] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.578844] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.586752] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.593031] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.600812] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.613764] brd: module loaded
    [    0.620424] loop: module loaded
    [    0.624007] megasas: 07.714.04.00-rc1
    [    0.628799] libphy: Fixed MDIO Bus: probed
    [    0.633490] tun: Universal TUN/TAP device driver, 1.6
    [    0.638883] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.645292] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.651367] sky2: driver version 1.30
    [    0.655555] VFIO - User Level meta-driver version: 0.3
    [    0.661252] i2c /dev entries driver
    [    0.665300] sdhci: Secure Digital Host Controller Interface driver
    [    0.671623] sdhci: Copyright(c) Pierre Ossman
    [    0.676292] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.682521] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.688819] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.695931] optee: probing for conduit method.
    [    0.700484] optee: revision 3.12 (3d47a131)
    [    0.700761] optee: initialized driver
    [    0.709844] NET: Registered protocol family 17
    [    0.714462] 9pnet: Installing 9P2000 support
    [    0.718851] Key type dns_resolver registered
    [    0.723290] Loading compiled-in X.509 certificates
    [    0.731600] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.737965] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.745565] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    [    0.768970] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.775086] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.781189] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.787418] pca953x 3-0021: supply vcc not found, using dummy regulator
    [    0.794243] pca953x 3-0021: using no AI
    [    0.820286] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.827089] pca953x 3-0020: using no AI
    [    0.831590] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    0.838418] pca953x 3-0022: using AI
    [    0.842484] random: fast init done
    [    0.846189] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.852385] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    0.859199] pca953x 4-0020: using no AI
    [    0.884145] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.890156] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    0.896134] omap_i2c 2030000.i2c: bus 6 rev0.12 at 100 kHz
    [    0.902100] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.908062] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.914043] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
    [    0.920149] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    0.930117] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    0.938915] ti-sci-intr bus@100000:bus@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    0.948904] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    0.959692] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    0.967373] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    0.975654] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    0.983932] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.999986] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
    [    2.006405] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.012012] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
    [    2.021702] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    2.028754] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
    [    2.034971] pci 0000:00:00.0: supports D1
    [    2.039066] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.045728] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.054593] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
    [    2.061363] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.066645] pcieport 0000:00:00.0: PME: Signaling with IRQ 36
    [    2.073577] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    2.083474] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    2.090235] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.099782] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    2.109945] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    2.116709] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.124735] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    2.134157] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 22, base_baud = 3000000) is a 8250
    [    2.142908] printk: console [ttyS2] enabled
    [    2.142908] printk: console [ttyS2] enabled
    [    2.151345] printk: bootconsole [ns16550a0] disabled
    [    2.151345] printk: bootconsole [ns16550a0] disabled
    [    2.161800] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 23, base_baud = 3000000) is a 8250
    [    2.335826] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    2.343300] libphy: 46000f00.mdio: probed
    [    2.371714] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.380022] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.395204] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.403983] mmc0: CQHCI version 5.10
    [    2.411882] vdd_mmc1: supplied by vsys_3v3
    [    2.416525] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    2.423352] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    2.430453] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.440251] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    2.444413] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.452137] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    2.548306] mmc0: Command Queue Engine enabled
    [    2.552752] mmc0: new HS400 MMC card at address 0001
    [    2.558032] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    2.562696] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    2.568741] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    2.574751] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    2.583091] mmc0: running CQE recovery
    [    2.587527] mmc0: running CQE recovery
    [    2.591821] mmc0: running CQE recovery
    [    2.595710] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
    [    2.605869] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [    2.613419] mmc0: running CQE recovery
    [    2.617714] mmc0: running CQE recovery
    [    2.622004] mmc0: running CQE recovery
    [    2.625892] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
    [    2.636056] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    2.643528] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [    2.650652] libphy: 46000f00.mdio: probed
    [    2.654676]  mmcblk0: unable to read partition table
    [    2.678917] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.687240] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.700720] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.707615] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.714835] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.721132] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    2.731360] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    2.731534] mmc1: CQHCI version 5.10
    [    2.744638] ALSA device list:
    [    2.747597]   No soundcards found.
    [    2.782849] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.790637] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
    [    2.798563] Please append a correct "root=" boot option; here are the available partitions:
    [    2.806901] 0100            4096 ram0
    [    2.806903]  (driver?)
    [    2.812989] 0101            4096 ram1
    [    2.812991]  (driver?)
    [    2.819079] 0102            4096 ram2
    [    2.819080]  (driver?)
    [    2.825171] 0103            4096 ram3
    [    2.825172]  (driver?)
    [    2.831257] 0104            4096 ram4
    [    2.831258]  (driver?)
    [    2.837343] 0105            4096 ram5
    [    2.837345]  (driver?)
    [    2.843428] 0106            4096 ram6
    [    2.843430]  (driver?)
    [    2.849516] 0107            4096 ram7
    [    2.849517]  (driver?)
    [    2.854572] mmc1: new ultra high speed SDR104 SDHC card at address b368
    [    2.855601] 0108            4096 ram8
    [    2.862196]  (driver?)
    [    2.862572] mmcblk1: mmc1:b368 NCard 14.6 GiB
    [    2.865944] 0109            4096 ram9
    [    2.872770]  (driver?)
    [    2.874301]  mmcblk1: p1 p2
    [    2.876529] 010a            4096 ram10
    [    2.881660]  (driver?)
    [    2.887845] 010b            4096 ram11
    [    2.887846]  (driver?)
    [    2.894016] 010c            4096 ram12
    [    2.894018]  (driver?)
    [    2.900190] 010d            4096 ram13
    [    2.900192]  (driver?)
    [    2.906361] 010e            4096 ram14
    [    2.906363]  (driver?)
    [    2.912534] 010f            4096 ram15
    [    2.912536]  (driver?)
    [    2.918712] 1f00           65536 mtdblock0
    [    2.918714]  (driver?)
    [    2.925233] b300        15540224 mmcblk0
    [    2.925236]  driver: mmcblk
    [    2.932016] b360        15267840 mmcblk1
    [    2.932018]  driver: mmcblk
    [    2.938797]   b361           63488 mmcblk1p1 e0990565-01
    [    2.938798]
    [    2.945575]   b362        15203328 mmcblk1p2 e0990565-02
    [    2.945576]
    [    2.952357] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
    [    2.960774] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.41-g4c2eade9f7 #1
    [    2.967801] Hardware name: Texas Instruments K3 J7200 SoC (DT)
    [    2.973617] Call trace:
    [    2.976063]  dump_backtrace+0x0/0x1a0
    [    2.979711]  show_stack+0x18/0x68
    [    2.983016]  dump_stack+0xd0/0x12c
    [    2.986404]  panic+0x16c/0x334
    [    2.989447]  mount_block_root+0x1c4/0x254
    [    2.993442]  mount_root+0x10c/0x140
    [    2.996916]  prepare_namespace+0x130/0x170
    [    3.000996]  kernel_init_freeable+0x210/0x23c
    [    3.005338]  kernel_init+0x14/0x114
    [    3.008814]  ret_from_fork+0x10/0x34
    [    3.012378] SMP: stopping secondary CPUs
    [    3.016292] Kernel Offset: 0x80000 from 0xffff800010000000
    [    3.021760] PHYS_OFFSET: 0x80000000
    [    3.025234] CPU features: 0x0040022,20806008
    [    3.029489] Memory Limit: none
    [    3.032534] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---
    CAN_APP: Variant - Pre Compile being used !!!
    CAN_APP: Successfully Enabled CAN Transceiver MCU MCAN0!!!
    CAN_APP: Successfully Enabled CAN Transceiver MCU MCAN1!!!
    Spi_mcspiReset1 baseAddr = 0x40300000
    Spi_mcspiReset1 baseAddr = 0x40310000
    Spi_mcspiReset1 baseAddr = 0x2100000
    Spi_mcspiReset1 baseAddr = 0x2160000
    SPI_APP: CH 3: JOBS 5: SEQ 5: HWUNIT 4: NUM OF WORDS 1:!!!
    SPI_APP: SPI HwUnitId =  0 !!
    SPI_APP: SPI HwUnitId =  1 !!
    SPI_APP: SPI HwUnitId =  3 !!
    SPI_APP: SPI HwUnitId =  9 !!
    GPT_APP: Building Interrupt List !!!
    GPT_APP: Variant - Post Build being used !!!
    GPT_APP: Interrupt List Completed !!!
    ------------------------------------------
    GPT_APP: Running GPT Test for channel 11
    ------------------------------------------
    GPT_APP: Enabled notification for channel [11]
    GPT_APP: Started Timer Channel [11]
    On J7ES EVM Test Point TP82(SOM Board)  and it should be Active HIGH before WDG expires
    NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
    NOTICE:  BL31: Built : 07:25:50, Aug  7 2021
    ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.41-g4c2eade9f7 (oe-user@oe-host) (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 7 08:06:31 UTC 2021
    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    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   [mem 0x0000000100000000-0x00000008ffffffff]
    [    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-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    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 PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65472
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3474688K/4194304K available (10816K kernel code, 1344K rwdata, 4288K rodata, 1856K init, 758K bss, 195328K 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: 960 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:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008800b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008800c0000
    [    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.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008288] Console: colour dummy device 80x25
    [    0.012849] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023519] pid_max: default: 32768 minimum: 301
    [    0.028266] LSM: Security Framework initializing
    [    0.033014] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040585] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.049697] rcu: Hierarchical SRCU implementation.
    [    0.054784] Platform MSI: msi-controller@1820000 domain created
    [    0.060915] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070184] EFI services will not be available.
    [    0.074954] smp: Bringing up secondary CPUs ...
    ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    [    0.085933] Detected PIPT I-cache on CPU1
    [    0.085957] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.085970] GICv3: CPU1: using allocated LPI pending table @0x00000008800d0000
    [    0.086005] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.086063] smp: Brought up 1 node, 2 CPUs
    [    0.115410] SMP: Total of 2 processors activated.
    [    0.120216] CPU features: detected: 32-bit EL0 Support
    [    0.125471] CPU features: detected: CRC32 instructions
    [    0.139341] CPU: All CPU(s) started at EL2
    [    0.143540] alternatives: patching kernel code
    [    0.148603] devtmpfs: initialized
    [    0.154580] KASLR disabled due to lack of seed
    [    0.159290] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.169257] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.176908] pinctrl core: initialized pinctrl subsystem
    [    0.182518] DMI not present or invalid.
    [    0.186813] NET: Registered protocol family 16
    [    0.194302] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.201635] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.209663] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.217990] thermal_sys: Registered thermal governor 'step_wise'
    [    0.217992] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.224358] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.238006] ASID allocator initialised with 32768 entries
    [    0.253679] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.260539] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.267299] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.275678] cryptd: max_cpu_qlen set to 1000
    [    0.282155] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR1.0 JTAGID[0x0bb6d02f] Detected
    [    0.291024] vsys_3v3: supplied by evm_12v0
    [    0.295348] vsys_5v0: supplied by evm_12v0
    [    0.299894] iommu: Default domain type: Translated
    [    0.305042] SCSI subsystem initialized
    [    0.309219] mc: Linux media interface: v0.10
    [    0.313599] videodev: Linux video capture interface: v2.00
    [    0.319235] pps_core: LinuxPPS API ver. 1 registered
    [    0.324306] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.333685] PTP clock support registered
    [    0.337706] EDAC MC: Ver: 3.0.0
    [    0.341401] FPGA manager framework
    [    0.344912] Advanced Linux Sound Architecture Driver Initialized.
    [    0.351588] clocksource: Switched to clocksource arch_sys_counter
    [    0.358010] VFS: Disk quotas dquot_6.6.0
    [    0.362087] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.371964] NET: Registered protocol family 2
    [    0.376684] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear)
    [    0.385369] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.394144] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.402352] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.410158] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.416951] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.423846] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.431254] NET: Registered protocol family 1
    [    0.436058] RPC: Registered named UNIX socket transport module.
    [    0.442119] RPC: Registered udp transport module.
    [    0.446936] RPC: Registered tcp transport module.
    [    0.451740] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.458325] PCI: CLS 0 bytes, default 64
    [    0.462675] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.473441] Initialise system trusted keyrings
    [    0.478083] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.486473] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.492800] NFS: Registering the id_resolver key type
    [    0.497992] Key type id_resolver registered
    [    0.502264] Key type id_legacy registered
    [    0.506384] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.513231] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.520877] 9p: Installing v9fs 9p2000 file system support
    [    0.546173] Key type asymmetric registered
    [    0.550362] Asymmetric key parser 'x509' registered
    [    0.555365] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.562925] io scheduler mq-deadline registered
    [    0.567550] io scheduler kyber registered
    [    0.572622] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.578807] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.586696] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.592975] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.600776] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.613745] brd: module loaded
    [    0.620438] loop: module loaded
    [    0.624027] megasas: 07.714.04.00-rc1
    [    0.628812] libphy: Fixed MDIO Bus: probed
    [    0.633456] tun: Universal TUN/TAP device driver, 1.6
    [    0.638836] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.645245] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.651317] sky2: driver version 1.30
    [    0.655510] VFIO - User Level meta-driver version: 0.3
    [    0.661181] i2c /dev entries driver
    [    0.665226] sdhci: Secure Digital Host Controller Interface driver
    [    0.671549] sdhci: Copyright(c) Pierre Ossman
    [    0.676210] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.682456] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.688758] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.695869] optee: probing for conduit method.
    [    0.700424] optee: revision 3.12 (3d47a131)
    [    0.700699] optee: initialized driver
    [    0.709814] NET: Registered protocol family 17
    [    0.714438] 9pnet: Installing 9P2000 support
    [    0.718829] Key type dns_resolver registered
    [    0.723272] Loading compiled-in X.509 certificates
    [    0.731612] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.737963] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.745557] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    [    0.768944] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.775102] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.781197] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.787416] pca953x 3-0021: supply vcc not found, using dummy regulator
    [    0.794245] pca953x 3-0021: using no AI
    [    0.820037] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.826856] pca953x 3-0020: using no AI
    [    0.831355] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    0.838157] pca953x 3-0022: using AI
    [    0.842220] random: fast init done
    [    0.845925] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.852108] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    0.858925] pca953x 4-0020: using no AI
    [    0.883901] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.889916] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    0.895900] omap_i2c 2030000.i2c: bus 6 rev0.12 at 100 kHz
    [    0.901872] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.907841] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.913805] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
    [    0.919897] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    0.929855] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    0.938643] ti-sci-intr bus@100000:bus@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    0.948632] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    0.959392] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    0.967072] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    0.975350] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    0.983630] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.002995] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
    [    2.009418] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.015024] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
    [    2.024714] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    2.031765] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
    [    2.037984] pci 0000:00:00.0: supports D1
    [    2.042078] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.048736] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.057592] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
    [    2.064362] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.069653] pcieport 0000:00:00.0: PME: Signaling with IRQ 36
    [    2.076652] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    2.086543] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    2.093303] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.102852] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    2.113021] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    2.119785] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.127781] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    2.137192] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 22, base_baud = 3000000) is a 8250
    [    2.145945] printk: console [ttyS2] enabled
    [    2.145945] printk: console [ttyS2] enabled
    [    2.154382] printk: bootconsole [ns16550a0] disabled
    [    2.154382] printk: bootconsole [ns16550a0] disabled
    [    2.164836] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 23, base_baud = 3000000) is a 8250
    [    2.339584] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    2.347059] libphy: 46000f00.mdio: probed
    [    2.374862] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.383170] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.398273] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.407072] mmc0: CQHCI version 5.10
    [    2.414436] vdd_mmc1: supplied by vsys_3v3
    [    2.419072] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    2.425935] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    2.433026] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.442860] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    2.454811] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    2.463985] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.558929] mmc0: Command Queue Engine enabled
    [    2.563374] mmc0: new HS400 MMC card at address 0001
    [    2.568663] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    2.573332] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    2.579381] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    2.585382] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    2.593913] mmc0: running CQE recovery
    [    2.598259] mmc0: running CQE recovery
    [    2.602557] mmc0: running CQE recovery
    [    2.606449] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
    [    2.616607] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [    2.624158] mmc0: running CQE recovery
    [    2.627590] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    2.628454] mmc0: running CQE recovery
    [    2.635361] libphy: 46000f00.mdio: probed
    [    2.639646] mmc0: running CQE recovery
    [    2.646973] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
    [    2.657151] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [    2.664289]  mmcblk0: unable to read partition table
    [    2.669290] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.677848] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.692067] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.699006] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.706222] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.712547] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    2.722801] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    2.722951] mmc1: CQHCI version 5.10
    [    2.733420] ALSA device list:
    [    2.736667]   No soundcards found.
    [    2.781401] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.789176] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
    [    2.797169] Please append a correct "root=" boot option; here are the available partitions:
    [    2.805561] 0100            4096 ram0
    [    2.805563]  (driver?)
    [    2.811663] 0101            4096 ram1
    [    2.811665]  (driver?)
    [    2.817818] 0102            4096 ram2
    [    2.817820]  (driver?)
    [    2.823970] 0103            4096 ram3
    [    2.823971]  (driver?)
    [    2.830110] 0104            4096 ram4
    [    2.830111]  (driver?)
    [    2.836253] 0105            4096 ram5
    [    2.836255]  (driver?)
    [    2.842351] 0106            4096 ram6
    [    2.842352]  (driver?)
    [    2.848444] 0107            4096 ram7
    [    2.848445]  (driver?)
    [    2.854537] 0108            4096 ram8
    [    2.854538]  (driver?)
    [    2.860629] 0109            4096 ram9
    [    2.860631]  (driver?)
    [    2.866715] 010a            4096 ram10
    [    2.866716]  (driver?)
    [    2.872894] 010b            4096 ram11
    [    2.872896]  (driver?)
    [    2.879073] 010c            4096 ram12
    [    2.879075]  (driver?)
    [    2.885250] 010d            4096 ram13
    [    2.885251]  (driver?)
    [    2.891427] 010e            4096 ram14
    [    2.891429]  (driver?)
    [    2.897606] 010f            4096 ram15
    [    2.897607]  (driver?)
    [    2.903783] 1f00           65536 mtdblock0
    [    2.903784]  (driver?)
    [    2.910306] b300        15540224 mmcblk0
    [    2.910309]  driver: mmcblk
    [    2.917095] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
    [    2.925512] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.41-g4c2eade9f7 #1
    [    2.932539] Hardware name: Texas Instruments K3 J7200 SoC (DT)
    [    2.938353] Call trace:
    [    2.940799]  dump_backtrace+0x0/0x1a0
    [    2.944447]  show_stack+0x18/0x68
    [    2.947751]  dump_stack+0xd0/0x12c
    [    2.951138]  panic+0x16c/0x334
    [    2.954182]  mount_block_root+0x1c4/0x254
    [    2.958177]  mount_root+0x10c/0x140
    [    2.961651]  prepare_namespace+0x130/0x170
    [    2.965731]  kernel_init_freeable+0x210/0x23c
    [    2.970074]  kernel_init+0x14/0x114
    [    2.973549]  ret_from_fork+0x10/0x34
    [    2.977113] SMP: stopping secondary CPUs
    [    2.981025] Kernel Offset: 0x80000 from 0xffff800010000000
    [    2.986491] PHYS_OFFSET: 0x80000000
    [    2.989966] CPU features: 0x0040022,20806008
    [    2.994220] Memory Limit: none
    [    2.997265] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---
    

    Also, what is the intent of using eMMC boot?

    our board will be used in the car, because the vibration is strong, so all data are stored on emmc

  • Hi Jiang,

    Is this issue still open? If yes, can you please mention the current state of the issue?

    Regards,
    Parth

  • Hi Parth Nagpal

    I still dont know how to startup linux on EMMC.

    The above is all I have done. And I don't know what to do next.

    Can you implement this function on EMMC(sbl->can_boot_app->lateapp->linux) and give me a tutorial document?

    Regards,

    Jiang Long