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