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.

TDA4VM:linux can not finish ,Unable to handle kernel paging request at virtual address

Part Number: TDA4VM

Hi:

I our customized the TDA4 development board, the LPDDR stuck UBOOT at 3.7G, I reduced the frequency of TDA4 LPDDR to 1.2G, UBOOT passed, Starting kernel...

[0.221377] devtmpfs: the initialized

[0.227317] Unable to handle kernel paging request at virtual address FFBFFFDFFE614976

The log is as follows

U-Boot SPL 2020.01-dirty (Dec 24 2020 - 10:22:14 +0800)

SYSFW ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')

Reading on-board EEPROM at 0x50 failed -1

Trying to boot from MMC2

Loading Environment from MMC... *** Warning - No MMC card found, using default environment

 

Remoteproc 2 started successfully

** File not found /lib/firmware/j7-mcu-r5f0_0-fw **

Starting ATF on ARM64 core...

 

NOTICE: BL31: v2.3():07.00.00.005-dirty

NOTICE: BL31: Built : 14:33:55, Jun 17 2020

 

U-Boot SPL 2020.01-dirty (Dec 22 2020 - 11:22:05 +0800)

SYSFW ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')

Reading on-board EEPROM at 0x50 failed -1

Trying to boot from MMC2

i2c_write: error waiting for data ACK (status=0x116)

Error reading output register

 

 

U-Boot 2020.01-dirty (Dec 22 2020 - 11:22:05 +0800)

 

SoC:   J721E SR1.0

Model: Texas Instruments K3 J721E SoC

Reading on-board EEPROM at 0x50 failed -1

Board: J721EX-PM1-SOM rev E2

DRAM: 4 GiB

not found for dev hbmc-mux

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

Reading on-board EEPROM at 0x50 failed -1

Net:   Could not get PHY for ethernet@046000000: addr 0

phy_connect() failed

No ethernet found.

 

Hit any key to stop autoboot: 0

i2c_write: error waiting for data ACK (status=0x116)

Error reading output register

switch to partitions #0, OK

mmc1 is current device

i2c_write: error waiting for data ACK (status=0x116)

Error reading output register

SD/MMC found on device 1

55 bytes read in 1 ms (53.7 KiB/s)

Loaded env from uEnv.txt

Importing environment from mmc1 ...

1513520 bytes read in 66 ms (21.9 MiB/s)

Load Remote Processor 6 with data@addr=0x80080000 1513520 bytes: Success!

1513520 bytes read in 68 ms (21.2 MiB/s)

Load Remote Processor 7 with data@addr=0x80080000 1513520 bytes: Success!

9314288 bytes read in 158 ms (56.2 MiB/s)

Load Remote Processor 8 with data@addr=0x80080000 9314288 bytes: Success!

16654344 bytes read in 692 ms (23 MiB/s)

89857 bytes read in 8 ms (10.7 MiB/s)

1719 bytes read in 3 ms (559.6 KiB/s)

## Flattened Device Tree blob at 82000000

   Booting using the fdt blob at 0x82000000

   Loading Device Tree to 00000000fdda0000, end 00000000fdeb8fff ... OK

 

Starting kernel ...

 

[   0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]

[   0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Wed Jun 17 14:28:47 UTC 2020

[   0.000000] Machine model: Texas Instruments K3 J721E SoC

[   0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')

[   0.000000] printk: bootconsole [ns16550a0] enabled

[   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 31 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 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] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB

[   0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB

[   0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB

[   0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB

[   0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB

[   0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB

[   0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB

[   0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB

[    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB

[   0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB

[   0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 32 MiB

[   0.000000] OF: reserved mem: initialized node vision_apps-dma-memory@ac000000, compatible id shared-dma-pool

[   0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000ce000000, size 720 MiB

[   0.000000] OF: reserved mem: initialized node vision_apps-core-heap-memory@ce000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB

[   0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool

[   0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB

[   0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool

[   0.000000] cma: Failed to reserve 512 MiB

[   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.0

[   0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 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] Built 1 zonelists, mobility grouping off. Total pages: 35779

[   0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfs);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=2903bc21-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 0x9a800000-0x9e800000] (64MB)

[   0.000000] Memory: 2584064K/2293760K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073709261312K reserved, 0K 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 restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.

[   0.000000] 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: no VLPI support, no direct LPI support

[   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 @8c0800000 (flat, esz 8, psz 64K, shr 0)

[   0.000000] ITS: using cache flushing for cmd queue

[   0.000000] GICv3: using LPI property table @0x00000008c00c0000

[   0.000000] GIC: using cache flushing for LPI property table

[   0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000

[   0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 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.008380] Console: colour dummy device 80x25

[   0.012957] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)

[   0.023627] pid_max: default: 32768 minimum: 301

[   0.028389] LSM: Security Framework initializing

[   0.033157] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)

[   0.040741] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)

[   0.072817] ASID allocator initialised with 32768 entries

[   0.086350] rcu: Hierarchical SRCU implementation.

[   0.099360] Platform MSI: gic-its@1820000 domain created

[   0.105124] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created

[   0.122561] smp: Bringing up secondary CPUs ...

[   0.159564] Detected PIPT I-cache on CPU1

[   0.159600] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000

[   0.159613] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000

[   0.159649] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]

[   0.159716] smp: Brought up 1 node, 2 CPUs

[   0.189067] SMP: Total of 2 processors activated.

[   0.193871] CPU features: detected: 32-bit EL0 Support

[   0.199126] CPU features: detected: CRC32 instructions

[   0.211803] CPU: All CPU(s) started at EL2

[   0.216005] alternatives: patching kernel code

[   0.221377] devtmpfs: initialized

[   0.227317] Unable to handle kernel paging request at virtual address ffbfffdffe614976

[   0.235431] Mem abort info:

[   0.238277]   ESR = 0x96000004

[   0.241393]   EC = 0x25: DABT (current EL), IL = 32 bits

[   0.246816]   SET = 0, FnV = 0

[   0.249928]   EA = 0, S1PTW = 0

[   0.253131] Data abort info:

[   0.256065]   ISV = 0, ISS = 0x00000004

[   0.259978]   CM = 0, WnR = 0

[   0.263002] [ffbfffdffe614976] address between user and kernel address ranges

[   0.270296] Internal error: Oops: 96000004 [#1] PREEMPT SMP

[   0.275986] Modules linked in:

[   0.279105] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.40-g66cf445b76 #1

[   0.286214] Hardware name: Texas Instruments K3 J721E SoC (DT)

[   0.292169] pstate: 80000005 (Nzcv daif -PAN -UAO)

[   0.297079] pc : __pi_strncmp+0xe4/0x208

[   0.301090] lr : __of_add_property_sysfs+0x58/0xe0

[   0.305978] sp : ffff80001118fdb0

[   0.309356] x29: ffff80001118fdb0 x28: 0000000000000000

[   0.314778] x27: 0000000000000000 x26: 0000000000000000

[   0.320200] x25: ffff800010d82c40 x24: 0000000000000000

[   0.325622] x23: 0000000000000000 x22: ffff00087ff27ab0

[   0.331043] x21: ffbfffdffe614976 x20: ffff00087ff27a60

[   0.336465] x19: ffff00087ff27ff0 x18: 0000000000000010

[   0.341888] x17: 00000000564a3adf x16: 00000000b4ba0026

[   0.347309] x15: 09011b0010170b1a x14: 0000000000000003

[   0.352731] x13: 0000000000000000 x12: 0000000000000008

[   0.358153] x11: 0101010101010101 x10: fffffffffffffffa

[   0.363574] x9 : 0000000000000008 x8 : 0000000000000002

[   0.368996] x7 : 606d2c6a626e6b62 x6 : 0000008000000080

[   0.374418] x5 : ffff0008404ccb08 x4 : 0000000000000000

[   0.379839] x3 : ffff800010ffa5d8 x2 : 0000000000000001

[   0.385261] x1 : ffff800010cc7658 x0 : ffbfffdffe614976

[   0.390683] Call trace:

[   0.393175] __pi_strncmp+0xe4/0x208

[   0.396821] __of_attach_node_sysfs+0xac/0x108

[   0.401364] of_core_init+0x74/0xc4

[   0.404921] driver_init+0x20/0x34

[   0.408393] kernel_init_freeable+0x114/0x22c

[   0.412841] kernel_init+0x10/0xfc

[   0.416316] ret_from_fork+0x10/0x18

[   0.419966] Code: 91002129 eb09010a 9a89810c cb0c0042 (38401403)

[   0.426200] ---[ end trace ee56b02e9726f9db ]---

[   0.430937] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

[   0.438762] SMP: stopping secondary CPUs

[   0.442770] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---