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.

AM62A7: Watchdog timer timeout events route to ESM

Part Number: AM62A7

Hello TI team,

Can you help us know how we can rout watch dog timeouts to ESM module?

We see that watchdog driver is in the kernel as below and the ESM module is in u-boot.

https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Watchdog.html?highlight=esm

Can you help us where and how we can configure watch dog with ESM so that watch dog can interrupt to MCU ESM module?

  • Hello Prasad,
    RTI_WDT and ESM on AM64x SoC for your reference:
    - Kernel WDT needs ESM support to make it work
    - ESM support was added in AM64x SDK 8.2 SPL
    - Basic flow for WDT/ESM SoC RESET: WDT timeout event => Main ESM_ERRORz => MCU ESM_ERRORz => SoC RESET
    - WDT/ESM test cmd in kernel “./runltp -P am64xx-evm -f ddt/wdt_test -s WDT_S_FUNC_GETSTATUS”
    - I'm attaching the log I captured with Linux SDK 8.2 on AM64x GP EVM
    "am64_8.2_gp_wdt_esm_1.txt", where CTRLMMR registers readings on RST_CTRL/RST_STAT/RST_SRC for Main and MCU domains are captured in the attached log file for the following two cases for comparison:
    - POR
    - SoC reset triggered from WDT timeout => ESM SoC RESET

    - AM64x ESM in SPL
    git.ti.com/.../am642_init.c

    Best,
    -Hong

    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:24:35, Mar 30 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 00000000             ............
    => md.l 0x04518170 3
    04518170: 00000fff 00000001 00000000             ............
    => boot
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1490 bytes read in 4 ms (363.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 2 ms (0 Bytes/s)
    Already setup.
    19276288 bytes read in 809 ms (22.7 MiB/s)
    54787 bytes read in 7 ms (7.5 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008ffef000, end 000000008ffff602 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.100-g7a7a3af903 (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 Wed Mar 30 16:32:32 UTC 2022
    [    0.000000] Machine model: Texas Instruments AM642 EVM
    [    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] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-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 m4f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a57fffff]
    [    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 2 pages/cpu s49880 r8192 d73000 u131072
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 32736
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=fc40000.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) root=PARTUUID=1ba61380-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1432320K/2097152K available (10880K kernel code, 1288K rwdata, 4352K rodata, 1856K init, 751K bss, 140544K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @a6000000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000000a58c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000a58d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4c4 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.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008537] Console: colour dummy device 80x25
    [    0.013128] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023804] pid_max: default: 32768 minimum: 301
    [    0.028608] LSM: Security Framework initializing
    [    0.033414] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.041007] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.051351] rcu: Hierarchical SRCU implementation.
    [    0.056616] Platform MSI: msi-controller@1820000 domain created
    [    0.062999] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.072289] EFI services will not be available.
    [    0.077293] smp: Bringing up secondary CPUs ...
    [    0.083005] Detected VIPT I-cache on CPU1
    [    0.083044] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
    [    0.083059] GICv3: CPU1: using allocated LPI pending table @0x00000000a58e0000
    [    0.083124] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.083264] smp: Brought up 1 node, 2 CPUs
    [    0.112649] SMP: Total of 2 processors activated.
    [    0.117461] CPU features: detected: 32-bit EL0 Support
    [    0.122736] CPU features: detected: CRC32 instructions
    [    0.136051] CPU: All CPU(s) started at EL2
    [    0.140258] alternatives: patching kernel code
    [    0.146049] devtmpfs: initialized
    [    0.157574] KASLR disabled due to lack of seed
    [    0.162421] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.172392] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.181345] pinctrl core: initialized pinctrl subsystem
    [    0.187352] DMI not present or invalid.
    [    0.191957] NET: Registered protocol family 16
    [    0.204329] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.212001] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.220026] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.228758] thermal_sys: Registered thermal governor 'step_wise'
    [    0.228765] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.235439] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.249136] ASID allocator initialised with 65536 entries
    [    0.284473] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.291351] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.298112] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.306983] cryptd: max_cpu_qlen set to 1000
    [    0.315326] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR1.0 JTAGID[0x0bb3802f] Detected
    [    0.324558] vsys_5v0: supplied by evm_12v0
    [    0.329250] vsys_3v3: supplied by evm_12v0
    [    0.334071] vddb_3v3_display: supplied by vsys_3v3
    [    0.340240] iommu: Default domain type: Translated 
    [    0.345654] SCSI subsystem initialized
    [    0.350165] mc: Linux media interface: v0.10
    [    0.354567] videodev: Linux video capture interface: v2.00
    [    0.360267] pps_core: LinuxPPS API ver. 1 registered
    [    0.365341] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.374704] PTP clock support registered
    [    0.378744] EDAC MC: Ver: 3.0.0
    [    0.382803] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100
    [    0.389728] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100
    [    0.396545] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100
    [    0.404038] FPGA manager framework
    [    0.407676] Advanced Linux Sound Architecture Driver Initialized.
    [    0.415078] clocksource: Switched to clocksource arch_sys_counter
    [    0.421861] VFS: Disk quotas dquot_6.6.0
    [    0.426009] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.439738] NET: Registered protocol family 2
    [    0.444461] IP idents hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.453558] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.462414] TCP established hash table entries: 16384 (order: 1, 131072 bytes, linear)
    [    0.470642] TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linear)
    [    0.478368] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.485276] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.492222] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.499742] NET: Registered protocol family 1
    [    0.504820] RPC: Registered named UNIX socket transport module.
    [    0.510910] RPC: Registered udp transport module.
    [    0.515748] RPC: Registered tcp transport module.
    [    0.520557] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.527159] PCI: CLS 0 bytes, default 64
    [    0.531974] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.545284] Initialise system trusted keyrings
    [    0.550184] workingset: timestamp_bits=46 max_order=15 bucket_order=0
    [    0.561733] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.568531] NFS: Registering the id_resolver key type
    [    0.573765] Key type id_resolver registered
    [    0.578054] Key type id_legacy registered
    [    0.582234] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.589086] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.596969] 9p: Installing v9fs 9p2000 file system support
    [    0.645676] Key type asymmetric registered
    [    0.649884] Asymmetric key parser 'x509' registered
    [    0.654928] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.662498] io scheduler mq-deadline registered
    [    0.667133] io scheduler kyber registered
    [    0.673827] pinctrl-single f4000.pinctrl: 180 pins, size 720
    [    0.680791] pinctrl-single a40000.timesync-router: 512 pins, size 2048
    [    0.697508] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.721736] brd: module loaded
    [    0.732945] loop: module loaded
    [    0.737094] megasas: 07.714.04.00-rc1
    [    0.745468] tun: Universal TUN/TAP device driver, 1.6
    [    0.751523] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.757947] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.764064] sky2: driver version 1.30
    [    0.769070] VFIO - User Level meta-driver version: 0.3
    [    0.775491] i2c /dev entries driver
    [    0.780233] sdhci: Secure Digital Host Controller Interface driver
    [    0.786567] sdhci: Copyright(c) Pierre Ossman
    [    0.791773] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.798921] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.805519] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.813601] optee: probing for conduit method.
    [    0.818233] optee: revision 3.12 (3d47a131)
    [    0.818894] optee: initialized driver
    [    0.829542] NET: Registered protocol family 17
    [    0.834294] 9pnet: Installing 9P2000 support
    [    0.838744] Key type dns_resolver registered
    [    0.843350] Loading compiled-in X.509 certificates
    [    0.863844] ti-sci 44043000.dmsc: ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    [    0.928857] random: fast init done
    [    0.938725] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
    [    0.945220] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.953805] omap_i2c 20000000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.961633] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    0.968589] pca953x 1-0022: using AI
    [    1.024595] Console: switching to mono frame buffer device 12x2
    [    1.059460] ssd1307fb 1-003c: fb0: Solomon SSD1307 framebuffer device registered, using 192 bytes of video memory
    [    1.070160] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.077452] omap_i2c 20020000.i2c: bus 2 rev0.12 at 100 kHz
    [    1.084532] omap_i2c 20030000.i2c: bus 3 rev0.12 at 100 kHz
    [    1.090836] ti-sci-intr bus@f4000:bus@4000000:interrupt-controller1: Interrupt Router 5 domain created
    [    1.100795] ti-sci-intr bus@f4000:interrupt-controller0: Interrupt Router 3 domain created
    [    1.109644] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.131289] j721e-pcie f102000.pcie: host bridge /bus@f4000/pcie@f102000 ranges:
    [    1.138914] j721e-pcie f102000.pcie:       IO 0x0068001000..0x0068010fff -> 0x0068001000
    [    1.147203] j721e-pcie f102000.pcie:      MEM 0x0068011000..0x006fffffff -> 0x0068011000
    [    1.155489] j721e-pcie f102000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x0000000000
    [    2.167851] j721e-pcie f102000.pcie: PCI host bridge to bus 0000:00
    [    2.174294] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.179907] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x68001000-0x68010fff])
    [    2.189599] pci_bus 0000:00: root bus resource [mem 0x68011000-0x6fffffff]
    [    2.196668] pci 0000:00:00.0: [104c:b010] type 01 class 0x060400
    [    2.202822] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xfffffffff 64bit pref]
    [    2.210370] pci 0000:00:00.0: supports D1
    [    2.214472] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.223027] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.233715] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.240549] pci 0000:00:00.0: BAR 0: no space for [mem size 0x1000000000 64bit pref]
    [    2.248468] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x1000000000 64bit pref]
    [    2.256741] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.262368] pcieport 0000:00:00.0: PME: Signaling with IRQ 44
    [    2.269063] ti-bcdma 485c0100.dma-controller: Number of rings: 68
    [    2.276692] ti-bcdma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
    [    2.287032] ti-pktdma 485c0000.dma-controller: Number of rings: 288
    [    2.302080] ti-pktdma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
    [    2.313397] printk: console [ttyS2] disabled
    [    2.317860] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 16, base_baud = 3000000) is a 8250
    [    2.326626] printk: console [ttyS2] enabled
    [    2.326626] printk: console [ttyS2] enabled
    [    2.335073] printk: bootconsole [ns16550a0] disabled
    [    2.335073] printk: bootconsole [ns16550a0] disabled
    [    2.350340] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    2.355378] 7 cmdlinepart partitions found on MTD device fc40000.spi.0
    [    2.361901] Creating 7 MTD partitions on "fc40000.spi.0":
    [    2.367297] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    2.374199] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    2.380833] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    2.387467] 0x000000700000-0x000000740000 : "ospi.env"
    [    2.393861] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    2.400871] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    2.407597] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    2.471090] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.480938] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    2.489166] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000002
    [    2.502560] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
    [    2.509403] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
    [    2.516553] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    2.523310] pps pps0: new PPS source ptp0
    [    2.527716] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    2.541149] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    2.552034] mmc0: CQHCI version 5.10
    [    2.552952] gpio-mux mux-controller: 2-way mux-controller registered
    [    2.570835] vdd_mmc1: supplied by vsys_3v3
    [    2.585307] mmc1: CQHCI version 5.10
    [    2.585420] debugfs: Directory 'pd:114' with parent 'pm_genpd' already present!
    [    2.596334] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.618968] ALSA device list:
    [    2.621967]   No soundcards found.
    [    2.634564] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    2.643041] Waiting for root device PARTUUID=1ba61380-02...
    [    2.694492] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
    [    2.702113] mmcblk1: mmc1:59b4 USD00 15.0 GiB 
    [    2.707367] mmc0: Command Queue Engine enabled
    [    2.711831] mmc0: new HS400 MMC card at address 0001
    [    2.718234] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    2.722971]  mmcblk1: p1 p2
    [    2.726354] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    2.733250] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    2.739399] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    2.748885]  mmcblk0: p1
    [    4.026734] EXT4-fs (mmcblk1p2): 1 orphan inode deleted
    [    4.032055] EXT4-fs (mmcblk1p2): recovery complete
    [    4.098457] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.106680] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    4.131691] devtmpfs: mounted
    [    4.135660] Freeing unused kernel memory: 1856K
    [    4.140232] Run /sbin/init as init process
    [    4.321212] systemd[1]: System time before build time, advancing clock.
    [    4.400000] NET: Registered protocol family 10
    [    4.405688] Segment Routing with IPv6
    [    4.427959] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    4.450276] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    4.492367] systemd[1]: Set hostname to <am64xx-evm>.
    [    4.832285] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    4.845255] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    5.063387] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.070381] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    5.082754] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    5.094505] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    5.115316] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.123558] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.147318] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.155511] systemd[1]: Created slice system-syslog\x2dng.slice.
    [  OK  ] Created slice system-syslog\x2dng.slice.
    [    5.180806] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.203741] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �ts to Console Directory Watch.
    [    5.227630] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�uests to Wall Directory Watch.
    [    5.251588] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.267365] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.287368] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    5.303399] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.320381] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    5.343396] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    5.369340] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.391758] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    5.443142] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    5.452095] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.476083] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.492265] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.516098] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.539838] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.569241] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    5.593093] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.621214] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    5.667388] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    5.689715] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st�odes for the current kernel...
    [    5.721686] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    5.735720] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    5.753904] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.784871] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    5.808582] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    5.826296] cryptodev: loading out-of-tree module taints kernel.
    [    5.864211] systemd[1]: Starting udev Coldplug all Devices...
    [    5.867858] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    5.876214] cryptodev: driver 1.10 loaded.
             Starting udev Coldplug all Devices...
    [    5.916702] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    5.936128] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta� nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    6.137475] systemd-journald[159]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Coldplug all Devices.
             Starting udev Wait for Complete Device Initialization...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    7.663745] CAN device driver interface
    [    7.882287] 93xx46 spi1.0: 16-bit eeprom 
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen �ess of backlight:ssd1307fb0...
    [  OK  ] Started Load/Save Screen B�tness of backlight:ssd1307fb0.
    [    8.543217] davinci_mdio 300b2400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [    8.582931] platform 78000000.r5f: configured R5F for remoteproc mode
    [    8.619522] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@a4000000
    [    8.689686] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    8.696345] davinci_mdio 300b2400.mdio: phy[15]: device 300b2400.mdio:0f, driver TI DP83869
    [    8.873080] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    8.895484] remoteproc remoteproc0: 78000000.r5f is available
    [    8.919261] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    8.930512] remoteproc remoteproc0: powering up 78000000.r5f
    [    8.936304] remoteproc remoteproc0: Booting fw image am64-main-r5f0_0-fw, size 86352
    [    8.958195]  remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [    8.973867] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.974669] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    8.979680]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    8.992760] remoteproc remoteproc0: remote processor 78000000.r5f is now up
    [    9.018965] remoteproc remoteproc1: 5000000.m4fss is available
    [    9.036590] platform 78200000.r5f: configured R5F for remoteproc mode
    [    9.101506] remoteproc remoteproc1: powering up 5000000.m4fss
    [    9.111927] remoteproc remoteproc1: Booting fw image am64-mcu-m4f0_0-fw, size 85476
    [    9.132727] platform 78200000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [    9.139690]  remoteproc1#vdev0buffer: assigned reserved memory node m4f-dma-memory@a4000000
    [    9.160770] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    9.174483]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    9.188577] remoteproc remoteproc1: remote processor 5000000.m4fss is now up
    [    9.204580] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.215713] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    9.240725] m_can_platform 20701000.can: m_can device registered (irq=36, version=32)
    [    9.265042] m_can_platform 20711000.can: m_can device registered (irq=38, version=32)
    [    9.279434] remoteproc remoteproc2: 78200000.r5f is available
    [    9.375288] remoteproc remoteproc2: powering up 78200000.r5f
    [    9.381034] remoteproc remoteproc2: Booting fw image am64-main-r5f0_1-fw, size 141772
    [    9.425846] platform 78400000.r5f: configured R5F for remoteproc mode
    [    9.432415]  remoteproc2#vdev0buffer: assigned reserved memory node r5f-dma-memory@a1000000
    [    9.442775] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    9.443594] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    9.451488]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    9.463184] random: crng init done
    [    9.466608] random: 7 urandom warning(s) missed due to ratelimiting
    [    9.471191] remoteproc remoteproc2: remote processor 78200000.r5f is now up
    [    9.512513] platform 78400000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [  OK  ] Started Load/Save Random Seed.
    [    9.568187] remoteproc remoteproc4: 30034000.pru is available
    [    9.631673] remoteproc remoteproc5: 30004000.rtu is available
    [    9.646649] remoteproc remoteproc3: 78400000.r5f is available
    [    9.658126] remoteproc remoteproc6: 3000a000.txpru is available
    [    9.687766] remoteproc remoteproc7: 30038000.pru is available
    [    9.699661] remoteproc remoteproc3: powering up 78400000.r5f
    [    9.705676] remoteproc remoteproc3: Booting fw image am64-main-r5f1_0-fw, size 93260
    [    9.726106] platform 78600000.r5f: configured R5F for remoteproc mode
    [    9.727203]  remoteproc3#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000
    [    9.741652] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    9.752254]  remoteproc3#vdev0buffer: registered virtio3 (type 7)
    [    9.759313] remoteproc remoteproc3: remote processor 78400000.r5f is now up
    [    9.769155] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [    9.780073] remoteproc remoteproc9: 30006000.rtu is available
    [    9.785401] platform 78600000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    9.825593] remoteproc remoteproc8: 78600000.r5f is available
    [    9.884320] remoteproc remoteproc10: 3000c000.txpru is available
    [    9.890754] remoteproc remoteproc8: powering up 78600000.r5f
    [    9.896669] remoteproc remoteproc8: Booting fw image am64-main-r5f1_1-fw, size 91520
    [    9.911643]  remoteproc8#vdev0buffer: assigned reserved memory node r5f-dma-memory@a3000000
    [    9.924180] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    9.932375]  remoteproc8#vdev0buffer: registered virtio4 (type 7)
    [    9.943183] remoteproc remoteproc8: remote processor 78600000.r5f is now up
    [    9.953931] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xe
    [    9.971668] remoteproc remoteproc11: 300b4000.pru is available
    [    9.988146] remoteproc remoteproc12: 30084000.rtu is available
    [    9.997195] remoteproc remoteproc13: 3008a000.txpru is available
    [   10.015862] remoteproc remoteproc14: 300b8000.pru is available
    [   10.040890] remoteproc remoteproc15: 30086000.rtu is available
    [   10.078735] remoteproc remoteproc16: 3008c000.txpru is available
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1...
    [   12.391363] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: single EMAC mode
    [  OK  ] Found device /dev/mmcblk1p1.
    [   12.469153] omap_rng 40910000.rng: Random Number Generator ver. 241b34c
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
             Mounting /run/media/mmcblk0p1...
             Starting File System Check on /dev/mmcblk1p1...
    [   12.581813] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [   12.957496] usbcore: registered new interface driver usbfs
    [   12.963261] usbcore: registered new interface driver hub
    [   12.975358] usbcore: registered new device driver usb
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Timer service to update the IP on OLED each 10s.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Ethernet Bridge Filtering Tables...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Reboot and dump vmcore via kexec...
             Starting Matrix GUI...
             Starting startwlanap...
             Starting startwlansta...
             Starting System Logger Daemon "default" instance...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
             Starting telnetd.service...
    [   14.242343] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Started Ethernet Bridge Filtering Tables.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [   14.355936] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started startwlanap.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started startwlansta.
    [  OK  ] Reached target Network (Pre).
    [  OK  ] Listening on Load/Save RF �itch Status /dev/rfkill Watch.
             Starting syslog.service...
             Starting Network Service...
    [  OK  ] Started System Logger Daemon "default" instance.
    [  OK  ] Started syslog.service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
    [   15.262837] remoteproc remoteproc11: powering up 300b4000.pru
    [   15.270264] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 37264
    [   15.270294] remoteproc remoteproc11: unsupported resource 5
    [   15.270319] remoteproc remoteproc11: remote processor 300b4000.pru is now up
    [   15.270355] remoteproc remoteproc12: powering up 30084000.rtu
    [   15.279838] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30832
    [   15.279885] remoteproc remoteproc12: remote processor 30084000.rtu is now up
    [   15.279923] remoteproc remoteproc13: powering up 3008a000.txpru
    [   15.303294] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 36656
    [   15.303346] remoteproc remoteproc13: remote processor 3008a000.txpru is now up
    [   15.306697] pps pps1: new PPS source ptp2
    [   15.349904] TI DP83869 300b2400.mdio:0f: attached PHY driver [TI DP83869] (mii_bus:phy_addr=300b2400.mdio:0f, irq=POLL)
    [   15.350410] net eth2: started
    [   15.435526] TI DP83869 0.1:03: attached PHY driver [TI DP83869] (mii_bus:phy_addr=0.1:03, irq=POLL)
    [   15.440878] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down
    [   15.514825] TI DP83867 8000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=8000f00.mdio:00, irq=POLL)
    [   15.519930] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
             Starting Network Name Resolution...
    [   15.406388] startwlansta.sh[817]: Wi-Fi user configuration file missing, exit
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma�ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Vsftpd ftp daemon.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash
    	bc
    	binutils
    	cifs-utils
    	coreutils-stdbuf
    	coreutils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	less
    	libasm1
    	libbfd
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmpc3
    	libmpfr6
    	libreadline8
    	libunistring2
    	m4
    	make
    	nettle
    	parted
    	tar
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Simple Network Man�ement Protocol (SNMP) Daemon..
    [  OK  ] Started Print notice about GPLv3 packages.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am64xx-evm ttyS2
    
    Arago 2021.09 am64xx-evm ttyS2
    
    am64xx-evm login: root
    root@am64xx-evm:~# cd /opt/ltp
    root@am64xx-evm:/opt/ltp# ./runltp -P am64xx-evm -f ddt/wdt_test -s WDT_S_FUNC_GEETSTATUS
    INFO: creating /opt/ltp/results directory
    INFO: Filtering testscenarios based on am64xx-evm capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2021.09"
    VERSION_ID=2021.09
    PRETTY_NAME="Arago 2021.09"
    
    uname:
    Linux am64xx-evm 5.10.100-g7a7a3af903 #1 SMP PREEMPT Wed Mar 30 16:32:32 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=fc40000.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) root=PARTUUID=1ba61380-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 9.2.1 20191025
    Clang                 
    Gnu make               4.3
    util-linux             2.35.1
    mount                  linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
    modutils               26
    e2fsprogs              1.45.7
    Linux C Library        > libc.2.30
    Dynamic linker (ldd)   2.30
    Linux C++ Library      6..
    Procps                 3.3.16
    Net-tools              1.60
    iproute2               iproute2-5.10.0
    iputils                'V'
    ethtool                5.10
    Kbd                    2.2.0
    Sh-utils               8.31
    Modules Loaded         wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill libarc4 rpmsg_char cdns3 udc_core roles usbcore usb_common omap_rng rng_core irq_pruss_intc icssg_prueth crct10dif_ce pru_rproc icss_iep phy_can_transceiver cdns3_ti pci_endpoint_test ti_k3_m4_remoteproc rti_wdt ti_k3_r5_remoteproc virtio_rpmsg_bus pruss sa2ul sha512_generic authenc eeprom_93xx46 m_can_platform m_can can_dev sch_fq_codel cryptodev ipv6
    
    free reports:
                  total        used        free      shared  buff/cache   available
    Mem:        1958464      143104     1544256       25984      271104     1520704
    Swap:             0           0           0
    
    cpuinfo:
    Architecture:                    aarch64
    CPU op-mode(s):                  32-bit, 64-bit
    Byte Order:                      Little Endian
    CPU(s):                    [   44.600931] LTP: starting WDT_S_FUNC_GETSTATUS (source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl getstatus)
          2
    On-line CPU(s) list:             0,1
    Thread(s) per core:              1
    Core(s) per socket:              2
    Socket(s):                       1
    Vendor ID:                       ARM
    Model:                           4
    Model name:                      Cortex-A53
    Stepping:                        r0p4
    BogoMIPS:                        400.00
    L1d cache:                       64 KiB
    L1i cache:                       64 KiB
    L2 cache:                        256 KiB
    Vulnerability Itlb multihit:     Not affected
    Vulnerability L1tf:              Not affected
    Vulnerability Mds:               Not affected
    Vulnerability Meltdown:          Not affected
    Vulnerability Spec store bypass: Not affected
    Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
    Vulnerability Spectre v2:        Not affected
    Vulnerability Srbds:             Not affected
    Vulnerability Tsx async abort:   Not affected
    Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 cpui
                                     d
    
    AppArmor disabled
    
    SELinux mode: unknown
    no big block device was specified on commandline.
    Tests which require a big block device are disabled.
    You can specify it with option -z
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 1015     -n 1015 -p -f /tmp/ltp-dUkka8j6dd/alltests -l /tmp/tmp.rmv7O1rqy0  -C /opt/ltp/output/LTP_RUN_ON-tmp.rmv7O1rqy0.failed -T /opt/ltp/output/LTP_RUN_ON-tmp.rmv7O1rqy0.tconf
    INFO: Restricted to WDT_S_FUNC_GETSTATUS
    LOG File: /tmp/tmp.rmv7O1rqy0
    FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.rmv7O1rqy0.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.rmv7O1rqy0.tconf
    Running tests.......
    <<<test_start>>>
    tag=WDT_S_FUNC_GETSTATUS stime=1648658724
    cmdline="source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl getstatus"
    contacts=""
    analysis=exit
    <<<test_output>>>
    incrementing stop
    |TRACE LOG|Inside do_cmd:CMD=install_modules.sh wdt|
    |TRACE LOG|Inside do_cmd:CMD=wdt_tests -device /dev/watchdog -ioctl getstatus|
    
    
    |TEST START|wdt_tests|
    |TRACE LOG|******** WDT Testcase  parameters  ******** |
    |TRACE LOG|Device         : /dev/watchdog|
    |TRACE LOG|Loop Count     : 1|
    |TRACE LOG|Operation      : Ioctl|
    |TRACE LOG|Ioctl Name     : WDIOC_GETSTATUS|
    |TRACE LOG|Ioctl Arg      : 0 |
    |TRACE LOG| ************* End of Test params ************* |
    |TRACE LOG|STATUS VALUE : 32768 
    Status Is : |
    |TRACE LOG|Keep Alive Ping Reply|
    |TEST RESULT|PASS|wdt_tests|
    |TEST END|wdt_tests|
    |TRACE LOG|EVM will be rebooted after 60 seconds|
    |TRACE LOG|59 seconds remaining before reboot|
    |TRACE LOG|58 seconds remaining before reboot|
    |TRACE LOG|57 seconds remaining before reboot|
    |TRACE LOG|56 seconds remaining before reboot|
    |TRACE LOG|55 seconds remaining before reboot|
    |TRACE LOG|54 seconds remaining before reboot|
    |TRACE LOG|53 seconds remaining before reboot|
    |TRACE LOG|52 seconds remaining before reboot|
    |TRACE LOG|51 seconds remaining before reboot|
    |TRACE LOG|50 seconds remaining before reboot|
    |TRACE LOG|49 seconds remaining before reboot|
    |TRACE LOG|48 seconds remaining before reboot|
    |TRACE LOG|47 seconds remaining before reboot|
    |TRACE LOG|46 seconds remaining before reboot|
    |TRACE LOG|45 seconds remaining before reboot|
    |TRACE LOG|44 seconds remaining before reboot|
    |TRACE LOG|43 seconds remaining before reboot|
    |TRACE LOG|42 seconds remaining before reboot|
    |TRACE LOG|41 seconds remaining before reboot|
    |TRACE LOG|40 seconds remaining before reboot|
    |TRACE LOG|39 seconds remaining before reboot|
    |TRACE LOG|38 seconds remaining before reboot|
    |TRACE LOG|37 seconds remaining before reboot|
    |TRACE LOG|36 seconds remaining before reboot|
    |TRACE LOG|35 seconds remaining before reboot|
    |TRACE LOG|34 seconds remaining before reboot|
    |TRACE LOG|33 seconds remaining before reboot|
    |TRACE LOG|32 seconds remaining before reboot|
    |TRACE LOG|31 seconds remaining before reboot|
    |TRACE LOG|30 seconds remaining before reboot|
    |TRACE LOG|29 seconds remaining before reboot|
    |TRACE LOG|28 seconds remaining before reboot|
    |TRACE LOG|27 seconds remaining before reboot|
    |TRACE LOG|26 seconds remaining before reboot|
    |TRACE LOG|25 seconds remaining before reboot|
    |TRACE LOG|24 seconds remaining before reboot|
    |TRACE LOG|23 seconds remaining before reboot|
    |TRACE LOG|22 seconds remaining before reboot|
    |TRACE LOG|21 seconds remaining before reboot|
    |TRACE LOG|20 seconds remaining before reboot|
    |TRACE LOG|19 seconds remaining before reboot|
    |TRACE LOG|18 seconds remaining before reboot|
    |TRACE LOG|17 seconds remaining before reboot|
    |TRACE LOG|16 seconds remaining before reboot|
    |TRACE LOG|15 seconds remaining before reboot|
    |TRACE LOG|14 seconds remaining before reboot|
    |TRACE LOG|13 seconds remaining before reboot|
    |TRACE LOG|12 seconds remaining before reboot|
    |TRACE LOG|11 seconds remaining before reboot|
    |TRACE LOG|10 seconds remaining before reboot|
    |TRACE LOG|9 seconds remaining before reboot|
    |TRACE LOG|8 seconds remaining before reboot|
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:24:35, Mar 30 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 c0000000             ............
    => md.l 0x04518170 3
    04518170: 00000fff 00000001 c0000000             ............
    => 

  • Hello,

    Thanks for the quick response.

    Our soc is am62a7, but you have suggested for am64x. Does it still applicable for am62a7?

  • Hello Prasad,
    Here is another example on AM62x ESM code in SPL
    git.ti.com/.../am625_init.c

    The SoC architecture is same/similar between AM62x/AM62A.

    Best,
    -Hong

  • Hi Hong Guan,

    Thanks for the support with reference to your AM64X WDT test application we tried to do the same for AM62AX Custom board ,PFA of  the logs ,but i am not able to timeout the WDT ,can you please help me on this

                                                               
    NOTICE:  BL31: v2.6(release):08.03.00.003-dirty
    NOTICE:  BL31: Built : 16:58:45, Aug 25 2022
    
    U-Boot SPL 2021.01-00523-gbd8cf11a40-dirty (Jan 17 2023 - 16:50:55 -0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.0--v09.00.00 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0xff bootindex = 0
    Trying to boot from RAM
    
    
    U-Boot 2021.01-00001-g01ec1fd168-dirty (Jun 21 2023 - 17:08:27 -0400), Build: jenkins-D2H5370_DMSCORE_Int-develop-6
    
    SoC:   AM62AX SR1.0 GP
    Model: Texas Instruments AM62A7 SK
    DRAM:  4 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from MMC... *** Warning - No block device, using default environment
    
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Failed to probe am65_cpsw_nuss driver
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => setenv boot mmc
    => setenv bootpart 1:2
    => boot
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    switch to partitions #0, OK
    mmc1 is current device
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    Failed to load 'uEnv.txt'
    19079680 bytes read in 793 ms (22.9 MiB/s)
    42663 bytes read in 9 ms (4.5 MiB/s)
    ## Flattened Device Tree blob at 8ff00000
       Booting using the fdt blob at 0x8ff00000
       Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.168-g2c23e6c538 (anil@PPL-565U) (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 f
    or the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Thu Aug 3 15:13:38 IST 2023
    [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Memory limited to 1024MB
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: initialized node mcu_r5-msram-memory@43C40000, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node sharebuffer_bigdata_ddr, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0300000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a0300000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b1500000, size 143 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@b1500000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000987fffff]
    [    0.000000]   node   0: [mem 0x0000000098800000-0x000000009b7fefff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a22fffff]
    [    0.000000]   node   0: [mem 0x00000000a2300000-0x00000000b14fffff]
    [    0.000000]   node   0: [mem 0x00000000b1500000-0x00000000ba3fffff]
    [    0.000000]   node   0: [mem 0x00000000ba400000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] cma: Reserved 200 MiB at 0x0000000083400000
    [    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 22 pages/cpu s51288 r8192 d30632 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258047
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mem=1G root=PARTUUID=1ff14cd7-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 252196K/1048572K available (11200K kernel code, 1160K rwdata, 4304K rodata, 1856K init, 433K bss, 591576K reserved, 204800K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing 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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008479] Console: colour dummy device 80x25
    [    0.013061] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023741] pid_max: default: 32768 minimum: 301
    [    0.028533] LSM: Security Framework initializing
    [    0.033297] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.040864] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.050375] rcu: Hierarchical SRCU implementation.
    [    0.055509] Platform MSI: msi-controller@1820000 domain created
    [    0.061763] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070998] EFI services will not be available.
    [    0.075842] smp: Bringing up secondary CPUs ...
    [    0.081193] Detected VIPT I-cache on CPU1
    [    0.081225] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.081237] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.081291] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.082040] Detected VIPT I-cache on CPU2
    [    0.082061] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.082072] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000
    [    0.082104] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.082786] Detected VIPT I-cache on CPU3
    [    0.082805] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.082816] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000
    [    0.082846] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.082906] smp: Brought up 1 node, 4 CPUs
    [    0.162628] SMP: Total of 4 processors activated.
    [    0.167441] CPU features: detected: 32-bit EL0 Support
    [    0.172711] CPU features: detected: CRC32 instructions
    [    0.184668] CPU: All CPU(s) started at EL2
    [    0.188874] alternatives: patching kernel code
    [    0.194390] devtmpfs: initialized
    [    0.203559] KASLR disabled due to lack of seed
    [    0.208271] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.218245] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.231474] pinctrl core: initialized pinctrl subsystem
    [    0.237373] DMI not present or invalid.
    [    0.241896] NET: Registered protocol family 16
    [    0.247966] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.255255] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.263257] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.271874] thermal_sys: Registered thermal governor 'step_wise'
    [    0.271880] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.278424] cpuidle: using governor menu
    [    0.289305] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.296331] ASID allocator initialised with 65536 entries
    [    0.322375] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.329250] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.336116] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.342968] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.350658] cryptd: max_cpu_qlen set to 1000
    [    0.357462] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.366537] vcc_5v0: supplied by vmain_pd
    [    0.370991] vcc_3v3_main: supplied by vmain_pd
    [    0.375920] vcc_3v3_sys: supplied by vcc_3v3_main
    [    0.381489] iommu: Default domain type: Translated 
    [    0.386764] SCSI subsystem initialized
    [    0.390971] mc: Linux media interface: v0.10
    [    0.395357] videodev: Linux video capture interface: v2.00
    [    0.401027] pps_core: LinuxPPS API ver. 1 registered
    [    0.406101] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.415448] PTP clock support registered
    [    0.419480] EDAC MC: Ver: 3.0.0
    [    0.423197] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.430009] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.436795] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.443516] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.450968] FPGA manager framework
    [    0.454512] Advanced Linux Sound Architecture Driver Initialized.
    [    0.461537] clocksource: Switched to clocksource arch_sys_counter
    [    0.467963] VFS: Disk quotas dquot_6.6.0
    [    0.472021] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.484032] Carveout Heap: Exported 0 MiB at 0x0000000043c40000
    [    0.490178] Carveout Heap: Exported 16 MiB at 0x0000000098800000
    [    0.496409] Carveout Heap: Exported 242 MiB at 0x00000000a2300000
    [    0.502752] NET: Registered protocol family 2
    [    0.507333] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.515627] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.524211] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.532188] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.539688] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.546297] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.553086] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.560416] NET: Registered protocol family 1
    [    0.565237] RPC: Registered named UNIX socket transport module.
    [    0.571318] RPC: Registered udp transport module.
    [    0.576129] RPC: Registered tcp transport module.
    [    0.580937] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.587528] NET: Registered protocol family 44
    [    0.592081] PCI: CLS 0 bytes, default 64
    [    0.596808] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.608366] Initialise system trusted keyrings
    [    0.613117] workingset: timestamp_bits=46 max_order=17 bucket_order=0
    [    0.623115] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.629592] NFS: Registering the id_resolver key type
    [    0.634789] Key type id_resolver registered
    [    0.639065] Key type id_legacy registered
    [    0.643212] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.650065] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.657790] 9p: Installing v9fs 9p2000 file system support
    [    0.697859] Key type asymmetric registered
    [    0.702056] Asymmetric key parser 'x509' registered
    [    0.707073] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.714638] io scheduler mq-deadline registered
    [    0.719269] io scheduler kyber registered
    [    0.725426] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.737874] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.756052] brd: module loaded
    [    0.764885] loop: module loaded
    [    0.769017] megasas: 07.714.04.00-rc1
    [    0.775789] tun: Universal TUN/TAP device driver, 1.6
    [    0.781485] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.787901] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.793998] sky2: driver version 1.30
    [    0.798419] VFIO - User Level meta-driver version: 0.3
    [    0.804473] i2c /dev entries driver
    [    0.809210] sdhci: Secure Digital Host Controller Interface driver
    [    0.815534] sdhci: Copyright(c) Pierre Ossman
    [    0.820264] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.827025] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.833491] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.841439] optee: probing for conduit method.
    [    0.846019] optee: revision 3.12 (3d47a131)
    [    0.846436] optee: initialized driver
    [    0.855982] NET: Registered protocol family 17
    [    0.860667] 9pnet: Installing 9P2000 support
    [    0.865095] Key type dns_resolver registered
    [    0.869821] Loading compiled-in X.509 certificates
    [    0.881263] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.0.0--v09.00.00 (Kool Koala)')
    [    0.915596] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=0, ret=-19
    [    0.926218] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=3, ret=-19
    [    0.936828] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19
    [    0.951205] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=130, clk=0, ret=-19
    [    0.961913] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=130, clk=2, ret=-19
    [    0.975351] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=187, clk=0, ret=-19
    [    0.992115] omap-gpmc bus@f0000:memory-controller@3b000000: invalid resource
    [    0.999407] omap-gpmc: probe of bus@f0000:memory-controller@3b000000 failed with error -22
    [    1.010121] pca953x 0-0023: supply vcc not found, using dummy regulator
    [    1.017029] pca953x 0-0023: using AI
    [    1.041597] pca953x 0-0023: failed writing register
    [    1.046729] pca953x: probe of 0-0023 failed with error -121
    [    1.052545] omap_i2c 20010000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.081594] pca954x 1-0071: probe failed
    [    1.085656] omap_i2c 20020000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.092377] omap_i2c 20030000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.098430] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.106768] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.116010] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.125043] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.134148] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.142046] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.152806] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.162612] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.171914] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.178365] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.187672] printk: console [ttyS2] disabled
    [    1.192106] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 16, base_baud = 3000000) is a 8250
    [    1.200866] printk: console [ttyS2] enabled
    [    1.200866] printk: console [ttyS2] enabled
    [    1.209314] printk: bootconsole [ns16550a0] disabled
    [    1.209314] printk: bootconsole [ns16550a0] disabled
    [    1.323833] mmc1: CQHCI version 5.10
    [    1.330140] pca953x 0-0022: supply vcc not found, using dummy regulator
    [    1.336884] pca953x 0-0022: using AI
    [    1.340554] pca953x 0-0022: failed writing register
    [    1.345552] pca953x: probe of 0-0022 failed with error -121
    [    1.356126] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
    [    1.363486] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
    [    1.368193] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.370736] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
    [    1.385640] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.393657] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.400967] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.409425] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=187, clk=0, ret=-19
    [    1.412386] mmc1: new high speed SDHC card at address aaaa
    [    1.425971] mmcblk1: mmc1:aaaa SC32G 29.7 GiB 
    [    1.430536] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=130, clk=2, ret=-19
    [    1.434887]  mmcblk1: p1 p2
    [    1.443689] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=130, clk=0, ret=-19
    [    1.455335] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [    1.465740] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=3, ret=-19
    [    1.476038] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=0, ret=-19
    [    1.490925] ALSA device list:
    [    1.493895]   No soundcards found.
    [    1.604887] EXT4-fs (mmcblk1p2): 1 orphan inode deleted
    [    1.610148] EXT4-fs (mmcblk1p2): recovery complete
    [    1.628375] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.636528] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.652989] devtmpfs: mounted
    [    1.656683] Freeing unused kernel memory: 1856K
    [    1.661310] Run /sbin/init as init process
    [    1.988546] systemd[1]: System time before build time, advancing clock.
    [    2.079097] NET: Registered protocol family 10
    [    2.084403] Segment Routing with IPv6
    [    2.144738] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD 
    -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    2.166717] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    2.216568] systemd[1]: Set hostname to <am62axx-evm>.
    [    2.519572] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring.
    [    2.553099] systemd[1]: Configuration file /etc/systemd/system/dms_app_core.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.576714] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the uni
    t file accordingly.
    [    2.704207] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.714320] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    2.737702] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.746009] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    2.769682] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.777896] systemd[1]: Created slice system-syslog\x2dng.slice.
    [  OK  ] Created slice system-syslog\x2dng.slice.
    [    2.803190] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    2.825971] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    2.849816] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    2.873858] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    2.889661] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    2.909643] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    2.925658] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    2.964889] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    2.985803] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.012710] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.033950] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.060674] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    3.073505] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.094210] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.110317] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.134139] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.153956] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.177875] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.197831] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.225834] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.254985] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    3.274503] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    3.301983] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.317935] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    3.332767] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.366888] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.386493] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.399601] cryptodev: loading out-of-tree module taints kernel.
    [    3.407140] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    3.412104] cryptodev: driver 1.10 loaded.
    [    3.421214] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    3.443506] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    3.462250] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    3.662230] systemd-journald[175]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    3.787129] random: systemd: uninitialized urandom read (16 bytes read)
    [  OK  ] Reached target Local File Systems (Pre).
    [    3.813822] random: systemd: uninitialized urandom read (16 bytes read)
             Mounting /media/ram...[    3.828516] random: systemd-journal: uninitialized urandom read (16 bytes read)
    
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting udev Wait for Complete Device Initialization...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    4.403418] ox05b 2-0010: inck rate: 24000000 Hz
    [    4.413653] tlv320aic3x-codec 0-001b: supply DVDD not found, using dummy regulator
    [    4.432201] tlv320aic3x-codec 0-001b: Invalid supply voltage(s) AVDD: 3300000, DVDD: -22
    [    4.441822] ox05b_detect ox05b_detect: detected chip ID 0x0558
    [    4.451876] ox05b 2-0010: ox05b probed
    [    4.483398] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.493881] vdec 30210000.video-codec: sram node not found
    [    4.501290] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [    4.501453] platform 79000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    4.510822] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [    4.514605] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514612] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514617] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514622] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514627] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514632] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514637] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514642] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514646] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514651] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514656] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514660] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514665] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514670] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514675] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514680] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514685] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514689] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514694] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514699] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514703] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514708] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514713] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514718] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514722] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514727] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514732] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514737] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514741] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514746] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514751] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514756] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514761] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514766] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514771] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514775] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514780] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514785] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514790] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514794] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514799] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514804] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514808] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514813] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514818] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514823] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514828] ti-udma 485c0100.dma-controller: No configuration for psi-l thread 0x4700
    [    4.514834] ti-udma 485c0100.dma-controller: get channel fail in udma_of_xlate.
    [    4.515119] j721e-csi2rx: probe of 30102000.ticsi2rx failed with error -22
    [    4.525645] platform 79000000.r5f: configured R5F for IPC-only mode
    [    4.528587] remoteproc remoteproc0: 7e000000.dsp is available
    [    4.549699] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [    4.767235] remoteproc remoteproc0: powering up 7e000000.dsp
    [    4.771809] remoteproc remoteproc1: 79000000.r5f is available
    [    4.772572] vdec 30210000.video-codec: IRQ index 0 not found
    [    4.772578] vdec 30210000.video-codec: failed to get irq resource
    [    4.779534] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 6889528
    [    4.787178] remoteproc remoteproc1: attaching to 79000000.r5f
    [    4.803048] remoteproc remoteproc0: unsupported resource 65538
    [    4.810843] platform 79000000.r5f: R5F core initialized in IPC-only mode
    [    4.824184] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000
    [    4.826383]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9b800000
    [    4.826756] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    4.838800] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    4.842843]  remoteproc1#vdev0buffer: registered virtio0 (type 7)
    [    5.014677] remoteproc remoteproc1: remote processor 79000000.r5f is now attached
    [    5.014769] rti_wdt Probe start
    [    5.014838] ti-mcrc bus@f0000:mcrc@30300000: invalid resource
    [    5.022404]  remoteproc0#vdev0buffer: assigned reserved memory node c7x-dma-memory@99800000
    [    5.031335] rti_wdt Probe end
    [    5.039839] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.041273] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    5.042917]  remoteproc0#vdev0buffer: registered virtio1 (type 7)
    [    5.043252] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.049344] platform 78000000.r5f: configured R5F for IPC-only mode
    [    5.055421] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [    5.086725] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [    5.095441] remoteproc remoteproc2: 78000000.r5f is available
    [    5.101492] remoteproc remoteproc2: attaching to 78000000.r5f
    [    5.107366] rti_wdt Probe start
    [    5.107692] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    5.117819]  remoteproc2#vdev0buffer: assigned reserved memory node r5f-dma-memory@9c800000
    [    5.118977] rti_wdt Probe end
    [    5.126966] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    5.133150] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    5.135508] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    5.142774] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    5.152064]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    5.163513] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    5.170779] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [    5.170929] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [    5.190831] rti_wdt Probe start
    [    5.191087] rti_wdt Probe end
    [    5.201602] rti_wdt Probe start
    [    5.204914] rti_wdt Probe end
    [    5.212628] clk: failed to reparent clk:130:0 to clk:130:2: -22
    [    5.251530] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.258940] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.269769] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.945590] random: crng init done
    [    5.949005] random: 118 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [    6.100240] clk: failed to reparent clk:130:0 to clk:130:2: -22
    [    6.114596] clk: failed to reparent clk:130:0 to clk:130:2: -22
    [    6.159201] clk: failed to reparent clk:130:0 to clk:130:2: -22
    [  OK  ] Reached target Hardware activated USB gadget.
    [    6.241056] usbcore: registered new interface driver usbfs
    [    6.246686] usbcore: registered new interface driver hub
    [    6.252139] usbcore: registered new device driver usb
    [    6.308735] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    6.314338] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    6.322338] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    6.331823] xhci-hcd xhci-hcd.0.auto: irq 448, io mem 0x31100000
    [    6.338048] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    6.343579] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    6.351273] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [    6.357980] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    6.366298] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.373587] usb usb1: Product: xHCI Host Controller
    [    6.378489] usb usb1: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd
    [    6.385140] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    6.390706] hub 1-0:1.0: USB hub found
    [    6.394670] hub 1-0:1.0: 1 port detected
    [  OK  ] Created slice system-systemd\x2dfsc[    6.400392] clk: failed to reparent clk:130:0 to clk:130:2: -22
    k.slice.
    [    6.401754] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    6.419805] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    6.428188] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.435573] usb usb2: Product: xHCI Host Controller
    [    6.440545] usb usb2: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd
    [    6.441136] clk: failed to reparent clk:130:0 to clk:130:2: -22
    [    6.447176] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    6.448255] hub 2-0:1.0: USB hub found
    [    6.461929] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
    [    6.474270] clk: failed to reparent clk:130:0 to clk:130:2: -22
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Ethernet Bridge Filtering Tables...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting System Logger Daemon "default" instance...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
             Starting weston.service...
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started Ethernet Bridge Filtering Tables.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
             Mounting /run/media/mmcblk1p1...
             Starting Network Service...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started System Logger Daemon "default" instance.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting DMS APP Core Application...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Vsftpd ftp daemon.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [    7.982685] using random self ethernet address
    [    7.988171] using random host ethernet address
    [    8.005571] using host ethernet address: 12:34:56:78:9a:bd
    [    8.005578] using self ethernet address: 12:34:56:78:9a:bc
    [    8.017668] usb0: HOST MAC 12:34:56:78:9a:bd
    [    8.027522] usb0: MAC 12:34:56:78:9a:bc
    [    8.041642] using random self ethernet address
    [    8.047613] using random host ethernet address
    [    8.053832] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [    8.065608] g_ether gadget: g_ether ready
    [  OK  ] Started DMS APP Core Application.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting EdgeAI OOB demos...
             Starting Matrix GUI...
             Starting telnetd.service...
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started telnetd.service.
             Starting LSB: Expand Rootfs of boot device...
             Starting syslog.service...
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            hidapi
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            python3-rfc3987
            python3-strict-rfc3339
            tar
            which
            zeromq
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started syslog.service.
    [  OK  ] Started LSB: Expand Rootfs of boot device.
    [   12.824346] ------------[ cut here ]------------
    [   12.828978] WARNING: CPU: 1 PID: 541 at kernel/irq/manage.c:1816 free_irq+0x33c/0x370
    [   12.836791] Modules linked in: usb_f_ecm g_ether usb_f_rndis u_ether libcomposite xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles usb_common rpmsg_char crct10dif_ce snd_soc_simple_card snd_soc_simp
    le_card_utils dwc3_am62 rti_wdt mcrc ti_k3_dsp_remoteproc ti_k3_r5_remoteproc wave5 virtio_rpmsg_bus j721e_csi2rx sa2ul v4l2_mem2mem videobuf2_dma_contig sha512_generic videobuf2_memops cdns_dphy authenc
     videobuf2_v4l2 videobuf2_common pruss snd_soc_tlv320aic3x pwm_tiehrpwm sch_fq_codel cryptodev(O) ipv6 [last unloaded: ox05b]
    [   12.883152] CPU: 1 PID: 541 Comm: (agetty) Tainted: G           O      5.10.168-g2c23e6c538 #1
    [   12.883161] Hardware name: Texas Instruments AM62A7 SK (DT)
    [   12.897324] pstate: 40000085 (nZcv daIf -PAN -UAO -TCO BTYPE=--)
    [   12.903339] pc : free_irq+0x33c/0x370
    [   12.903351] lr : free_irq+0x320/0x370
    [   12.910649] sp : ffff800011e7bbc0
    [   12.910652] x29: ffff800011e7bbc0 x28: 0000000000000001 
    [   12.919269] x27: 00000000ffffffff x26: ffff00001112e004 
    [   12.924577] x25: 0000000000000010 x24: ffff0000002872dc 
    [   12.929890] x23: ffff000000287390 x22: ffff80001127fe88 
    [   12.929897] x21: 0000000000000000 x20: ffff0000016bf580 
    [   12.940497] x19: ffff000000287200 x18: 0000000000000000 
    [   12.945802] x17: 0000000000000000 x16: 0000000000000000 
    [   12.945811] x15: 0000000000000000 x14: 0000000000000000 
    [   12.956407] x13: 0000000000000000 x12: 0000000000000000 
    [   12.956416] x11: 0000000000000040 x10: ffff8000111a0790 
    [   12.967012] x9 : ffff8000111a0788 x8 : ffff000000400270 
    [   12.967018] x7 : 0000000000000000 x6 : 0000000000000000 
    [   12.967023] x5 : ffff000000287260 x4 : 0000000000040000 
    [   12.967029] x3 : ffff8000104fa588 x2 : 0000000000000012 
    [   12.982920] x1 : ffff000000287200 x0 : ffff800010b0bdd8 
    [   12.993520] Call trace:
    [   12.993531]  free_irq+0x33c/0x370
    [   12.993538]  omap_8250_shutdown+0xe8/0x100
    [   12.993545]  serial8250_shutdown+0x18/0x38
    [   12.993552]  uart_port_shutdown+0x40/0x58
    [   12.993557]  uart_shutdown+0x190/0x250
    [   12.993560]  uart_hangup+0x70/0x170
    [   12.993568]  __tty_hangup.part.0+0x3fc/0x410
    [   12.993573]  tty_ioctl+0x2e8/0xd58
    [   12.993579]  __arm64_sys_ioctl+0xa8/0xf0
    [   12.993587]  el0_svc_common.constprop.0+0x78/0x1c8
    [   12.993591]  do_el0_svc+0x24/0xa0
    [   12.993597]  el0_svc+0x14/0x20
    [   12.993601]  el0_sync_handler+0xb0/0xb8
    [   12.993606]  el0_sync+0x180/0x1c0
    [   12.993610] ---[ end trace 2792fb2570c54111 ]---
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62axx-evm ttyS2
    
    Arago 2021.09 am62axx-evm ttyS2
    
    am62axx-evm login: root
    
    
    
    ^[[51;203Rroot@am62axx-evm:/opt/edgeai-gst-apps# 1;203R
    -sh: 1: command not found
    -sh: 203R: command not found
    root@am62axx-evm:/opt/edgeai-gst-apps# 
    root@am62axx-evm:/opt/edgeai-gst-apps# 
    root@am62axx-evm:/opt/edgeai-gst-apps# 
    root@am62axx-evm:/opt/edgeai-gst-apps# cd
    root@am62axx-evm:~# 
    root@am62axx-evm:~# 
    root@am62axx-evm:~# 
    root@am62axx-evm:~# 2023 Feb 27 10:38:50 am62axx-evm Process 922 (edgeai-gui-app) of user 0 dumped core.
    
    root@am62axx-evm:~# 
    root@am62axx-evm:~# 
    s WDT_S_FUNC_GEETSTATUSunltp -P am62axx_sk-fs -f /opt/ltp/runtest/ddt/wdt_test -s
    -sh: ./runltp: No such file or directory
    root@am62axx-evm:~# cd /opt/
    containerd/           edgeai-tiovx-kernels/ ti-gpio-cpp/
    edgeai-dl-inferer/    edgeai-tiovx-modules/ ti-gpio-py/
    edgeai-gst-apps/      imaging/              tidl_test/
    edgeai-gst-plugins/   ltp/                  vision_apps/
    edgeai-studio-agent/  model_zoo/            
    edgeai-test-data/     oob-demo-assets/      
    root@am62axx-evm:~# cd /opt/
    containerd/           edgeai-tiovx-kernels/ ti-gpio-cpp/
    edgeai-dl-inferer/    edgeai-tiovx-modules/ ti-gpio-py/
    edgeai-gst-apps/      imaging/              tidl_test/
    edgeai-gst-plugins/   ltp/                  vision_apps/
    edgeai-studio-agent/  model_zoo/            
    edgeai-test-data/     oob-demo-assets/      
    root@am62axx-evm:~# cd /opt/ltp/
    _test -s WDT_S_FUNC_GEETSTATUSunltp -P am62axx_sk-fs -f /opt/ltp/runtest/ddt/wdt_
    INFO: creating /opt/ltp/results directory
    INFO: Filtering testscenarios based on am62axx_sk-fs capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2021.09"
    VERSION_ID=2021.09
    PRETTY_NAME="Arago 2021.09"
    
    uname:
    Linux am62axx-evm 5.10.168-g2c23e6c538 #1 SMP PREEMPT Thu Aug 3 15:13:38 IST 2023 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mem=1G root=PARTUUID=1ff14cd7-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 9.2.1 20191025
    Clang                 
    Gnu make               4.3
    util-linux             2.35.1
    mount                  linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
    modutils               26
    e2fsprogs              1.45.7
    Linux C Library        > libc.2.30
    Dynamic linker (ldd)   2.30
    Linux C++ Library      6..
    Procps                 3.3.16
    Net-tools              1.60
    iproute2               iproute2-5.10.0
    iputils                'V'
    ethtool                5.10
    Kbd                    2.2.0
    Sh-utils               8.31
    Modules Loaded         usb_f_ecm g_ether usb_f_rndis u_ether libcomposite xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles usb_common rpmsg_char crct10dif_ce snd_soc_simple_card snd_soc_simple_card_uti
    ls dwc3_am62 rti_wdt mcrc ti_k3_dsp_remoteproc ti_k3_r5_remoteproc wave5 virtio_rpmsg_bus j721e_csi2rx sa2ul v4l2_mem2mem videobuf2_dma_contig sha512_generic videobuf2_memops cdns_dphy authenc videobuf2_
    v4l2 videobuf2_common pruss snd_soc_tlv320aic3x pwm_tiehrpwm sch_fq_codel cryptodev ipv6
    
    free reports:
                  total        used        free      shared  buff/cache   available
    Mem:         458852       66172      203004        9544      189676      372244
    Swap:             0           0           0
    
    cpuinfo:
    Architecture:                    aarch64
    CPU op-mode(s):                  32-bit, 64-bit
    Byte Order:                      Little Endian
    CPU(s):                          4
    On-line CPU(s) list:             0-3
    Thread(s) per core:              1
    Core(s) per socket:              4
    Socket(s):                       1
    Vendor ID:                       ARM
    Model:                           4
    Model name:                      Cortex-A53
    Stepping:                        r0p4
    BogoMIPS:                        400.00
    L1d cache:                       128 KiB
    L1i cache:                       128 KiB
    L2 cache:                        256 KiB
    Vulnerability Itlb multihit:     Not affected
    Vulnerability L1tf:              Not affected
    Vulnerability Mds:               Not affected
    Vulnerability Meltdown:          Not affected
    Vulnerability Mmio stale data:   Not affected
    Vulnerability Retbleed:          Not affected
    Vulnerability Spec store bypass: Not affected
    Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
    Vulnerability Spectre v2:        Not affected
    Vulnerability Srbds:             Not affected
    Vulnerability Tsx async abort:   Not affected
    Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 cpui
                                     d
    
    AppArmor disabled
    
    SELinux mode: unknown
    no big block device was specified on commandline.
    Tests which require a big block device are disabled.
    You can specify it with option -z
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 1211     -n 1211 -p -f /tmp/ltp-UiXuuYlyoR/alltests -l /tmp/tmp.F1W8ghHv9m  -C /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.failed -T /opt/ltp/output/LTP_RUN_ON
    -tmp.F1W8ghHv9m.tconf
    INFO: Restricted to WDT_S_FUNC_GEETSTATUS
    LOG File: /tmp/tmp.F1W8ghHv9m
    FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.tconf
    Running tests.......
    pan(1211): Must supply a file collection or a command
    INFO: ltp-pan reported all tests PASS
    LTP Version: 20210524-2561-g58c567cb0
            
           ###############################################################"
            
                Done executing testcases."
                LTP Version:  20210524-2561-g58c567cb0
                Result log is in the /tmp/tmp.F1W8ghHv9m "
           ###############################################################"
           
    Test Start Time: Mon Feb 27 10:40:08 2023
    -----------------------------------------
    Testcase                                           Result     Exit Value
    --------                                           ------     ----------
    root@am62axx-evm:/opt/ltp# [  129.731198] Initializing XFRM netlink socket
    
    root@am62axx-evm:/opt/ltp# [  132.464990] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  132.485932] Bridge firewalling registered
    [  133.480029] process 'docker/tmp/qemu-check217518800/check' started with executable stack
    
    root@am62axx-evm:/opt/ltp#  
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# 
    root@am62axx-evm:/opt/ltp# cat /tmp/tmp.F1W8ghHv9m
    Test Start Time: Mon Feb 27 10:40:08 2023
    -----------------------------------------
    Testcase                                           Result     Exit Value
    --------                                           ------     ----------
    root@am62axx-evm:/opt/ltp# cat /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.failed
    cat: /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.failed: No such file or directory
    root@am62axx-evm:/opt/ltp# cat /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.tconf
    cat: /opt/ltp/output/LTP_RUN_ON-tmp.F1W8ghHv9m.tconf: No such file or directory
    root@am62axx-evm:/opt/ltp# 
    
    
    

  • Hello Prasad,
    Sorry for my late response as I was out of office last week.
    The ESM glue logic code as referenced in my previouis reply on AM64x/AM62x is not currently in AM62A R5-SPL code.
    You might want to add the similar code in AM62A R5-SPL code...
    Best,
    -Hong

  • Hi Hong Guan ,

    we ported the required changes to service the watchdog from  samples/watchdog/watchdog-simple.c to our application ,and driver was inserted with below argument

    insmod /lib/modules/5.10.168-g2c23e6c538/kernel/drivers/watchdog/rti_wdt.ko heartbeat=10

    now once the application is stopped ,we observed the register 

    RTI4_WDSTATUS Register
    RTI0 0E00 0098h 

    While application servicing the watchdog the register value is  0x0E000098 : 0x00000028
    once i stop the watchdog servicing application after 8~10 seconds value is 0x0E000098 : 0x0000003A

    So as BIT(1) is set we assume that watchdog timer is expired and the status is updated accordingly in the registers

    Here the question is 
    1)we see the default driver for watchdog triggers NMI "writel_relaxed (RTIWWDRX_NMI, wdt->base + RTIWWDRXCTRL); "   
    so how is the error reported to MCUR5 ESM ,is it from A53 ESM to MCUR5 ESM  ?
    2)if its A53 ESM how to redirect the Error interrupt output route to MCU ESM  ?

  • Hello Prasad,

    Basic flow for WDT/ESM SoC RESET: WDT timeout event => Main ESM_ERRORz => MCU ESM_ERRORz => SoC RESET
    The ESM glue logic code as referenced in my previouis reply on AM64x/AM62x is not currently in AM62A R5-SPL code.

    Have we ported the code in AM62A R5-SPL?
    Best,
    -Hong

  • Hi Hong,

    We are also facing similar issue when testing watchdog in SDK 9.0 watchdog gets registered but when triggered board is not resetting.

    I tried to add the ESM glue logic in uboot (arch/arm/mach-k3/am62a7_init.c file) similar to AM62X but below error is shown in R5-SPL while booting.

    esm main init failed

    esm mcu init failed

    Is there any patch available for ESM glue logic for AM62A7?

  • Basic flow for WDT/ESM SoC RESET: WDT timeout event => Main ESM_ERRORz => MCU ESM_ERRORz => SoC RESET

    I think the SoC-level flow is applicable for AM62A SoC.
    Let me check with SW team on Linux (u-boot/kernel...) readiness for RTI_WDT => ESM => SoC RESET user case...
    Best,
    -Hong

  • Hello Hong Guan,

    we have ported the ESM glue logic in the below files and below is the git diff

    1)
    diff --git a/arch/arm/dts/k3-am62a7-r5-sk.dts b/arch/arm/dts/k3-am62a7-r5-sk.dts
    index 1baba79795..7c9ecc52bc 100644
    --- a/arch/arm/dts/k3-am62a7-r5-sk.dts
    +++ b/arch/arm/dts/k3-am62a7-r5-sk.dts
    @@ -5,7 +5,7 @@
    */

    #include "k3-am62a7-sk.dts"
    -#include "k3-am62a-ddr-1866mhz-32bit.dtsi"
    +#include "k3-am62a-magna-ddr-1600mhz-32bit.dtsi"
    #include "k3-am62a-ddr.dtsi"

    #include "k3-am62a7-sk-u-boot.dtsi"
    @@ -100,6 +100,27 @@
    };
    };

    +&cbass_main {
    + main_esm: esm@420000 {
    + compatible = "ti,j721e-esm";
    + reg = <0x0 0x420000 0x0 0x1000>;
    + ti,esm-pins = <160>, <161>;
    + u-boot,dm-spl;
    + };
    +};
    +
    +&cbass_mcu {
    + u-boot,dm-spl;
    + mcu_esm: esm@4100000 {
    + compatible = "ti,j721e-esm";
    + reg = <0x0 0x4100000 0x0 0x1000>;
    + ti,esm-pins = <0>, <1>;
    + u-boot,dm-spl;
    + };
    +};

    2)
    diff --git a/arch/arm/dts/k3-am62a7-sk.dts b/arch/arm/dts/k3-am62a7-sk.dts
    index 859a04ff0b..6fa6099d4f 100644
    --- a/arch/arm/dts/k3-am62a7-sk.dts
    +++ b/arch/arm/dts/k3-am62a7-sk.dts

    +&cbass_main {
    + main_esm: esm@420000 {
    + compatible = "ti,j721e-esm";
    + reg = <0x0 0x420000 0x0 0x1000>;
    + ti,esm-pins = <160>, <161>;
    + u-boot,dm-spl;
    + };
    +};
    +
    +&cbass_mcu {
    + u-boot,dm-spl;
    + mcu_esm: esm@4100000 {
    + compatible = "ti,j721e-esm";
    + reg = <0x0 0x4100000 0x0 0x1000>;
    + ti,esm-pins = <0>, <1>;
    + u-boot,dm-spl;
    + };
    +};

    3)

    diff --git a/arch/arm/mach-k3/am62a7_init.c b/arch/arm/mach-k3/am62a7_init.c
    index 926585725a..710016341e 100644
    --- a/arch/arm/mach-k3/am62a7_init.c
    +++ b/arch/arm/mach-k3/am62a7_init.c
    @@ -15,6 +15,9 @@
    #include <dm/uclass-internal.h>
    #include <dm/pinctrl.h>

    +#define CTRLMMR_MCU_RST_CTRL 0x04518170
    +#define RST_CTRL_ESM_ERROR_RST_EN_Z_MASK (~BIT(17))
    +

    #if defined(CONFIG_SPL_BUILD)
    struct fwl_data cbass_main_fwls[] = {
    @@ -93,6 +96,17 @@ static void setup_qos(void)
    }
    #endif

    +
    +static __maybe_unused void enable_mcu_esm_reset(void)
    +{
    + printf("U-boot-Anil-Print");
    + /* Set CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RST_EN_Z to '0' (low active) */
    + u32 stat = readl(CTRLMMR_MCU_RST_CTRL);
    +
    + stat &= RST_CTRL_ESM_ERROR_RST_EN_Z_MASK;
    + writel(stat, CTRLMMR_MCU_RST_CTRL);
    +}
    +
    void board_init_f(ulong dummy)
    {
    struct udevice *dev;
    @@ -177,6 +191,21 @@ void board_init_f(ulong dummy)
    /* Output System Firmware version info */
    k3_sysfw_print_ver();

    + if (IS_ENABLED(CONFIG_ESM_K3)) {
    + /* Probe/configure ESM0 */
    + ret = uclass_get_device_by_name(UCLASS_MISC, "esm@420000", &dev);
    + if (ret)
    + printf("esm main init failed: %d\n", ret);
    +
    + /* Probe/configure MCUESM */
    + ret = uclass_get_device_by_name(UCLASS_MISC, "esm@4100000", &dev);
    + if (ret)
    + printf("esm mcu init failed: %d\n", ret);
    +
    + printf("Inside if (IS_ENABLED(CONFIG_ESM_K3)) Anil enable mcu reset");
    + enable_mcu_esm_reset();
    + }
    +
    /* Disable ROM configured firewalls right after loading sysfw */
    remove_fwl_configs(cbass_main_fwls, ARRAY_SIZE(cbass_main_fwls));



    4)
    am62a-arm64-linux/.config:1150:CONFIG_ESM_K3=y

    The files used 

    u-boot-SPL-file :Linux/build/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/u-boot_build/a53/spl/u-boot-spl.bin
    Uboot:inux/build/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/u-boot_build/a53/u-boot-dtb.bin -->u-boot.img



    After Porting the ESM glue Logic i read before and after ESM related registers and we see there is no change WKUP_ESM0 related register PFA of the files with all the register read values before and after the watchdog 

    Before watchdog expire
    WDT_STATUS
    /dev/mem opened.
    Memory mapped at address 0xffff8cd81000.
    Read at address 0x0E000098 (0xffff8cd81098): 0x00000000

    after watchdog expired
    WDT_STATUS
    /dev/mem opened.
    Memory mapped at address 0xffffb398b000.
    Read at address 0x0E000098 (0xffffb398b098): 0x00000032

     we observed only  main ESM related registers changing here j =6
    ESM_ERR_GRP_RAW_6
    ESM_ERR_GRP_STS_6

    ESM_ERR_GRP_INTR_EN_SET_6
    ESM_ERR_GRP_INTR_EN_CLR_6

    ESM_ERR_GRP_INT_PRIO_6
    ESM_ERR_GRP_PIN_EN_SET_6

    ESM_ERR_GRP_PIN_EN_CLR_6

    only BIT(0) of all register of ESM0 main and no WKUP_ESM0 related registers are getting updated i have attached the devmem read of all the register related to same


     

    the below are the register base adresses before watchdog timer
    
    WDT_STATUS
    /dev/mem opened.
    Memory mapped at address 0xffff8cd81000.
    Read at address  0x0E000098 (0xffff8cd81098): 0x00000000
    Register values for ESM0:
    Offset       Value
    -------------------
    0x0x4    0x/dev/mem opened.
    Memory mapped at address 0xffff80284000.
    Read at address  0x00420004 (0xffff80284004): 0x00000107
    0x0x8    0x/dev/mem opened.
    Memory mapped at address 0xffff915af000.
    Read at address  0x00420008 (0xffff915af008): 0x00000000
    0x0xC    0x/dev/mem opened.
    Memory mapped at address 0xffff9e077000.
    Read at address  0x0042000C (0xffff9e07700c): 0x00000000
    0x0x10    0x/dev/mem opened.
    Memory mapped at address 0xffff95807000.
    Read at address  0x00420010 (0xffff95807010): 0x00000000
    0x0x14    0x/dev/mem opened.
    Memory mapped at address 0xffff8a618000.
    Read at address  0x00420014 (0xffff8a618014): 0x00000000
    0x0x18    0x/dev/mem opened.
    Memory mapped at address 0xffff98ccf000.
    Read at address  0x00420018 (0xffff98ccf018): 0x00000000
    0x0x1C    0x/dev/mem opened.
    Memory mapped at address 0xffff94898000.
    Read at address  0x0042001C (0xffff9489801c): 0x00000000
    0x0x20    0x/dev/mem opened.
    Memory mapped at address 0xffffb530c000.
    Read at address  0x00420020 (0xffffb530c020): 0xFFFFFFFF
    0x0x24    0x/dev/mem opened.
    Memory mapped at address 0xffff9f998000.
    Read at address  0x00420024 (0xffff9f998024): 0xFFFFFFFF
    0x0x28    0x/dev/mem opened.
    Memory mapped at address 0xffff857f0000.
    Read at address  0x00420028 (0xffff857f0028): 0x00000000
    0x0x2C    0x/dev/mem opened.
    Memory mapped at address 0xffffbadc1000.
    Read at address  0x0042002C (0xffffbadc102c): 0x00000000
    0x0x30    0x/dev/mem opened.
    Memory mapped at address 0xffffb287a000.
    Read at address  0x00420030 (0xffffb287a030): 0x00000000
    0x0x40    0x/dev/mem opened.
    Memory mapped at address 0xffffafd66000.
    Read at address  0x00420040 (0xffffafd66040): 0x00000000
    0x0x44    0x/dev/mem opened.
    Memory mapped at address 0xffffbae39000.
    Read at address  0x00420044 (0xffffbae39044): 0x00000001
    0x0x48    0x/dev/mem opened.
    Memory mapped at address 0xffffba891000.
    Read at address  0x00420048 (0xffffba891048): 0x00030D40
    0x0x4C    0x/dev/mem opened.
    Memory mapped at address 0xffff8e436000.
    Read at address  0x0042004C (0xffff8e43604c): 0x00030D40
    0x0x50    0x/dev/mem opened.
    Memory mapped at address 0xffff9c2f0000.
    Read at address  0x00420050 (0xffff9c2f0050): 0x000186A0
    0x0x54    0x/dev/mem opened.
    Memory mapped at address 0xffffb6c42000.
    Read at address  0x00420054 (0xffffb6c42054): 0x000186A0
    0x0x58    0x/dev/mem opened.
    Memory mapped at address 0xffffacf1a000.
    Read at address  0x00420058 (0xffffacf1a058): 0x000186A0
    0x0x5C    0x/dev/mem opened.
    Memory mapped at address 0xffff97b43000.
    Read at address  0x0042005C (0xffff97b4305c): 0x000186A0
    0x0x400    0x/dev/mem opened.
    Memory mapped at address 0xffff91b59000.
    Read at address  0x00420400 (0xffff91b59400): 0x00060080
    0x0x404    0x/dev/mem opened.
    Memory mapped at address 0xffff80da2000.
    Read at address  0x00420404 (0xffff80da2404): 0x00000000
    0x0x408    0x/dev/mem opened.
    Memory mapped at address 0xffffbc146000.
    Read at address  0x00420408 (0xffffbc146408): 0x00000000
    0x0x40C    0x/dev/mem opened.
    Memory mapped at address 0xffff8d8fa000.
    Read at address  0x0042040C (0xffff8d8fa40c): 0x00000000
    0x0x410    0x/dev/mem opened.
    Memory mapped at address 0xffffb291a000.
    Read at address  0x00420410 (0xffffb291a410): 0x00000000
    0x0x414    0x/dev/mem opened.
    Memory mapped at address 0xffffb9da9000.
    Read at address  0x00420414 (0xffffb9da9414): 0x00000000
    0x0x418    0x/dev/mem opened.
    Memory mapped at address 0xffffb8455000.
    Read at address  0x00420418 (0xffffb8455418): 0x00000000
    
    Register values for WKUP_ESM0:
    Offset       Value
    -------------------
    0x0x4    0x/dev/mem opened.
    Memory mapped at address 0xffffb5413000.
    Read at address  0x04100004 (0xffffb5413004): 0x00000103
    0x0x8    0x/dev/mem opened.
    Memory mapped at address 0xffff8a3c5000.
    Read at address  0x04100008 (0xffff8a3c5008): 0x00000000
    0x0xC    0x/dev/mem opened.
    Memory mapped at address 0xffffae3b5000.
    Read at address  0x0410000C (0xffffae3b500c): 0x00000000
    0x0x10    0x/dev/mem opened.
    Memory mapped at address 0xffffba6f5000.
    Read at address  0x04100010 (0xffffba6f5010): 0x00000000
    0x0x14    0x/dev/mem opened.
    Memory mapped at address 0xffff7fd06000.
    Read at address  0x04100014 (0xffff7fd06014): 0x00000000
    0x0x18    0x/dev/mem opened.
    Memory mapped at address 0xffffa894e000.
    Read at address  0x04100018 (0xffffa894e018): 0x00000000
    0x0x1C    0x/dev/mem opened.
    Memory mapped at address 0xffffb79ef000.
    Read at address  0x0410001C (0xffffb79ef01c): 0x00000000
    0x0x20    0x/dev/mem opened.
    Memory mapped at address 0xffff81e49000.
    Read at address  0x04100020 (0xffff81e49020): 0xFFFFFFFF
    0x0x24    0x/dev/mem opened.
    Memory mapped at address 0xffff8a6e4000.
    Read at address  0x04100024 (0xffff8a6e4024): 0xFFFFFFFF
    0x0x28    0x/dev/mem opened.
    Memory mapped at address 0xffff94e55000.
    Read at address  0x04100028 (0xffff94e55028): 0x00000000
    0x0x2C    0x/dev/mem opened.
    Memory mapped at address 0xffffb40f8000.
    Read at address  0x0410002C (0xffffb40f802c): 0x00000000
    0x0x30    0x/dev/mem opened.
    Memory mapped at address 0xffffbeb43000.
    Read at address  0x04100030 (0xffffbeb43030): 0x00000000
    0x0x40    0x/dev/mem opened.
    Memory mapped at address 0xffff93358000.
    Read at address  0x04100040 (0xffff93358040): 0x00000000
    0x0x44    0x/dev/mem opened.
    Memory mapped at address 0xffffae62c000.
    Read at address  0x04100044 (0xffffae62c044): 0x00000001
    0x0x48    0x/dev/mem opened.
    Memory mapped at address 0xffffa0d83000.
    Read at address  0x04100048 (0xffffa0d83048): 0x00030D40
    0x0x4C    0x/dev/mem opened.
    Memory mapped at address 0xffff8e0ef000.
    Read at address  0x0410004C (0xffff8e0ef04c): 0x00030D40
    0x0x50    0x/dev/mem opened.
    Memory mapped at address 0xffffb9baf000.
    Read at address  0x04100050 (0xffffb9baf050): 0x000186A0
    0x0x54    0x/dev/mem opened.
    Memory mapped at address 0xffff8db30000.
    Read at address  0x04100054 (0xffff8db30054): 0x000186A0
    0x0x58    0x/dev/mem opened.
    Memory mapped at address 0xffff865ed000.
    Read at address  0x04100058 (0xffff865ed058): 0x000186A0
    0x0x5C    0x/dev/mem opened.
    Memory mapped at address 0xffffb8441000.
    Read at address  0x0410005C (0xffffb844105c): 0x000186A0
    0x0x400    0x/dev/mem opened.
    Memory mapped at address 0xffff89264000.
    Read at address  0x04100400 (0xffff89264400): 0x00000000
    0x0x404    0x/dev/mem opened.
    Memory mapped at address 0xffffbe407000.
    Read at address  0x04100404 (0xffffbe407404): 0x00000000
    0x0x408    0x/dev/mem opened.
    Memory mapped at address 0xffffad68f000.
    Read at address  0x04100408 (0xffffad68f408): 0x00000000
    0x0x40C    0x/dev/mem opened.
    Memory mapped at address 0xffff929b7000.
    Read at address  0x0410040C (0xffff929b740c): 0x00000000
    0x0x410    0x/dev/mem opened.
    Memory mapped at address 0xffff8c457000.
    Read at address  0x04100410 (0xffff8c457410): 0x00000000
    0x0x414    0x/dev/mem opened.
    Memory mapped at address 0xffffb97ae000.
    Read at address  0x04100414 (0xffffb97ae414): 0x00000000
    0x0x418    0x/dev/mem opened.
    Memory mapped at address 0xffff91dd4000.
    Read at address  0x04100418 (0xffff91dd4418): 0x00000000
    Register values for ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff901e3000.
    Read at address  0x00420400 (0xffff901e3400): 0x00060080
    Register values for ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffffba820000.
    Read at address  0x00420400 (0xffffba820400): 0x00060080
    Register values for ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff82d26000.
    Read at address  0x00420400 (0xffff82d26400): 0x00060080
    Register values for ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff9120c000.
    Read at address  0x00420400 (0xffff9120c400): 0x00060080
    Register values for ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff8c4f1000.
    Read at address  0x00420400 (0xffff8c4f1400): 0x00060080
    Register values for ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff8222e000.
    Read at address  0x00420400 (0xffff8222e400): 0x00060080
    Register values for ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff940ea000.
    Read at address  0x00420400 (0xffff940ea400): 0x00060080
    Register values for WKUP_ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffa36d5000.
    Read at address  0x04100400 (0xffffa36d5400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffb4c5e000.
    Read at address  0x04100400 (0xffffb4c5e400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff93988000.
    Read at address  0x04100400 (0xffff93988400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffb1eae000.
    Read at address  0x04100400 (0xffffb1eae400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff87e6e000.
    Read at address  0x04100400 (0xffff87e6e400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffb7924000.
    Read at address  0x04100400 (0xffffb7924400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffa9031000.
    Read at address  0x04100400 (0xffffa9031400): 0x00000000
    Register values for ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffae533000.
    Read at address  0x00420420 (0xffffae533420): 0x00000000
    Register values for ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff867c6000.
    Read at address  0x00420420 (0xffff867c6420): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffac447000.
    Read at address  0x00420420 (0xffffac447420): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff8c8a2000.
    Read at address  0x00420420 (0xffff8c8a2420): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff9c810000.
    Read at address  0x00420420 (0xffff9c810420): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffabc3c000.
    Read at address  0x00420420 (0xffffabc3c420): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffad2ab000.
    Read at address  0x00420420 (0xffffad2ab420): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffb4200000.
    Read at address  0x04100420 (0xffffb4200420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff82764000.
    Read at address  0x04100420 (0xffff82764420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff882a2000.
    Read at address  0x04100420 (0xffff882a2420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffa86cd000.
    Read at address  0x04100420 (0xffffa86cd420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffa7bb8000.
    Read at address  0x04100420 (0xffffa7bb8420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff919f0000.
    Read at address  0x04100420 (0xffff919f0420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffa0196000.
    Read at address  0x04100420 (0xffffa0196420): 0xFFC00000
    Register values for ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffbdae5000.
    Read at address  0x00420440 (0xffffbdae5440): 0x00000000
    Register values for ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffb6a1d000.
    Read at address  0x00420440 (0xffffb6a1d440): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff837cb000.
    Read at address  0x00420440 (0xffff837cb440): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff84caa000.
    Read at address  0x00420440 (0xffff84caa440): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff8a55a000.
    Read at address  0x00420440 (0xffff8a55a440): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff92302000.
    Read at address  0x00420440 (0xffff92302440): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffb6308000.
    Read at address  0x00420440 (0xffffb6308440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffbbfb0000.
    Read at address  0x04100440 (0xffffbbfb0440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff94c9f000.
    Read at address  0x04100440 (0xffff94c9f440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff94918000.
    Read at address  0x04100440 (0xffff94918440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff8d935000.
    Read at address  0x04100440 (0xffff8d935440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffa7816000.
    Read at address  0x04100440 (0xffffa7816440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffb68d1000.
    Read at address  0x04100440 (0xffffb68d1440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff90c4f000.
    Read at address  0x04100440 (0xffff90c4f440): 0x00000000
    Register values for ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffffb5d8b000.
    Read at address  0x00420460 (0xffffb5d8b460): 0x00000000
    Register values for ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff851e7000.
    Read at address  0x00420460 (0xffff851e7460): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff9e2df000.
    Read at address  0x00420460 (0xffff9e2df460): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff96471000.
    Read at address  0x00420460 (0xffff96471460): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff8bd11000.
    Read at address  0x00420460 (0xffff8bd11460): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffffb70ff000.
    Read at address  0x00420460 (0xffffb70ff460): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff8bbd1000.
    Read at address  0x00420460 (0xffff8bbd1460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffff9b6c8000.
    Read at address  0x04100460 (0xffff9b6c8460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffb2106000.
    Read at address  0x04100460 (0xffffb2106460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffa6465000.
    Read at address  0x04100460 (0xffffa6465460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffa6bf9000.
    Read at address  0x04100460 (0xffffa6bf9460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffff81414000.
    Read at address  0x04100460 (0xffff81414460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffff83200000.
    Read at address  0x04100460 (0xffff83200460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffa9d62000.
    Read at address  0x04100460 (0xffffa9d62460): 0x00000000
    Register values for ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffff8481e000.
    Read at address  0x00420480 (0xffff8481e480): 0x0000007F
    Register values for ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffb188a000.
    Read at address  0x00420480 (0xffffb188a480): 0x0000007F
    Register values for ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffb3059000.
    Read at address  0x00420480 (0xffffb3059480): 0x0000007F
    Register values for ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffa875b000.
    Read at address  0x00420480 (0xffffa875b480): 0x0000007F
    Register values for ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffbc224000.
    Read at address  0x00420480 (0xffffbc224480): 0x0000007F
    Register values for ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffa5635000.
    Read at address  0x00420480 (0xffffa5635480): 0x0000007F
    Register values for ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffff92df8000.
    Read at address  0x00420480 (0xffff92df8480): 0x0000007F
    Register values for WKUP_ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffbc109000.
    Read at address  0x04100480 (0xffffbc109480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffa4ae4000.
    Read at address  0x04100480 (0xffffa4ae4480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffb5d17000.
    Read at address  0x04100480 (0xffffb5d17480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff9cd18000.
    Read at address  0x04100480 (0xffff9cd18480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffbc270000.
    Read at address  0x04100480 (0xffffbc270480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff968ae000.
    Read at address  0x04100480 (0xffff968ae480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff8c578000.
    Read at address  0x04100480 (0xffff8c578480): 0x00000000
    Register values for ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff8ae66000.
    Read at address  0x004204A0 (0xffff8ae664a0): 0x00000000
    Register values for ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff88ccf000.
    Read at address  0x004204A0 (0xffff88ccf4a0): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff92822000.
    Read at address  0x004204A0 (0xffff928224a0): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff8892c000.
    Read at address  0x004204A0 (0xffff8892c4a0): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff92cd1000.
    Read at address  0x004204A0 (0xffff92cd14a0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff932c8000.
    Read at address  0x004204A0 (0xffff932c84a0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffffb0e0d000.
    Read at address  0x004204A0 (0xffffb0e0d4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffb7fe4000.
    Read at address  0x041004A0 (0xffffb7fe44a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff96720000.
    Read at address  0x041004A0 (0xffff967204a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffa2c4f000.
    Read at address  0x041004A0 (0xffffa2c4f4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff951f0000.
    Read at address  0x041004A0 (0xffff951f04a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffb3e8e000.
    Read at address  0x041004A0 (0xffffb3e8e4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffa9c99000.
    Read at address  0x041004A0 (0xffffa9c994a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff90cf5000.
    Read at address  0x041004A0 (0xffff90cf54a0): 0x00000000
    Register values for ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff89dae000.
    Read at address  0x004204C0 (0xffff89dae4c0): 0x00000000
    Register values for ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffa13fe000.
    Read at address  0x004204C0 (0xffffa13fe4c0): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffb7276000.
    Read at address  0x004204C0 (0xffffb72764c0): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff9ae96000.
    Read at address  0x004204C0 (0xffff9ae964c0): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff9eee7000.
    Read at address  0x004204C0 (0xffff9eee74c0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff8fd1b000.
    Read at address  0x004204C0 (0xffff8fd1b4c0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffab4dd000.
    Read at address  0x004204C0 (0xffffab4dd4c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff90562000.
    Read at address  0x041004C0 (0xffff905624c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffffa8187000.
    Read at address  0x041004C0 (0xffffa81874c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff955fb000.
    Read at address  0x041004C0 (0xffff955fb4c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff89f81000.
    Read at address  0x041004C0 (0xffff89f814c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff98b16000.
    Read at address  0x041004C0 (0xffff98b164c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff8ad36000.
    Read at address  0x041004C0 (0xffff8ad364c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff80e7e000.
    Read at address  0x041004C0 (0xffff80e7e4c0): 0x00000000
     
    



    the below are the output of base address after watchdog timer expired
    
    WDT_STATUS
    /dev/mem opened.
    Memory mapped at address 0xffffb398b000.
    Read at address  0x0E000098 (0xffffb398b098): 0x00000032
    Register values for ESM0:
    Offset       Value
    -------------------
    0x0x4    0x/dev/mem opened.
    Memory mapped at address 0xffffb00ff000.
    Read at address  0x00420004 (0xffffb00ff004): 0x00000107
    0x0x8    0x/dev/mem opened.
    Memory mapped at address 0xffffb44b8000.
    Read at address  0x00420008 (0xffffb44b8008): 0x00000000
    0x0xC    0x/dev/mem opened.
    Memory mapped at address 0xffff88f19000.
    Read at address  0x0042000C (0xffff88f1900c): 0x00000000
    0x0x10    0x/dev/mem opened.
    Memory mapped at address 0xffffb864c000.
    Read at address  0x00420010 (0xffffb864c010): 0x00000000
    0x0x14    0x/dev/mem opened.
    Memory mapped at address 0xffff9bba1000.
    Read at address  0x00420014 (0xffff9bba1014): 0x00000000
    0x0x18    0x/dev/mem opened.
    Memory mapped at address 0xffff8c009000.
    Read at address  0x00420018 (0xffff8c009018): 0x00000000
    0x0x1C    0x/dev/mem opened.
    Memory mapped at address 0xffffb958f000.
    Read at address  0x0042001C (0xffffb958f01c): 0x00000000
    0x0x20    0x/dev/mem opened.
    Memory mapped at address 0xffff876b2000.
    Read at address  0x00420020 (0xffff876b2020): 0xFFFFFFFF
    0x0x24    0x/dev/mem opened.
    Memory mapped at address 0xffff82921000.
    Read at address  0x00420024 (0xffff82921024): 0xFFFFFFFF
    0x0x28    0x/dev/mem opened.
    Memory mapped at address 0xffffa2aa2000.
    Read at address  0x00420028 (0xffffa2aa2028): 0x00000000
    0x0x2C    0x/dev/mem opened.
    Memory mapped at address 0xffff9d6b8000.
    Read at address  0x0042002C (0xffff9d6b802c): 0x00000000
    0x0x30    0x/dev/mem opened.
    Memory mapped at address 0xffff9267d000.
    Read at address  0x00420030 (0xffff9267d030): 0x00000000
    0x0x40    0x/dev/mem opened.
    Memory mapped at address 0xffffa3e57000.
    Read at address  0x00420040 (0xffffa3e57040): 0x00000000
    0x0x44    0x/dev/mem opened.
    Memory mapped at address 0xffffa5f97000.
    Read at address  0x00420044 (0xffffa5f97044): 0x00000001
    0x0x48    0x/dev/mem opened.
    Memory mapped at address 0xffffb299f000.
    Read at address  0x00420048 (0xffffb299f048): 0x00030D40
    0x0x4C    0x/dev/mem opened.
    Memory mapped at address 0xffffa778e000.
    Read at address  0x0042004C (0xffffa778e04c): 0x00030D40
    0x0x50    0x/dev/mem opened.
    Memory mapped at address 0xffffa3e79000.
    Read at address  0x00420050 (0xffffa3e79050): 0x000186A0
    0x0x54    0x/dev/mem opened.
    Memory mapped at address 0xffffb9d7c000.
    Read at address  0x00420054 (0xffffb9d7c054): 0x000186A0
    0x0x58    0x/dev/mem opened.
    Memory mapped at address 0xffff88054000.
    Read at address  0x00420058 (0xffff88054058): 0x000186A0
    0x0x5C    0x/dev/mem opened.
    Memory mapped at address 0xffff8f91a000.
    Read at address  0x0042005C (0xffff8f91a05c): 0x000186A0
    0x0x400    0x/dev/mem opened.
    Memory mapped at address 0xffff8a5f5000.
    Read at address  0x00420400 (0xffff8a5f5400): 0x00060080
    0x0x404    0x/dev/mem opened.
    Memory mapped at address 0xffff99990000.
    Read at address  0x00420404 (0xffff99990404): 0x00000000
    0x0x408    0x/dev/mem opened.
    Memory mapped at address 0xffff95b5a000.
    Read at address  0x00420408 (0xffff95b5a408): 0x00000000
    0x0x40C    0x/dev/mem opened.
    Memory mapped at address 0xffffbf667000.
    Read at address  0x0042040C (0xffffbf66740c): 0x00000000
    0x0x410    0x/dev/mem opened.
    Memory mapped at address 0xffffb938c000.
    Read at address  0x00420410 (0xffffb938c410): 0x00000000
    0x0x414    0x/dev/mem opened.
    Memory mapped at address 0xffff964f0000.
    Read at address  0x00420414 (0xffff964f0414): 0x00000000
    0x0x418    0x/dev/mem opened.
    Memory mapped at address 0xffff8e092000.
    Read at address  0x00420418 (0xffff8e092418): 0x00000000
    
    Register values for WKUP_ESM0:
    Offset       Value
    -------------------
    0x0x4    0x/dev/mem opened.
    Memory mapped at address 0xffffa2cca000.
    Read at address  0x04100004 (0xffffa2cca004): 0x00000103
    0x0x8    0x/dev/mem opened.
    Memory mapped at address 0xffffa1ea1000.
    Read at address  0x04100008 (0xffffa1ea1008): 0x00000000
    0x0xC    0x/dev/mem opened.
    Memory mapped at address 0xffffb8aae000.
    Read at address  0x0410000C (0xffffb8aae00c): 0x00000000
    0x0x10    0x/dev/mem opened.
    Memory mapped at address 0xffffbadd8000.
    Read at address  0x04100010 (0xffffbadd8010): 0x00000000
    0x0x14    0x/dev/mem opened.
    Memory mapped at address 0xffff8cf9e000.
    Read at address  0x04100014 (0xffff8cf9e014): 0x00000000
    0x0x18    0x/dev/mem opened.
    Memory mapped at address 0xffffb2b60000.
    Read at address  0x04100018 (0xffffb2b60018): 0x00000000
    0x0x1C    0x/dev/mem opened.
    Memory mapped at address 0xffffa0ccd000.
    Read at address  0x0410001C (0xffffa0ccd01c): 0x00000000
    0x0x20    0x/dev/mem opened.
    Memory mapped at address 0xffffa9424000.
    Read at address  0x04100020 (0xffffa9424020): 0xFFFFFFFF
    0x0x24    0x/dev/mem opened.
    Memory mapped at address 0xffffa2505000.
    Read at address  0x04100024 (0xffffa2505024): 0xFFFFFFFF
    0x0x28    0x/dev/mem opened.
    Memory mapped at address 0xffffa14af000.
    Read at address  0x04100028 (0xffffa14af028): 0x00000000
    0x0x2C    0x/dev/mem opened.
    Memory mapped at address 0xffffb3332000.
    Read at address  0x0410002C (0xffffb333202c): 0x00000000
    0x0x30    0x/dev/mem opened.
    Memory mapped at address 0xffffafada000.
    Read at address  0x04100030 (0xffffafada030): 0x00000000
    0x0x40    0x/dev/mem opened.
    Memory mapped at address 0xffffa013a000.
    Read at address  0x04100040 (0xffffa013a040): 0x00000000
    0x0x44    0x/dev/mem opened.
    Memory mapped at address 0xffffac445000.
    Read at address  0x04100044 (0xffffac445044): 0x00000001
    0x0x48    0x/dev/mem opened.
    Memory mapped at address 0xffffb6117000.
    Read at address  0x04100048 (0xffffb6117048): 0x00030D40
    0x0x4C    0x/dev/mem opened.
    Memory mapped at address 0xffffa710a000.
    Read at address  0x0410004C (0xffffa710a04c): 0x00030D40
    0x0x50    0x/dev/mem opened.
    Memory mapped at address 0xffff98cb1000.
    Read at address  0x04100050 (0xffff98cb1050): 0x000186A0
    0x0x54    0x/dev/mem opened.
    Memory mapped at address 0xffffaf225000.
    Read at address  0x04100054 (0xffffaf225054): 0x000186A0
    0x0x58    0x/dev/mem opened.
    Memory mapped at address 0xffffb325a000.
    Read at address  0x04100058 (0xffffb325a058): 0x000186A0
    0x0x5C    0x/dev/mem opened.
    Memory mapped at address 0xffffa9a2b000.
    Read at address  0x0410005C (0xffffa9a2b05c): 0x000186A0
    0x0x400    0x/dev/mem opened.
    Memory mapped at address 0xffff85f0e000.
    Read at address  0x04100400 (0xffff85f0e400): 0x00000000
    0x0x404    0x/dev/mem opened.
    Memory mapped at address 0xffff84c46000.
    Read at address  0x04100404 (0xffff84c46404): 0x00000000
    0x0x408    0x/dev/mem opened.
    Memory mapped at address 0xffff93c81000.
    Read at address  0x04100408 (0xffff93c81408): 0x00000000
    0x0x40C    0x/dev/mem opened.
    Memory mapped at address 0xffffaaa7a000.
    Read at address  0x0410040C (0xffffaaa7a40c): 0x00000000
    0x0x410    0x/dev/mem opened.
    Memory mapped at address 0xffffbd7ae000.
    Read at address  0x04100410 (0xffffbd7ae410): 0x00000000
    0x0x414    0x/dev/mem opened.
    Memory mapped at address 0xffffb6f2e000.
    Read at address  0x04100414 (0xffffb6f2e414): 0x00000000
    0x0x418    0x/dev/mem opened.
    Memory mapped at address 0xffff9b726000.
    Read at address  0x04100418 (0xffff9b726418): 0x00000000
    Register values for ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff965ac000.
    Read at address  0x00420400 (0xffff965ac400): 0x00060080
    Register values for ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffffa9b07000.
    Read at address  0x00420400 (0xffffa9b07400): 0x00060080
    Register values for ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff9eea2000.
    Read at address  0x00420400 (0xffff9eea2400): 0x00060080
    Register values for ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff92960000.
    Read at address  0x00420400 (0xffff92960400): 0x00060080
    Register values for ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffffb8d16000.
    Read at address  0x00420400 (0xffffb8d16400): 0x00060080
    Register values for ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff9630a000.
    Read at address  0x00420400 (0xffff9630a400): 0x00060080
    Register values for ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff87b23000.
    Read at address  0x00420400 (0xffff87b23400): 0x00060080
    Register values for WKUP_ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff9b97b000.
    Read at address  0x04100400 (0xffff9b97b400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffb454a000.
    Read at address  0x04100400 (0xffffb454a400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff9b12b000.
    Read at address  0x04100400 (0xffff9b12b400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff9c7e6000.
    Read at address  0x04100400 (0xffff9c7e6400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffbd2d0000.
    Read at address  0x04100400 (0xffffbd2d0400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff83550000.
    Read at address  0x04100400 (0xffff83550400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffffa5636000.
    Read at address  0x04100400 (0xffffa5636400): 0x00000000
    Register values for ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffa489a000.
    Read at address  0x00420420 (0xffffa489a420): 0x00000000
    Register values for ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffbd63c000.
    Read at address  0x00420420 (0xffffbd63c420): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff8a34b000.
    Read at address  0x00420420 (0xffff8a34b420): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffb0c9e000.
    Read at address  0x00420420 (0xffffb0c9e420): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffb9dba000.
    Read at address  0x00420420 (0xffffb9dba420): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffffb2e44000.
    Read at address  0x00420420 (0xffffb2e44420): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff9c2e5000.
    Read at address  0x00420420 (0xffff9c2e5420): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff92c95000.
    Read at address  0x04100420 (0xffff92c95420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffaa1ed000.
    Read at address  0x04100420 (0xffffaa1ed420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff8a2cf000.
    Read at address  0x04100420 (0xffff8a2cf420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffb0c0c000.
    Read at address  0x04100420 (0xffffb0c0c420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff95e42000.
    Read at address  0x04100420 (0xffff95e42420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff9b590000.
    Read at address  0x04100420 (0xffff9b590420): 0xFFC00000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffbe982000.
    Read at address  0x04100420 (0xffffbe982420): 0xFFC00000
    Register values for ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffb1b2b000.
    Read at address  0x00420440 (0xffffb1b2b440): 0x00000000
    Register values for ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff86f51000.
    Read at address  0x00420440 (0xffff86f51440): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffa6a45000.
    Read at address  0x00420440 (0xffffa6a45440): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff87c4c000.
    Read at address  0x00420440 (0xffff87c4c440): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff852f0000.
    Read at address  0x00420440 (0xffff852f0440): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffadd91000.
    Read at address  0x00420440 (0xffffadd91440): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffff9e4ae000.
    Read at address  0x00420440 (0xffff9e4ae440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffa0f5a000.
    Read at address  0x04100440 (0xffffa0f5a440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffb933a000.
    Read at address  0x04100440 (0xffffb933a440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffb13be000.
    Read at address  0x04100440 (0xffffb13be440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffbcf3e000.
    Read at address  0x04100440 (0xffffbcf3e440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff9985c000.
    Read at address  0x04100440 (0xffff9985c440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffa04f4000.
    Read at address  0x04100440 (0xffffa04f4440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff89280000.
    Read at address  0x04100440 (0xffff89280440): 0x00000000
    Register values for ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffffb4668000.
    Read at address  0x00420460 (0xffffb4668460): 0x00000000
    Register values for ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff926b6000.
    Read at address  0x00420460 (0xffff926b6460): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffffbb5cb000.
    Read at address  0x00420460 (0xffffbb5cb460): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffffb93b0000.
    Read at address  0x00420460 (0xffffb93b0460): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff8f846000.
    Read at address  0x00420460 (0xffff8f846460): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffffaa830000.
    Read at address  0x00420460 (0xffffaa830460): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff83cf5000.
    Read at address  0x00420460 (0xffff83cf5460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffa5a13000.
    Read at address  0x04100460 (0xffffa5a13460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffbaed2000.
    Read at address  0x04100460 (0xffffbaed2460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffb69e4000.
    Read at address  0x04100460 (0xffffb69e4460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffbc48d000.
    Read at address  0x04100460 (0xffffbc48d460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffbcdad000.
    Read at address  0x04100460 (0xffffbcdad460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffff87b3f000.
    Read at address  0x04100460 (0xffff87b3f460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffbe904000.
    Read at address  0x04100460 (0xffffbe904460): 0x00000000
    Register values for ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffff8bd95000.
    Read at address  0x00420480 (0xffff8bd95480): 0x0000007F
    Register values for ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffa55f3000.
    Read at address  0x00420480 (0xffffa55f3480): 0x0000007F
    Register values for ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffff9efd6000.
    Read at address  0x00420480 (0xffff9efd6480): 0x0000007F
    Register values for ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffbb1b4000.
    Read at address  0x00420480 (0xffffbb1b4480): 0x0000007F
    Register values for ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffad0ad000.
    Read at address  0x00420480 (0xffffad0ad480): 0x0000007F
    Register values for ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffff922c9000.
    Read at address  0x00420480 (0xffff922c9480): 0x0000007F
    Register values for ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffff8de7a000.
    Read at address  0x00420480 (0xffff8de7a480): 0x0000007F
    Register values for WKUP_ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff852d5000.
    Read at address  0x04100480 (0xffff852d5480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff82feb000.
    Read at address  0x04100480 (0xffff82feb480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffa91f6000.
    Read at address  0x04100480 (0xffffa91f6480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff8aba6000.
    Read at address  0x04100480 (0xffff8aba6480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffb1a7a000.
    Read at address  0x04100480 (0xffffb1a7a480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff8424b000.
    Read at address  0x04100480 (0xffff8424b480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffffac354000.
    Read at address  0x04100480 (0xffffac354480): 0x00000000
    Register values for ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffffb53e1000.
    Read at address  0x004204A0 (0xffffb53e14a0): 0x00000000
    Register values for ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff84dde000.
    Read at address  0x004204A0 (0xffff84dde4a0): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff980b5000.
    Read at address  0x004204A0 (0xffff980b54a0): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffffb9c9b000.
    Read at address  0x004204A0 (0xffffb9c9b4a0): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffffb8a4c000.
    Read at address  0x004204A0 (0xffffb8a4c4a0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff9eb17000.
    Read at address  0x004204A0 (0xffff9eb174a0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff985cd000.
    Read at address  0x004204A0 (0xffff985cd4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffa2b5e000.
    Read at address  0x041004A0 (0xffffa2b5e4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff81d12000.
    Read at address  0x041004A0 (0xffff81d124a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff8f9fe000.
    Read at address  0x041004A0 (0xffff8f9fe4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffab480000.
    Read at address  0x041004A0 (0xffffab4804a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff98a2a000.
    Read at address  0x041004A0 (0xffff98a2a4a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffb3656000.
    Read at address  0x041004A0 (0xffffb36564a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff8acdf000.
    Read at address  0x041004A0 (0xffff8acdf4a0): 0x00000000
    Register values for ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffa10b0000.
    Read at address  0x004204C0 (0xffffa10b04c0): 0x00000001
    Register values for ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff9befd000.
    Read at address  0x004204C0 (0xffff9befd4c0): 0x00000001
    Register values for ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff8d2c8000.
    Read at address  0x004204C0 (0xffff8d2c84c0): 0x00000001
    Register values for ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff917e8000.
    Read at address  0x004204C0 (0xffff917e84c0): 0x00000001
    Register values for ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff9a4db000.
    Read at address  0x004204C0 (0xffff9a4db4c0): 0x00000001
    Register values for ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffff9746d000.
    Read at address  0x004204C0 (0xffff9746d4c0): 0x00000001
    Register values for ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffa02ab000.
    Read at address  0x004204C0 (0xffffa02ab4c0): 0x00000001
    Register values for WKUP_ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffffa015e000.
    Read at address  0x041004C0 (0xffffa015e4c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffffa88c6000.
    Read at address  0x041004C0 (0xffffa88c64c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffffa9594000.
    Read at address  0x041004C0 (0xffffa95944c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffffa42cd000.
    Read at address  0x041004C0 (0xffffa42cd4c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff9fa0f000.
    Read at address  0x041004C0 (0xffff9fa0f4c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff9a880000.
    Read at address  0x041004C0 (0xffff9a8804c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff84eb2000.
    Read at address  0x041004C0 (0xffff84eb24c0): 0x00000000
    

    Is this expected for main ESM trigger? if yes

    Can you please suggest additional changes required if any for MCU ESM to trigger

    Best Regards,
    Anil Kumar M

  • Hello Anil,
    Let me use the original AM64x SPL/u-boot patch to add ESM support @SPL/u-boot as an example.
    There're multiple files changed for your reference for you to port/enable AM62A SPL/u-boot ESM...
    Best,
    -Hong

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/am64x_5F00_esm_5F00_uboot.patch

  • Hello Anil,
    For your reference, I tested previously on firing off AM64x RTI_WDT @u-boot level with Linux SDK 8.2 on AM64x GP EVM 
    1. cmds @u-boot to fire off main domain RTI_WDT RTI0 starts to count-down

    => mw.l 0xe0000a4 0xa 1
    => mw.l 0xe000090 0xA98559DA 1

    The log for ~1 seconds RTI_WDT timeout (am64_8.2_wdt_esm_uboot_1.txt)
    2. Another log to configure ~12 seconds RTI_WDT timeout (am64_8.2_wdt_esm_uboot_12s.txt)

    => mw.l 0x43009008 0x68EF3490 1
    => mw.l 0x4300900C 0xD172BC5A 1
    => mw.l 0x43008380 0x3 1
    => mw.l 0xe0000a4 0xa 1
    => mw.l 0xe000094 0x23 1
    => mw.l 0xe000090 0xA98559DA 1

    3. CTRLMMR registers on RST_CTRL/RST_STAT/RST_SRC for main domain and mcu domain are captured in the attached two logs => “SOC Reset Caused by MCU ESM Error”, “Reset Caused by Main ESM Error”

    Best,
    -Hong

    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:24:35, Mar 30 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 00000000             ............
    => md.l 0x04518170 3
    04518170: 00000fff 00000001 00000000             ............
    => md.l 0xe000000 0x40
    0e000000: 00000000 00000000 00000000 00000000    ................
    0e000010: 00000000 00000000 00000000 00000000    ................
    0e000020: 00000000 00000000 00000000 00000000    ................
    0e000030: 00000000 00000000 00000000 00000000    ................
    0e000040: 00000000 00000000 00000000 00000000    ................
    0e000050: 00000000 00000000 00000000 00000000    ................
    0e000060: 00000000 00000000 00000000 00000000    ................
    0e000070: 00000000 00000000 00000000 00000000    ................
    0e000080: 00000000 00000000 00000000 00000000    ................
    0e000090: 5312aced 00000fff 00000000 0000a35c    ...S........\...
    0e0000a0: 01ffffff 00000005 00000005 05050505    ................
    0e0000b0: 00000000 00000000 00000000 00000000    ................
    0e0000c0: 00000000 00000000 00000000 00000000    ................
    0e0000d0: 00000000 00000000 00000000 00000000    ................
    0e0000e0: 00000000 00000000 00000000 00000000    ................
    0e0000f0: 00000000 00000000 00000000 00000000    ................
    => mw.l 0xe0000a4 0xa 1
    => mw.l 0xe000090 0xA98559DA 1
    => 
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:24:35, Mar 30 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 c0000000             ............
    => md.l 0x04518170 3
    04518170: 00000fff 00000001 c0000000             ............
    => 

    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:24:35, Mar 30 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 00000000             ............
    => md.l 0x04518170 3
    04518170: 00000fff 00000001 00000000             ............
    => mw.l 0x43009008 0x68EF3490 1
    => mw.l 0x4300900C 0xD172BC5A 1
    => mw.l 0x43008380 0x3 1
    => mw.l 0xe0000a4 0xa 1
    => mw.l 0xe000094 0x23 1
    => mw.l 0xe000090 0xA98559DA 1
    => 
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:24:35, Mar 30 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  1  0 
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 c0000000             ............
    => md.l 0x04518170 3
    04518170: 00000fff 00000001 c0000000             ............
    => 

  • Hi Hong Guan,

    Following the am64x_esm_uboot.patch ,we have ported the required Changes to AM62A U-boot below are the Changes 

    1. changes mentioned in am64x_esm_uboot.patch  patch for   u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd64/drivers/misc/k3_esm.c are already there in 8.06.00.45 AM62A-SDK
    2.changes mentioned in am64x_esm_uboot.patch patch u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd654/arch/arm/dts/k3-am62a.dtsi are already
    there in  8.06.00.45 AM62A-SDK 

    Here is the git diff of rest changes

    diff --git a/arch/arm/dts/k3-am62a7-r5-sk.dts b/arch/arm/dts/k3-am62a7-r5-sk.dts
    index 1baba79795..78b8b833f6 100644
    --- a/arch/arm/dts/k3-am62a7-r5-sk.dts
    +++ b/arch/arm/dts/k3-am62a7-r5-sk.dts
    @@ -98,8 +98,28 @@
                    mbox-names = "tx", "rx", "boot_notify";
                    u-boot,dm-spl;
            };
    +
    +       main_esm: esm@420000 {
    +                compatible = "ti,j721e-esm";
    +                reg = <0x0 0x420000 0x0 0x1000>;
    +                ti,esm-pins = <160>, <161>;
    +                u-boot,dm-spl;
    +        };
    +};
    +
    +
    +&cbass_mcu {
    +        u-boot,dm-spl;
    +        mcu_esm: esm@4100000 {
    +                compatible = "ti,j721e-esm";
    +                reg = <0x0 0x4100000 0x0 0x1000>;
    +                ti,esm-pins = <0>, <1>;
    +                u-boot,dm-spl;
    +        };
     };
     
    +
    +
     &mcu_pmx0 {
            status = "okay";
            u-boot,dm-spl;
    diff --git a/arch/arm/dts/k3-am62a7-sk.dts b/arch/arm/dts/k3-am62a7-sk.dts
    index 859a04ff0b..6fa6099d4f 100644
    --- a/arch/arm/dts/k3-am62a7-sk.dts
    +++ b/arch/arm/dts/k3-am62a7-sk.dts
    
    
    @@ -143,6 +156,26 @@
            };
     };
     
    +&cbass_main {
    +        main_esm: esm@420000 {
    +                compatible = "ti,j721e-esm";
    +                reg = <0x0 0x420000 0x0 0x1000>;
    +                ti,esm-pins = <160>, <161>;
    +                u-boot,dm-spl;
    +        };
    +};
    +
    +&cbass_mcu {
    +        u-boot,dm-spl;
    +        mcu_esm: esm@4100000 {
    +                compatible = "ti,j721e-esm";
    +                reg = <0x0 0x4100000 0x0 0x1000>;
    +                ti,esm-pins = <0>, <1>;
    +                u-boot,dm-spl;
    +        };
    +};
    +
    +
     &main_pmx0 {
            main_uart0_pins_default: main-uart0-pins-default {
                    pinctrl-single,pins = <
    @@ -275,11 +308,11 @@
            pinctrl-0 = <&main_mdio1_pins_default
                         &main_rgmii1_pins_default
                         &main_rgmii2_pins_default>;
    -       status = "okay";
    +       status = "disabled";
     };
     
    git diff --git a/arch/arm/mach-k3/am62a7_init.c b/arch/arm/mach-k3/am62a7_init.c
    index 926585725a..710016341e 100644
    --- a/arch/arm/mach-k3/am62a7_init.c
    +++ b/arch/arm/mach-k3/am62a7_init.c
    @@ -15,6 +15,9 @@
     #include <dm/uclass-internal.h>
     #include <dm/pinctrl.h>
     
    +#define CTRLMMR_MCU_RST_CTRL                   0x04518170
    +#define RST_CTRL_ESM_ERROR_RST_EN_Z_MASK       (~BIT(17))
    +
     
     #if defined(CONFIG_SPL_BUILD)
     struct fwl_data cbass_main_fwls[] = {
    @@ -93,6 +96,17 @@ static void setup_qos(void)
     }
     #endif
     
    +
    +static __maybe_unused void enable_mcu_esm_reset(void)
    +{
    +       printf("U-boot-Anil-Print");
    +       /* Set CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RST_EN_Z  to '0' (low active) */
    +       u32 stat = readl(CTRLMMR_MCU_RST_CTRL);
    +
    +       stat &= RST_CTRL_ESM_ERROR_RST_EN_Z_MASK;
    +       writel(stat, CTRLMMR_MCU_RST_CTRL);
    +}
    +
     void board_init_f(ulong dummy)
     {
            struct udevice *dev;
    @@ -177,6 +191,21 @@ void board_init_f(ulong dummy)
            /* Output System Firmware version info */
            k3_sysfw_print_ver();
     
    +       if (IS_ENABLED(CONFIG_ESM_K3)) {
    +               /* Probe/configure ESM0 */
    +               ret = uclass_get_device_by_name(UCLASS_MISC, "esm@420000", &dev);
    +               if (ret)
    +                       printf("esm main init failed: %d\n", ret);
    +
    +               /* Probe/configure MCUESM */
    +               ret = uclass_get_device_by_name(UCLASS_MISC, "esm@4100000", &dev);
    +               if (ret)
    +                       printf("esm mcu init failed: %d\n", ret);
    +
    +       printf("Inside if (IS_ENABLED(CONFIG_ESM_K3)) Anil enable mcu reset");
    +               enable_mcu_esm_reset();
    +       }       
    +
            /* Disable ROM configured firewalls right after loading sysfw */
            remove_fwl_configs(cbass_main_fwls, ARRAY_SIZE(cbass_main_fwls));
     
    @@ -187,7 +216,7 @@ void board_init_f(ulong dummy)
     #endif
     
            setup_qos();
    -
    +       printf("board init f U-boot Anil");
            printf("am62a_init: %s done\n", __func__);
     }
     
    @@ -276,7 +305,9 @@ static u32 __get_primary_bootmedia(u32 devstat)
                    return BOOT_DEVICE_MMC1;
     
            case BOOT_DEVICE_SPI_NAND:
    -               return BOOT_DEVICE_SPINAND;
    +       //For booting u-boot.img from RAM change boot device from NAND to RAM
    +               //return BOOT_DEVICE_SPINAND;
    +               return BOOT_DEVICE_RAM;
     
            case BOOT_DEVICE_MMC:
                    if ((bootmode_cfg & MAIN_DEVSTAT_PRIMARY_MMC_PORT_MASK) >>
    @@ -297,6 +328,17 @@ static u32 __get_primary_bootmedia(u32 devstat)
            return bootmode;
     }
     
    +#if 0
    +static void enable_mcu_esm_reset(void)
    +{
    +       /* Set CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RST_EN_Z  to '0' (low active) */
    +       u32 stat = readl(CTRLMMR_MCU_RST_CTRL);
    +
    +       stat &= 0xFFFDFFFF;
    +       writel(stat, CTRLMMR_MCU_RST_CTRL);
    +}
    +#endif
    +
     u32 spl_boot_device(void)
     {
            u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT);
    
    
    diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig
    index bc02634a43..c36cf615fd 100644
    --- a/configs/am62ax_evm_a53_defconfig
    +++ b/configs/am62ax_evm_a53_defconfig
    @@ -4,12 +4,14 @@ CONFIG_BOARD_LATE_INIT=y
     CONFIG_TI_SECURE_DEVICE=y
     CONFIG_TI_COMMON_CMD_OPTIONS=y
     CONFIG_SPL_GPIO_SUPPORT=y
    +CONFIG_SPI_FLASH_WINBOND=y
     CONFIG_SPL_LIBCOMMON_SUPPORT=y
     CONFIG_SPL_LIBGENERIC_SUPPORT=y
     CONFIG_SYS_MALLOC_F_LEN=0x8000
     CONFIG_NR_DRAM_BANKS=2
     CONFIG_SOC_K3_AM62A7=y
     CONFIG_K3_ATF_LOAD_ADDR=0x9e780000
    +CONFIG_ESM_K3=y
     CONFIG_TARGET_AM62A7_A53_EVM=y
     CONFIG_ENV_SIZE=0x20000
     CONFIG_ENV_OFFSET=0x680000
    @@ -47,6 +49,30 @@ CONFIG_SPL_MTD_LOAD=y
     CONFIG_SYS_MTD_U_BOOT_OFFS=0x280000
     CONFIG_SPL_NAND_SPI_SUPPORT=y
     CONFIG_SPL_DM_SPI_FLASH=y
    diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig
    index bc02634a43..c36cf615fd 100644
    --- a/configs/am62ax_evm_a53_defconfig
    +++ b/configs/am62ax_evm_a53_defconfig
    @@ -4,12 +4,14 @@ CONFIG_BOARD_LATE_INIT=y
     CONFIG_TI_SECURE_DEVICE=y
     CONFIG_TI_COMMON_CMD_OPTIONS=y
     CONFIG_SPL_GPIO_SUPPORT=y
    +CONFIG_SPI_FLASH_WINBOND=y
     CONFIG_SPL_LIBCOMMON_SUPPORT=y
     CONFIG_SPL_LIBGENERIC_SUPPORT=y
     CONFIG_SYS_MALLOC_F_LEN=0x8000
     CONFIG_NR_DRAM_BANKS=2
     CONFIG_SOC_K3_AM62A7=y
     CONFIG_K3_ATF_LOAD_ADDR=0x9e780000
    +CONFIG_ESM_K3=y
     CONFIG_TARGET_AM62A7_A53_EVM=y
     CONFIG_ENV_SIZE=0x20000
     CONFIG_ENV_OFFSET=0x680000
    
    
    diff --git a/configs/am62ax_evm_r5_defconfig b/configs/am62ax_evm_r5_defconfig
    index 476d91e30e..2eeaeee267 100644
    --- a/configs/am62ax_evm_r5_defconfig
    +++ b/configs/am62ax_evm_r5_defconfig
    @@ -84,6 +84,7 @@ CONFIG_DM_I2C=y
     CONFIG_SYS_I2C_OMAP24XX=y
     CONFIG_DM_MAILBOX=y
     CONFIG_K3_SEC_PROXY=y
    +CONFIG_ESM_K3=y
     CONFIG_DM_MMC=y
     CONFIG_SPL_MMC_HS200_SUPPORT=y
     CONFIG_MMC_SDHCI=y
    
    



    we observed only  main ESM related registers changing here j =6
    ESM_ERR_GRP_RAW_6
    ESM_ERR_GRP_STS_6

    ESM_ERR_GRP_INTR_EN_SET_6
    ESM_ERR_GRP_INTR_EN_CLR_6

    ESM_ERR_GRP_INT_PRIO_6
    ESM_ERR_GRP_PIN_EN_SET_6

    ESM_ERR_GRP_PIN_EN_CLR_6

    BIT(0) are high,Not MCU ESM ,Sure will verify the registers mentioned in the 1S and 12S uboot command line as mentioned in recent Reply  

    Thanks & Regards,
    Anil Kumar M

  • And i tried mw.l to write the register mentioned above in uboot command line but board dint re-boot .
    The registers 

    main ESM related registers changing here j =6
    ESM_ERR_GRP_RAW_6
    ESM_ERR_GRP_STS_6

    ESM_ERR_GRP_INTR_EN_SET_6
    ESM_ERR_GRP_INTR_EN_CLR_6

    ESM_ERR_GRP_INT_PRIO_6
    ESM_ERR_GRP_PIN_EN_SET_6

    ESM_ERR_GRP_PIN_EN_CLR_6

    BIT(0) is set ,similar behavior to Watchdog timeout from linux application ,But  WKP ESM registers are not getting updated 
    So,is there any code from MCUR5 side missing,because  it seems enable esm reset code function is getting called as expected 

    "static __maybe_unused void enable_mcu_esm_reset(void)"
     
  • Hello Anil,
    Some reference on RTI0_WDT event routing to ESM on AM64x/AM62x/AM62A

    1. AM64x TRM
    - "Table 9-87. ESM0 Interrupt Map"
    - "Figure 12-2428. RTI Integration"

    => ESM0_PLS_EVENT0_IN_160 160 RTI0_INTR_WWD_0

    2. AM62x TRM
    10.1.1 ESM Connectivity
    10.1.1.4 ESM0_INTERRUPT_MAP
    "Table 10-2. ESM0_INTERRUPT_MAP Memory Map"

    => ESM0_ESM_PLS_EVENT0_IN_160 160 RTI0_INTR_WWD_0

    2. AM62A TRM
    10.1.1 ESM Connectivity
    10.4.1.9 ESM0_INTERRUPT_MAP
    Table 10-13. ESM0_INTERRUPT_MAP Memory Map

    => ESM0_ESM_PLS_EVENT_IN_192 192 RTI0_INTR_WWD_0

    Best,
    -Hong

  • there's parallel discussion on the same topic for your reference.
    e2e.ti.com/.../4792545

  • Hello Hong Guan ,


    After referring the to AM62A TRM with the reference provided

    2. AM62A TRM
    10.1.1 ESM Connectivity
    10.4.1.9 ESM0_INTERRUPT_MAP
    Table 10-13. ESM0_INTERRUPT_MAP Memory Map

    => ESM0_ESM_PLS_EVENT_IN_192 192 RTI0_INTR_WWD_0

    we modified the dts notes for AM62A requirement depending on the Interrupt ID for AM62A as highlighted in dts changes.
    in K3 u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd654/arch/arm/dts/k3-am62a7-sk.dts and u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd654/arch/arm/dts/k3-am62a7-r5-sk.dts

    &cbass_main {
    main_esm: esm@420000 {
    compatible = "ti,j721e-esm";
    reg = <0x0 0x420000 0x0 0x1000>;
    ti,esm-pins = <192>, <193>;
    u-boot,dm-spl;
    };
    };

    &cbass_mcu {
    u-boot,dm-spl;
    mcu_esm: esm@4100000 {
    compatible = "ti,j721e-esm";
    reg = <0x0 0x4100000 0x0 0x1000>;
    ti,esm-pins = <30>, <195>;
    u-boot,dm-spl;
    };
    };

    Below are the logs for  read values of  RTI watchdog and ESM registers before and after the watch dog timeout 

    Before:

    root@am62axx-evm:~# ./ESM_test_all.sh 
    WDT_STATUS
    /dev/mem opened.
    Memory mapped at address 0xffffa1871000.
    Read at address  0x0E000098 (0xffffa1871098): 0x00000000
    WKUP_MMR0_RST_CTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffff9e128000.
    Read at address  0x43018170 (0xffff9e128170): 0x000200FF
    WKUP_MMR1_RST_CTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffffa371b000.
    Read at address  0x04518170 (0xffffa371b170): 0x00400FFF
    WKUP_MMR0_LOCK2_KICK0 Register
    /dev/mem opened.
    Memory mapped at address 0xffff841c1000.
    Read at address  0x43009008 (0xffff841c1008): 0x68EF3491
    WKUP_MMR0_LOCK2_KICK1 Register
    /dev/mem opened.
    Memory mapped at address 0xffff9466c000.
    Read at address  0x4300900C (0xffff9466c00c): 0xD172BC5A
    WKUP_MMR0_WKUP_WWD0_CLKSEL Register
    /dev/mem opened.
    Memory mapped at address 0xffffa6912000.
    Read at address  0x43008380 (0xffffa6912380): 0x00000000
    RTI4_WWDRXNCTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffffa770d000.
    Read at address  0x0E0000A4 (0xffffa770d0a4): 0x00000005
    RTI4_DWDPRLD Register
    /dev/mem opened.
    Memory mapped at address 0xffff7fee4000.
    Read at address  0x0E000094 (0xffff7fee4094): 0x00000FFF
    RTI4_DWDCTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffff8e6bf000.
    Read at address  0x0E000090 (0xffff8e6bf090): 0x5312ACED
    ======================================================ESM Registers===========================================================
    Register values for ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffff999cc000.
    Read at address  0x00420400 (0xffff999cc400): 0x00000000
    Register values for ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x420404    /dev/mem opened.
    Memory mapped at address 0xffff97f75000.
    Read at address  0x00420404 (0xffff97f75404): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x420408    /dev/mem opened.
    Memory mapped at address 0xffff96eee000.
    Read at address  0x00420408 (0xffff96eee408): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x42040C    /dev/mem opened.
    Memory mapped at address 0xffff87896000.
    Read at address  0x0042040C (0xffff8789640c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x420410    /dev/mem opened.
    Memory mapped at address 0xffff84eaa000.
    Read at address  0x00420410 (0xffff84eaa410): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x420414    /dev/mem opened.
    Memory mapped at address 0xffff834b0000.
    Read at address  0x00420414 (0xffff834b0414): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x420418    /dev/mem opened.
    Memory mapped at address 0xffffb6980000.
    Read at address  0x00420418 (0xffffb6980418): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff97b68000.
    Read at address  0x04100400 (0xffff97b68400): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x4100404    /dev/mem opened.
    Memory mapped at address 0xffffacd94000.
    Read at address  0x04100404 (0xffffacd94404): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x4100408    /dev/mem opened.
    Memory mapped at address 0xffff933fd000.
    Read at address  0x04100408 (0xffff933fd408): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x410040C    /dev/mem opened.
    Memory mapped at address 0xffff9c228000.
    Read at address  0x0410040C (0xffff9c22840c): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x4100410    /dev/mem opened.
    Memory mapped at address 0xffff98cab000.
    Read at address  0x04100410 (0xffff98cab410): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x4100414    /dev/mem opened.
    Memory mapped at address 0xffff80f27000.
    Read at address  0x04100414 (0xffff80f27414): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x4100418    /dev/mem opened.
    Memory mapped at address 0xffff86e33000.
    Read at address  0x04100418 (0xffff86e33418): 0x40000000
    Register values for ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff9265d000.
    Read at address  0x00420420 (0xffff9265d420): 0x00000000
    Register values for ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x420424    /dev/mem opened.
    Memory mapped at address 0xffff979b3000.
    Read at address  0x00420424 (0xffff979b3424): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x420428    /dev/mem opened.
    Memory mapped at address 0xffffab7ad000.
    Read at address  0x00420428 (0xffffab7ad428): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x42042C    /dev/mem opened.
    Memory mapped at address 0xffff9d679000.
    Read at address  0x0042042C (0xffff9d67942c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x420430    /dev/mem opened.
    Memory mapped at address 0xffffbe282000.
    Read at address  0x00420430 (0xffffbe282430): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x420434    /dev/mem opened.
    Memory mapped at address 0xffffb2b85000.
    Read at address  0x00420434 (0xffffb2b85434): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x420438    /dev/mem opened.
    Memory mapped at address 0xffffa6f87000.
    Read at address  0x00420438 (0xffffa6f87438): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffff8db0a000.
    Read at address  0x04100420 (0xffff8db0a420): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x4100424    /dev/mem opened.
    Memory mapped at address 0xffff8b0aa000.
    Read at address  0x04100424 (0xffff8b0aa424): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x4100428    /dev/mem opened.
    Memory mapped at address 0xffff947e1000.
    Read at address  0x04100428 (0xffff947e1428): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x410042C    /dev/mem opened.
    Memory mapped at address 0xffff908f9000.
    Read at address  0x0410042C (0xffff908f942c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x4100430    /dev/mem opened.
    Memory mapped at address 0xffffa1512000.
    Read at address  0x04100430 (0xffffa1512430): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x4100434    /dev/mem opened.
    Memory mapped at address 0xffff9957b000.
    Read at address  0x04100434 (0xffff9957b434): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x4100438    /dev/mem opened.
    Memory mapped at address 0xffffbf1bb000.
    Read at address  0x04100438 (0xffffbf1bb438): 0x00000000
    Register values for ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffa4304000.
    Read at address  0x00420440 (0xffffa4304440): 0x00000000
    Register values for ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x420444    /dev/mem opened.
    Memory mapped at address 0xffffa1ea5000.
    Read at address  0x00420444 (0xffffa1ea5444): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x420448    /dev/mem opened.
    Memory mapped at address 0xffff8ac85000.
    Read at address  0x00420448 (0xffff8ac85448): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x42044C    /dev/mem opened.
    Memory mapped at address 0xffffa9185000.
    Read at address  0x0042044C (0xffffa918544c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x420450    /dev/mem opened.
    Memory mapped at address 0xffffa2c14000.
    Read at address  0x00420450 (0xffffa2c14450): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x420454    /dev/mem opened.
    Memory mapped at address 0xffff9c392000.
    Read at address  0x00420454 (0xffff9c392454): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x420458    /dev/mem opened.
    Memory mapped at address 0xffffa1364000.
    Read at address  0x00420458 (0xffffa1364458): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffffb1b4b000.
    Read at address  0x04100440 (0xffffb1b4b440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x4100444    /dev/mem opened.
    Memory mapped at address 0xffff9321b000.
    Read at address  0x04100444 (0xffff9321b444): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x4100448    /dev/mem opened.
    Memory mapped at address 0xffffadb8b000.
    Read at address  0x04100448 (0xffffadb8b448): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x410044C    /dev/mem opened.
    Memory mapped at address 0xffffbbcdf000.
    Read at address  0x0410044C (0xffffbbcdf44c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x4100450    /dev/mem opened.
    Memory mapped at address 0xffffa2c24000.
    Read at address  0x04100450 (0xffffa2c24450): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x4100454    /dev/mem opened.
    Memory mapped at address 0xffffb99fc000.
    Read at address  0x04100454 (0xffffb99fc454): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x4100458    /dev/mem opened.
    Memory mapped at address 0xffffb6d26000.
    Read at address  0x04100458 (0xffffb6d26458): 0x00000000
    Register values for ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff801f8000.
    Read at address  0x00420460 (0xffff801f8460): 0x00000000
    Register values for ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x420464    /dev/mem opened.
    Memory mapped at address 0xffff9ca23000.
    Read at address  0x00420464 (0xffff9ca23464): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x420468    /dev/mem opened.
    Memory mapped at address 0xffff8acb6000.
    Read at address  0x00420468 (0xffff8acb6468): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x42046C    /dev/mem opened.
    Memory mapped at address 0xffff9b0f3000.
    Read at address  0x0042046C (0xffff9b0f346c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x420470    /dev/mem opened.
    Memory mapped at address 0xffffa963a000.
    Read at address  0x00420470 (0xffffa963a470): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x420474    /dev/mem opened.
    Memory mapped at address 0xffff8bafc000.
    Read at address  0x00420474 (0xffff8bafc474): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x420478    /dev/mem opened.
    Memory mapped at address 0xffff9890f000.
    Read at address  0x00420478 (0xffff9890f478): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffff9ece7000.
    Read at address  0x04100460 (0xffff9ece7460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x4100464    /dev/mem opened.
    Memory mapped at address 0xffffb8dae000.
    Read at address  0x04100464 (0xffffb8dae464): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x4100468    /dev/mem opened.
    Memory mapped at address 0xffffa27f0000.
    Read at address  0x04100468 (0xffffa27f0468): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x410046C    /dev/mem opened.
    Memory mapped at address 0xffff8fdae000.
    Read at address  0x0410046C (0xffff8fdae46c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x4100470    /dev/mem opened.
    Memory mapped at address 0xffffb2280000.
    Read at address  0x04100470 (0xffffb2280470): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x4100474    /dev/mem opened.
    Memory mapped at address 0xffff8a851000.
    Read at address  0x04100474 (0xffff8a851474): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x4100478    /dev/mem opened.
    Memory mapped at address 0xffffba55b000.
    Read at address  0x04100478 (0xffffba55b478): 0x00000000
    Register values for ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffb23e7000.
    Read at address  0x00420480 (0xffffb23e7480): 0x00000000
    Register values for ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x420484    /dev/mem opened.
    Memory mapped at address 0xffff9d6b2000.
    Read at address  0x00420484 (0xffff9d6b2484): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x420488    /dev/mem opened.
    Memory mapped at address 0xffff809dc000.
    Read at address  0x00420488 (0xffff809dc488): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x42048C    /dev/mem opened.
    Memory mapped at address 0xffffa6cdd000.
    Read at address  0x0042048C (0xffffa6cdd48c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x420490    /dev/mem opened.
    Memory mapped at address 0xffff847ca000.
    Read at address  0x00420490 (0xffff847ca490): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x420494    /dev/mem opened.
    Memory mapped at address 0xffffa0cd9000.
    Read at address  0x00420494 (0xffffa0cd9494): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x420498    /dev/mem opened.
    Memory mapped at address 0xffffa7cca000.
    Read at address  0x00420498 (0xffffa7cca498): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff807bb000.
    Read at address  0x04100480 (0xffff807bb480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x4100484    /dev/mem opened.
    Memory mapped at address 0xffff8fe86000.
    Read at address  0x04100484 (0xffff8fe86484): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x4100488    /dev/mem opened.
    Memory mapped at address 0xffff8acdb000.
    Read at address  0x04100488 (0xffff8acdb488): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x410048C    /dev/mem opened.
    Memory mapped at address 0xffffa5827000.
    Read at address  0x0410048C (0xffffa582748c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x4100490    /dev/mem opened.
    Memory mapped at address 0xffff9503b000.
    Read at address  0x04100490 (0xffff9503b490): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x4100494    /dev/mem opened.
    Memory mapped at address 0xffff8c736000.
    Read at address  0x04100494 (0xffff8c736494): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x4100498    /dev/mem opened.
    Memory mapped at address 0xffffa7e62000.
    Read at address  0x04100498 (0xffffa7e62498): 0x00000000
    Register values for ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff85c94000.
    Read at address  0x004204A0 (0xffff85c944a0): 0x00000000
    Register values for ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x4204A4    /dev/mem opened.
    Memory mapped at address 0xffff9848e000.
    Read at address  0x004204A4 (0xffff9848e4a4): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x4204A8    /dev/mem opened.
    Memory mapped at address 0xffffb235a000.
    Read at address  0x004204A8 (0xffffb235a4a8): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204AC    /dev/mem opened.
    Memory mapped at address 0xffffb3115000.
    Read at address  0x004204AC (0xffffb31154ac): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x4204B0    /dev/mem opened.
    Memory mapped at address 0xffffb9f26000.
    Read at address  0x004204B0 (0xffffb9f264b0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x4204B4    /dev/mem opened.
    Memory mapped at address 0xffff87f92000.
    Read at address  0x004204B4 (0xffff87f924b4): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204B8    /dev/mem opened.
    Memory mapped at address 0xffff89dad000.
    Read at address  0x004204B8 (0xffff89dad4b8): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffffb3eb8000.
    Read at address  0x041004A0 (0xffffb3eb84a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x41004A4    /dev/mem opened.
    Memory mapped at address 0xffffaa88c000.
    Read at address  0x041004A4 (0xffffaa88c4a4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x41004A8    /dev/mem opened.
    Memory mapped at address 0xffff96667000.
    Read at address  0x041004A8 (0xffff966674a8): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004AC    /dev/mem opened.
    Memory mapped at address 0xffff9afed000.
    Read at address  0x041004AC (0xffff9afed4ac): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x41004B0    /dev/mem opened.
    Memory mapped at address 0xffff8ef57000.
    Read at address  0x041004B0 (0xffff8ef574b0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x41004B4    /dev/mem opened.
    Memory mapped at address 0xffff815a9000.
    Read at address  0x041004B4 (0xffff815a94b4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004B8    /dev/mem opened.
    Memory mapped at address 0xffffbba60000.
    Read at address  0x041004B8 (0xffffbba604b8): 0x00000000
    Register values for ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffb1c47000.
    Read at address  0x004204C0 (0xffffb1c474c0): 0x00000000
    Register values for ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x4204C4    /dev/mem opened.
    Memory mapped at address 0xffff95d14000.
    Read at address  0x004204C4 (0xffff95d144c4): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x4204C8    /dev/mem opened.
    Memory mapped at address 0xffff96839000.
    Read at address  0x004204C8 (0xffff968394c8): 0x00000003
    Register values for ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204CC    /dev/mem opened.
    Memory mapped at address 0xffff9c03f000.
    Read at address  0x004204CC (0xffff9c03f4cc): 0x00000003
    Register values for ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x4204D0    /dev/mem opened.
    Memory mapped at address 0xffffb0379000.
    Read at address  0x004204D0 (0xffffb03794d0): 0x00000003
    Register values for ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x4204D4    /dev/mem opened.
    Memory mapped at address 0xffff9f9e7000.
    Read at address  0x004204D4 (0xffff9f9e74d4): 0x00000003
    Register values for ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204D8    /dev/mem opened.
    Memory mapped at address 0xffff8e6c1000.
    Read at address  0x004204D8 (0xffff8e6c14d8): 0x00000003
    Register values for WKUP_ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffff85f0a000.
    Read at address  0x041004C0 (0xffff85f0a4c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x41004C4    /dev/mem opened.
    Memory mapped at address 0xffffa52e5000.
    Read at address  0x041004C4 (0xffffa52e54c4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x41004C8    /dev/mem opened.
    Memory mapped at address 0xffff91212000.
    Read at address  0x041004C8 (0xffff912124c8): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004CC    /dev/mem opened.
    Memory mapped at address 0xffffb086e000.
    Read at address  0x041004CC (0xffffb086e4cc): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x41004D0    /dev/mem opened.
    Memory mapped at address 0xffffa777a000.
    Read at address  0x041004D0 (0xffffa777a4d0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x41004D4    /dev/mem opened.
    Memory mapped at address 0xffffbadd3000.
    Read at address  0x041004D4 (0xffffbadd34d4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004D8    /dev/mem opened.
    Memory mapped at address 0xffffb271d000.
    Read at address  0x041004D8 (0xffffb271d4d8): 0x00000000
    
    





    After:
    root@am62axx-evm:~# ./ESM_test_all.sh 
    WDT_STATUS
    /dev/mem opened.
    Memory mapped at address 0xffffb6b70000.
    Read at address  0x0E000098 (0xffffb6b70098): 0x00000032
    WKUP_MMR0_RST_CTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffffa774b000.
    Read at address  0x43018170 (0xffffa774b170): 0x000200FF
    WKUP_MMR1_RST_CTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffff9e06e000.
    Read at address  0x04518170 (0xffff9e06e170): 0x00400FFF
    WKUP_MMR0_LOCK2_KICK0 Register
    /dev/mem opened.
    Memory mapped at address 0xffff9ab55000.
    Read at address  0x43009008 (0xffff9ab55008): 0x68EF3491
    WKUP_MMR0_LOCK2_KICK1 Register
    /dev/mem opened.
    Memory mapped at address 0xffffa49c6000.
    Read at address  0x4300900C (0xffffa49c600c): 0xD172BC5A
    WKUP_MMR0_WKUP_WWD0_CLKSEL Register
    /dev/mem opened.
    Memory mapped at address 0xffffa45e1000.
    Read at address  0x43008380 (0xffffa45e1380): 0x00000000
    RTI4_WWDRXNCTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffff9fa6d000.
    Read at address  0x0E0000A4 (0xffff9fa6d0a4): 0x0000000A
    RTI4_DWDPRLD Register
    /dev/mem opened.
    Memory mapped at address 0xffffadd9c000.
    Read at address  0x0E000094 (0xffffadd9c094): 0x00000FFF
    RTI4_DWDCTRL Register
    /dev/mem opened.
    Memory mapped at address 0xffffb177d000.
    Read at address  0x0E000090 (0xffffb177d090): 0xA98559DA
    ======================================================ESM Registers===========================================================
    Register values for ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x420400    /dev/mem opened.
    Memory mapped at address 0xffffa78a9000.
    Read at address  0x00420400 (0xffffa78a9400): 0x00000000
    Register values for ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x420404    /dev/mem opened.
    Memory mapped at address 0xffff97831000.
    Read at address  0x00420404 (0xffff97831404): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x420408    /dev/mem opened.
    Memory mapped at address 0xffff8102d000.
    Read at address  0x00420408 (0xffff8102d408): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x42040C    /dev/mem opened.
    Memory mapped at address 0xffffbe2c3000.
    Read at address  0x0042040C (0xffffbe2c340c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x420410    /dev/mem opened.
    Memory mapped at address 0xffff8fd20000.
    Read at address  0x00420410 (0xffff8fd20410): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x420414    /dev/mem opened.
    Memory mapped at address 0xffffbaeb3000.
    Read at address  0x00420414 (0xffffbaeb3414): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x420418    /dev/mem opened.
    Memory mapped at address 0xffff9d5e2000.
    Read at address  0x00420418 (0xffff9d5e2418): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_0:
    Offset       Value
    -------------------
    0x4100400    /dev/mem opened.
    Memory mapped at address 0xffff9689c000.
    Read at address  0x04100400 (0xffff9689c400): 0x00000002
    Register values for WKUP_ESM_ERR_GRP_STS_0:
    Offset       Value
    -------------------
    0x4100404    /dev/mem opened.
    Memory mapped at address 0xffffb6678000.
    Read at address  0x04100404 (0xffffb6678404): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_0:
    Offset       Value
    -------------------
    0x4100408    /dev/mem opened.
    Memory mapped at address 0xffffa4712000.
    Read at address  0x04100408 (0xffffa4712408): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_0:
    Offset       Value
    -------------------
    0x410040C    /dev/mem opened.
    Memory mapped at address 0xffff8500a000.
    Read at address  0x0410040C (0xffff8500a40c): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_0:
    Offset       Value
    -------------------
    0x4100410    /dev/mem opened.
    Memory mapped at address 0xffff86b9e000.
    Read at address  0x04100410 (0xffff86b9e410): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_0:
    Offset       Value
    -------------------
    0x4100414    /dev/mem opened.
    Memory mapped at address 0xffff9d191000.
    Read at address  0x04100414 (0xffff9d191414): 0x40000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_0:
    Offset       Value
    -------------------
    0x4100418    /dev/mem opened.
    Memory mapped at address 0xffffa47ec000.
    Read at address  0x04100418 (0xffffa47ec418): 0x40000000
    Register values for ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x420420    /dev/mem opened.
    Memory mapped at address 0xffff883da000.
    Read at address  0x00420420 (0xffff883da420): 0x00000000
    Register values for ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x420424    /dev/mem opened.
    Memory mapped at address 0xffff8a69a000.
    Read at address  0x00420424 (0xffff8a69a424): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x420428    /dev/mem opened.
    Memory mapped at address 0xffffb0a77000.
    Read at address  0x00420428 (0xffffb0a77428): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x42042C    /dev/mem opened.
    Memory mapped at address 0xffff89bd8000.
    Read at address  0x0042042C (0xffff89bd842c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x420430    /dev/mem opened.
    Memory mapped at address 0xffffaf341000.
    Read at address  0x00420430 (0xffffaf341430): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x420434    /dev/mem opened.
    Memory mapped at address 0xffff90a1d000.
    Read at address  0x00420434 (0xffff90a1d434): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x420438    /dev/mem opened.
    Memory mapped at address 0xffff8504a000.
    Read at address  0x00420438 (0xffff8504a438): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_1:
    Offset       Value
    -------------------
    0x4100420    /dev/mem opened.
    Memory mapped at address 0xffffabcfd000.
    Read at address  0x04100420 (0xffffabcfd420): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_1:
    Offset       Value
    -------------------
    0x4100424    /dev/mem opened.
    Memory mapped at address 0xffff896d5000.
    Read at address  0x04100424 (0xffff896d5424): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_1:
    Offset       Value
    -------------------
    0x4100428    /dev/mem opened.
    Memory mapped at address 0xffffa62cd000.
    Read at address  0x04100428 (0xffffa62cd428): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_1:
    Offset       Value
    -------------------
    0x410042C    /dev/mem opened.
    Memory mapped at address 0xffffb8def000.
    Read at address  0x0410042C (0xffffb8def42c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_1:
    Offset       Value
    -------------------
    0x4100430    /dev/mem opened.
    Memory mapped at address 0xffff9a415000.
    Read at address  0x04100430 (0xffff9a415430): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_1:
    Offset       Value
    -------------------
    0x4100434    /dev/mem opened.
    Memory mapped at address 0xffffada8e000.
    Read at address  0x04100434 (0xffffada8e434): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_1:
    Offset       Value
    -------------------
    0x4100438    /dev/mem opened.
    Memory mapped at address 0xffff8dd3c000.
    Read at address  0x04100438 (0xffff8dd3c438): 0x00000000
    Register values for ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x420440    /dev/mem opened.
    Memory mapped at address 0xffffa63f1000.
    Read at address  0x00420440 (0xffffa63f1440): 0x00000000
    Register values for ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x420444    /dev/mem opened.
    Memory mapped at address 0xffffb4ef5000.
    Read at address  0x00420444 (0xffffb4ef5444): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x420448    /dev/mem opened.
    Memory mapped at address 0xffff94a5e000.
    Read at address  0x00420448 (0xffff94a5e448): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x42044C    /dev/mem opened.
    Memory mapped at address 0xffffba3b6000.
    Read at address  0x0042044C (0xffffba3b644c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x420450    /dev/mem opened.
    Memory mapped at address 0xffffb4c74000.
    Read at address  0x00420450 (0xffffb4c74450): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x420454    /dev/mem opened.
    Memory mapped at address 0xffff8f8e0000.
    Read at address  0x00420454 (0xffff8f8e0454): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x420458    /dev/mem opened.
    Memory mapped at address 0xffff8ae2c000.
    Read at address  0x00420458 (0xffff8ae2c458): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_2:
    Offset       Value
    -------------------
    0x4100440    /dev/mem opened.
    Memory mapped at address 0xffff899b4000.
    Read at address  0x04100440 (0xffff899b4440): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_2:
    Offset       Value
    -------------------
    0x4100444    /dev/mem opened.
    Memory mapped at address 0xffffa32bc000.
    Read at address  0x04100444 (0xffffa32bc444): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_2:
    Offset       Value
    -------------------
    0x4100448    /dev/mem opened.
    Memory mapped at address 0xffffbd192000.
    Read at address  0x04100448 (0xffffbd192448): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_2:
    Offset       Value
    -------------------
    0x410044C    /dev/mem opened.
    Memory mapped at address 0xffffbce17000.
    Read at address  0x0410044C (0xffffbce1744c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_2:
    Offset       Value
    -------------------
    0x4100450    /dev/mem opened.
    Memory mapped at address 0xffffbcefc000.
    Read at address  0x04100450 (0xffffbcefc450): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_2:
    Offset       Value
    -------------------
    0x4100454    /dev/mem opened.
    Memory mapped at address 0xffff94037000.
    Read at address  0x04100454 (0xffff94037454): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_2:
    Offset       Value
    -------------------
    0x4100458    /dev/mem opened.
    Memory mapped at address 0xffff92288000.
    Read at address  0x04100458 (0xffff92288458): 0x00000000
    Register values for ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x420460    /dev/mem opened.
    Memory mapped at address 0xffff97b36000.
    Read at address  0x00420460 (0xffff97b36460): 0x00000000
    Register values for ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x420464    /dev/mem opened.
    Memory mapped at address 0xffffb4f54000.
    Read at address  0x00420464 (0xffffb4f54464): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x420468    /dev/mem opened.
    Memory mapped at address 0xffff8e470000.
    Read at address  0x00420468 (0xffff8e470468): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x42046C    /dev/mem opened.
    Memory mapped at address 0xffffbd81c000.
    Read at address  0x0042046C (0xffffbd81c46c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x420470    /dev/mem opened.
    Memory mapped at address 0xffffb6804000.
    Read at address  0x00420470 (0xffffb6804470): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x420474    /dev/mem opened.
    Memory mapped at address 0xffffbce0c000.
    Read at address  0x00420474 (0xffffbce0c474): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x420478    /dev/mem opened.
    Memory mapped at address 0xffff88f31000.
    Read at address  0x00420478 (0xffff88f31478): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_3:
    Offset       Value
    -------------------
    0x4100460    /dev/mem opened.
    Memory mapped at address 0xffffa0a6e000.
    Read at address  0x04100460 (0xffffa0a6e460): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_3:
    Offset       Value
    -------------------
    0x4100464    /dev/mem opened.
    Memory mapped at address 0xffff8c047000.
    Read at address  0x04100464 (0xffff8c047464): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_3:
    Offset       Value
    -------------------
    0x4100468    /dev/mem opened.
    Memory mapped at address 0xffffac49f000.
    Read at address  0x04100468 (0xffffac49f468): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_3:
    Offset       Value
    -------------------
    0x410046C    /dev/mem opened.
    Memory mapped at address 0xffff95848000.
    Read at address  0x0410046C (0xffff9584846c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_3:
    Offset       Value
    -------------------
    0x4100470    /dev/mem opened.
    Memory mapped at address 0xffff8c250000.
    Read at address  0x04100470 (0xffff8c250470): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_3:
    Offset       Value
    -------------------
    0x4100474    /dev/mem opened.
    Memory mapped at address 0xffff91800000.
    Read at address  0x04100474 (0xffff91800474): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_3:
    Offset       Value
    -------------------
    0x4100478    /dev/mem opened.
    Memory mapped at address 0xffffb6a24000.
    Read at address  0x04100478 (0xffffb6a24478): 0x00000000
    Register values for ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x420480    /dev/mem opened.
    Memory mapped at address 0xffffa3d06000.
    Read at address  0x00420480 (0xffffa3d06480): 0x00000000
    Register values for ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x420484    /dev/mem opened.
    Memory mapped at address 0xffffb287b000.
    Read at address  0x00420484 (0xffffb287b484): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x420488    /dev/mem opened.
    Memory mapped at address 0xffff96ebb000.
    Read at address  0x00420488 (0xffff96ebb488): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x42048C    /dev/mem opened.
    Memory mapped at address 0xffff95339000.
    Read at address  0x0042048C (0xffff9533948c): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x420490    /dev/mem opened.
    Memory mapped at address 0xffff81f63000.
    Read at address  0x00420490 (0xffff81f63490): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x420494    /dev/mem opened.
    Memory mapped at address 0xffff94832000.
    Read at address  0x00420494 (0xffff94832494): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x420498    /dev/mem opened.
    Memory mapped at address 0xffff9f914000.
    Read at address  0x00420498 (0xffff9f914498): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_4:
    Offset       Value
    -------------------
    0x4100480    /dev/mem opened.
    Memory mapped at address 0xffff8e57c000.
    Read at address  0x04100480 (0xffff8e57c480): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_4:
    Offset       Value
    -------------------
    0x4100484    /dev/mem opened.
    Memory mapped at address 0xffff90fa9000.
    Read at address  0x04100484 (0xffff90fa9484): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_4:
    Offset       Value
    -------------------
    0x4100488    /dev/mem opened.
    Memory mapped at address 0xffffa12a9000.
    Read at address  0x04100488 (0xffffa12a9488): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_4:
    Offset       Value
    -------------------
    0x410048C    /dev/mem opened.
    Memory mapped at address 0xffffb94eb000.
    Read at address  0x0410048C (0xffffb94eb48c): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_4:
    Offset       Value
    -------------------
    0x4100490    /dev/mem opened.
    Memory mapped at address 0xffffadab0000.
    Read at address  0x04100490 (0xffffadab0490): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_4:
    Offset       Value
    -------------------
    0x4100494    /dev/mem opened.
    Memory mapped at address 0xffff83506000.
    Read at address  0x04100494 (0xffff83506494): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_4:
    Offset       Value
    -------------------
    0x4100498    /dev/mem opened.
    Memory mapped at address 0xffff9391c000.
    Read at address  0x04100498 (0xffff9391c498): 0x00000000
    Register values for ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x4204A0    /dev/mem opened.
    Memory mapped at address 0xffff93f67000.
    Read at address  0x004204A0 (0xffff93f674a0): 0x00000000
    Register values for ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x4204A4    /dev/mem opened.
    Memory mapped at address 0xffffa9bac000.
    Read at address  0x004204A4 (0xffffa9bac4a4): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x4204A8    /dev/mem opened.
    Memory mapped at address 0xffffbec5e000.
    Read at address  0x004204A8 (0xffffbec5e4a8): 0x00000000
    Register values for ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204AC    /dev/mem opened.
    Memory mapped at address 0xffffb7c5a000.
    Read at address  0x004204AC (0xffffb7c5a4ac): 0x00000000
    Register values for ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x4204B0    /dev/mem opened.
    Memory mapped at address 0xffff97815000.
    Read at address  0x004204B0 (0xffff978154b0): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x4204B4    /dev/mem opened.
    Memory mapped at address 0xffff8ec5a000.
    Read at address  0x004204B4 (0xffff8ec5a4b4): 0x00000000
    Register values for ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x4204B8    /dev/mem opened.
    Memory mapped at address 0xffffb9382000.
    Read at address  0x004204B8 (0xffffb93824b8): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_RAW_5:
    Offset       Value
    -------------------
    0x41004A0    /dev/mem opened.
    Memory mapped at address 0xffff9ca63000.
    Read at address  0x041004A0 (0xffff9ca634a0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_5:
    Offset       Value
    -------------------
    0x41004A4    /dev/mem opened.
    Memory mapped at address 0xffffbc21c000.
    Read at address  0x041004A4 (0xffffbc21c4a4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_5:
    Offset       Value
    -------------------
    0x41004A8    /dev/mem opened.
    Memory mapped at address 0xffff93bf2000.
    Read at address  0x041004A8 (0xffff93bf24a8): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004AC    /dev/mem opened.
    Memory mapped at address 0xffffb9f1e000.
    Read at address  0x041004AC (0xffffb9f1e4ac): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_5:
    Offset       Value
    -------------------
    0x41004B0    /dev/mem opened.
    Memory mapped at address 0xffffb1026000.
    Read at address  0x041004B0 (0xffffb10264b0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_5:
    Offset       Value
    -------------------
    0x41004B4    /dev/mem opened.
    Memory mapped at address 0xffff917d0000.
    Read at address  0x041004B4 (0xffff917d04b4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_5:
    Offset       Value
    -------------------
    0x41004B8    /dev/mem opened.
    Memory mapped at address 0xffff8b4fe000.
    Read at address  0x041004B8 (0xffff8b4fe4b8): 0x00000000
    Register values for ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x4204C0    /dev/mem opened.
    Memory mapped at address 0xffffab604000.
    Read at address  0x004204C0 (0xffffab6044c0): 0x00000001
    Register values for ESM_ERR_GRP_STS_6:
    Offset       Value
    -------------------
    0x4204C4    /dev/mem opened.
    Memory mapped at address 0xffffa35c8000.
    Read at address  0x004204C4 (0xffffa35c84c4): 0x00000001
    Register values for ESM_ERR_GRP_INTR_EN_SET_6:
    Offset       Value
    -------------------
    0x4204C8    /dev/mem opened.
    Memory mapped at address 0xffffb97e4000.
    Read at address  0x004204C8 (0xffffb97e44c8): 0x00000003
    Register values for ESM_ERR_GRP_INTR_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204CC    /dev/mem opened.
    Memory mapped at address 0xffffb10cf000.
    Read at address  0x004204CC (0xffffb10cf4cc): 0x00000003
    Register values for ESM_ERR_GRP_INT_PRIO_6:
    Offset       Value
    -------------------
    0x4204D0    /dev/mem opened.
    Memory mapped at address 0xffff80335000.
    Read at address  0x004204D0 (0xffff803354d0): 0x00000003
    Register values for ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x4204D4    /dev/mem opened.
    Memory mapped at address 0xffffab9e7000.
    Read at address  0x004204D4 (0xffffab9e74d4): 0x00000003
    Register values for ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x4204D8    /dev/mem opened.
    Memory mapped at address 0xffffb0199000.
    Read at address  0x004204D8 (0xffffb01994d8): 0x00000003
    Register values for WKUP_ESM_ERR_GRP_RAW_6:
    Offset       Value
    -------------------
    0x41004C0    /dev/mem opened.
    Memory mapped at address 0xffffaab93000.
    Read at address  0x041004C0 (0xffffaab934c0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_STS_6:                                                                                            
    Offset       Value                                                                                                                     
    -------------------                                                                                                                    
    0x41004C4    /dev/mem opened.                                                                                                          
    Memory mapped at address 0xffff8d133000.                                                                                               
    Read at address  0x041004C4 (0xffff8d1334c4): 0x00000000                                                                               
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_SET_6:                                                                                    
    Offset       Value                                                                                                                     
    -------------------                                                                                                                    
    0x41004C8    /dev/mem opened.                                                                                                          
    Memory mapped at address 0xffffa63f1000.                                                                                               
    Read at address  0x041004C8 (0xffffa63f14c8): 0x00000000                                                                               
    Register values for WKUP_ESM_ERR_GRP_INTR_EN_CLR_6:                                                                                    
    Offset       Value                                                                                                                     
    -------------------                                                                                                                    
    0x41004CC    /dev/mem opened.                                                                                                          
    Memory mapped at address 0xffff99f48000.                                                                                               
    Read at address  0x041004CC (0xffff99f484cc): 0x00000000                                                                               
    Register values for WKUP_ESM_ERR_GRP_INT_PRIO_6:                                                                                       
    Offset       Value
    -------------------
    0x41004D0    /dev/mem opened.
    Memory mapped at address 0xffffac49f000.
    Read at address  0x041004D0 (0xffffac49f4d0): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_SET_6:
    Offset       Value
    -------------------
    0x41004D4    /dev/mem opened.
    Memory mapped at address 0xffff8f30d000.
    Read at address  0x041004D4 (0xffff8f30d4d4): 0x00000000
    Register values for WKUP_ESM_ERR_GRP_PIN_EN_CLR_6:
    Offset       Value
    -------------------
    0x41004D8    /dev/mem opened.
    Memory mapped at address 0xffffb07cc000.
    Read at address  0x041004D8 (0xffffb07cc4d8): 0x00000000
    
    




    1). WKUP_ESM_ERR_* diff



    2)ESM_ERR_*


    Still the device reset does not Occur once the Watchdog timeout happens


    I have also shared the script used to read all the registers

    #!/bin/sh
    
    echo "WDT_STATUS"
    
    devmem2 0x0E000098
    
    #!/bin/bash
    
    # Read and display the content of WKUP_MMR0_RST_CTRL Register
    echo "WKUP_MMR0_RST_CTRL Register"
    devmem2 0x43018170
    
    # Read and display the content of WKUP_MMR1_RST_CTRL Register
    echo "WKUP_MMR1_RST_CTRL Register"
    devmem2 0x04518170
    
    # Read and display the content of WKUP_MMR0_LOCK2_KICK0 Register
    echo "WKUP_MMR0_LOCK2_KICK0 Register"
    devmem2 0x43009008
    
    # Read and display the content of WKUP_MMR0_LOCK2_KICK1 Register
    echo "WKUP_MMR0_LOCK2_KICK1 Register"
    devmem2 0x4300900C
    
    # Read and display the content of WKUP_MMR0_WKUP_WWD0_CLKSEL Register
    echo "WKUP_MMR0_WKUP_WWD0_CLKSEL Register"
    devmem2 0x43008380
    
    # Read and display the content of RTI4_WWDRXNCTRL Register
    echo "RTI4_WWDRXNCTRL Register"
    devmem2 0xe0000a4
    
    # Read and display the content of RTI4_DWDPRLD Register
    echo "RTI4_DWDPRLD Register"
    devmem2 0xe000094
    
    # Read and display the content of RTI4_DWDCTRL Register
    echo "RTI4_DWDCTRL Register"
    devmem2 0xe000090
    
    echo "======================================================ESM Registers==========================================================="
    
    
    # Base addresses
    BASE_ADDR_ESM0=0x00420000
    BASE_ADDR_WKUP_ESM0=0x04100000
    
    # Loop through j values (0h to 6h)
    for j in 0 1 2 3 4 5 6; do
        OFFSET=$((0x400 + (j * 0x20)))
        ADDR_ESM0=$(printf "0x%X" $((BASE_ADDR_ESM0 + OFFSET)))
        ADDR_WKUP_ESM0=$(printf "0x%X" $((BASE_ADDR_WKUP_ESM0 + OFFSET)))
    
        for register in "ESM_ERR_GRP_RAW" "ESM_ERR_GRP_STS" "ESM_ERR_GRP_INTR_EN_SET" \
                        "ESM_ERR_GRP_INTR_EN_CLR" "ESM_ERR_GRP_INT_PRIO" \
                        "ESM_ERR_GRP_PIN_EN_SET" "ESM_ERR_GRP_PIN_EN_CLR" \
                        "WKUP_ESM_ERR_GRP_RAW" "WKUP_ESM_ERR_GRP_STS" \
                        "WKUP_ESM_ERR_GRP_INTR_EN_SET" "WKUP_ESM_ERR_GRP_INTR_EN_CLR" \
                        "WKUP_ESM_ERR_GRP_INT_PRIO" "WKUP_ESM_ERR_GRP_PIN_EN_SET" \
                        "WKUP_ESM_ERR_GRP_PIN_EN_CLR"; do
            echo "Register values for ${register}_${j}:"
            echo "Offset       Value"
            echo "-------------------"
            case "$register" in
                "ESM_ERR_GRP_RAW")
                    ADDR=$ADDR_ESM0
                    ;;
                "ESM_ERR_GRP_STS")
                    ADDR=$ADDR_ESM0
                    ;;
                "ESM_ERR_GRP_INTR_EN_SET")
                    ADDR=$ADDR_ESM0
                    ;;
                "ESM_ERR_GRP_INTR_EN_CLR")
                    ADDR=$ADDR_ESM0
                    ;;
                "ESM_ERR_GRP_INT_PRIO")
                    ADDR=$ADDR_ESM0
                    ;;
                "ESM_ERR_GRP_PIN_EN_SET")
                    ADDR=$ADDR_ESM0
                    ;;
                "ESM_ERR_GRP_PIN_EN_CLR")
                    ADDR=$ADDR_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_RAW")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_STS")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_INTR_EN_SET")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_INTR_EN_CLR")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_INT_PRIO")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_PIN_EN_SET")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
                "WKUP_ESM_ERR_GRP_PIN_EN_CLR")
                    ADDR=$ADDR_WKUP_ESM0
                    ;;
            esac
            echo "$ADDR    $(devmem2 $ADDR)"
        done
    done
    



    Regards,

    Anil Kumar M

  • Hello Anil,
    Thanks for your update and additional testing.
    I'd recommend to test RTI_WDT => ESM @u-boot level first on AM62A setup.
    I shared my previous test on firing off AM64x RTI_WDT @u-boot with Linux SDK 8.2 on AM64x GP EVM.
    e2e.ti.com/.../4790429
    1/. ~1 seconds RTI_WDT timeout => ESM => SoC RESET
    2/. ~12 seconds RTI_WDT timeout => ESM => SoC RESET
    Best,
    -Hong

  • Hello Anil,
    I tested previoulsy RTI_WDT => ESM once kernel up-running with Linux SDK 8.2 on AM64x GP EVM
    e2e.ti.com/.../4753583
    - WDT/ESM test cmd in kernel “./runltp -P am64xx-evm -f ddt/wdt_test -s WDT_S_FUNC_GETSTATUS”

    Can we try the same on AM62A setup?

    Best,
    -Hong

  • Hello Hong Guan,

    we have few question on the same 

    1). If we consider the MCU ESM is triggered from the registers WKUP_ESM_ERR_*_*_ as shown in above meld diff changes in previous conversation
         how do we catch the MCU interrupt  for using it to triggering  internal safety app  ,than redirecting it to output interrupt trigger pin PMIC 

    2).The ESM related registers
                a).ESM_ERR_*

                    we observe that bit 0 is getting updated but what does each bit represent here 

    Example
                     Register values for ESM_ERR_GRP_RAW_6:
                     Offset Value
                      -------------------
                      0x4204C0 /dev/mem opened.
                      Memory mapped at address 0xffff87b99000.
                      Read at address 0x004204C0 (0xffff87b994c0): 0x00000001


                      

                     b).WKUP_ESM_ERR_ *     

                        we observe that bit 1 is getting updated but what does each bit represent here                

     Example


                    Register values for WKUP_ESM_ERR_GRP_RAW_0:
                    Offset Value
                    -------------------
                   0x4100400 /dev/mem opened.
                   Memory mapped at address 0xffffb7afb000.
                   Read at address 0x04100400 (0xffffb7afb400): 0x00000002

     
                   




    I am also trying the U-boot method suggested in previous reply ,along with the kernel filesystem test application
               


    Best ,
    Anil Kumar M

  • Hi Hong Guan,

    1).The ltp test cases on linux seems failing ,as shown in the below logs
         

         a)  ./runltp -P  am62axx_sk-fs -f /opt/ltp/runtest/ddt/wdt_test -s WDT_S_FUNC_GEETSTATUS
                 logs 

                  

    root@am62axx-evm:/opt/ltp# 
    _test -s WDT_S_FUNC_GEETSTATUSunltp -P  am62xx-hsevm -f /opt/ltp/runtest/ddt/wdt_
    INFO: creating /opt/ltp/results directory
    INFO: Filtering testscenarios based on am62xx-hsevm capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2021.09"
    VERSION_ID=2021.09
    PRETTY_NAME="Arago 2021.09"
    
    uname:
    Linux am62axx-evm 5.10.168-g2c23e6c538 #1 SMP PREEMPT Mon Sep 4 14:00:11 IST 2023 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=/dev/null earlycon=ns16550a,mmio32,0x02800000 mem=1G root=PARTUUID=1ff14cd7-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 9.2.1 20191025
    Clang                 
    Gnu make               4.3
    util-linux             2.35.1
    mount                  linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
    modutils               26
    e2fsprogs              1.45.7
    Linux C Library        > libc.2.30
    Dynamic linker (ldd)   2.30
    Linux C++ Library      6..
    Procps                 3.3.16
    Net-tools              1.60
    iproute2               iproute2-5.10.0
    iputils                'V'
    ethtool                5.10
    Kbd                    2.2.0
    Sh-utils               8.31
    Modules Loaded         sctp xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc o6
    
    free reports:
                  total        used        free      shared  buff/cache   available
    Mem:         458880      125080       40612        9632      293188      316928
    Swap:             0           0           0
    
    cpuinfo:
    Architecture:                    aarch64
    CPU op-mode(s):                  32-bit, 64-bit
    Byte Order:                      Little Endian
    CPU(s):                          4
    On-line CPU(s) list:             0-3
    Thread(s) per core:              1
    Core(s) per socket:              4
    Socket(s):                       1
    Vendor ID:                       ARM
    Model:                           4
    Model name:                      Cortex-A53
    Stepping:                        r0p4
    BogoMIPS:                        400.00
    L1d cache:                       128 KiB
    L1i cache:                       128 KiB
    L2 cache:                        256 KiB
    Vulnerability Itlb multihit:     Not affected
    Vulnerability L1tf:              Not affected
    Vulnerability Mds:               Not affected
    Vulnerability Meltdown:          Not affected
    Vulnerability Mmio stale data:   Not affected
    Vulnerability Retbleed:          Not affected
    Vulnerability Spec store bypass: Not affected
    Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
    Vulnerability Spectre v2:        Not affected
    Vulnerability Srbds:             Not affected
    Vulnerability Tsx async abort:   Not affected
    Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 cpui
                                     d
    
    AppArmor disabled
    
    SELinux mode: unknown
    no big block device was specified on commandline.
    Tests which require a big block device are disabled.
    You can specify it with option -z
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 3496     -n 3496 -p -f /tmp/ltp-XCN1Z4lg3W/alltests -l /tmp/tmp.oHMLOiEpFD  -C /opt/ltp/output/LTP_RUN_ON-tmp.oHMLOiEpFD.failed -T /opt/ltp/output/LTP_RUN_Of
    INFO: Restricted to WDT_S_FUNC_GEETSTATUS
    LOG File: /tmp/tmp.oHMLOiEpFD
    FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.oHMLOiEpFD.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.oHMLOiEpFD.tconf
    Running tests.......
    pan(3496): Must supply a file collection or a command
    INFO: ltp-pan reported all tests PASS
    LTP Version: 20210524-2561-g58c567cb0
            
           ###############################################################"
            
                Done executing testcases."
                LTP Version:  20210524-2561-g58c567cb0
                Result log is in the /tmp/tmp.oHMLOiEpFD "
           ###############################################################"
           
    Test Start Time: Mon Feb 27 10:49:13 2023
    -----------------------------------------
    Testcase                                           Result     Exit Value
    --------                                           ------     ----------
    
    

             b)./runltp -P am62axx_sk-fs -f /opt/ltp/runtest/ddt/wdt_test -s WDT_S_FUNC_GEETSTATUS
                 
    root@am62axx-evm:~# 
    -s WDT_S_FUNC_GEETSTATUSnltp -P  am62axx_sk-fs -f /opt/ltp/runtest/ddt/wdt_test -
    -sh: ./runltp: No such file or directory
    root@am62axx-evm:~# cd /opt/ltp/
    t_test -s WDT_S_FUNC_GEETSTATUSnltp -P  am62axx_sk-fs -f /opt/ltp/runtest/ddt/wd 
    INFO: creating /opt/ltp/results directory
    INFO: Filtering testscenarios based on am62axx_sk-fs capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2021.09"
    VERSION_ID=2021.09
    PRETTY_NAME="Arago 2021.09"
    
    uname:
    Linux am62axx-evm 5.10.168-g2c23e6c538 #1 SMP PREEMPT Mon Sep 4 14:00:11 IST 2023 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=/dev/null earlycon=ns16550a,mmio32,0x02800000 mem=1G root=PARTUUID=1ff14cd7-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 9.2.1 20191025
    Clang                 
    Gnu make               4.3
    util-linux             2.35.1
    mount                  linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
    modutils               26
    e2fsprogs              1.45.7
    Linux C Library        > libc.2.30
    Dynamic linker (ldd)   2.30
    Linux C++ Library      6..
    Procps                 3.3.16
    Net-tools              1.60
    iproute2               iproute2-5.10.0
    iputils                'V'
    ethtool                5.10
    Kbd                    2.2.0
    Sh-utils               8.31
    Modules Loaded         sctp xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc o6
    
    free reports:
                  total        used        free      shared  buff/cache   available
    Mem:         458880      126000       39168        9692      293712      316148
    Swap:             0           0           0
    
    cpuinfo:
    Architecture:                    aarch64
    CPU op-mode(s):                  32-bit, 64-bit
    Byte Order:                      Little Endian
    CPU(s):                          4
    On-line CPU(s) list:             0-3
    Thread(s) per core:              1
    Core(s) per socket:              4
    Socket(s):                       1
    Vendor ID:                       ARM
    Model:                           4
    Model name:                      Cortex-A53
    Stepping:                        r0p4
    BogoMIPS:                        400.00
    L1d cache:                       128 KiB
    L1i cache:                       128 KiB
    L2 cache:                        256 KiB
    Vulnerability Itlb multihit:     Not affected
    Vulnerability L1tf:              Not affected
    Vulnerability Mds:               Not affected
    Vulnerability Meltdown:          Not affected
    Vulnerability Mmio stale data:   Not affected
    Vulnerability Retbleed:          Not affected
    Vulnerability Spec store bypass: Not affected
    Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
    Vulnerability Spectre v2:        Not affected
    Vulnerability Srbds:             Not affected
    Vulnerability Tsx async abort:   Not affected
    Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 cpui
                                     d
    
    AppArmor disabled
    
    SELinux mode: unknown
    no big block device was specified on commandline.
    Tests which require a big block device are disabled.
    You can specify it with option -z
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 4158     -n 4158 -p -f /tmp/ltp-TKOyeQCred/alltests -l /tmp/tmp.uTOeIKHJ5o  -C /opt/ltp/output/LTP_RUN_ON-tmp.uTOeIKHJ5o.failed -T /opt/ltp/output/LTP_RUN_Of
    INFO: Restricted to WDT_S_FUNC_GEETSTATUS
    LOG File: /tmp/tmp.uTOeIKHJ5o
    FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.uTOeIKHJ5o.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.uTOeIKHJ5o.tconf
    Running tests.......
    pan(4158): Must supply a file collection or a command
    INFO: ltp-pan reported all tests PASS
    LTP Version: 20210524-2561-g58c567cb0
            
           ###############################################################"
            
                Done executing testcases."
                LTP Version:  20210524-2561-g58c567cb0
                Result log is in the /tmp/tmp.uTOeIKHJ5o "
           ###############################################################"
           
    Test Start Time: Mon Feb 27 10:55:18 2023
    -----------------------------------------
    Testcase                                           Result     Exit Value
    --------                                           ------     ----------
    root@am62axx-evm:/opt/ltp# 
    

             c)./runltp -z -P  am62axx_sk-fs -f /opt/ltp/runtest/ddt/wdt_test -s WDT_S_FUNC_GEETSTATUS
                
    root@am62axx-evm:/opt/ltp# 
    /wdt_test -s WDT_S_FUNC_GEETSTATUSp -z -P  am62axx_sk-fs -f /opt/ltp/runtest/ddt/
    INFO: creating /opt/ltp/results directory
    INFO: no command files were provided. Executing following runtest scenario files:
    syscalls fs fs_perms_simple fsx dio io mm ipc sched math nptl pty containers fs_bind controllers filecaps cap_bounds fcntl-locktests connectors power_management_tests hugetlb commands hyperthreading can 
    
    Checking for required user/group ids
    
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2021.09"
    VERSION_ID=2021.09
    PRETTY_NAME="Arago 2021.09"
    
    uname:
    Linux am62axx-evm 5.10.168-g2c23e6c538 #1 SMP PREEMPT Mon Sep 4 14:00:11 IST 2023 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=/dev/null earlycon=ns16550a,mmio32,0x02800000 mem=1G root=PARTUUID=1ff14cd7-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 9.2.1 20191025
    Clang                 
    Gnu make               4.3
    util-linux             2.35.1
    mount                  linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
    modutils               26
    e2fsprogs              1.45.7
    Linux C Library        > libc.2.30
    Dynamic linker (ldd)   2.30
    Linux C++ Library      6..
    Procps                 3.3.16
    Net-tools              1.60
    iproute2               iproute2-5.10.0
    iputils                'V'
    ethtool                5.10
    Kbd                    2.2.0
    Sh-utils               8.31
    Modules Loaded         sctp xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc o1
     ipv6
    
    free reports:
                  total        used        free      shared  buff/cache   available
    Mem:         458880      125996       38816        9748      294068      316124
    Swap:             0           0           0
    
    cpuinfo:
    Architecture:                    aarch64
    CPU op-mode(s):                  32-bit, 64-bit
    Byte Order:                      Little Endian
    CPU(s):                          4
    On-line CPU(s) list:             0-3
    Thread(s) per core:              1
    Core(s) per socket:              4
    Socket(s):                       1
    Vendor ID:                       ARM
    Model:                           4
    Model name:                      Cortex-A53
    Stepping:                        r0p4
    BogoMIPS:                        400.00
    L1d cache:                       128 KiB
    L1i cache:                       128 KiB
    L2 cache:                        256 KiB
    Vulnerability Itlb multihit:     Not affected
    Vulnerability L1tf:              Not affected
    Vulnerability Mds:               Not affected
    Vulnerability Meltdown:          Not affected
    Vulnerability Mmio stale data:   Not affected
    Vulnerability Retbleed:          Not affected
    Vulnerability Spec store bypass: Not affected
    Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
    Vulnerability Spectre v2:        Not affected
    Vulnerability Srbds:             Not affected
    Vulnerability Tsx async abort:   Not affected
    Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 cpui
                                     d
    
    AppArmor disabled
    
    SELinux mode: unknown
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 4635     -n 4635 -p -f /tmp/ltp-Ln68TTfhyl/alltests -l /tmp/tmp.Fwft1bg3wx  -C /opt/ltp/output/LTP_RUN_ON-tmp.Fwft1bg3wx.failed -T /opt/ltp/output/LTP_RUN_Of
    LOG File: /tmp/tmp.Fwft1bg3wx
    FA[ 1332.411901] LTP: starting accept01
    ILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.Fwft1bg3wx.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.Fwft1bg3[ 1332.425839] LTP: starting accept02
    wx.tconf
    Running tests.......
    <<<test_start>>>
    tag=abort01 stime=1677495625
    cmdline="abort01"
    contacts=""
    analysis=exit
    <[ 1332.441634] LTP: starting accept4_01
    <<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    abort01.c:62: TPASS: abort() dumped core
    abort01.c:65: TPASS: abort() raised SIGIOT
    [ 1332.460582] LTP: starting access01
    
    Summary:
    passed   2
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=accept01 stime=1677495625
    cmdline="accept01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    accept01.c:100: TPASS: bad file descriptor: EBADF (9)
    accept01.c:100: TPASS: fd is not socket: ENOTSOCK (88)
    accept01.c:100: TPASS: invalid socket buffer: EINVAL (22)
    accept01.c:100: TPASS: invalid salen: EINVAL (22)
    accept01.c:100: TPASS: no queued connections: EINVAL (22)
    accept01.c:100: TPASS: UDP accept: EOPNOTSUPP (95)
    
    Summary:
    passed   6
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=accept02 stime=1677495625
    cmdline="accept02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    accept02.c:130: TINFO: Starting listener on port: 59531
    accept02.c:54: TBROK: setsockopt(3, 0, 42, 0xffff938d3f78, 136) failed: ENODEV (19)
    
    Summary:
    passed   0
    failed   0
    broken   1
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=2 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=accept4_01 stime=1677495625
    cmdline="accept4_01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    accept4_01.c:72: TINFO: Testing variant: libc accept4()
    accept4_01.c:152: TPASS: Close-on-exec 0, nonblock 0
    accept4_01.c:152: TPASS: Close-on-exec 1, nonblock 0
    accept4_01.c:152: TPASS: Close-on-exec 0, nonblock 1
    accept4_01.c:152: TPASS: Close-on-exec 1, nonblock 1
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    accept4_01.c:72: TINFO: Testing variant: __NR_accept4 syscall
    accept4_01.c:152: TPASS: Close-on-exec 0, nonblock 0
    accept4_01.c:152: TPASS: Close-on-exec 1, nonblock 0
    accept4_01.c:152: TPASS: Close-on-exec 0, nonblock 1
    accept4_01.c:152: TPASS: Close-on-exec 1, nonblock 1
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    accept4_01.c:72: TINFO: Testing variant: __NR_socketcall SYS_ACCEPT4 syscall
    accept4_01.c:46: TCONF: syscall(-1) __NR_socketcall not supported
    
    Summary:
    passed   8
    failed   0
    broken   0
    skipped  1
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=access01 stime=1677495625
    cmdline="access01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    access01.c:240: TPASS: access(accessfile_rwx, F_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, X_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, X_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, W_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK|W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK|W_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK|X_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK|X_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, W_OK|X_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, W_OK|X_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK|W_OK|X_OK) as root passed
    access01.c:240: TPASS: access(accessfile_rwx, R_OK|W_OK|X_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessfile_x, X_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_w, W_OK) as nobody passed
    access01.c:240: TPASS: access(accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessfile_r, R_OK) as nobody passed
    access01.c:237: TPASS: access(accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_x, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, W_OK|X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, W_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, R_OK|X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, R_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, R_OK|W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, R_OK|W_OK|X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_r, R_OK|W_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, W_OK|X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, W_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, R_OK|X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, R_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, R_OK|W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, R_OK|W_OK|X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessfile_w, R_OK|W_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_x, W_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_x, R_OK|X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_x, R_OK|W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessfile_x, R_OK|W_OK|X_OK) as nobody: EACCES (13)
    access01.c:240: TPASS: access(accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_r, R_OK|W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessfile_w, R_OK|W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessfile_x, R_OK|W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_r, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_w, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_x, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_r/accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_r, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_w, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_x, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_w/accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_r, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_r, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_r, R_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_w, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_w, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_w, W_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_x, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_x, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessdir_x/accessfile_x, X_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_r, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_w, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_x, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rw/accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_r, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_r, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_r, R_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_w, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_w, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_w, W_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_x, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_x, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessdir_rx/accessfile_x, X_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_r, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_r, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_r, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_r, R_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_r, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_w, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_w, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_w, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_w, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_w, W_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_x, F_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_x, F_OK) as nobody passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_x, R_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_x, W_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_x, X_OK) as root passed
    access01.c:240: TPASS: access(accessdir_wx/accessfile_x, X_OK) as nobody passed
    access01.c:237: TPASS: access(accessdir_r/accessfile_r, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_r, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_w, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_w, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_x, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_x, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_r/accessfile_x, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_r, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_r, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_w, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_w, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_x, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_x, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_w/accessfile_x, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_x/accessfile_x, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_r, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_r, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_w, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_w, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_x, F_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_x, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rw/accessfile_x, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: ac[ 1334.220879] LTP: starting access02
    cess(accessdir_rx/accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_rx/accessfile_x, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_wx/accessfile_r, W_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_wx/accessfile_r, X_OK) as root: EACCES (13)
    access01.c:237: TPASS[ 1334.271366] LTP: starting access03
    : access(accessdir_wx/accessfile_r, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_wx/accessfile_w, R_OK) as nobody: EACCES (13)
    access01.c:237: T[ 1334.291095] LTP: starting access04
    PASS: access(accessdir_wx/accessfile_w, X_OK) as root: EACCES (13)
    access01.c:237: TPASS: access(accessdir_wx/accessfile_w, X_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_wx/accessfile_x, R_OK) as nobody: EACCES (13)
    access01.c:237: TPASS: access(accessdir_wx/accessfile_x, W_OK) as nobody: EACCES (13)
    
    Summary:
    passed   199
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=2 termination_type=exited termination_id=0 corefile=no
    cutime=6 cstime=4
    <<<test_end>>>
    <<<test_start>>>
    tag=access02 stime=1677495627
    cmdline="access02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    access02.c:141: TPASS: access(file_f, F_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(file_f, F_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(file_r, R_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(file_r, R_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(file_w, W_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(file_w, W_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(file_x, X_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(file_x, X_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(symlink_f, F_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(symlink_f, F_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(symlink_r, R_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(symlink_r, R_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(symlink_w, W_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(symlink_w, W_OK) as nobody behaviour is correct.
    access02.c:141: TPASS: access(symlink_x, X_OK) as root behaviour is correct.
    access02.c:141: TPASS: access(symlink_x, X_OK) as nobody behaviour is correct.
    
    Summary:
    passed   16
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=3
    <<<test_end>>>
    <<<test_start>>>
    tag=access03 stime=1677495627
    cmdline="access03"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    access03.c:34: TPASS: invalid address as root: EFAULT (14)
    access03.c:43: TPASS: invalid address as nobody: EFAULT (14)
    access03.c:34: TPASS: invalid address as root: EFAULT (14)
    access03.c:43: TPASS: invalid address as nobody: EFAULT (14)
    access03.c:34: TPASS: invalid address as root: EFAULT (14)
    access03.c:43: TPASS: invalid address as nobody: EFAULT (14)
    access03.c:34: TPASS: invalid address as root: EFAULT (14)
    access03.c:43: TPASS: invalid address as nobody: EFAULT (14)
    
    Summary:
    passed   8
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=access04 stime=1677495627
    cmdline="access04"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    access04.c:61: TPASS: access as root: EINVAL (22)
    access04.c:61: TPASS: access as nobody: EINVAL (22)
    access04.c:61: TPASS: access as root: ENOENT (2)
    access04.c:61: TPASS: access as nobody: ENOENT (2)
    access04.c:61: TPASS: access as root: ENAMETOOLONG (36)
    access04.c:61: TPASS: access as nobody: ENAMETOOLONG (36)
    access04.c:61: TPASS: access as root: ENOTDIR (20)
    access04.c:61:[ 1334.647322] LTP: starting acct01
     TPASS: access as nobody: ENOTDIR (20)
    access04.c:61: TPASS: access as root: ELOOP (40)
    access04.c:61: 1334.660318] Process accounting resumed
    [1;32mTPASS: access as nobody: ELOOP (40)
    access04.c:61:  1334.671530] LTP: starting acct02
    1;32mTPASS: access as root: EROFS (30)
    access04.c:61: TPASS: access as nobody: EROFS (30)
    
    Summary:
    passed   12
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=1 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=acct01 stime=1677495628
    cmdline="acct01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    acct01.c:118: TPASS: acct() failed as expected: EISDIR (21)
    acct01.c:118: TPASS: acct() failed as expected: EACCES (13)
    acct01.c:118: TPASS: acct() failed as expected: ENOENT (2)
    acct01.c:118: TPASS: acct() failed as expected: ENOTDIR (20)
    acct01.c:118: TPASS: acct() failed as expected: EPERM (1)
    acct01.c:118: TPASS: acct() failed as expected: EPERM (1)
    acct01.c:118: TPASS: acct() failed as expected: ELOOP (40)
    acct01.c:118: TPASS: acct() failed as expected: ENAMETOOLONG (36)
    acct01.c:118: TPASS: acct() failed as expected: EROFS (30)
    
    Summary:
    passed   9
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=2
    <<<test_end>>>
    <<<test_start>>>
    tag=acct02 stime=1677495628
    cmdline="acct02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_kconfig.c:64: TINFO: Parsing kernel config '/proc/config.gz'
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    tst_kconfig.c:64: TINFO: Parsing kernel config '/proc/config.gz'
    acct02.c:65: TINFO: CONFIG_BSD_PROCESS_ACCT_V3=y
    acct02.c:242: TINFO: Verifying using 'struct acct_v3'
    [ 1335.712048] Process accounting resumed
    acct02.c:195: TINFO: == entry 1 ==
    [ 1335.717847] LTP: starting add_key01
    acct02.c:206: TINFO: Number of accounting file entries tested: 1
    acct02.c:212: TPASS: acct() wrote correc[ 1335.731294] LTP: starting add_key02
    t file contents!
    
    Summary:
    passed   1
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_sta[ 1335.745501] LTP: starting add_key03
    tus="ok"
    duration=1 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=3
    <<<test_end>>>
    <<<test_start>>>
    [ 1335.761352] LTP: starting add_key04
    tag=add_key01 stime=1677495629
    cmdline="add_key01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_buffers.c:55: TIN[ 1335.775957] LTP: starting add_key05
    FO: Test is using guarded buffers
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    add_key01.c:63: TINFO: The key type is keyrings and plen is 0
    add_key01.c:79: TPASS: add_key call succeeded as expected
    add_key01.c:63: TINFO: the key type is keyrings and plen is 1
    add_key01.c:83: TPASS: add_key call failed as expected: EINVAL (22)
    add_key01.c:63: TINFO: The key type is user and plen is 32767
    add_key01.c:79: TPASS: add_key call succeeded as expected
    add_key01.c:63: TINFO: The key type is user and plen is 32768
    add_key01.c:83: TPASS: add_key call failed as expected: EINVAL (22)
    add_key01.c:63: TINFO: The key type is logon and plen is 32767
    add_key01.c:79: TPASS: add_key call succeeded as expected
    add_key01.c:63: TINFO: The key type is logon and plen is 32768
    add_key01.c:83: TPASS: add_key call failed as expected: EINVAL (22)
    add_key01.c:63: TINFO: The key type is big_key and plen is 1048575
    add_key01.c:70: TCONF: skipping unsupported big_key key
    add_key01.c:63: TINFO: The key type is big_key and plen is 1048576
    add_key01.c:70: TCONF: skipping unsupported big_key key
    
    Summary:
    passed   6
    failed   0
    broken   0
    skipped  2
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=add_key02 stime=1677495629
    cmdline="add_key02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    add_key02.c:59: TPASS: received expected EFAULT with key type 'asymmetric'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'cifs.idmap'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'cifs.spnego'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'pkcs7_test'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'rxrpc'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'rxrpc_s'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'user'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'logon'
    add_key02.c:59: TPASS: received expected EFAULT with key type 'big_key'
    
    Summary:
    passed   9
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=add_key03 stime=1677495629
    cmdline="add_key03"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    add_key03.c:80: TPASS: expectedly could not create another user's keyrings
    
    Summary:
    passed   1
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=add_key04 stime=1677495629
    cmdline="add_key04"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    add_key04.c:71: TPASS: didn't crash while filling keyring
    
    Summary:
    passed   1
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=add_key05 stime=1677495629
    cmdline="add_key05"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    add_key05.c:45: TINFO: Created user ltp_add_key05_0
    add_key05.c:186: TINFO: User: 0, UID: 1000
    add_key05.c:8[ 1336.137750] LTP: starting adjtimex01
    3: TINFO: test max bytes under unprivileged user
    add_key05.c:108: TPASS: add_key(test_inv) failed as expe[ 1336.148886] LTP: starting adjtimex02
    cted: EDQUOT (122)
    add_key05.c:131: TPASS: add_key(test_max) succeeded as expected
    add_key05.c:134: TPASS: 1336.164619] LTP: starting adjtimex03
    [0mallow reaching the max bytes exactly
    add_key05.c:45: TINFO: Created user ltp_add_key05_1
    add_key05.c:186: TINFO: User: 1, UID: 1001
    add_key05.c:144: TINFO: test max keys under unprivileged user
    add_key05.c:162: TPASS: add_key(test_invalid_key) failed as expected: EDQUOT (122)
    add_key05.c:169: TPASS: allow reaching the max key(200) exactly
    
    Summary:
    passed   5
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=3 cstime=8
    <<<test_end>>>
    <<<test_start>>>
    tag=adjtimex01 stime=1677495629
    cmdline="adjtimex01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    adjtimex01.c:24: TPASS: adjtimex() with mode 0x403f 
    adjtimex01.c:33: TPASS: adjtimex() with mode 0x8001 
    
    Summary:
    passed   2
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=adjtimex02 stime=1677495629
    cmdline="adjtimex02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    adjtimex02.c:78: TPASS: adjtimex() error 14 : EFAULT (14)
    adjtimex02.c:78: TPASS: adjtimex() error 22 : EINVAL (22)
    adjtimex02.c:78: TPASS: adjtimex() error 22 : EINVAL (22)
    adjtimex02.c:78: TPASS: adjtimex() error 1 : EPERM (1)
    adjtimex02.c:36: TCONF: this kernel normalizes buf.offset value if it is outside the acceptable range.
    adjtimex02.c:36: TCONF: this kernel normalizes buf.offset value if it is outside the acceptable range.
    
    Summary:
    passed   4
    failed   0
    broken   0
    skipped  2
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=adjtimex03 stime=1677495629
    cmdline="adjtimex03"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_buffers.c:55: TINFO: Test is using guarded buffers
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:51: TINFO: expecting adjtimex() to fail with EINVAL with mode 0x8000
    adjtimex03.c:61: TINFO: tai : 0x00000000
    adjtimex03.c:71: TPASS: Da[ 1336.510313] LTP: starting alarm02
    ta leak not observed
    
    Summary:
    passed   1
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation[ 1336.526155] LTP: starting alarm03
    _status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>[ 1336.540820] LTP: starting alarm05
    >>
    tag=alarm02 stime=1677495629
    cmdline="alarm02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    alarm02.c:59: TPASS: alarm(2147483647) returned 2147483647 as expected for value INT_MAX
    alarm02.c:59: TPASS: alarm(2147483647) returned 2147483647 as expected for value UINT_MAX/2
    alarm02.c:59: TPASS: alarm(1073741823) returned 1073741823 as expected for value UINT_MAX/4
    
    Summary:
    passed   3
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=alarm03 stime=1677495629
    cmdline="alarm03"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    alarm03.c:48: TPASS: alarm(100), fork, alarm(0) parent's alarm returned 100
    alarm03.c:35: TPASS: alarm(100), fork, alarm(0) child's alarm returned 0
    
    Summary:
    passed   2
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=alarm05 stime=1677495629
    cmdline="alarm05"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    alarm05.c:32: TPASS: alarm() returned zero
    alarm05.c:38: TPASS: alarm() returned remainder correctly
    alarm05.c:45: TPASS: alarm handler fired once[ 1338.555170] LTP: starting alarm06
    
    
    Summary:
    passed   3
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=3 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=alarm06 stime=1677495632
    cmdline="alarm06"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    alarm06.c:54: TPASS: Received 0 alarms
    [ 1341.569439] LTP: starting alarm07
    alarm06.c:57: TPASS: alarm(0) returned 1
    
    Summary:
    passed   2
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=3 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=alarm07 stime=1677495635
    cmdline="alarm07"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    alarm07.c:43: TPASS: Got 1 sigalarm in parent
    alarm07.c:32: TPASS: alarm() request cleared in child[ 1344.583603] LTP: starting bind01
    
    
    Summary:
    passed   2
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    durati[ 1344.597455] LTP: starting bind02
    on=3 termination_type=exited termination_id=0 corefile=no
    cutime=1 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=bind01 stime[ 1344.612779] LTP: starting bind03
    =1677495638
    cmdline="bind01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run[ 1344.626382] LTP: starting bind04
     is 0h 05m 00s
    bind01.c:51: TPASS: invalid salen: EINVAL (22)
    bind01.c:51: TPASS: invalid socket: ENOTSOCK (88)
    bind01.c:54: TPASS: INADDR_ANYPORT passed
    bind01.c:51: TPASS: UNIX-domain of current directory: [ 1344.655804] sctp: failed to load transform for md5: -2
    EAFNOSUPPORT (97)
    bind01.c:51: TPASS: non-local addr[ 1344.663035] LTP: starting bind05
    ess: EADDRNOTAVAIL (99)
    
    Summary:
    passed   5
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    <<<test_start>>>
    tag=bind02 stime=1677495638
    cmdline="bind02"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    bind02.c:52: TINFO: Switching credentials to user: nobody, group: nogroup
    bind02.c:39: TPASS: bind(): EACCES (13)
    
    Summary:
    passed   1
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=bind03 stime=1677495638
    cmdline="bind03"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    bind03.c:32: TPASS: re-bind() socket: EINVAL (22)
    bind03.c:39: TPASS: bind() with bound pathname: EADDRINUSE (98)
    
    Summary:
    passed   2
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=bind04 stime=1677495638
    cmdline="bind04"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    bind04.c:117: TINFO: Testing AF_UNIX pathname stream
    bind04.c:149: TPASS: Communication successful
    bind04.c:117: TINFO: Testing AF_UNIX pathname seqpacket
    bind04.c:149: TPASS: Communication successful
    bind04.c:117: TINFO: Testing AF_UNIX abstract stream
    bind04.c:149: TPASS: Communication successful
    bind04.c:117: TINFO: Testing AF_UNIX abstract seqpacket
    bind04.c:149: TPASS: Communication successful
    bind04.c:117: TINFO: Testing IPv4 loop TCP variant 1
    bind04.c:149: TPASS: Communication successful
    bind04.c:117: TINFO: Testing IPv4 loop TCP variant 2
    bind04.c:149: TPASS: Communication successful
    bind04.c:117: TINFO: Testing IPv4 loop SCTP
    bind04.c:136: TBROK: listen(3, 1) failed: ENOSYS (38)
    
    Summary:
    passed   6
    failed   0
    broken   1
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=2 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=bind05 stime=1677495638
    cmdline="bind05"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_test.c:1311: TINFO: Timeout per run is 0h 05m 00s
    bind05.c:131: TINFO: Testing AF_UNIX pathname datagram
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing AF_UNIX abstract datagram
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv4 loop UDP variant 1
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv4 loop UDP variant 2
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv4 loop UDP-Lite
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv4 any UDP variant 1
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv4 any UDP variant 2
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv4 any UDP-Lite
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv6 loop UDP variant 1
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv6 loop UDP variant 2
    bind05.c:167: TPASS: Communication [ 1345.011226] LTP: starting bind06
    successful
    bind05.c:131: TINFO: Testing IPv6 loop UDP-Lite
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv6 any UDP variant 1
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv6 any UDP variant 2
    bind05.c:167: TPASS: Communication successful
    bind05.c:131: TINFO: Testing IPv6 any UDP-Lite
    bind05.c:167: TPASS: Communication successful
    
    Summary:
    passed   14
    failed   0
    broken   0
    skipped  0
    warnings 0
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=0 corefile=no
    cutime=0 cstime=1
    <<<test_end>>>
    <<<test_start>>>
    tag=bind06 stime=1677495638
    cmdline="bind06"
    contacts=""
    analysis=exit
    <<<test_output>>>
    tst_kconfig.c:64: TINFO: Parsing kernel config '/proc/config.gz'
    tst_taint.c:88: TCONF: Ignoring already set kernel warning taint
    tst_test.c:1311: TINFO: Timeout per run is 0h 10m 00s
    ../../../../include/tst_fuzzy_sync.h:522: TINFO: Minimum sampling period ended
    ../../../../include/tst_fuzzy_sync.h:345: TINFO: loop = 1024, delay_bias = 0
    ../../../../include/tst_fuzzy_sync.h:333: TINFO: start_a - start_b: { avg =   145ns, avg_dev =    70ns, dev_ratio = 0.48 }
    ../../../../include/tst_fuzzy_sync.h:333: TINFO: end_a - start_a  : { avg = 94313ns, avg_dev =  5815ns, dev_ratio = 0.06 }
    ../../../../include/tst_fuzzy_sync.h:333: TINFO: end_b - start_b  : { avg = 6211215ns, avg_dev = 6774241ns, dev_ratio = 1.09 }
    ../../../../include/tst_fuzzy_sync.h:333: TINFO: end_a - end_b    : { avg = -6116757ns, avg_dev = 6778056ns, dev_ratio = 1.11 }
    ../../../../include/tst_fuzzy_sync.h:333: TINFO: spins            : { avg = 1507462  , avg_dev = 1005898  , dev_ratio = 0.67 }
    
    


    2).u-boot command line triggering 

        a).1sec 

        

    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Failed to probe am65_cpsw_nuss driver
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => md.l 0x43018170 3 
    43018170: 000200ff 00000000 00000000             ............
    => md.l 0x04518170 3
    04518170: 00400fff 00000001 00000000             ..@.........
    => md.l 0xe000000 0x40
    0e000000: 00000000 00000000 00000000 00000000    ................
    0e000010: 00000000 00000000 00000000 00000000    ................
    0e000020: 00000000 00000000 00000000 00000000    ................
    0e000030: 00000000 00000000 00000000 00000000    ................
    0e000040: 00000000 00000000 00000000 00000000    ................
    0e000050: 00000000 00000000 00000000 00000000    ................
    0e000060: 00000000 00000000 00000000 00000000    ................
    0e000070: 00000000 00000000 00000000 00000000    ................
    0e000080: 00000000 00000000 00000000 00000000    ................
    0e000090: 5312aced 00000fff 00000000 0000a35c    ...S........\...
    0e0000a0: 01ffffff 00000005 00000005 05050505    ................
    0e0000b0: 00000000 00000000 00000000 00000000    ................
    0e0000c0: 00000000 00000000 00000000 00000000    ................
    0e0000d0: 00000000 00000000 00000000 00000000    ................
    0e0000e0: 00000000 00000000 00000000 00000000    ................
    0e0000f0: 00000000 00000000 00000000 00000000    ................
    => ok
    Unknown command 'ok' - try 'help'
    => 
    Unknown command 'ok' - try 'help'
    => 
    Unknown command 'ok' - try 'help'
    => 
    Unknown command 'ok' - try 'help'
    => mw.l 0xe0000a4 0xa 1
    => mw.l 0xe000090 0xA98559DA 1
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 40000000             ...........@
    => md.l 0x04518170 3
    04518170: 00400fff 00000001 40000000             ..@........@
    => g
    Unknown command 'g' - try 'help'
    => 
    Unknown command 'g' - try 'help'
    => 
    Unknown command 'g' - try 'help'
    => =======ESM_ERR_GRP_RAW_6===========
    Unknown command '=======ESM_ERR_GRP_RAW_6===========' - try 'help'
    => md.l 0x004204C0 3
    004204c0: 00000001 00000001 00000003             ............
    => ==========WKUP_ESM_ERR_GRP_RAW_0===========
    Unknown command '==========WKUP_ESM_ERR_GRP_RAW_0===========' - try 'help'
    => md.l 0x04100400 3
    04100400: 00000002 00000000 40000000             ...........@
    => 
    
    
    


    b).12 Sec


     

    => md.l 0x43018170 3
    43018170: 000200ff 00000000 00000000             ............
    => md.l 0x04518170 3
    04518170: 00400fff 00000001 00000000             ..@.........
    => mw.l 0x43009008 0x68EF3490 1
    => mw.l 0x4300900C 0xD172BC5A 1
    => mw.l 0x43008380 0x3 1
    => mw.l 0xe0000a4 0xa 1
    => mw.l 0xe000094 0x23 1
    => mw.l 0xe000090 0xA98559DA 1
    => 
    => 
    => 
    => <INTERRUPT>
    => md.l 0x43018170 3
    43018170: 000200ff 00000000 40000000             ...........@
    => md.l 0x04518170 3
    04518170: 00400fff 00000001 40000000             ..@........@
    => md.l 0x43018170 4
    43018170: 000200ff 00000000 40000000 00000000    ...........@....
    => md.l 0x04518170 4
    04518170: 00400fff 00000001 40000000 00000000    ..@........@....
    => md.l 0x004204C0 3
    004204c0: 00000001 00000001 00000003             ............
    => md.l 0x04100400 3
    04100400: 00000002 00000000 40000000             ...........@
    => md.l 0x04100400 3
    04100400: 00000002 00000000 40000000             ...........@
    => md.l 0x004204C0 3
    004204c0: 00000001 00000001 00000003             ............
    => 
    
    
    



    still does not reboot these tests are done with Glue Logic ported from am64x code shared earlier by you,please check the code ive shared above if any necessary changes required.


    Best,
    Anil Kumar M

  • Hello Anil,
    The other customer reported "RTI_WDT => ESM" works on their AM62A setup.
    e2e.ti.com/.../4795453
    Best,
    -Hong

  • Hi Hong Guan,

    We have few questions 

    1) Is this expected behavior of register when the watchdog timeout with resepect to Main ESM and MCU ESM ?

    IF YES,
    2). If we consider the MCU ESM is triggered from the registers WKUP_ESM_ERR_*_*_ as shown in above meld diff changes in previous conversation, How do we catch the MCU interrupt  for using it to triggering  internal safety app  ,than redirecting it to output interrupt trigger pin PMIC ?

    3).The ESM related registers
                a).ESM_ERR_*

                    We observe that bit 0 is getting updated but what does each bit represent here ?

    Example
                     Register values for ESM_ERR_GRP_RAW_6:
                     Offset Value
                      -------------------
                      0x4204C0 /dev/mem opened.
                      Memory mapped at address 0xffff87b99000.
                      Read at address 0x004204C0 (0xffff87b994c0): 0x00000001


                      

                     b).WKUP_ESM_ERR_ *     

                        we observe that bit 1 is getting updated but what does each bit represent here ?             

     Example


                    Register values for WKUP_ESM_ERR_GRP_RAW_0:
                    Offset Value
                    -------------------
                   0x4100400 /dev/mem opened.
                   Memory mapped at address 0xffffb7afb000.
                   Read at address 0x04100400 (0xffffb7afb400): 0x00000002

     
                   

  • If we consider the MCU ESM is triggered from the registers WKUP_ESM_ERR_*_*_ as shown in above meld diff changes in previous conversation, How do we catch the MCU interrupt  for using it to triggering  internal safety app  ,than redirecting it to output interrupt trigger pin PMIC ?

    Some referene on RTI_WDT/ESM in SDL in MCU+SDK
    - SDL
    software-dl.ti.com/.../SDL_PAGE.html
    "The Software Diagnostic Library (SDL) provides interfaces to these safety mechanisms and features. SDL provides these interfaces to assist in the development of software applications involving Functional Safety."
    - RTI_WDT
    software-dl.ti.com/.../SDL_RTI_PAGE.html
    - ESM
    software-dl.ti.com/.../SDL_ESM_PAGE.html
    - SDL Eamples
    software-dl.ti.com/.../EXAMPLES_SDL.html

    Best,
    -Hong

  • Hi Hong Guan,

    Currently we are also working on  watchdog driver wdt_rti.c ,

    we are Servicing the watchdog at every 100ms in the application currently which will be moved to a thread running less than 10 ~ 14 ms 

    1)we want to set the watchdog timer to 50ms timeout ,and we understand  this is not possible in current driver impemetation which is only allowing to set the heartbeat parameter to only min 3 seconds(heartbeat =3)  (even though its mentioned 1 sec in site(https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Watchdog.html?highlight=esm) ,less this setting is causing BIT(3) and BIT(5) set ,Indicating the time-window defined by the windowed watchdog configuration has been violated.

    can you please suggest how do we set the watchdog timeout to 50ms .in the driver.


    Thanks

    Regards,
    Anil Kumar M

  • Hello Anil,
    Will the other user's comments help your user case?
    e2e.ti.com/.../4795453
    "The Linux driver does not support setting timeout using IOCTL but the timeout can be passed as a module param (heartbeat) and tested using below below application in kernel source samples/watchdog/watchdog-simple.c"
    Best,
    -Hong

  • No Hong Guan , As they are using the driver parameter heartbeat which can only set the timeout from 3~1000 sec (1sec is possible only if service Window is set to 100%where default is 50%) ,it does not accept float parameter


    Thanks ,
    Anil Kumar M

  • we are Servicing the watchdog at every 100ms in the application currently which will be moved to a thread running less than 10 ~ 14 ms 

    1)we want to set the watchdog timer to 50ms timeout ,and we understand  this is not possible in current driver impemetation which is only allowing to set the heartbeat parameter to only min 3 seconds(heartbeat =3) 

    It sounds to me kernel driver constraints with RTI_WDT on your user case.
    Best,
    -Hong

  • Hi Hong Guan ,

    Issue is not with the Driver ,here the minimum value of WTD_PRLD (RTI0 0E00 0094h) could be loaded with 0x0A and  less than that is setting the Violation in RTI_WDSTATUS(0E00 0098h) ,This is generating 3 sec of watchdog timeout .

    Is possible to set the WDT timeout less than 1 sec ,what is the minimum timeout that can be set and how is this configured ?

    can you please help us out how to configure WDT timeout less than 1sec?

    Thanks,
    Anil Kumar M

  • Hello Anil,
    As noted in my earlier reply,
    e2e.ti.com/.../4794372

    I'd recommend to test RTI_WDT => ESM @u-boot level first on AM62A setup.
    I shared my previous test on firing off AM64x RTI_WDT @u-boot with Linux SDK 8.2 on AM64x GP EVM.
    e2e.ti.com/.../4790429
    1/. ~1 seconds RTI_WDT timeout => ESM => SoC RESET
    2/. ~12 seconds RTI_WDT timeout => ESM => SoC RESET

    Best,
    -Hong

  • Anil,

    As discussed in the call, WD timeout cannot be set less than 1 second in linux driver. You will need to modify the driver. 

    I am trying to reach out to our linux expert for some pointer. Unfortunately, I was not able to schedule the call today, will try and schedule it on Monday.

    Thanks

    Yogesh