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] About WKUP_UART Signal.

Hi,

In the EVM schematic, WKUP_UART0_RXD/TXD  signal are connected through switch (U167).

Should we use the switch? And should we use VSYS_MCUIO_3V3 for switch enable?

Actually, we don't use the swithch, and when we connected mcu uart on our board, kernel crash was occured. Is it related to timing of WKUP_UART signal?

Plus, I attached the log data.

-----------------------------Normal LOG-----------------------------------------------

U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:25 +0000)
SYSFW ABI: 2.6 (firmware rev 0x0013 '19.8.0-v2019.08 (Terrific Llama')
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.1(release):ti2019.02-rc4
NOTICE:  BL31: Built : 03:52:00, Oct 24 2019
I/TC:
I/TC: OP-TEE version: ti2019.02-89-ge5a8779-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Thu Oct 24 03:52:22 UTC 2019 aarch64
I/TC: Initialized

U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:45 +0000)
Reading on-board EEPROM at 0x50 failed 1
Trying to boot from MMC2


U-Boot 2019.01-g66126341c8 (Oct 24 2019 - 03:52:45 +0000)

SoC:   J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Reading on-board EEPROM at 0x50 failed 1
Board: J721EX-PM1-SOM rev E2
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Reading on-board EEPROM at 0x50 failed 1
Net:
Warning: ethernet@046000000 using MAC address from ROM
eth0: ethernet@046000000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
** Unable to read file boot.scr **
81 bytes read in 0 ms
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Card did not respond to voltage select!
12076964 bytes read in 506 ms (22.8 MiB/s)
Load Remote Processor 3 with data@addr=0x80080000 12076964 bytes: Success!
** File not found /lib/firmware/j7-main-r5f1_0-fw **
8856420 bytes read in 366 ms (23.1 MiB/s)
Load Remote Processor 6 with data@addr=0x80080000 8856420 bytes: Success!
8855416 bytes read in 368 ms (22.9 MiB/s)
Load Remote Processor 7 with data@addr=0x80080000 8855416 bytes: Success!
11851876 bytes read in 1633 ms (6.9 MiB/s)
Load Remote Processor 8 with data@addr=0x80080000 11851876 bytes: Success!
13338632 bytes read in 559 ms (22.8 MiB/s)
98400 bytes read in 5 ms (18.8 MiB/s)
3653 bytes read in 2 ms (1.7 MiB/s)
3742 bytes read in 4 ms (913.1 KiB/s)
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Loading Device Tree to 00000000fdda6000, end 00000000fdec1fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 4.19.73-g0cabba2b47 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Thu Oct 24 03:54:33 UTC 2019
[    0.000000] Machine model: Texas Instruments K3 J721E SoC
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] 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 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 31 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 0x00000000a4000000, 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 0x00000000a4100000, size 63 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 0x00000000a8000000, 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 0x00000000a8100000, 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 0x00000000a9000000, 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 0x00000000a9100000, 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 0x00000000aa000000, 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 0x00000000aa100000, size 63 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 0x00000000ae000000, 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 0x00000000ae100000, size 31 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 0x00000000b0000000, 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 0x00000000b0100000, size 127 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 0x00000000b8000000, size 32 MiB
[    0.000000] OF: reserved mem: initialized node vision_apps-dma-memory@b8000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000bc000000, size 576 MiB
[    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories@bc000000, 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.1
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3e4 with crng_init=0
[    0.000000] percpu: Embedded 2 pages/cpu s52632 r8192 d70248 u131072
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for EL2 vector hardening
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 57927
[    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=1236ca8b-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes)
[    0.000000] software IO TLB: mapped [mem 0xf9da0000-0xfdda0000] (64MB)
[    0.000000] Memory: 3029504K/3710976K available (8510K kernel code, 738K rwdata, 3136K rodata, 576K init, 642K bss, 681472K 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=64 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    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: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    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] GIC: using LPI property table @0x00000008c00a0000
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
[    0.000000] CPU0: using LPI pending table @0x00000008c00b0000
[    0.000000] GIC: using cache flushing for LPI property table
[    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.008366] Console: colour dummy device 80x25
[    0.012927] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023596] pid_max: default: 32768 minimum: 301
[    0.028340] Security Framework initialized
[    0.032544] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.039401] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.070748] ASID allocator initialised with 32768 entries
[    0.084276] rcu: Hierarchical SRCU implementation.
[    0.097236] Platform MSI: gic-its@1820000 domain created
[    0.102873] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
[    0.120308] smp: Bringing up secondary CPUs ...
[    0.157229] Detected PIPT I-cache on CPU1
[    0.157251] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.157279] CPU1: using LPI pending table @0x00000008c0310000
[    0.157310] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.157365] smp: Brought up 1 node, 2 CPUs
[    0.185207] SMP: Total of 2 processors activated.
[    0.190018] CPU features: detected: GIC system register CPU interface
[    0.196600] CPU features: detected: 32-bit EL0 Support
[    0.202107] CPU: All CPU(s) started at EL2
[    0.206295] alternatives: patching kernel code
[    0.211408] devtmpfs: initialized
[    0.219897] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.229868] futex hash table entries: 512 (order: -1, 32768 bytes)
[    0.236307] pinctrl core: initialized pinctrl subsystem
[    0.242042] NET: Registered protocol family 16
[    0.246952] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.254516] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.261613] DMA: preallocated 256 KiB pool for atomic allocations
[    0.275064] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.281918] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.289401] cryptd: max_cpu_qlen set to 1000
[    0.294387] vsys_3v3: supplied by evm_12v0
[    0.298658] vsys_5v0: supplied by evm_12v0
[    0.303214] SCSI subsystem initialized
[    0.307280] media: Linux media interface: v0.10
[    0.311924] videodev: Linux video capture interface: v2.00
[    0.317539] pps_core: LinuxPPS API ver. 1 registered
[    0.322613] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.331952] PTP clock support registered
[    0.335965] EDAC MC: Ver: 3.0.0
[    0.339847] Advanced Linux Sound Architecture Driver Initialized.
[    0.346480] clocksource: Switched to clocksource arch_sys_counter
[    0.352790] VFS: Disk quotas dquot_6.6.0
[    0.356831] VFS: Dquot-cache hash table entries: 8192

----------------------------------------------END--------------------------------------------------------------------------------------

----------------------------------------------Kernel Crash LOG--------------------------------------------------------------------------------------


U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:25 +0000)
SYSFW ABI: 2.6 (firmware rev 0x0013 '19.8.0-v2019.08 (Terrific Llama')
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.1(release):ti2019.02-rc4
NOTICE:  BL31: Built : 03:52:00, Oct 24 2019
I/TC:
I/TC: OP-TEE version: ti2019.02-89-ge5a8779-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Thu Oct 24 03:52:22 UTC 2019 aarch64
I/TC: Initialized

U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:45 +0000)
Reading on-board EEPROM at 0x50 failed 1
Trying to boot from MMC2


U-Boot 2019.01-g66126341c8 (Oct 24 2019 - 03:52:45 +0000)

SoC:   J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Reading on-board EEPROM at 0x50 failed 1
Board: J721EX-PM1-SOM rev E2
DRAM:  4 GiB
Flash: ERROR:   Unhandled External Abort received on 0x80000000 at EL3!
ERROR:    exception reason=0 syndrome=0xbf000002
PANIC in EL3 at x30 = 0x000000007000442c
x0 =            0x0000000000000000
x1 =            0x0000000000000060
x2 =            0x0000000000000060
x3 =            0x000000000000000b
x4 =            0x0000000000000062
x5 =            0x0000000000000008
x6 =            0x000000000000003b
x7 =            0x0000000000000000
x8 =            0x00000000fdec3808
x9 =            0x0000000000000008
x10 =           0x00000000000030e8
x11 =           0x00000000fdec35dc
x12 =           0x000000000000305a
x13 =           0x0000000000000da0
x14 =           0x00000000fdec358c
x15 =           0x00000000fdec3808
x16 =           0x000000000000fffc
x17 =           0x0000000000000000
x18 =           0x0000000000000000
x19 =           0x0000000000000000
x20 =           0x00000000bf000002
x21 =           0x00000000fded3950
x22 =           0x00000000800bd8e8
x23 =           0x00000000800b5d75
x24 =           0x00000000800b5d5d
x25 =           0x00000000deadbeef
x26 =           0x0000000000000005
x27 =           0x0000000000000000
x28 =           0x0000000000000000
x29 =           0x0000000070009960
scr_el3 =               0x000000000000073d
sctlr_el3 =             0x0000000030cd183f
cptr_el3 =              0x0000000000000000
tcr_el3 =               0x0000000080803520
daif =          0x00000000000002c0
mair_el3 =              0x00000000004404ff
spsr_el3 =              0x00000000200003c9
elr_el3 =               0x00000000fff3a358
ttbr0_el3 =             0x000000007000e420
esr_el3 =               0x00000000bf000002
far_el3 =               0x0000000000000000
spsr_el1 =              0x0000000000000000
elr_el1 =               0x0000000000000000
spsr_abt =              0x0000000000000000
spsr_und =              0x0000000000000000
spsr_irq =              0x0000000000000000
spsr_fiq =              0x0000000000000000
sctlr_el1 =             0x0000000030d00800
actlr_el1 =             0x0000000000000000
cpacr_el1 =             0x0000000000000000
csselr_el1 =            0x0000000000000000
sp_el1 =                0x0000000000000000
esr_el1 =               0x0000000000000000
ttbr0_el1 =             0x0000000000000000
ttbr1_el1 =             0x0000000000000000
mair_el1 =              0x0000000000000000
amair_el1 =             0x0000000000000000
tcr_el1 =               0x0000000000000000
tpidr_el1 =             0x0000000000000000
tpidr_el0 =             0x0000000000000000
tpidrro_el0 =           0x0000000000000000
dacr32_el2 =            0x0000000000000000
ifsr32_el2 =            0x0000000000000000
par_el1 =               0x0000000000000000
mpidr_el1 =             0x0000000080000000
afsr0_el1 =             0x0000000000000000
afsr1_el1 =             0x0000000000000000
contextidr_el1 =                0x0000000000000000
vbar_el1 =              0x0000000000000000
cntp_ctl_el0 =          0x0000000000000000
cntp_cval_el0 =         0x0000000000000000
cntv_ctl_el0 =          0x0000000000000000
cntv_cval_el0 =         0x0000000000000000
cntkctl_el1 =           0x0000000000000000
sp_el0 =                0x0000000070009960
isr_el1 =               0x0000000000000000
cpuectlr_el1 =          0x0000001b00000040
cpumerrsr_el1 =         0x0000000000000000
l2merrsr_el1 =          0x0000000000000000

-------------------------------------------------------------------END---------------------------------------------------------------------------------------------------------

And I have another log. This log is also occured at UART0, but another board.

------------------------------------LOG---------------------------------------------------------

U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:25 +0000)
SYSFW ABI: 2.6 (firmware rev 0x0013 '19.8.0-v2019.08 (Terrific Llama')
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.1(release):ti2019.02-rc4
NOTICE:  BL31: Built : 03:52:00, Oct 24 2019

-------------------------------------------------------------------------END-----------------------------------------------------------

Please give me the comment!

Thanks,

Manwoo Kim