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.

DRA821 : Default image boot failure in SDK8.0

Other Parts Discussed in Thread: DRA821, DRA829

HI TI !I

t is trying to boot by downloading the SDKLinux_08_00_00_05 version image from the evm board(DRA821,J7200).
Kernel paic occurs while evm board is booting linux.
The generated log is as follows.
The linux image used was taken from the link below.


https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J7200?keyMatch=J7200


Can you help me with the log below?

/sbin/init: error while loading shared libraries: /usr/lib/libkm[ 3.021270] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
od.so.2: file too short

U-Boot SPL 2021.01-dirty (Aug 18 2021 - 11:40:42 +0900)
Model: Texas Instruments K3 J7200 SoC
Board: J7200X-PM2-SOM rev E6
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from MMC1
init_env from device 17 not supported!
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
NOTICE:  BL31: Built : 07:25:50, Aug  7 2021

U-Boot SPL 2021.01-dirty (Aug 18 2021 - 11:40:39 +0900)
Model: Texas Instruments K3 J7200 SoC
Board: J7200X-PM2-SOM rev E6
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-GESI-EXP rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC1


U-Boot 2021.01-dirty (Aug 18 2021 - 11:40:39 +0900)

SoC:   J7200 SR1.0
Model: Texas Instruments K3 J7200 SoC
Board: J7200X-PM2-SOM rev E6
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-GESI-EXP rev E3
Detected: J7X-VSC8514-ETH rev E2
Net:   am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
eth0: ethernet@46000000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
0 bytes read in 1 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
19137024 bytes read in 200 ms (91.3 MiB/s)
45267 bytes read in 4 ms (10.8 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 000000008fef1000, end 000000008fffffff ... OK

Starting kernel ...

[    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] 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: 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 mtdparts=47040000.spi.0:1m(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:1m(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs) root=PARTUUID=4a333a4e-02 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.012852] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023524] pid_max: default: 32768 minimum: 301
[    0.028268] LSM: Security Framework initializing
[    0.033020] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.040597] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.050159] rcu: Hierarchical SRCU implementation.
[    0.055341] Platform MSI: msi-controller@1820000 domain created
[    0.061522] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.070807] EFI services will not be available.
[    0.075642] smp: Bringing up secondary CPUs ...
[    0.081001] Detected PIPT I-cache on CPU1
[    0.081028] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.081042] GICv3: CPU1: using allocated LPI pending table @0x00000008800d0000
[    0.081080] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.081155] smp: Brought up 1 node, 2 CPUs
[    0.110519] SMP: Total of 2 processors activated.
[    0.115327] CPU features: detected: 32-bit EL0 Support
[    0.120585] CPU features: detected: CRC32 instructions
[    0.134157] CPU: All CPU(s) started at EL2
[    0.138361] alternatives: patching kernel code
[    0.143516] devtmpfs: initialized
[    0.149766] KASLR disabled due to lack of seed
[    0.154495] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.164471] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[    0.172264] pinctrl core: initialized pinctrl subsystem
[    0.177905] DMI not present or invalid.
[    0.182203] NET: Registered protocol family 16
[    0.190041] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.197424] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.205480] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.213851] thermal_sys: Registered thermal governor 'step_wise'
[    0.213854] thermal_sys: Registered thermal governor 'power_allocator'
[    0.220231] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.233899] ASID allocator initialised with 65536 entries
[    0.250622] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[    0.257482] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.264240] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.273779] cryptd: max_cpu_qlen set to 1000
[    0.281271] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR1.0 JTAGID[0x0bb6d02f] Detected
[    0.290190] vsys_3v3: supplied by evm_12v0
[    0.294558] vsys_5v0: supplied by evm_12v0
[    0.299218] iommu: Default domain type: Translated
[    0.304387] SCSI subsystem initialized
[    0.308575] mc: Linux media interface: v0.10
[    0.312967] videodev: Linux video capture interface: v2.00
[    0.318611] pps_core: LinuxPPS API ver. 1 registered
[    0.323686] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.333027] PTP clock support registered
[    0.337047] EDAC MC: Ver: 3.0.0
[    0.340945] FPGA manager framework
[    0.344493] Advanced Linux Sound Architecture Driver Initialized.
[    0.351255] clocksource: Switched to clocksource arch_sys_counter
[    0.357738] VFS: Disk quotas dquot_6.6.0
[    0.361820] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.372017] NET: Registered protocol family 2
[    0.376791] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear)
[    0.385685] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    0.394507] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
[    0.402723] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
[    0.410698] TCP: Hash tables configured (established 32768 bind 32768)
[    0.417558] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.424466] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.431903] NET: Registered protocol family 1
[    0.436817] RPC: Registered named UNIX socket transport module.
[    0.442884] RPC: Registered udp transport module.
[    0.447690] RPC: Registered tcp transport module.
[    0.452494] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.459080] PCI: CLS 0 bytes, default 64
[    0.463469] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.475503] Initialise system trusted keyrings
[    0.480197] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.488724] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.495065] NFS: Registering the id_resolver key type
[    0.500252] Key type id_resolver registered
[    0.504528] Key type id_legacy registered
[    0.508677] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.515533] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.523206] 9p: Installing v9fs 9p2000 file system support
[    0.548331] Key type asymmetric registered
[    0.552528] Asymmetric key parser 'x509' registered
[    0.557539] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.565101] io scheduler mq-deadline registered
[    0.569726] io scheduler kyber registered
[    0.574880] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.581116] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.589490] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.595792] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.603811] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.618006] brd: module loaded
[    0.625698] loop: module loaded
[    0.629330] megasas: 07.714.04.00-rc1
[    0.634283] libphy: Fixed MDIO Bus: probed
[    0.639002] tun: Universal TUN/TAP device driver, 1.6
[    0.644459] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.650874] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.656959] sky2: driver version 1.30
[    0.661307] VFIO - User Level meta-driver version: 0.3
[    0.667095] i2c /dev entries driver
[    0.671208] sdhci: Secure Digital Host Controller Interface driver
[    0.677543] sdhci: Copyright(c) Pierre Ossman
[    0.682328] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.688665] ledtrig-cpu: registered to indicate activity on CPUs
[    0.695034] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.702280] optee: probing for conduit method.
[    0.706855] optee: revision 3.12 (3d47a131)
[    0.707182] optee: initialized driver
[    0.716554] NET: Registered protocol family 17
[    0.721185] 9pnet: Installing 9P2000 support
[    0.725586] Key type dns_resolver registered
[    0.730038] Loading compiled-in X.509 certificates
[    0.739855] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.746247] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.754024] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
[    0.778647] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    0.784958] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    0.791218] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    0.797664] pca953x 3-0021: supply vcc not found, using dummy regulator
[    0.804515] pca953x 3-0021: using no AI
[    0.831816] pca953x 3-0020: supply vcc not found, using dummy regulator
[    0.838654] pca953x 3-0020: using no AI
[    0.843306] pca953x 3-0022: supply vcc not found, using dummy regulator
[    0.850131] pca953x 3-0022: using AI
[    0.854224] random: fast init done
[    0.857993] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    0.864388] pca953x 4-0020: supply vcc not found, using dummy regulator
[    0.871240] pca953x 4-0020: using no AI
[    0.895680] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[    0.901886] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
[    0.908058] omap_i2c 2030000.i2c: bus 6 rev0.12 at 100 kHz
[    0.914226] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[    0.920421] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[    0.926589] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
[    0.932793] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    0.942810] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[    0.951639] ti-sci-intr bus@100000:bus@30000000:interrupt-controller1: Interrupt Router 213 domain created
[    0.961669] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
[    0.971500] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[    0.979191] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
[    0.987473] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
[    0.995751] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    2.003458] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
[    2.009902] pci_bus 0000:00: root bus resource [bus 00-0f]
[    2.015513] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
[    2.025205] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
[    2.032257] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
[    2.038478] pci 0000:00:00.0: supports D1
[    2.042574] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.049258] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.058165] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
[    2.064944] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.070276] pcieport 0000:00:00.0: PME: Signaling with IRQ 36
[    2.077432] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
[    2.087338] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    2.094101] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[    2.103883] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
[    2.114050] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    2.120812] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[    2.128866] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
[    2.138459] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 22, base_baud = 3000000) is a 8250
[    2.147224] printk: console [ttyS2] enabled
[    2.147224] printk: console [ttyS2] enabled
[    2.155664] printk: bootconsole [ns16550a0] disabled
[    2.155664] printk: bootconsole [ns16550a0] disabled
[    2.166330] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 23, base_baud = 3000000) is a 8250
[    2.343263] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
[    2.350740] libphy: 46000f00.mdio: probed
[    2.380113] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    2.388447] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[    2.403760] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[    2.413191] mmc1: CQHCI version 5.10
[    2.418807] vdd_mmc1: supplied by vsys_3v3
[    2.423613] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
[    2.430531] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
[    2.437705] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    2.447693] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
[    2.453962] mmc1: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    2.459938] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    2.468764] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
[    2.475381] Creating 7 MTD partitions on "47040000.spi.0":
[    2.480922] 0x000000000000-0x000000100000 : "ospi.tiboot3"
[    2.487273] 0x000000100000-0x000000300000 : "ospi.tispl"
[    2.493505] 0x000000300000-0x000000700000 : "ospi.u-boot"
[    2.499721] 0x000000700000-0x000000740000 : "ospi.env"
[    2.505456] 0x000000740000-0x000000780000 : "ospi.env.backup"
[    2.511861] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    2.517900] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    2.583762] mmc1: Command Queue Engine enabled
[    2.588221] mmc1: new HS400 MMC card at address 0001
[    2.593592] mmcblk1: mmc1:0001 S0J56X 14.8 GiB
[    2.598334] mmcblk1boot0: mmc1:0001 S0J56X partition 1 31.5 MiB
[    2.604474] mmcblk1boot1: mmc1:0001 S0J56X partition 2 31.5 MiB
[    2.610539] mmcblk1rpmb: mmc1:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
[    2.619674]  mmcblk1: p1 p2
[    2.695270] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
[    2.702755] libphy: 46000f00.mdio: probed
[    2.731915] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    2.740242] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[    2.753797] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    2.760779] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    2.768024] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    2.774431] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
[    2.784735] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[    2.784996] mmc0: CQHCI version 5.10
[    2.798153] ALSA device list:
[    2.801136]   No soundcards found.
[    2.836756] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[    2.844534] Waiting for root device PARTUUID=4a333a4e-02...
[    2.902434] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    2.909512] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    2.919221]  mmcblk0: p1 p2
[    2.945692] EXT4-fs (mmcblk0p2): recovery complete
[    2.950515] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.958634] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    2.970447] devtmpfs: mounted
[    2.974650] Freeing unused kernel memory: 1856K
[    2.979242] Run /sbin/init as init process
/sbin/init: error while loading shared libraries: /usr/lib/libkm[    3.021270] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
od.so.2: file too short
[    3.034433] CPU: 1 PID: 1 Comm: init Not tainted 5.10.41-g4c2eade9f7 #1
[    3.043188] Hardware name: Texas Instruments K3 J7200 SoC (DT)
[    3.049003] Call trace:
[    3.051447]  dump_backtrace+0x0/0x1a0
[    3.055097]  show_stack+0x18/0x68
[    3.058400]  dump_stack+0xd0/0x12c
[    3.061788]  panic+0x16c/0x334
[    3.064830]  do_exit+0x990/0x9c8
[    3.068044]  do_group_exit+0x44/0xa0
[    3.071604]  __wake_up_parent+0x0/0x30
[    3.075341]  el0_svc_common.constprop.0+0x78/0x1a0
[    3.080116]  do_el0_svc+0x24/0x90
[    3.083418]  el0_svc+0x14/0x20
[    3.086459]  el0_sync_handler+0xb0/0xb8
[    3.090280]  el0_sync+0x180/0x1c0
[    3.093583] SMP: stopping secondary CPUs
[    3.097495] Kernel Offset: disabled
[    3.100969] CPU features: 0x0040022,20006008
[    3.105223] Memory Limit: none
[    3.108269] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ]---

  • Hi TI

    Could you please make sure the pre-built image released from website is able to boot up sucessfully? 

    I have checked the J721e' built image on top of DRA829 board(I have DRA829 H/W set only). it could boot up to login prompt without this kernel panic. 

    I supposed the libkmod.so.2.3.4 file seems be broken during copying rootfs due to unknown reason. 

    Can we try to replace the /usr/lib/libkmod.so.2.3.4 file with J721e's release for testing ? It seems the same file.

    If the testing will fix the boor fail. Please check the Rootfs of "tisdk-default-image-j7200-evm.tar.xz".

    Please check this issue since it blocked the customization steps with the new SDK 8.0 since they planned to use SDK 8.0 as the baseline version

    Thanks.

    Regards,

     Jack.

  • Hi Jack/Kim,

    I just built an SD Card freshly with SDK 8.0 of DRA821.

    cd $PSDKLA_PATH/bin
    ./mksdboot.sh --device /dev/sdb --sdk $PSDKLA_PATH

    Booted to u-boot prompt. From U-Boot prompt i gave the below commands:

    env default -a
    saveenv

    boot


    I Used SD boot mode & could boot to Linux prompt without any issues.

    https://pastebin.ubuntu.com/p/P9fKF6FSxk/

    ls -l /usr/lib/libkmod.so.2.3.4
    -rwxr-xr-x 1 root root 80528 Aug 7 2021 /usr/lib/libkmod.so.2.3.4

    May i know which File system you are trying?

    - Keerthy

  • Hi Keerthy

    Thanks for very quick reply.

    They're using SDK-8.0' tisdk-default-image provided by TI release (pre-built) as well as their self built Rootfs.

    Regards, 

    Jack

  • Jack,

    Pre-built  tisdk-default-image provided by TI release works absolutely fine for me. Can you please double check if the right
    file system is getting picked. libkmod.so.2.3.4 file is present by default for me.

    - Keerthy

  • Thanks for the quick response.
    I am using flash write to eMMC .
    After confirming that the setting has been changed, it was confirmed that the boot was performed.
    dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1;rootfs part 0 1 mmcpart 0;tiboot3.bin.raw raw 0x0 0x800 mmcpart 1;tispl.bin.raw raw 0x800 0x1000 mmcpart 1;u-boot.img.raw raw 0x1800 0x2000 mmcpart 1 ;u-env.raw raw 0x3800 0x100 mmcpart 1