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.

AM625: Signal on WKUP_TIMER_IO1 on watchdog timeout.

Part Number: AM625

Hello TI team,

We are using AM625, I need to configure Watchdog.

After 60, applying below command, board is getting rebooted properly...

cat /dev/watchdogX

But we are expecting a pulse on pin A4 (WKUP_TIMER_IO1) on watchdog timeout reboot.

For that i'm configuring pin mux as below in dts.

AM62X_IOPAD(0x030, PIN_OUTPUT, 1) 

But it's getting error in booting, it' getting rebooted itself, logs given below.


U-Boot SPL 2023.04 (Oct 05 2023 - 13:45:25 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
SPL initial stack usage: 2000 bytes
Trying to boot from MMC2
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted


U-Boot 2023.04 (Oct 05 2023 - 13:45:25 +0000)

SoC: AM62X SR1.0 GP
Model: Avnet sm2s-am6254 smarc module
DRAM: 2 GiB
Core: 83 devices, 31 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from MMC... OK
In: serial@2820000
Out: serial@2820000
Err: serial@2820000
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
Boardinfo: OK, complete.
boot_sel0 value : 1
boot_sel1 value : 0
boot_sel2 value : 0
Using carrier SD card as boot device ...
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
574 bytes read in 16 ms (34.2 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
## Error: "main_cpsw0_qsgmii_phyinit" not defined
24680960 bytes read in 1002 ms (23.5 MiB/s)
62453 bytes read in 21 ms (2.8 MiB/s)
Working FDT set to 88000000
2144 bytes read in 20 ms (104.5 KiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
Working FDT set to 8feed000

Starting kernel ...

[ 1.508616] printk: console [ttyS4] enabled
[ 1.515821] printk: bootconsole [ns16550a0] disabled
[ 1.525470] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 299, base_baud = 3000000) is a 8250
[ 1.535173] 2840000.serial: ttyS1 at MMIO 0x2840000 (irq = 300, base_baud = 3000000) is a 8250
[ 1.544814] 2850000.serial: ttyS3 at MMIO 0x2850000 (irq = 301, base_baud = 3000000) is a 8250
[ 1.556520] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
[ 1.565918] spi-nand spi0.2: Winbond SPI NAND was found.
[ 1.571258] spi-nand spi0.2: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.582518] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[ 1.626604] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 1.636420] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[ 1.644537] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
[ 1.652661] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[ 1.665641] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 1.671909] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[ 1.679034] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 1.685538] pps pps0: new PPS source ptp0
[ 1.689836] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[ 1.700322] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 1.715149] mmc0: CQHCI version 5.10
[ 1.725374] gpio-418 (gpio0_22): hogged as output/high
[ 1.730568] gpio-419 (gpio0_23): hogged as output/high
[ 1.741564] sgtl5000 0-000a: Error reading chip id -121
[ 1.747267] sgtl5000: probe of 0-000a failed with error -121
[ 1.753210] tpm_tis_i2c: probe of 4-002e failed with error -121
[ 1.759702] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[ 1.761658] pinctrl-single f4000.pinctrl: pin PIN12 already requested by regulator-7; cannot claim for wlan_pwrseq
[ 1.777704] pinctrl-single f4000.pinctrl: pin-12 (wlan_pwrseq) status -22
[ 1.784503] pinctrl-single f4000.pinctrl: could not request pin 12 (PIN12) from group wlan-en-pins-default on device pinctrl-single
[ 1.796455] pwrseq_simple wlan_pwrseq: Error applying setting, reverse things back
[ 1.806295] mmc1: CQHCI version 5.10
[ 1.807528] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[ 1.820096] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.828767] cfg80211: failed to load regulatory.db
[ 1.834005] ALSA device list:
[ 1.837015] No soundcards found.
[ 1.847174] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[ 1.854889] Waiting for root device PARTUUID=92eabfd4-02...
[ 1.863054] mmc0: Command Queue Engine enabled
[ 1.867542] mmc0: new HS200 MMC card at address 0001
[ 1.873308] mmcblk0: mmc0:0001 IB2916 14.6 GiB
[ 1.879231] mmcblk0: p1 p2
[ 1.882682] mmcblk0boot0: mmc0:0001 IB2916 4.00 MiB
[ 1.888660] mmcblk0boot1: mmc0:0001 IB2916 4.00 MiB
[ 1.894518] mmcblk0rpmb: mmc0:0001 IB2916 4.00 MiB, chardev (239:0)
[ 1.907319] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 1.914842] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[ 1.924572] mmcblk1: p1 p2
[ 2.016056] EXT4-fs (mmcblk1p2): recovery complete
[ 2.021873] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 2.030471] VFS: Mounted root (ext4 filesystem) on device 179:98.
[ 2.040143] devtmpfs: mounted
[ 2.044775] Freeing unused kernel memory: 2560K
[ 2.049432] Run /sbin/init as init process
[ 2.206471] systemd[1]: System time before build time, advancing clock.
[ 2.256091] NET: Registered PF_INET6 protocol family
[ 2.262844] Segment Routing with IPv6
[ 2.266552] In-situ OAM (IOAM) with IPv6
[ 2.300821] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPT)
[ 2.332660] systemd[1]: Detected architecture arm64.
[ 2.398613] random: crng init done

Welcome to Arago 2023.04!

[ 2.426187] systemd[1]: Hostname set to <sm2s-am6254>.
[ 2.533264] systemd-sysv-generator[167]: SysV service '/etc/init.d/cmdline-keyboard.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to incl.
[ 2.559231] systemd-sysv-generator[167]: SysV service '/etc/init.d/early-rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a.
[ 2.587628] systemd-sysv-generator[167]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to includ.
[ 2.613046] systemd-sysv-generator[167]: SysV service '/etc/init.d/telnetd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native.
[ 2.636989] systemd-sysv-generator[167]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nativ.
[ 2.660925] systemd-sysv-generator[167]: SysV service '/etc/init.d/bootlog.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nat.
[ 2.841623] systemd[1]: Configuration file /etc/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 2.974701] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting.
[ 3.052561] systemd[1]: Queued start job for default target Multi-User System.
[ 3.121570] systemd[1]: Created slice Slice /system/getty.
[ OK ] Created slice Slice /system/getty.
[ 3.145891] systemd[1]: Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/modprobe.
[ 3.169723] systemd[1]: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
[ 3.193056] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 3.215138] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ 3.239150] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ 3.263063] systemd[1]: Reached target Host and Network Name Lookups.
[ OK ] Reached target Host and Network Name Lookups.
[ 3.287157] systemd[1]: Reached target Path Units.
[ OK ] Reached target Path Units.
[ 3.302791] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 3.322757] systemd[1]: Reached target Slice Units.
[ OK ] Reached target Slice Units.
[ 3.338786] systemd[1]: Reached target Swaps.
[ OK ] Reached target Swaps.
[ 3.407963] systemd[1]: Listening on RPCbind Server Activation Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 3.435128] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Reached target RPC Port Mapper.
[ 3.463303] systemd[1]: Listening on Process Core Dump Socket.
[ OK ] Listening on Process Core Dump Socket.
[ 3.487185] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 3.512268] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 3.535950] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.559488] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.576335] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 3.599546] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.623296] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.643754] systemd[1]: Listening on User Database Manager Socket.
[ OK ] Listening on User Database Manager Socket.
[ 3.703500] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 3.727582] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 3.756066] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 3.771292] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 3.792768] systemd[1]: Mounting Temporary Directory /tmp...
Mounting Temporary Directory /tmp...
[ 3.819187] systemd[1]: Starting Create List of Static Device Nodes...
Starting Create List of Static Device Nodes...
[ 3.852454] systemd[1]: Starting Load Kernel Module configfs...
Starting Load Kernel Module configfs...
[ 3.880221] systemd[1]: Starting Load Kernel Module drm...
Starting Load Kernel Module drm...
[ 3.905605] systemd[1]: Starting Load Kernel Module fuse...
Starting Load Kernel Module fuse...
[ 3.922647] fuse: init (API version 7.37)
[ 3.934182] systemd[1]: Starting Start psplash boot splash screen...
Starting Start psplash boot splash screen...
[ 3.973331] systemd[1]: Starting RPC Bind...
Starting RPC Bind...
[ 3.987236] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[ 4.007650] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 4.034825] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 4.061394] systemd[1]: Starting Generate network units from Kernel command line...
[ 4.064655] cryptodev: loading out-of-tree module taints kernel.
Starting Generate network …ts from Kernel co[ 4.077350] cryptodev: driver 1.12 loaded.
mmand line...
[ 4.103069] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 4.134488] systemd[1]: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 4.143414] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[ 4.166443] systemd[1]: Started RPC Bind.
[ OK ] Started RPC Bind.
[ 4.183543] 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 ] Finished Create List of Static Device Nodes.
[ OK ] Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module fuse.
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[DEPEND] Dependency failed for Star…progress communication helper.
[ OK ] Finished Load Kernel Modules.
[ OK ] Finished Generate network units from Kernel command line.
[ OK ] Finished Remount Root and Kernel File Systems.
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
Starting Apply Kernel Variables...
[ 4.583455] systemd-journald[184]: Received client request to flush runtime journal.
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Flush Journal to Persistent Storage.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Preparation for Local File Systems.
Mounting /media/ram...
Mounting /var/volatile...
[ 4.808835] audit: type=1334 audit(1651167747.600:2): prog-id=5 op=LOAD
[ 4.815748] audit: type=1334 audit(1651167747.608:3): prog-id=6 op=LOAD
Starting Rule-based Manage…for Device Events and Files...
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Mounted /media/ram.
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Finished Load/Save Random Seed.
[ OK ] Started Rule-based Manager for Device Events and Files.
[ 5.340204] spi-nor spi1.0: w25q64dw (8192 Kbytes)
[ 5.356864] spi-nor spi1.1: w25q64dw (8192 Kbytes)
[ OK ] Found device /dev/ttyS4.
[ 5.403682] spi-nor spi2.0: w25q64dw (8192 Kbytes)
[ 5.416984] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 5.473969] mc: Linux media interface: v0.10
[ 5.494567] videodev: Linux video capture interface: v2.00
[ 5.641789] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
[ 5.650944] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
[ 5.658099] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
[ 5.671521] m_can_platform 4e00000.can: m_can device registered (irq=0, version=32)



Please guide us on the same.



Thanks and regards,
Ishan



  • Hello Ishan,

    1) Please confirm: Are you using the ALW package, or the AMC package?

    Assuming you are using the ALW package, this is the output I got when I used the TI pinmux tool to generate devicetree.dtsi:

    &mcu_pmx0 {
    	mywkuptimer1_pins_default: mywkuptimer1-default-pins {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0030, PIN_INPUT, 1) /* (A4) WKUP_UART0_RTSn.WKUP_TIMER_IO1 */
    		>;
    	};
    };

    So almost exactly like yours, but set to PIN_INPUT instead of PIN_OUTPUT. You could try updating your dts file and see if that makes a difference.

    2) I do not understand what you mean by "But it's getting error in booting, it' getting rebooted itself". Please provide additional information.

    3) Please show me how you are enabling the watchdog timer in your system.

    Regards,

    Nick

  • Hello Nick,

    I want implement and test watchdog functionality. On watchdog timeout, board should reboot and soc should give signal on any pin(assuming WKUP_TIMER_IO1 - A4 ) from where we can reset other peripherals too.

    please correct me if i'm wrong. 


    1) We are using ALW package

    2) How you are enabling the watchdog timer in your system.
    =>

    device tree changes given below.

    Note: 

    &main_rti1 {
            pinctrl-names = "default";
            pinctrl-0 = <&watchdog_pins_default>;
            status = "okay";
    };
    
    
    watchdog_pins_default: watchdog-pins-default {
                    pinctrl-single,pins = <
                            AM62X_IOPAD(0x030, PIN_OUTPUT, 1)
                    >;
    };



    Please guide us on the same.

    Thanks and regards,
    Ishan

  • Hello Ishan,

    I will not be able to provide a response this week. Please ping the thread if I have not replied by the middle of next week.

    Regards,

    Nick

  • Hello Nick,

    Just a friendly reminder as it's now the middle of the week. If you have any updates or if you'd like to continue our conversation, feel free to respond at your earliest convenience.

    Looking forward to hearing from you!

    Best regards,
    Ishan

  • Hello Ishan,

    Thank you for the ping. Unfortunately I wasn't able to make any progress on your ticket - my computer died last week, and by the time I had a new one up and running yesterday I ran out of time. I'm on vacation for the rest of March, but you can ping the thread in the first week of April to make sure your thread gets some attention.

    FYI, there is a watchdog issue that I was trying to fix before working on your thread - that issue would prevent the watchdog from getting pet, and force a reboot after the watchdog timed out. We made more progress on that issue last night, I'm not sure when Judith will be able to provide a response: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1311045/am623-wdt_rti-control-via-systemd

    Regards,

    Nick

  • Hello Nick,

    I hope you're doing well.

    I have tried the patch from the ticket you have mentioned, but not getting difference in results.

    currently, board is getting reboot after 60 sec of this cmd :  cat /dev/watchdog

    How can i get signal (pulse) on pin(A4)WKUP_TIMER_IO1, on watchdog timeout, to reset the peripherals ?



    I have made below changes in device tree, but kernel is not able to boot successfully with these changes. Is this pin configurable for watchdog time out or not ?

    &main_rti1 {
            pinctrl-names = "default";
            pinctrl-0 = <&watchdog_pins_default>;
            status = "okay";
    };
    
    
    watchdog_pins_default: watchdog-pins-default {
                    pinctrl-single,pins = <
                            AM62X_IOPAD(0x030, PIN_OUTPUT, 1)
                    >;
    };


    please guide us no the same.

    Thanks and regards,
    Ishan

  • Hello Ishan,

    To double-check, did you try changing PIN_OUTPUT to PIN_INPUT and see if you observed different behavior? (as discussed in the first reply?)

    Sometimes the pinmux settings are a bit strange. So in this case, either there is a bug in the pinmux tool, or for some reason the mux mode needs to be set to "input" to get the output signal, or there is something else we are missing. The first step would be to try using the pinmux settings the tool asks us to use.

    Regards,

    Nick

  • Hello Nick,

    I have tried after changed to PIN_INPUT.

    +
    +&main_rti1 {
    +       pinctrl-names = "default";
    +        pinctrl-0 = <&watchdog_pins_default>;
    +       status = "okay";
     };
    
    +
    +       watchdog_pins_default: watchdog-pins-default {
    +                pinctrl-single,pins = <
    +                        AM62X_IOPAD(0x030, PIN_INPUT, 1) /*(A4) WKUP_TIMER_IO1 */
    +                >;
            };
    


    and also patch is applied : v2-0001-watchdog-rti_wdt-Set-min_hw_heartbeat_ms-to-55-of.patch

    Logs given into the file lod 1.txt
    => run boot_sd
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 16 ms (34.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    24814080 bytes read in 1023 ms (23.1 MiB/s)
    63512 bytes read in 23 ms (2.6 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    5.477472] printk: console [ttyS4] enabled
    [    5.484675] printk: bootconsole [ns16550a0] disabled
    [    5.494371] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 298, base_baud = 3000000) is a 8250
    [    5.504041] 2840000.serial: ttyS0 at MMIO 0x2840000 (irq = 299, base_baud = 3000000) is a 8250
    [    5.513707] 2850000.serial: ttyS1 at MMIO 0x2850000 (irq = 300, base_baud = 3000000) is a 8250
    [    5.525394] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    5.534788] spi-nand spi0.2: Winbond SPI NAND was found.
    [    5.540122] spi-nand spi0.2: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
    [    5.551371] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    5.597683] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.607491] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    5.615603] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    5.623724] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    5.636693] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    5.642963] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    5.650088] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    5.656598] pps pps0: new PPS source ptp0
    [    5.660906] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    5.671387] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    5.686248] mmc0: CQHCI version 5.10
    [    5.695566] gpio-418 (gpio0_22): hogged as output/high
    [    5.700757] gpio-419 (gpio0_23): hogged as output/high
    [    5.717150] tpm_tis_i2c 4-002e: 2.0 TPM (device-id 0x0, rev-id 78)
    [    5.728629] tpm tpm0: A TPM error (256) occurred attempting the self test
    [    5.731352] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    5.735415] tpm tpm0: starting up the TPM manually
    [    5.796877] mmc0: Command Queue Engine enabled
    [    5.801422] mmc0: new HS200 MMC card at address 0001
    [    5.807586] mmcblk0: mmc0:0001 IB2916 14.6 GiB 
    [    5.813933]  mmcblk0: p1 p2
    [    5.817387] mmcblk0boot0: mmc0:0001 IB2916 4.00 MiB 
    [    5.823776] mmcblk0boot1: mmc0:0001 IB2916 4.00 MiB 
    [    5.829905] mmcblk0rpmb: mmc0:0001 IB2916 4.00 MiB, chardev (238:0)
    [    7.758368] tpm tpm0: tpm_try_transmit: send(): error -62
    [    7.764702] tpm tpm0: tpm_try_transmit: send(): error -121
    [    7.770950] tpm_tis_i2c: probe of 4-002e failed with error -121
    [    7.779853] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    7.785418] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [    7.793263] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
    [    7.799294] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    7.808759] xhci-hcd xhci-hcd.3.auto: irq 496, io mem 0x31000000
    [    7.815662] hub 1-0:1.0: USB hub found
    [    7.819465] hub 1-0:1.0: 1 port detected
    [    7.825220] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    7.830775] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
    [    7.838595] xhci-hcd xhci-hcd.4.auto: USB3 root hub has no ports
    [    7.844607] xhci-hcd xhci-hcd.4.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    7.854087] xhci-hcd xhci-hcd.4.auto: irq 497, io mem 0x31100000
    [    7.860809] hub 2-0:1.0: USB hub found
    [    7.864604] hub 2-0:1.0: 1 port detected
    [    7.869474] pinctrl-single f4000.pinctrl: pin PIN12 already requested by regulator-7; cannot claim for wlan_pwrseq
    [    7.879838] pinctrl-single f4000.pinctrl: pin-12 (wlan_pwrseq) status -22
    [    7.886621] pinctrl-single f4000.pinctrl: could not request pin 12 (PIN12) from group wlan-en-pins-default  on device pinctrl-single
    [    7.898539] pwrseq_simple wlan_pwrseq: Error applying setting, reverse things back
    [    7.907271] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    7.908095] mmc1: CQHCI version 5.10
    [    7.917280] input: mcu_gpio_key as /devices/platform/mcu_gpio_key/input/input1
    [    7.926189] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    7.935845] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    7.942514] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    7.951136] cfg80211: failed to load regulatory.db
    [    7.957018] ALSA device list:
    [    7.957742] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    7.959999]   No soundcards found.
    [    7.971615] Waiting for root device PARTUUID=073269c4-02...
    [    8.032576] mmc1: new ultra high speed SDR104 SDHC card at address 0001
    [    8.040369] mmcblk1: mmc1:0001 SD16G 14.6 GiB 
    [    8.047202]  mmcblk1: p1 p2
    [    8.080243] EXT4-fs (mmcblk1p2): recovery complete
    [    8.086444] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    8.095066] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    8.102389] devtmpfs: mounted
    [    8.106982] Freeing unused kernel memory: 2560K
    [    8.111724] Run /sbin/init as init process
    [    8.129717] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    8.340616] hub 2-1:1.0: USB hub found
    [    8.344515] hub 2-1:1.0: 4 ports detected
    [    8.369079] NET: Registered PF_INET6 protocol family
    [    8.375888] Segment Routing with IPv6
    [    8.379640] In-situ OAM (IOAM) with IPv6
    [    8.420568] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTS
    ETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    8.452696] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.04!
    
    [    8.551814] systemd[1]: Hostname set to <sm2s-am6254>.
    [    8.701811] systemd-sysv-generator[172]: SysV service '/etc/init.d/early-rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a 
    native systemd unit file, in order to make it more safe and robust.
    [    8.729737] systemd-sysv-generator[172]: SysV service '/etc/init.d/cmdline-keyboard.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to inclu
    de a native systemd unit file, in order to make it more safe and robust.
    [    8.755136] systemd-sysv-generator[172]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include
     a native systemd unit file, in order to make it more safe and robust.
    [    8.779911] systemd-sysv-generator[172]: SysV service '/etc/init.d/telnetd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native 
    systemd unit file, in order to make it more safe and robust.
    [    8.803741] systemd-sysv-generator[172]: SysV service '/etc/init.d/bootlog.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nati
    ve systemd unit file, in order to make it more safe and robust.
    [    8.827820] systemd-sysv-generator[172]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native
     systemd unit file, in order to make it more safe and robust.
    [    9.083480] systemd[1]: Configuration file /etc/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    9.266557] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting 
    altogether.
    [    9.366320] systemd[1]: Queued start job for default target Multi-User System.
    [    9.445013] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    9.468834] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    9.492950] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    9.516200] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    9.541017] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
    [    9.566166] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
    [    9.590269] systemd[1]: Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    9.613916] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    9.629947] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    9.650048] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    9.666072] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    9.732463] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    9.754202] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    9.791265] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    9.814804] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    9.839771] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    9.863244] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    9.888686] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    9.907912] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    9.931863] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    9.956116] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    9.980190] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [   10.038377] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [   10.065703] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   10.101950] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   10.119131] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [   10.158364] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [   10.183706] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [   10.216685] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [   10.241429] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [   10.266381] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [   10.286662] fuse: init (API version 7.37)
    [   10.298775] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   10.331036] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [   10.346294] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [   10.369737] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   10.396506] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   10.420699] systemd[1]: Starting Generate network units from Kernel command line...
    [   10.422330] cryptodev: loading out-of-tree module taints kernel.
             Starting Generate network �…ts from Kernel co[   10.436694] cryptodev: driver 1.12 loaded.
    mmand line...
    [   10.464086] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   10.491190] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [   10.493440] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [   10.524727] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [   10.538720] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.
    [   10.562672] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star�…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [   10.965930] systemd-journald[190]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [   11.199097] audit: type=1334 audit(1651180346.316:2): prog-id=5 op=LOAD
    [   11.206088] audit: type=1334 audit(1651180346.324:3): prog-id=6 op=LOAD
             Starting Rule-based Manage�…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [   11.505707] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Found device /dev/ttyS4.
    [   11.736873] spi-nor spi1.0: w25q64dw (8192 Kbytes)
    [   11.748859] spi-nor spi1.1: w25q64dw (8192 Kbytes)
    [   11.777575] spi-nor spi2.0: w25q64dw (8192 Kbytes)
    [   11.786561] mc: Linux media interface: v0.10
    [   11.803951] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [   11.817929] videodev: Linux video capture interface: v2.00
    [   11.894145] m_can_platform 4e00000.can: m_can device registered (irq=0, version=32)
    [   11.924843] m_can_platform 4e10000.can: m_can device registered (irq=0, version=32)
    [   11.941770] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [   11.955838] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [   11.962958] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [   12.035907] remoteproc remoteproc0: 5000000.m4fss is available
    [   12.048861] remoteproc remoteproc0: powering up 5000000.m4fss
    [   12.054712] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
    [   12.083326] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node m4f-dma-memory@9cb00000
    [   12.094757] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [   12.105508] rproc-virtio rproc-virtio.5.auto: registered virtio0 (type 7)
    [   12.112414] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    
    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 13376 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    
    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 2000 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Avnet sm2s-am6254 smarc module
    DRAM:  2 GiB
    Timed out in wait_for_event: status=0000
    Check if pads/pull-ups of bus are properly configured
    ID eeprom not found
    Warning: failed to initialize boardinfo!
    Core:  83 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2820000
    Out:   serial@2820000
    Err:   serial@2820000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    Boardinfo: NOK, not complete. 
    ERR: Aborting boot OS, boardinfo is not complete!
    
    


    when i probed on the pin pin(A4)WKUP_TIMER_IO1,  got pulse on reboot.



    But board is not able to boot completely, before booting process complete, it's getting rebooted again and again.


    Please guide us on the same.


    Thanks and regards,
    Ishan

  • Hello Ishan,

    Can you please confirm what you are observing in each of these cases?

    CASE 1: neither main_rti1 nor watchdog_pins_default are in the Linux devicetree file

    CASE 2: main_rti1 is in the Linux devicetree file, but watchdog_pins_default is NOT in the Linux devicetree file (i.e., we do not pin out a watchdog signal)

    CASE 3: both main_rti1 and watchdog_pins_default are in the Linux devicetree file

    Please share the schematic of the watchdog signal (if you are using custom hardware)

    Regards,

    Nick

  • Hello Nick,

    CASE 1: neither main_rti1 nor watchdog_pins_default are in the Linux device-tree file


    RESPONSE : booting ok, board getting reboot on watchdog timeout, not getting pulse for peripheral reset.

    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 13376 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    
    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 2000 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Avnet sm2s-am6254 smarc module
    DRAM:  2 GiB
    Timed out in wait_for_event: status=0000
    Check if pads/pull-ups of bus are properly configured
    ID eeprom not found
    Warning: failed to initialize boardinfo!
    Core:  83 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2820000
    Out:   serial@2820000
    Err:   serial@2820000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    Boardinfo: NOK, not complete. 
    ERR: Aborting boot OS, boardinfo is not complete!
    => run boot_sd
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 16 ms (34.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    24814080 bytes read in 1025 ms (23.1 MiB/s)
    63487 bytes read in 24 ms (2.5 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    7.522483] printk: console [ttyS4] enabled
    [    7.529690] printk: bootconsole [ns16550a0] disabled
    [    7.539325] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 298, base_baud = 3000000) is a 8250
    [    7.548972] 2840000.serial: ttyS0 at MMIO 0x2840000 (irq = 299, base_baud = 3000000) is a 8250
    [    7.558614] 2850000.serial: ttyS1 at MMIO 0x2850000 (irq = 300, base_baud = 3000000) is a 8250
    [    7.570362] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    7.579742] spi-nand spi0.2: Winbond SPI NAND was found.
    [    7.585083] spi-nand spi0.2: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
    [    7.596366] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    7.641556] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    7.651343] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    7.659456] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    7.667580] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    7.680537] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    7.686814] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    7.693942] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    7.700436] pps pps0: new PPS source ptp0
    [    7.704726] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    7.715274] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    7.729968] mmc0: CQHCI version 5.10
    [    7.739226] gpio-418 (gpio0_22): hogged as output/high
    [    7.744415] gpio-419 (gpio0_23): hogged as output/high
    [    7.755280] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    7.760859] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [    7.768652] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
    [    7.772255] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    7.774655] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    7.774717] xhci-hcd xhci-hcd.3.auto: irq 496, io mem 0x31000000
    [    7.798192] hub 1-0:1.0: USB hub found
    [    7.801978] hub 1-0:1.0: 1 port detected
    [    7.807270] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    7.812795] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
    [    7.820581] xhci-hcd xhci-hcd.4.auto: USB3 root hub has no ports
    [    7.826584] xhci-hcd xhci-hcd.4.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    7.836049] xhci-hcd xhci-hcd.4.auto: irq 497, io mem 0x31100000
    [    7.836137] mmc0: Command Queue Engine enabled
    [    7.842854] hub 2-0:1.0: USB hub found
    [    7.846511] mmc0: new HS200 MMC card at address 0001
    [    7.850274] hub 2-0:1.0: 1 port detected
    [    7.855874] mmcblk0: mmc0:0001 IB2916 14.6 GiB 
    [    7.860113] pinctrl-single f4000.pinctrl: pin PIN12 already requested by regulator-7; cannot claim for wlan_pwrseq
    [    7.874085] pinctrl-single f4000.pinctrl: pin-12 (wlan_pwrseq) status -22
    [    7.874088]  mmcblk0: p1 p2
    [    7.874100] pinctrl-single f4000.pinctrl: could not request pin 12 (PIN12) from group wlan-en-pins-default  on device pinctrl-single
    [    7.881576] mmcblk0boot0: mmc0:0001 IB2916 4.00 MiB 
    [    7.883682] pwrseq_simple wlan_pwrseq: Error applying setting, reverse things back
    [    7.896485] mmcblk0boot1: mmc0:0001 IB2916 4.00 MiB 
    [    7.901997] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    7.909061] mmcblk0rpmb: mmc0:0001 IB2916 4.00 MiB, chardev (238:0)
    [    7.913575] mmc1: CQHCI version 5.10
    [    7.915930] input: mcu_gpio_key as /devices/platform/mcu_gpio_key/input/input1
    [    7.916636] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    7.919050] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    7.919469] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    7.919485] cfg80211: failed to load regulatory.db
    [    7.930556] ALSA device list:
    [    7.968124]   No soundcards found.
    [    7.973558] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    7.981266] Waiting for root device PARTUUID=073269c4-02...
    [    8.035834] mmc1: new ultra high speed SDR104 SDHC card at address 0001
    [    8.043259] mmcblk1: mmc1:0001 SD16G 14.6 GiB 
    [    8.050022]  mmcblk1: p1 p2
    [    8.117576] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    8.177862] EXT4-fs (mmcblk1p2): recovery complete
    [    8.184038] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    8.192656] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    8.200140] devtmpfs: mounted
    [    8.204904] Freeing unused kernel memory: 2560K
    [    8.209716] Run /sbin/init as init process
    [    8.322610] hub 2-1:1.0: USB hub found
    [    8.326545] hub 2-1:1.0: 4 ports detected
    [    8.473672] NET: Registered PF_INET6 protocol family
    [    8.480443] Segment Routing with IPv6
    [    8.484253] In-situ OAM (IOAM) with IPv6
    [    8.526879] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTS
    ETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    8.558927] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.04!
    
    [    8.668368] systemd[1]: Hostname set to <sm2s-am6254>.
    [    8.806620] systemd-sysv-generator[172]: SysV service '/etc/init.d/early-rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a 
    native systemd unit file, in order to make it more safe and robust.
    [    8.832666] systemd-sysv-generator[172]: SysV service '/etc/init.d/cmdline-keyboard.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to inclu
    de a native systemd unit file, in order to make it more safe and robust.
    [    8.858165] systemd-sysv-generator[172]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include
     a native systemd unit file, in order to make it more safe and robust.
    [    8.883003] systemd-sysv-generator[172]: SysV service '/etc/init.d/telnetd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native 
    systemd unit file, in order to make it more safe and robust.
    [    8.906842] systemd-sysv-generator[172]: SysV service '/etc/init.d/bootlog.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nati
    ve systemd unit file, in order to make it more safe and robust.
    [    8.930936] systemd-sysv-generator[172]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native
     systemd unit file, in order to make it more safe and robust.
    [    9.192515] systemd[1]: Configuration file /etc/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    9.377508] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting 
    altogether.
    [    9.477313] systemd[1]: Queued start job for default target Multi-User System.
    [    9.612266] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    9.637163] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    9.661381] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    9.684620] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    9.706228] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    9.730230] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    9.754301] systemd[1]: Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    9.777895] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    9.793834] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    9.813894] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    9.829984] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    9.923569] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    9.946209] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    9.975971] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    9.998674] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [   10.023691] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [   10.048408] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   10.072593] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   10.091769] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   10.116683] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   10.139786] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   10.164225] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [   10.226328] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [   10.282241] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   10.317382] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   10.334423] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [   10.370491] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [   10.400323] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [   10.428860] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [   10.454494] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [   10.478151] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [   10.497821] fuse: init (API version 7.37)
    [   10.513184] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   10.574771] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [   10.595518] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [   10.632908] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   10.659709] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   10.681241] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network …ts from Kernel co[   10.690451] cryptodev: loading out-of-tree module taints kernel.
    mmand line...
    [   10.702998] cryptodev: driver 1.12 loaded.
    [   10.720147] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   10.747600] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [   10.752952] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [   10.784698] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [   10.806563] 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  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [   11.194442] systemd-journald[189]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [   11.415060] audit: type=1334 audit(1651272558.488:2): prog-id=5 op=LOAD
    [   11.421792] audit: type=1334 audit(1651272558.496:3): prog-id=6 op=LOAD
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [   11.773600] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [   11.902264] spi-nor spi1.0: w25q64dw (8192 Kbytes)
    [  OK  ] Found device /dev/ttyS4.
    [   11.965021] spi-nor spi1.1: w25q64dw (8192 Kbytes)
    [   11.977059] mc: Linux media interface: v0.10
    [   12.012569] videodev: Linux video capture interface: v2.00
    [   12.014093] spi-nor spi2.0: w25q64dw (8192 Kbytes)
    [   12.050158] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [   12.212421] m_can_platform 4e00000.can: m_can device registered (irq=0, version=32)
    [   12.227056] m_can_platform 4e10000.can: m_can device registered (irq=0, version=32)
    [   12.251600] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [   12.261703] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [   12.270074] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [   12.270829] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [   12.283758] remoteproc remoteproc0: 5000000.m4fss is available
    [   12.296561] remoteproc remoteproc0: powering up 5000000.m4fss
    [   12.302418] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
    [   12.324634] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node m4f-dma-memory@9cb00000
    [   12.344199] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [   12.351100] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [   12.397103] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   12.402849] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   12.410839] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [   12.501645] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [   12.501761] ov5640 1-003c: ov5640_write_reg: error: reg=3008, val=82
    [   12.520058] platform 78000000.r5f: configured R5F for IPC-only mode
    [   12.526580] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [   12.541947] remoteproc remoteproc1: 78000000.r5f is available
    [   12.551688] mtdblock: MTD device 'spi0.2' is NAND, please consider using UBI block devices instead.
    [   12.552626] PVR_K:  221: Device: fd00000.gpu
    [   12.553994] remoteproc remoteproc1: attaching to 78000000.r5f
    [   12.554785] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [   12.554806] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node r5f-dma-memory@9da00000
    [   12.555356] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   12.555381] rproc-virtio rproc-virtio.7.auto: registered virtio1 (type 7)
    [   12.555388] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [   12.606595] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [   12.608183] PVR_K:  221: Read BVNC 33.15.11.3 from HW device registers
    [   12.614404] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [   12.628633] ov5640 1-003c: ov5640_write_reg: error: reg=3008, val=42
    [   12.632023] PVR_K:  221: RGX Device registered with BVNC 33.15.11.3
    [   12.639957] ov5640 1-003c: ov5640_write_reg: error: reg=3103, val=11
    [   12.648447] [drm] Initialized pvr 23.1.6404501 20170530 for fd00000.gpu on minor 1
    [   12.650195] ov5640 1-003c: ov5640_read_reg: error: reg=3108
    [   12.673782] ov5640 1-003c: failed to power on
    [   12.709424] ov5640: probe of 1-003c failed with error -121
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [   13.244175] remoteproc remoteproc2: 30074000.pru is available
    [   13.251653] remoteproc remoteproc3: 30078000.pru is available
    [   13.340807] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 2/4 lanes, 4 streams, external D-PHY
    [   13.759641] mtdblock: MTD device 'spi0.2' is NAND, please consider using UBI block devices instead.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1   15.541406] mtdblock: MTD device 'spi0.2' is NAND, please consider using UBI block devices instead.
    0m...
    [  OK  ] Finished File System Check on /dev/mmcblk0p2.
             Mounting /run/media/rootfs-mmcblk0p2...
    [  OK  ] Finished File System Check on /dev/mmcblk0p1.
    [   15.767804] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
    [  OK  ] Mounted /run/media/rootfs-mmcblk0p2.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Found device /dev/disk/by-uuid/DF94-92F9.
             Mounting /boot...
    [   17.052731] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Mounted /boot.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target Timer Units.
    [  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 Weston socket...
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
             Starting cmdline-keyboard.service...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Lighttpd Daemon...
             Starting Network Time Service (one-shot ntpdate mode)...
             Starting Telephony service...
    [  OK  ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
    [   18.208796] audit: type=1334 audit(1651272565.280:4): prog-id=7 op=LOAD
    [   18.215716] audit: type=1334 audit(1651272565.288:5): prog-id=8 op=LOAD
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started ti-apps-launcher service.
    [  OK  ] Started cmdline-keyboard.service.
    [FAILED] Failed to start Print notice abou[   18.318793] Bluetooth: Core ver 2.22
    t GPLv3 packages.
    [   18.323796] NET: Registered PF_BLUETOOTH protocol family
    [   18.330945] Bluetooth: HCI device and connection manager initialized
    [   18.337579] Bluetooth: HCI socket layer initialized
    See 'systemctl status gplv3-notice.service' for details.
    [   18.342747] Bluetooth: L2CAP socket layer initialized
    [   18.353477] Bluetooth: SCO socket layer initialized
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Started Lighttpd Daemon.
    [  OK  ] Finished Network Time Service (one-shot ntpdate mode).
    [  OK  ] Reached target Preparation for Network.
             Starting bootlog.service...
             Starting Connection service...
             Starting rc.local.service...
             Starting Network Configuration...
    [  OK  ] Started bootlog.service.
    [  OK  ] Started rc.local.service.
    [  OK  ] Started Telephony service.
    [  OK  ] Started User Login Management.
    [  OK  ] Started Connection service.
             Starting Avahi mDNS/DNS-SD Stack...
    [   18.825503] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   18.835014] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
             Starting WPA supplicant...
    [   18.863133] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [   18.872572] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Network Configuration.
    [  OK  ] Started WPA supplicant.
    [  OK  ] Reached target Network.
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Network Time Service...
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
    [   19.103544] audit: type=1334 audit(1651272566.176:6): prog-id=9 op=LOAD
    [   19.110470] audit: type=1334 audit(1651272566.184:7): prog-id=10 op=LOAD
             Starting Hostname Service...
             Starting Permit User Sessions...
    [  OK  ] Started Network Time Service.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS4.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland…ositor, as a system service...
    [  OK  ] Started Hostname Service.
    [   19.564275] audit: type=1334 audit(1651272566.636:8): prog-id=11 op=LOAD
    [   19.571090] audit: type=1334 audit(1651272566.644:9): prog-id=12 op=LOAD
             Starting User Database Manager...
    [  OK  ] Started User Database Manager.
    [  OK  ] Created slice User Slice of UID 1001.
             Starting User Runtime Directory /run/user/1001...
    [  OK  ] Finished Synchronize System and HW clocks.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Finished User Runtime Directory /run/user/1001.
             Starting User Manager for UID 1001...
    [   20.059154] audit: type=1006 audit(1651272567.132:10): pid=803 uid=0 old-auid=4294967295 auid=1001 tty=(none) old-ses=4294967295 ses=1 res=1
    [   20.072080] audit: type=1300 audit(1651272567.132:10): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffde5b1548 a2=4 a3=ffff9987e020 items=0 ppid=1 pid=803 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 
    egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   20.098899] audit: type=1327 audit(1651272567.132:10): proctitle="(systemd)"
    [  OK  ] Started User Manager for UID 1001.
    [  OK  ] Started Session c1 of User weston.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    [   20.821839] audit: type=1006 audit(1651272567.896:11): pid=791 uid=0 old-auid=4294967295 auid=1001 tty=tty7 old-ses=4294967295 ses=2 res=1
    [FAILED] Failed to start Weston, a …mpositor, as a system service.
    See 'systemctl status weston.service' for details.
    
    MSC-LDK LOL99_20230718_V1_11_0-1-g7712cef-dirty built on Wed Apr  3 06:38:05 UTC 2024 by embedded@embadded-Dell-Precision-7820
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project sm2s-am6254 -
    
    Arago 2023.04 sm2s-am6254 -
    
    sm2s-am6254 login: 
    
    

    CASE 2: main_rti1 is in the Linux device-tree file, but watchdog_pins_default is NOT in the Linux device-tree file

    RESPONSE : booting ok, board getting reboot on watchdog timeout, not getting pulse for peripheral reset.

    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 13376 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    
    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 2000 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Avnet sm2s-am6254 smarc module
    DRAM:  2 GiB
    Core:  83 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2820000
    Out:   serial@2820000
    Err:   serial@2820000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    Boardinfo: OK, complete. 
    boot_sel0 value : 1
    boot_sel1 value : 0
    boot_sel2 value : 0
    Using carrier SD card as boot device ...
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 15 ms (37.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    24814080 bytes read in 1024 ms (23.1 MiB/s)
    63476 bytes read in 25 ms (2.4 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    1.457090] printk: console [ttyS4] enabled
    [    1.464296] printk: bootconsole [ns16550a0] disabled
    [    1.474001] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.483693] 2840000.serial: ttyS0 at MMIO 0x2840000 (irq = 250, base_baud = 3000000) is a 8250
    [    1.493359] 2850000.serial: ttyS1 at MMIO 0x2850000 (irq = 251, base_baud = 3000000) is a 8250
    [    1.505171] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    1.914534] spi-nand: probe of spi0.2 failed with error -110
    [    1.921791] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.965857] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.975632] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.983744] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.991867] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    2.004860] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    2.011138] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    2.018264] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    2.024740] pps pps0: new PPS source ptp0
    [    2.029060] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    2.039564] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    2.054326] mmc0: CQHCI version 5.10
    [    2.063811] gpio-418 (gpio0_22): hogged as output/high
    [    2.069002] gpio-419 (gpio0_23): hogged as output/high
    [    2.086131] tpm_tis_i2c 4-002e: 2.0 TPM (device-id 0x0, rev-id 78)
    [    2.098924] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.156700] mmc0: Command Queue Engine enabled
    [    2.161209] mmc0: new HS200 MMC card at address 0001
    [    2.166949] mmcblk0: mmc0:0001 IB2916 14.6 GiB 
    [    2.173173]  mmcblk0: p1 p2
    [    2.176771] mmcblk0boot0: mmc0:0001 IB2916 4.00 MiB 
    [    2.182929] mmcblk0boot1: mmc0:0001 IB2916 4.00 MiB 
    [    2.188773] mmcblk0rpmb: mmc0:0001 IB2916 4.00 MiB, chardev (238:0)
    [    4.102808] tpm tpm0: tpm_try_transmit: send(): error -62
    [    4.108360] tpm tpm0: TPM in field failure mode, requires firmware upgrade
    [    4.117479] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    4.123041] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    4.130860] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    4.136878] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    4.146370] xhci-hcd xhci-hcd.0.auto: irq 447, io mem 0x31000000
    [    4.153369] hub 1-0:1.0: USB hub found
    [    4.157178] hub 1-0:1.0: 1 port detected
    [    4.163137] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    4.168671] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    4.176480] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
    [    4.182506] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    4.191962] xhci-hcd xhci-hcd.1.auto: irq 448, io mem 0x31100000
    [    4.198655] hub 2-0:1.0: USB hub found
    [    4.202441] hub 2-0:1.0: 1 port detected
    [    4.207298] pinctrl-single f4000.pinctrl: pin PIN12 already requested by regulator-7; cannot claim for wlan_pwrseq
    [    4.217655] pinctrl-single f4000.pinctrl: pin-12 (wlan_pwrseq) status -22
    [    4.224439] pinctrl-single f4000.pinctrl: could not request pin 12 (PIN12) from group wlan-en-pins-default  on device pinctrl-single
    [    4.236358] pwrseq_simple wlan_pwrseq: Error applying setting, reverse things back
    [    4.245154] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    4.245870] mmc1: CQHCI version 5.10
    [    4.255425] input: mcu_gpio_key as /devices/platform/mcu_gpio_key/input/input0
    [    4.264098] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    4.273971] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    4.280640] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    4.289277] cfg80211: failed to load regulatory.db
    [    4.297428] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    4.313190] ALSA device list:
    [    4.316187]   No soundcards found.
    [    4.329075] Waiting for root device PARTUUID=073269c4-02...
    [    4.366274] mmc1: new ultra high speed SDR104 SDHC card at address 0001
    [    4.373767] mmcblk1: mmc1:0001 SD16G 14.6 GiB 
    [    4.380547]  mmcblk1: p1 p2
    [    4.469908] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    4.562651] EXT4-fs (mmcblk1p2): recovery complete
    [    4.581674] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    4.590311] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    4.597780] devtmpfs: mounted
    [    4.602651] Freeing unused kernel memory: 2560K
    [    4.607357] Run /sbin/init as init process
    [    4.678464] hub 2-1:1.0: USB hub found
    [    4.682346] hub 2-1:1.0: 4 ports detected
    [    4.859025] NET: Registered PF_INET6 protocol family
    [    4.865499] Segment Routing with IPv6
    [    4.869242] In-situ OAM (IOAM) with IPv6
    [    4.910669] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTS
    ETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    4.942952] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.04!
    
    [    5.035640] systemd[1]: Hostname set to <sm2s-am6254>.
    [    5.173272] systemd-sysv-generator[171]: SysV service '/etc/init.d/early-rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a 
    native systemd unit file, in order to make it more safe and robust.
    [    5.199615] systemd-sysv-generator[171]: SysV service '/etc/init.d/cmdline-keyboard.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to inclu
    de a native systemd unit file, in order to make it more safe and robust.
    [    5.224771] systemd-sysv-generator[171]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include
     a native systemd unit file, in order to make it more safe and robust.
    [    5.249670] systemd-sysv-generator[171]: SysV service '/etc/init.d/telnetd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native 
    systemd unit file, in order to make it more safe and robust.
    [    5.273598] systemd-sysv-generator[171]: SysV service '/etc/init.d/bootlog.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nati
    ve systemd unit file, in order to make it more safe and robust.
    [    5.297780] systemd-sysv-generator[171]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native
     systemd unit file, in order to make it more safe and robust.
    [    5.566397] systemd[1]: Configuration file /etc/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    5.736111] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting 
    altogether.
    [    5.828230] systemd[1]: Queued start job for default target Multi-User System.
    [    5.900093] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    5.925120] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    5.949701] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    5.976410] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.003356] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
    [    6.026462] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
    [    6.050889] systemd[1]: Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    6.074044] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    6.090179] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.110082] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    6.126283] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    6.218391] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    6.246579] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    6.288862] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.310925] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    6.335934] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    6.359701] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.383733] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    6.401758] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.427662] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.452085] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.476349] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    6.538595] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    6.570060] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    6.606132] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    6.623304] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    6.678747] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    6.704732] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    6.750985] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    6.772675] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    6.797427] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    6.818146] fuse: init (API version 7.37)
    [    6.854990] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    6.886116] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    6.902448] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    6.925732] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    6.952059] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    6.973139] systemd[1]: Starting Generate network units from Kernel command line...
    [    6.978755] cryptodev: loading out-of-tree module taints kernel.
             Starting Generate network �…ts from Kernel co[    6.989014] cryptodev: driver 1.12 loaded.
    mmand line...
    [    7.038919] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    7.062283] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    7.069075] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    7.101053] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    7.114875] 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  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star�…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    7.541952] systemd-journald[187]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [    7.771404] audit: type=1334 audit(1651278441.908:2): prog-id=5 op=LOAD
    [    7.778254] audit: type=1334 audit(1651278441.916:3): prog-id=6 op=LOAD
             Starting Rule-based Manage�…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [    8.129879] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [    8.348522] spi-nor spi1.0: found is25wp064, expected w25q64dw
    [    8.357110] spi-nor spi1.0: is25wp064 (8192 Kbytes)
    [  OK  ] Found device /dev/ttyS4.
    [    8.397773] spi-nor spi1.1: found is25wp064, expected w25q64dw
    [    8.405024] mc: Linux media interface: v0.10
    [    8.410435] spi-nor spi1.1: is25wp064 (8192 Kbytes)
    [    8.436043] videodev: Linux video capture interface: v2.00
    [    8.466372] spi-nor spi2.0: w25q64dw (8192 Kbytes)
    [    8.527631] m_can_platform 4e00000.can: m_can device registered (irq=0, version=32)
    [    8.556243] m_can_platform 4e10000.can: m_can device registered (irq=0, version=32)
    [    8.586087] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    8.599266] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    8.611253] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    8.651180] remoteproc remoteproc0: 5000000.m4fss is available
    [    8.663714] remoteproc remoteproc0: powering up 5000000.m4fss
    [    8.669658] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
    [    8.687262] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node m4f-dma-memory@9cb00000
    [    8.698569] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    8.706305] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7)
    [    8.713195] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [    8.765237] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.771019] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.780424] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    8.791631] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [    8.857975] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    8.871236] platform 78000000.r5f: configured R5F for IPC-only mode
    [    8.878833] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    8.903227] PVR_K:  211: Device: fd00000.gpu
    [    8.912812] remoteproc remoteproc1: 78000000.r5f is available
    [    8.918791] PVR_K:  211: Read BVNC 33.15.11.3 from HW device registers
    [    8.926414] remoteproc remoteproc1: attaching to 78000000.r5f
    [    8.940437] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    8.942287] PVR_K:  211: RGX Device registered with BVNC 33.15.11.3
    [    8.947368] rproc-virtio rproc-virtio.4.auto: assigned reserved memory node r5f-dma-memory@9da00000
    [    8.984704] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.986420] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.993957] rproc-virtio rproc-virtio.4.auto: registered virtio1 (type 7)
    [    8.998085] ov5640 1-003c: ov5640_write_reg: error: reg=3008, val=82
    [    9.011373] [drm] Initialized pvr 23.1.6404501 20170530 for fd00000.gpu on minor 1
    [    9.011577] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    9.011961] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    9.038522] ov5640 1-003c: ov5640_write_reg: error: reg=3008, val=42
    [    9.048828] ov5640 1-003c: ov5640_write_reg: error: reg=3103, val=11
    [    9.057177] ov5640 1-003c: ov5640_read_reg: error: reg=3108
    [    9.067377] ov5640 1-003c: failed to power on
    [    9.074695] ov5640: probe of 1-003c failed with error -121
    [  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.
    [    9.868068] remoteproc remoteproc2: 30074000.pru is available
    [    9.875309] remoteproc remoteproc3: 30078000.pru is available
    [    9.896082] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 2/4 lanes, 4 streams, external D-PHY
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1...
    [  OK  ] Finished File System Check on /dev/mmcblk0p2.
             Mounting /run/media/rootfs-mmcblk0p2...
    [  OK  ] Finished File System Check on /dev/mmcblk0p1.
    [   10.853998] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Mounted /run/media/rootfs-mmcblk0p2.
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Found device /dev/disk/by-uuid/DF94-92F9.
             Mounting /boot...
    [   11.295026] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Mounted /boot.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target Timer Units.
    [  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 Weston socket...
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
             Starting cmdline-keyboard.service...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Lighttpd Daemon...
             Starting Network Time Service (one-shot ntpdate mode)...
             Starting Telephony service...
    [  OK  ] Started strongSwan IPsec I�…IKEv2 daemon using ipsec.conf.
    [   12.433975] audit: type=1334 audit(1651278446.568:4): prog-id=7 op=LOAD
    [   12.441763] audit: type=1334 audit(1651278446.576:5): prog-id=8 op=LOAD
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
    [   12.551356] Bluetooth: Core ver 2.22
    [   12.555485] NET: Registered PF_BLUETOOTH protocol family
    [   12.560908] Bluetooth: HCI device and connection manager initialized
    [   12.567314] Bluetooth: HCI socket layer initialized
    [  OK  ] Started ti-apps-launcher service   12.572261] Bluetooth: L2CAP socket layer initialized
    m.[   12.582920] Bluetooth: SCO socket layer initialized
    
    [  OK  ] Started cmdline-keyboard.service.
    [FAILED] Failed to start Print notice about GPLv3 packages.
    See 'systemctl status gplv3-notice.service' for details.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Started Lighttpd Daemon.
    [  OK  ] Finished Network Time Service (one-shot ntpdate mode).
    [  OK  ] Reached target Preparation for Network.
             Starting bootlog.service...
             Starting Connection service...
             Starting rc.local.service...
             Starting Network Configuration...
    [  OK  ] Started bootlog.service.
    [  OK  ] Started rc.local.service.
    [  OK  ] Started Telephony service.
    [  OK  ] Started User Login Management.
    [  OK  ] Started Connection service.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting WPA supplicant...
    [   13.154428] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   13.163977] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started Network Configuration.
    [   13.188409] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [   13.197832] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started WPA supplicant.
    [  OK  ] Reached target Network.
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Network Time Service...
             Starting Simple Network Ma�…ent Protocol (SNMP) Daemon....
    [   13.448028] audit: type=1334 audit(1651278447.584:6): prog-id=9 op=LOAD
    [   13.454793] audit: type=1334 audit(1651278447.592:7): prog-id=10 op=LOAD
             Starting Hostname Service...
             Starting Permit User Sessions...
    [  OK  ] Started Network Time Service.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS4.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland�…ositor, as a system service...
    [  OK  ] Started Hostname Service.
    [   13.860168] audit: type=1334 audit(1651278447.996:8): prog-id=11 op=LOAD
    [   13.867142] audit: type=1334 audit(1651278448.004:9): prog-id=12 op=LOAD
             Starting User Database Manager...
    [  OK  ] Finished Synchronize System and HW clocks.
    [  OK  ] Started User Database Manager.
    [  OK  ] Created slice User Slice of UID 1001.
             Starting User Runtime Directory /run/user/1001...
    [  OK  ] Finished User Runtime Directory /run/user/1001.
             Starting User Manager for UID 1001...
    [   14.384738] audit: type=1006 audit(1651278448.520:10): pid=792 uid=0 old-auid=4294967295 auid=1001 tty=(none) old-ses=4294967295 ses=1 res=1
    [   14.397617] audit: type=1300 audit(1651278448.520:10): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe94e7a88 a2=4 a3=ffff9469e020 items=0 ppid=1 pid=792 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 
    egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   14.424301] audit: type=1327 audit(1651278448.520:10): proctitle="(systemd)"
    [  OK  ] Started Simple Network Man�…ement Protocol (SNMP) Daemon..
    [  OK  ] Started User Manager for UID 1001.
    [  OK  ] Started Session c1 of User weston.
    [   15.220388] audit: type=1006 audit(1651278449.356:11): pid=781 uid=0 old-auid=4294967295 auid=1001 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   15.233009] audit: type=1300 audit(1651278449.356:11): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe94e7a88 a2=4 a3=ffff9469e020 items=0 ppid=1 pid=781 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 
    egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [   15.259423] audit: type=1327 audit(1651278449.356:11): proctitle="(weston)"
    [FAILED] Failed to start Weston, a �…mpositor, as a system service.
    See 'systemctl status weston.service' for details.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
    MSC-LDK LOL99_20230718_V1_11_0-1-g7712cef-dirty built on Wed Apr  3 06:38:05 UTC 2024 by embedded@embadded-Dell-Precision-7820
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project sm2s-am6254 -
    
    Arago 2023.04 sm2s-am6254 -
    
    sm2s-am6254 login: 
    
    



    CASE 3both main_rti1 and watchdog_pins_default are in the Linux device-tree file

    RESPONSEBut board is not able to boot completely, before booting process complete, it's getting rebooted again and again.  getting pulse on pin(A4)WKUP_TIMER_IO1,  got pulse on reboot.

    => run boot_sd
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 16 ms (34.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    24814080 bytes read in 1023 ms (23.1 MiB/s)
    63512 bytes read in 23 ms (2.6 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    5.477472] printk: console [ttyS4] enabled
    [    5.484675] printk: bootconsole [ns16550a0] disabled
    [    5.494371] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 298, base_baud = 3000000) is a 8250
    [    5.504041] 2840000.serial: ttyS0 at MMIO 0x2840000 (irq = 299, base_baud = 3000000) is a 8250
    [    5.513707] 2850000.serial: ttyS1 at MMIO 0x2850000 (irq = 300, base_baud = 3000000) is a 8250
    [    5.525394] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    5.534788] spi-nand spi0.2: Winbond SPI NAND was found.
    [    5.540122] spi-nand spi0.2: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
    [    5.551371] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    5.597683] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.607491] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    5.615603] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    5.623724] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    5.636693] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    5.642963] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    5.650088] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    5.656598] pps pps0: new PPS source ptp0
    [    5.660906] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    5.671387] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    5.686248] mmc0: CQHCI version 5.10
    [    5.695566] gpio-418 (gpio0_22): hogged as output/high
    [    5.700757] gpio-419 (gpio0_23): hogged as output/high
    [    5.717150] tpm_tis_i2c 4-002e: 2.0 TPM (device-id 0x0, rev-id 78)
    [    5.728629] tpm tpm0: A TPM error (256) occurred attempting the self test
    [    5.731352] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    5.735415] tpm tpm0: starting up the TPM manually
    [    5.796877] mmc0: Command Queue Engine enabled
    [    5.801422] mmc0: new HS200 MMC card at address 0001
    [    5.807586] mmcblk0: mmc0:0001 IB2916 14.6 GiB 
    [    5.813933]  mmcblk0: p1 p2
    [    5.817387] mmcblk0boot0: mmc0:0001 IB2916 4.00 MiB 
    [    5.823776] mmcblk0boot1: mmc0:0001 IB2916 4.00 MiB 
    [    5.829905] mmcblk0rpmb: mmc0:0001 IB2916 4.00 MiB, chardev (238:0)
    [    7.758368] tpm tpm0: tpm_try_transmit: send(): error -62
    [    7.764702] tpm tpm0: tpm_try_transmit: send(): error -121
    [    7.770950] tpm_tis_i2c: probe of 4-002e failed with error -121
    [    7.779853] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    7.785418] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [    7.793263] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
    [    7.799294] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    7.808759] xhci-hcd xhci-hcd.3.auto: irq 496, io mem 0x31000000
    [    7.815662] hub 1-0:1.0: USB hub found
    [    7.819465] hub 1-0:1.0: 1 port detected
    [    7.825220] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    7.830775] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
    [    7.838595] xhci-hcd xhci-hcd.4.auto: USB3 root hub has no ports
    [    7.844607] xhci-hcd xhci-hcd.4.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    7.854087] xhci-hcd xhci-hcd.4.auto: irq 497, io mem 0x31100000
    [    7.860809] hub 2-0:1.0: USB hub found
    [    7.864604] hub 2-0:1.0: 1 port detected
    [    7.869474] pinctrl-single f4000.pinctrl: pin PIN12 already requested by regulator-7; cannot claim for wlan_pwrseq
    [    7.879838] pinctrl-single f4000.pinctrl: pin-12 (wlan_pwrseq) status -22
    [    7.886621] pinctrl-single f4000.pinctrl: could not request pin 12 (PIN12) from group wlan-en-pins-default  on device pinctrl-single
    [    7.898539] pwrseq_simple wlan_pwrseq: Error applying setting, reverse things back
    [    7.907271] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    7.908095] mmc1: CQHCI version 5.10
    [    7.917280] input: mcu_gpio_key as /devices/platform/mcu_gpio_key/input/input1
    [    7.926189] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    7.935845] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    7.942514] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    7.951136] cfg80211: failed to load regulatory.db
    [    7.957018] ALSA device list:
    [    7.957742] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    7.959999]   No soundcards found.
    [    7.971615] Waiting for root device PARTUUID=073269c4-02...
    [    8.032576] mmc1: new ultra high speed SDR104 SDHC card at address 0001
    [    8.040369] mmcblk1: mmc1:0001 SD16G 14.6 GiB 
    [    8.047202]  mmcblk1: p1 p2
    [    8.080243] EXT4-fs (mmcblk1p2): recovery complete
    [    8.086444] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    8.095066] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    8.102389] devtmpfs: mounted
    [    8.106982] Freeing unused kernel memory: 2560K
    [    8.111724] Run /sbin/init as init process
    [    8.129717] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    8.340616] hub 2-1:1.0: USB hub found
    [    8.344515] hub 2-1:1.0: 4 ports detected
    [    8.369079] NET: Registered PF_INET6 protocol family
    [    8.375888] Segment Routing with IPv6
    [    8.379640] In-situ OAM (IOAM) with IPv6
    [    8.420568] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTS
    ETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    8.452696] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.04!
    
    [    8.551814] systemd[1]: Hostname set to <sm2s-am6254>.
    [    8.701811] systemd-sysv-generator[172]: SysV service '/etc/init.d/early-rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a 
    native systemd unit file, in order to make it more safe and robust.
    [    8.729737] systemd-sysv-generator[172]: SysV service '/etc/init.d/cmdline-keyboard.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to inclu
    de a native systemd unit file, in order to make it more safe and robust.
    [    8.755136] systemd-sysv-generator[172]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include
     a native systemd unit file, in order to make it more safe and robust.
    [    8.779911] systemd-sysv-generator[172]: SysV service '/etc/init.d/telnetd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native 
    systemd unit file, in order to make it more safe and robust.
    [    8.803741] systemd-sysv-generator[172]: SysV service '/etc/init.d/bootlog.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nati
    ve systemd unit file, in order to make it more safe and robust.
    [    8.827820] systemd-sysv-generator[172]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native
     systemd unit file, in order to make it more safe and robust.
    [    9.083480] systemd[1]: Configuration file /etc/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    9.266557] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting 
    altogether.
    [    9.366320] systemd[1]: Queued start job for default target Multi-User System.
    [    9.445013] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    9.468834] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    9.492950] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    9.516200] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    9.541017] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
    [    9.566166] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
    [    9.590269] systemd[1]: Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    9.613916] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    9.629947] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    9.650048] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    9.666072] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    9.732463] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    9.754202] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    9.791265] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    9.814804] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    9.839771] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    9.863244] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    9.888686] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    9.907912] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    9.931863] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    9.956116] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    9.980190] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [   10.038377] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [   10.065703] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   10.101950] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   10.119131] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [   10.158364] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [   10.183706] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [   10.216685] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [   10.241429] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [   10.266381] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [   10.286662] fuse: init (API version 7.37)
    [   10.298775] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   10.331036] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [   10.346294] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [   10.369737] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   10.396506] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   10.420699] systemd[1]: Starting Generate network units from Kernel command line...
    [   10.422330] cryptodev: loading out-of-tree module taints kernel.
             Starting Generate network �…ts from Kernel co[   10.436694] cryptodev: driver 1.12 loaded.
    mmand line...
    [   10.464086] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   10.491190] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [   10.493440] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [   10.524727] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [   10.538720] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.
    [   10.562672] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star�…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [   10.965930] systemd-journald[190]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [   11.199097] audit: type=1334 audit(1651180346.316:2): prog-id=5 op=LOAD
    [   11.206088] audit: type=1334 audit(1651180346.324:3): prog-id=6 op=LOAD
             Starting Rule-based Manage�…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [   11.505707] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Found device /dev/ttyS4.
    [   11.736873] spi-nor spi1.0: w25q64dw (8192 Kbytes)
    [   11.748859] spi-nor spi1.1: w25q64dw (8192 Kbytes)
    [   11.777575] spi-nor spi2.0: w25q64dw (8192 Kbytes)
    [   11.786561] mc: Linux media interface: v0.10
    [   11.803951] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [   11.817929] videodev: Linux video capture interface: v2.00
    [   11.894145] m_can_platform 4e00000.can: m_can device registered (irq=0, version=32)
    [   11.924843] m_can_platform 4e10000.can: m_can device registered (irq=0, version=32)
    [   11.941770] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [   11.955838] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [   11.962958] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [   12.035907] remoteproc remoteproc0: 5000000.m4fss is available
    [   12.048861] remoteproc remoteproc0: powering up 5000000.m4fss
    [   12.054712] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
    [   12.083326] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node m4f-dma-memory@9cb00000
    [   12.094757] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [   12.105508] rproc-virtio rproc-virtio.5.auto: registered virtio0 (type 7)
    [   12.112414] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    
    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 13376 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    
    U-Boot SPL 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
    SPL initial stack usage: 2000 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04 (Feb 20 2024 - 07:36:47 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Avnet sm2s-am6254 smarc module
    DRAM:  2 GiB
    Timed out in wait_for_event: status=0000
    Check if pads/pull-ups of bus are properly configured
    ID eeprom not found
    Warning: failed to initialize boardinfo!
    Core:  83 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2820000
    Out:   serial@2820000
    Err:   serial@2820000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    Boardinfo: NOK, not complete. 
    ERR: Aborting boot OS, boardinfo is not complete!
    
    





    Yes we are using custom HW, watchdog schematic given below.




    Please guide on the same, 


    Thanks & Regards,
    Ishan

     

  • Hello Ishan,

    Good debug, thank you for going into that. So the boot issues are definitely related to the GPIO settings, not something else.

    I am having trouble finding documentation about exactly how the GPIO signal is supposed to interact with the watchdog code - e.g., I don't see any kernel bindings documentation that references a GPIO signal. The driver owner also isn't sure off the top of their head what kind of behavior to expect. It will take us another couple of days to dig into this.

    Please do keep me honest and ping the thread if I haven't come back with more by Wednesday.

    Regards,

    Nick

  • Hello Nick,

    Thanks for the replay


        FYI



    I tried kernel config CONFIG_GPIO_WATCHDOG and CONFIG_GPIO_WATCHDOG_ARCH_INITCALL, with appropriate dts changes for gpio also, but it didn't worked.

    logs given below

    root@sm2s-am6254:~# 
    root@sm2s-am6254:~# dmesg | grep -i 'watchdog'
    [    1.703075] gpio-wdt: probe of watchdog-gpio failed with error -22
    root@sm2s-am6254:~# 
    root@sm2s-am6254:~# 





     Device tree changes


    I just want to highlight, I have shared the dts changes earlier, In that i'm using pin (A4) WKUP_TIMER_IO1 , which should be belongs to wkup domain of the SOC. And assigning this pinmux to the node main_rti1, which should be belongs to main domain of the SOC.

    I have done like that because, i didn't found node wkup_rti1. (i found wkup_rti0 but, we are using pin function WKUP_TIMER_IO1).

    Should this approach work ?




    reference from TRM (page no. 1765)




    Is that means, watchdog timout pulse will be generated on RESETSTATz pin ?  and which is the non-maskable interrupt pin ?

    Note : didn't found any statement in TRM which defines watchdog timeout pulse can be generated on GPIO.


    We need to define the pin on which we can the watchdog timeout pulse ?


    Please guide us for the same.

    Thanks and regards,
    Ishan

  • Hello TI experts, 

    Can we have answer on this?

    Is only NMI and RESETSTATz pin will be work as watchdog time out Gpio?

    Thanks,

    Anil

  • Hello Ishan & Anil,

    Apologies for the delayed response here. I am working on getting a hardware setup where I can try to replicate your observations. I will be remote from my EVM board for the first couple days of the week, so I'll try to get the software setup during that timeframe, and test on hardware in the middle of the week.

    Regards,

    Nick

  • Hello Nick,

    Hope your'e doing well,

    Just a friendly reminder as it's now the middle of the week. If you have any updates or if you'd like to continue our conversation, feel free to respond at your earliest convenience.


    Thanks and Regards,
    Ishan

  • Hello Ishan,

    Apologies for the delayed response here, thank you for the ping.

    Unfortunately the previous versions of our watchdog patch did not work in some edge cases, so I've been working more on the watchdog patch in the background. The latest version of the patch is here, we'll see if any other changes are needed:
    https://patchwork.kernel.org/project/linux-watchdog/patch/20240417205700.3947408-1-jm@ti.com/

    My next step is to validate that patch on my EVM with different settings, and then once I verify that basic watchdog functionality is working as expected across all the edge cases, I can pivot to experimenting with the output signal. Please do ping me again if I have not provided another update by early next week.

    Regards,

    Nick

  • Hello Nick,

    Thanks for the replay, I have tested given patch, but there is no change in output.(board is getting reboot again and again with above provided dts changes)

    Can you please reply on : Which pin we can use for watchdog timeout pulse ? Didn't found any pin for it.

    We need to define the pin on which, we can get the watchdog timeout pulse.



    Thanks & Regards,
    Ishan

  • Hello Ishan,

    Ok, let's start from the beginning. Where did you see documentation that a pulse can be generated on a pin upon watchdog timeout?

    I do not see that documentation anywhere in the TRM or datasheet, and it is not a feature that the Linux developer has heard of either.

    WKUP_TIMER is not associated with the RTI / watchdog timer. It's associated with.. well, the timers in the wakeup domain. So my suspicion is that this feature does not actually exist.

    Regards,

    Nick