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.

PROCESSOR-SDK-AM62X: SK-AM62B RTC设置时钟不成功问题

Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: SK-AM62B

Hi Ti

  开发环境:1)参考板:SK-AM62B,2)SDK ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42

  遇到问题:我使用如下命令,更新RTC的值,从命令结果来看,是设置成功了,但我重启后,又回到了默认值

root@am62xx-evm:~# date -s "2023-10-26 14:45:00" 
Thu Oct 26 14:15:00 UTC 2023
root@am62xx-evm:~# hwclock -r
2023-02-24 04:55:58.577793+00:00
root@am62xx-evm:~# hwclock -w
root@am62xx-evm:~# hwclock -r
2023-10-26 14:15:21.675057+00:00

  问题分析:

(1)在设置和读取函数中,分别增加打印,如下

gjw@wisonic:~/work/board-support/linux-5.10.168+gitAUTOINC+2c23e6c538-g2c23e6c538$ git diff drivers/rtc/rtc-ti-k3.c
diff --git a/drivers/rtc/rtc-ti-k3.c b/drivers/rtc/rtc-ti-k3.c
index c2c4ec71ab..a64025b9ac 100644
--- a/drivers/rtc/rtc-ti-k3.c
+++ b/drivers/rtc/rtc-ti-k3.c
@@ -271,7 +271,7 @@ static int ti_k3_rtc_read_time(struct device *dev, struct rtc_time *tm)
        seconds_hi = k3rtc_field_read(priv, K3RTC_S_CNT_MSW);
 
        rtc_time64_to_tm((((time64_t)seconds_hi) << 32) | (time64_t)seconds_lo, tm);
-
+       dev_info(dev, "gjw ti_k3_rtc_read_time y%d,m%d,d%d\n",tm->tm_year,tm->tm_mon,tm->tm_mday);
        return 0;
 }
 
@@ -289,7 +289,7 @@ static int ti_k3_rtc_set_time(struct device *dev, struct rtc_time *tm)
         */
        regmap_write(priv->regmap, REG_K3RTC_S_CNT_LSW, seconds);
        regmap_write(priv->regmap, REG_K3RTC_S_CNT_MSW, seconds >> 32);
-
+       dev_info(dev ,"gjw ti_k3_rtc_set_time y%d,m%d,d%d\n",tm->tm_year,tm->tm_mon,tm->tm_mday);
        return k3rtc_fence(priv);
 }
 

(2)重复以上的步骤

  1)读取默认值

root@am62xx-evm:~# hwclock -r
[   55.971943] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   55.978616] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   55.985262] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   56.042810] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   56.049448] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   56.056112] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
2023-02-24 04:52:13.908599+00:00
root@am62xx-evm:~# [   57.042795] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24

 2)设置

root@am62xx-evm:~# hwclock --set --date="2023-10-26" 
[   70.338796] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_set_time y123,m9,d26
[   70.345406] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26

3)检查确认成功后重启

root@am62xx-evm:~# hwclock -r
[   76.162106] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.168778] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.175423] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.338872] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.345528] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.352219] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
2023-10-26 00:00:05.802684+00:00
root@am62xx-evm:~# [   77.338839] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26

root@am62xx-evm:~# reboot
         Stopping Session c1 of user root.

4)重启后,发现又回到了默认值,根本就不是设置的值

am62xx-evm login: root
root@am62xx-evm:~# hwclock -r
[   22.791635] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.798293] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.810416] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.074214] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.080873] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.090446] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
2023-02-24 04:51:40.693921+00:00
root@am62xx-evm:~# [   24.074192] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24

root@am62xx-evm:~# dmesg |grep rtc
[    1.379105] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.385578] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.392377] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
[    1.397527] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.403995] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:08 UTC (8)
[    9.074399] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_set_time y123,m1,d24
[    9.086498] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.791635] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.798293] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.810416] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.074214] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.080873] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.090446] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   24.074192] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24

从RTC读到的是1970-01-01,从系统同步的是2023-02-24,完成的打印信息见下面

root@am62xx-evm:~# 
root@am62xx-evm:~# hwclock -r
[   55.971943] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   55.978616] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   55.985262] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   56.042810] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   56.049448] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   56.056112] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
2023-02-24 04:52:13.908599+00:00
root@am62xx-evm:~# [   57.042795] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24

root@am62xx-evm:~# hwclock --set --date="2023-10-26" 
[   70.338796] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_set_time y123,m9,d26
[   70.345406] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
root@am62xx-evm:~# hwclock -r
[   76.162106] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.168778] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.175423] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.338872] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.345528] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
[   76.352219] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26
2023-10-26 00:00:05.802684+00:00
root@am62xx-evm:~# [   77.338839] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m9,d26

root@am62xx-evm:~# reboot
         Stopping Session c1 of user root.
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped target RPC Port Mapper.
[  OK  ] Stopped target Sound Card.
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily rotation of log files.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped target Hardware activated USB gadget.
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Save/Restore Sound Card State...
         Stopping Job spooling tools...
         Stopping Avahi mDNS/DNS-SD Stack...
         Stopping Periodic Command Scheduler...
         Stopping Getty on tty1...
         Stopping irqbalance daemon...
         Stopping Reboot and dump vmcore via kexec...
         Stopping NFS status monitor for NFSv2/3 locking....
         Stopping Serial Getty on ttyS2...
         Stopping Simple Network Ma鈥nt Protocol (SNMP) Daemon....
[  OK  ] Stopped startwlanap.
[  OK  ] Stopped startwlansta.
         Stopping Load/Save Random Seed...
         Starting Update UTMP about System Runlevel Changes...
         Stopping TEE Supplicant...
         Stopping hmi_demo.service...
[  OK  ] Stopped target System Time Synchronized.
[  OK  ] Stopped target System Time Set.
         Stopping LSB: Expand Rootfs of boot device...
[  OK  ] Stopped Job spooling tools.
[  OK  ] Stopped Periodic Command Scheduler.
[  OK  ] Stopped irqbalance daemon.
[  OK  ] Stopped TEE Supplicant.
[  OK  ] Stopped Wait for Network to be Configured.
[  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
[  OK  ] Stopped Simple Network Man鈥ment Protocol (SNMP) Daemon..
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS2.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped Reboot and dump vmcore via kexec.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped hmi_demo.service.
[  OK  ] Stopped LSB: Expand Rootfs of boot device.
[  OK  ] Stopped Session c1 of user root.
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Removed slice system-serial\x2dgetty.slice.
[  OK  ] Stopped target Host and Network Name Lookups.
         Stopping Login Service...
         Stopping telnetd.service...
         Stopping User Manager for UID 0...
[  OK  ] Stopped Login Service.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped telnetd.service.
         Stopping User Runtime Directory /run/user/0...
         Stopping weston.service...
[  OK  ] Unmounted /run/user/0.
[  OK  ] Stopped User Runtime Directory /run/user/0.
[  OK  ] Stopped weston.service.
[  OK  ] Removed slice User Slice of UID 0.
         Stopping D-Bus System Message Bus...
         Stopping rc.pvr.service...
         Stopping Permit User Sessions...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Network.
[  OK  ] Stopped target Remote File Systems.
         Stopping Network Name Resolution...
[  OK  ] Stopped Network Name Resolution.
         Stopping Network Service...
[  OK  ] Stopped Network Service.
[  OK  ] Stopped target Network (Pre).
[  OK  ] Stopped IPv6 Packet Filtering Framework.
[  OK  ] Stopped IPv4 Packet Filtering Framework.
[  OK  ] Stopped rc.pvr.service.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Dispatch Password 鈥s to Console Directory Watch.
[  OK  ] Stopped Forward Password R鈥ests to Wall Directory Watch.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Closed Docker Socket for the API.
[  OK  ] Closed dropbear.socket.
[  OK  ] Stopped target System Initialization.
         Stopping Hardware RNG Entropy Gatherer Daemon...
         Stopping Load/Save Screen 鈥ess of backlight:backlight...
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
         Stopping Network Time Synchronization...
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Stopped Load/Save Screen B鈥tness of backlight:backlight.
[  OK  ] Removed slice system-systemd\x2dbacklight.slice.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /media/mmcblk1p1...
         Unmounting /media/ram...
         Unmounting /run/media/mmcblk0p1...
         Unmounting /run/media/mmcblk1p1...
         Unmounting /run/media/sda1...
         Unmounting Temporary Directory (/tmp)...
         Unmounting /var/volatile...
[  OK  ] Unmounted /media/mmcblk1p1.
[  OK  ] Unmounted /media/ram.
[  OK  ] Unmounted /run/media/mmcblk0p1.
[  OK  ] Unmounted /run/media/mmcblk1p1.
[  OK  ] Unmounted /run/media/sda1.
[  OK  ] Unmounted Temporary Directory (/tmp).
[  OK  ] Unmounted /var/volatile.
[  OK  ] Stopped target Swap.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped File System Check on /dev/mmcblk0p1.
[  OK  ] Stopped File System Check on /dev/mmcblk1p1.
[  OK  ] Stopped File System Check on /dev/sda1.
[  OK  ] Removed slice system-systemd\x2dfsck.slice.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Reached target Shutdown.
[  OK  ] Reached target Final Step.
[  OK  ] Started Reboot.
[  OK  ] Reached target Reboot.
[  102.063418] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[  102.070457] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[  102.077349] watchdog: watchdog0: watchdog did not stop!
[  102.101025] systemd-shutdown[1]: Syncing filesystems and block devices.
[  102.133918] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  102.154805] systemd-journald[193]: Received SIGTERM from PID 1 (systemd-shutdow).
[  102.183180] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  102.199702] systemd-shutdown[1]: Hardware watchdog 'K3 RTI Watchdog', version 0
[  102.209879] systemd-shutdown[1]: Unmounting file systems.
[  102.218367] [1165]: Remounting '/' read-only in with options '(null)'.
[  102.250920] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[  102.266859] systemd-shutdown[1]: All filesystems unmounted.
[  102.272499] systemd-shutdown[1]: Deactivating swaps.
[  102.277828] systemd-shutdown[1]: All swaps deactivated.
[  102.283110] systemd-shutdown[1]: Detaching loop devices.
[  102.291678] systemd-shutdown[1]: All loop devices detached.
[  102.297310] systemd-shutdown[1]: Detaching DM devices.
[  102.302788] systemd-shutdown[1]: All DM devices detached.
[  102.308197] systemd-shutdown[1]: All filesystems, swaps, loop devices and DM devices detached.
[  102.324131] systemd-shutdown[1]: Syncing filesystems and block devices.
[  102.331159] systemd-shutdown[1]: Rebooting.
[  102.358558] gjw pwm_backlight_update_status
[  102.364814] gjw pwm_backlight_update_status
[  102.371757] reboot: Restarting system

U-Boot SPL 2021.01-g1d1b9dc03d (Aug 01 2023 - 10:31:22 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Starting ATF on ARM64 core...

NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE:  BL31: Built : 01:42:51, Jul  8 2023

U-Boot SPL 2021.01-g1d1b9dc03d (Aug 01 2023 - 10:31:22 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
Trying to boot from MMC2
Authentication passed
Authentication passed


U-Boot 2021.01-g1d1b9dc03d (Aug 01 2023 - 10:31:22 +0000)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed -1
DRAM:  2 GiB
MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed -1
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
1490 bytes read in 3 ms (484.4 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
1 bytes read in 3 ms (0 Bytes/s)
Already setup.
19214848 bytes read in 205 ms (89.4 MiB/s)
55666 bytes read in 5 ms (10.6 MiB/s)
7141 bytes read in 4 ms (1.7 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.168-g2c23e6c538 (gjw@wisonic) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #74 SMP PREEMPT Thu Oct 26 15:40:47 CST 2023
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
[    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
[    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
[    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 512 MiB at 0x00000000dd000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c879998c-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1455760K/2097152K available (11264K kernel code, 1164K rwdata, 4320K rodata, 1920K init, 433K bss, 117104K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008533] Console: colour dummy device 80x25
[    0.013125] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023807] pid_max: default: 32768 minimum: 301
[    0.028619] LSM: Security Framework initializing
[    0.033403] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.040982] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.050803] rcu: Hierarchical SRCU implementation.
[    0.055988] Platform MSI: msi-controller@1820000 domain created
[    0.062310] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.071565] EFI services will not be available.
[    0.076489] smp: Bringing up secondary CPUs ...
[    0.081744] Detected VIPT I-cache on CPU1
[    0.081782] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.081796] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
[    0.081861] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.082496] Detected VIPT I-cache on CPU2
[    0.082519] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.082531] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
[    0.082564] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.083151] Detected VIPT I-cache on CPU3
[    0.083173] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.083184] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
[    0.083219] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.083283] smp: Brought up 1 node, 4 CPUs
[    0.163013] SMP: Total of 4 processors activated.
[    0.167826] CPU features: detected: 32-bit EL0 Support
[    0.173099] CPU features: detected: CRC32 instructions
[    0.185800] CPU: All CPU(s) started at EL2
[    0.190009] alternatives: patching kernel code
[    0.195756] devtmpfs: initialized
[    0.206143] KASLR disabled due to lack of seed
[    0.210908] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.220884] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.242281] pinctrl core: initialized pinctrl subsystem
[    0.248322] DMI not present or invalid.
[    0.252948] NET: Registered protocol family 16
[    0.259160] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.266509] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.274576] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.283293] thermal_sys: Registered thermal governor 'step_wise'
[    0.283298] thermal_sys: Registered thermal governor 'power_allocator'
[    0.289854] cpuidle: using governor menu
[    0.300748] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.307788] ASID allocator initialised with 65536 entries
[    0.338833] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.345714] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.352566] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.359418] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.367301] cryptd: max_cpu_qlen set to 1000
[    0.374563] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
[    0.383664] vcc_5v0: supplied by vmain_pd
[    0.388161] vcc_3v3_sys: supplied by vmain_pd
[    0.393069] vcc_1v8: supplied by vcc_3v3_sys
[    0.398444] iommu: Default domain type: Translated 
[    0.403777] SCSI subsystem initialized
[    0.408040] mc: Linux media interface: v0.10
[    0.412429] videodev: Linux video capture interface: v2.00
[    0.418103] pps_core: LinuxPPS API ver. 1 registered
[    0.423178] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.432530] PTP clock support registered
[    0.436569] EDAC MC: Ver: 3.0.0
[    0.440456] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
[    0.447630] FPGA manager framework
[    0.451209] Advanced Linux Sound Architecture Driver Initialized.
[    0.458340] clocksource: Switched to clocksource arch_sys_counter
[    0.464800] VFS: Disk quotas dquot_6.6.0
[    0.468867] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.481180] NET: Registered protocol family 2
[    0.485921] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.494645] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.503422] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.511627] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.519355] TCP: Hash tables configured (established 16384 bind 16384)
[    0.526249] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.533145] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.540620] NET: Registered protocol family 1
[    0.545538] RPC: Registered named UNIX socket transport module.
[    0.551615] RPC: Registered udp transport module.
[    0.556454] RPC: Registered tcp transport module.
[    0.561268] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.567859] NET: Registered protocol family 44
[    0.572415] PCI: CLS 0 bytes, default 64
[    0.577303] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.589410] Initialise system trusted keyrings
[    0.594168] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.604415] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.610937] NFS: Registering the id_resolver key type
[    0.616149] Key type id_resolver registered
[    0.620428] Key type id_legacy registered
[    0.624591] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.631447] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.639203] 9p: Installing v9fs 9p2000 file system support
[    0.679180] Key type asymmetric registered
[    0.683377] Asymmetric key parser 'x509' registered
[    0.688401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.695966] io scheduler mq-deadline registered
[    0.700597] io scheduler kyber registered
[    0.706876] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.713216] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.721583] pwm-backlight backlight: supply power not found, using dummy regulator
[    0.734995] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.745225] panel-simple display: supply power not found, using dummy regulator
[    0.763256] brd: module loaded
[    0.773429] loop: module loaded
[    0.777562] megasas: 07.714.04.00-rc1
[    0.785067] tun: Universal TUN/TAP device driver, 1.6
[    0.790868] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.797287] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.803396] sky2: driver version 1.30
[    0.807958] PPP generic driver version 2.4.2
[    0.812478] PPP BSD Compression module registered
[    0.817298] PPP Deflate Compression module registered
[    0.822491] PPP MPPE Compression module registered
[    0.827392] NET: Registered protocol family 24
[    0.832091] VFIO - User Level meta-driver version: 0.3
[    0.838486] i2c /dev entries driver
[    0.843792] sdhci: Secure Digital Host Controller Interface driver
[    0.850153] sdhci: Copyright(c) Pierre Ossman
[    0.854950] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.861865] ledtrig-cpu: registered to indicate activity on CPUs
[    0.868362] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.876505] optee: probing for conduit method.
[    0.881114] optee: revision 3.20 (8e74d476)
[    0.881400] optee: dynamic shared memory is enabled
[    0.890910] optee: initialized driver
[    0.896830] NET: Registered protocol family 17
[    0.901545] 9pnet: Installing 9P2000 support
[    0.905986] Key type dns_resolver registered
[    0.910743] Loading compiled-in X.509 certificates
[    0.921539] pwm-backlight backlight: supply power not found, using dummy regulator
[    0.931031] panel-simple display: supply power not found, using dummy regulator
[    0.944291] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided.
[    0.953628] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.020786] davinci-mcasp 2b10000.mcasp: IRQ common not found
[    1.028766] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
[    1.035205] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.044329] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.051993] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
[    1.058305] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
[    1.066659] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
[    1.075905] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
[    1.085717] pwm-backlight backlight: supply power not found, using dummy regulator
[    1.093926] gjw pwm_backlight_update_status
[    1.098543] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.106573] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
[    1.117578] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.127448] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
[    1.137549] printk: console [ttyS2] disabled
[    1.142002] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
[    1.150773] printk: console [ttyS2] enabled
[    1.150773] printk: console [ttyS2] enabled
[    1.159217] printk: bootconsole [ns16550a0] disabled
[    1.159217] printk: bootconsole [ns16550a0] disabled
[    1.169494] omap8250 2800000.serial: ws probed
[    1.174593] panel-simple display: supply power not found, using dummy regulator
[    1.186615] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.191647] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.198601] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.203995] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.210731] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.217104] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.223505] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.229677] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.236433] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.242922] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.259588] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.306346] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.316059] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[    1.324160] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
[    1.332353] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[    1.345193] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.352319] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.358968] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[    1.369317] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.379105] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.385578] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.392377] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
[    1.397527] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.403995] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:08 UTC (8)
[    1.516377] mmc0: CQHCI version 5.10
[    1.518015] davinci-mcasp 2b10000.mcasp: IRQ common not found
[    1.537773] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.544531] pca953x 1-0022: using AI
[    1.569042] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[    1.573796] sii902x 1-003b: supply iovcc not found, using dummy regulator
[    1.583482] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
[    1.593455] i2c i2c-1: Added multiplexed i2c bus 2
[    1.600568] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
[    1.615654] gjw pwm_backlight_update_status
[    1.655111] Console: switching to colour frame buffer device 240x67
[    1.659022] mmc0: Command Queue Engine enabled
[    1.659036] mmc0: new HS200 MMC card at address 0001
[    1.659919] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
[    1.660126] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
[    1.660336] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
[    1.660527] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
[    1.661957]  mmcblk0: p1 p2
[    1.733510] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
[    1.742984] vdd_mmc1: supplied by vcc_3v3_sys
[    1.749334] wlan_lten: supplied by vcc_3v3_sys
[    1.755802] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
[    1.763147] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
[    1.763158] wlan_en: supplied by wlan_lten
[    1.763403] mmc2: CQHCI version 5.10
[    1.770503] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
[    1.770656] mmc1: CQHCI version 5.10
[    1.789249] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[    1.808796] ALSA device list:
[    1.810956] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[    1.811788]   No soundcards found.
[    1.812973] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
[    1.830729] Waiting for root device PARTUUID=c879998c-02...
[    1.865074] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
[    1.872677] mmcblk1: mmc1:59b4 SN32G 29.7 GiB 
[    1.879194]  mmcblk1: p1 p2
[    1.909204] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.917433] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    1.924531] devtmpfs: mounted
[    1.929063] Freeing unused kernel memory: 1920K
[    1.942435] Run /sbin/init as init process
[    2.074389] systemd[1]: System time before build time, advancing clock.
[    2.118657] NET: Registered protocol family 10
[    2.124345] Segment Routing with IPv6
[    2.151900] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    2.174015] systemd[1]: Detected architecture arm64.

Welcome to Arago 2021.09!

[    2.207115] systemd[1]: Set hostname to <am62xx-evm>.
[    2.432120] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring.
[    2.444421] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring.
[    2.465767] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring.
[    2.493295] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock 鈫/run/docker.sock; please update the unit file accordingly.
[    2.589694] random: systemd: uninitialized urandom read (16 bytes read)
[    2.600577] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    2.622580] random: systemd: uninitialized urandom read (16 bytes read)
[    2.631353] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    2.654544] random: systemd: uninitialized urandom read (16 bytes read)
[    2.662900] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    2.686942] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password 鈥s to Console Directory Watch.
[    2.710707] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R鈥ests to Wall Directory Watch.
[    2.734645] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    2.750510] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    2.770483] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    2.786482] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    2.825675] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    2.846728] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    2.871388] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    2.894979] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    2.922205] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    2.931222] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    2.955227] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    2.971368] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    2.995263] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    3.018942] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.043992] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    3.063951] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    3.091926] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    3.120400] systemd[1]: Mounting Temporary Directory (/tmp)...
         Mounting Temporary Directory (/tmp)...
[    3.144331] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st鈥des for the current kernel...
[    3.179163] systemd[1]: Starting Start psplash boot splash screen...
         Starting Start psplash boot splash screen...
[    3.208323] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    3.238850] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    3.255174] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    3.277945] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    3.295929] cryptodev: loading out-of-tree module taints kernel.
[    3.300296] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems   3.309860] cryptodev: driver 1.10 loaded.
[0m...
[    3.322256] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    3.336873] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    3.361947] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    3.379406] systemd[1]: Started Start psplash boot splash screen.
[  OK  ] Started Start psplash boot splash screen.
[    3.403356] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Started Create list of sta鈥nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
         Mounting Kernel Configuration File System...
[  OK  ] Started Start psplash-syst鈥rogress communication helper.
         Starting Flush Journal to Persistent Storage    3.596306] random: systemd-journal: uninitialized urandom read (16 bytes read)
0m...
[    3.609730] systemd-journald[197]: Received client request to flush runtime journal.
[    3.618786] random: systemd: uninitialized urandom read (16 bytes read)
         Starting Apply Kernel Variables...
[    3.633081] random: systemd-journal: uninitialized urandom read (16 bytes read)
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Mounted /media/ram.
[  OK  ] Mounted /var/volatile.
         Starting udev Wait for Complete Device Initialization...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen 鈥ess of backlight:backlight...
[    4.358935] gjw pwm_backlight_update_status
[  OK  ] Started Load/Save Screen B鈥tness of backlight:backlight.
[    4.481655] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
[    4.496734] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
[    4.505288] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
[    4.519812] remoteproc remoteproc0: 5000000.m4fss is available
[    4.532272] remoteproc remoteproc0: powering up 5000000.m4fss
[    4.538245] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
[    4.551031]  remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000
[    4.559760]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
[    4.567626] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
[    4.642751] random: systemd: uninitialized urandom read (16 bytes read)
[    4.651591] random: systemd: uninitialized urandom read (16 bytes read)
[    4.677832] virtio_rpmsg_bus virtio0: rpmsg host is online
[    4.683562] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
[    4.691394] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
[    4.761662] PVR_K:  226: Read BVNC 33.15.11.3 from HW device registers
[    4.770579] PVR_K:  226: RGX Device registered with BVNC 33.15.11.3
[    4.781113] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
[    4.802477] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[    4.817094] platform 78000000.r5f: configured R5F for IPC-only mode
[    4.831755] random: systemd: uninitialized urandom read (16 bytes read)
[    4.835414] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
[    4.852510] remoteproc remoteproc1: 78000000.r5f is available
[    4.859968] remoteproc remoteproc1: attaching to 78000000.r5f
[    4.870248] platform 78000000.r5f: R5F core initialized in IPC-only mode
[    4.878958]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000
[    4.888568] virtio_rpmsg_bus virtio1: rpmsg host is online
[    4.889421] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
[    4.897822]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
[    4.902617] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
[    4.918529] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
[    5.678806] random: systemd: uninitialized urandom read (16 bytes read)
[    5.750442] random: crng init done
[    5.753895] random: 138 urandom warning(s) missed due to ratelimiting
[  OK  ] Started Load/Save Random Seed.
[    6.198158] remoteproc remoteproc2: 30074000.pru is available
[    6.229450] remoteproc remoteproc3: 30078000.pru is available
[    6.230283] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
[    6.272684] tps6598x 0-003f: Unable to find the interrupt, switching to polling
[  OK  ] Reached target Hardware activated USB gadget.
[    6.351292] usbcore: registered new interface driver usbfs
[    6.357183] usbcore: registered new interface driver hub
[    6.362913] usbcore: registered new device driver usb
[    6.389403] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    6.395804] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[    6.403980] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
[    6.413600] xhci-hcd xhci-hcd.2.auto: irq 495, io mem 0x31100000
[    6.419901] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    6.425511] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[    6.433288] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    6.440106] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    6.448625] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.456129] usb usb1: Product: xHCI Host Controller
[    6.456142] usb usb1: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd
[  OK  ] Created slice system-systemd\x2dfsc[    6.456151] usb usb1: SerialNumber: xhci-hcd.2.auto
k.slice.
[    6.460111] hub 1-0:1.0: USB hub found
[    6.483716] hub 1-0:1.0: 1 port detected
[    6.492099] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.501232] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    6.509683] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.517691] usb usb2: Product: xHCI Host Controller
[    6.523310] usb usb2: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd
[    6.530794] usb usb2: SerialNumber: xhci-hcd.2.auto
[    6.538169] hub 2-0:1.0: USB hub found
[    6.542204] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[  OK  ] Found device /dev/mmcblk1p1.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Started udev Wait for Complete Device Initialization.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Docker Socket for the API.
[  OK  ] Listening on dropbear.socket.
         Starting Reboot and dump vmcore via kexec...
         Starting File System Check on /dev/mmcblk0p1...
         Starting File System Check on /dev/mmcblk1p1...
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Started Reboot and dump vmcore via kexec.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
[  OK  ] Started Job spooling tools.
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Print notice about GPLv3 packages...
         Starting IPv6 Packet Filtering Framework...
         Starting IPv4 Packet Filtering Framework...
[  OK  ] Started irqbalance daemon.
         Starting rc.pvr.service...
         Starting startwlanap...
         Starting startwlansta...
         Starting Login Service...
[  OK  ] Started TEE Supplicant.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started IPv6 Packet Filtering Framework.
[  OK  ] Started IPv4 Packet Filtering Framework.
[  OK  ] Started startwlanap.
[  OK  ] Started startwlansta.
[  OK  ] Reached target Network (Pre).
[  OK  ] Reached target Sound Card.
         Starting Network Service...
[    7.259803] libarc4: exports duplicate symbol arc4_crypt (owned by kernel)
[  OK  ] Started File System Check on /dev/mmcblk0p1.
         Mounting /run/media/mmcblk0p1...
[  OK  ] Started File System Check on /dev/mmcblk1p1.
         Mounting /run/media/mmcblk1p1...
[  OK  ] Mounted /run/media/mmcblk0p1.
[  OK  ] Mounted /run/media/mmcblk1p1.
[    7.407374] libarc4: exports duplicate symbol arc4_crypt (owned by kernel)
[    7.322309] startwlanap.sh[724]: modprobe: ERROR: could not insert 'wl18xx': Exec format error
[    7.401749] startwlansta.sh[730]: modprobe: ERROR: could not insert 'wl18xx': Exec format error
[  OK  ] Started Network Service.
         Starting Wait for Network to be Configured...
[    7.660900] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
         Starting Network Name Resolution...
[    7.674462] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
[    7.694434] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    7.713717] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[    7.726431] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[    7.850951] usb 1-1: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
[    7.859298] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.869911] usb 1-1: Product: Cruzer Blade
[    7.874401] usb 1-1: Manufacturer: SanDisk
[    7.879793] usb 1-1: SerialNumber: 04019011022022091807
[  OK  ] Started Login Service.
[    8.030981] usb-storage 1-1:1.0: USB Mass Storage device detected
[    8.082475] scsi host0: usb-storage 1-1:1.0
[    8.102239] usbcore: registered new interface driver usb-storage
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Enable and configure wl18xx bluetooth stack...
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
         Starting Simple Network Ma鈥nt Protocol (SNMP) Daemon....
         Starting Permit User Sessions...
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[    8.523457] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  OK  ] Listening on Load/Save RF 鈥tch Status /dev/rfkill Watch.
[    8.562832] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.666727] startwlanap.sh[803]: sed: unmatched '/'
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[    8.722676] startwlanap.sh[805]: adding wlan1 interface
[    8.725096] startwlanap.sh[809]: command failed: No such file or directory (-2)
[    8.793114] startwlanap.sh[810]: Configuration file: /usr/share/wl18xx/hostapd.conf
[    8.849832] startwlanap.sh[810]: Could not read interface wlan1 flags: No such device
[    8.850381] startwlanap.sh[810]: nl80211: Driver does not support authentication/association or connect commands
[    8.850606] startwlanap.sh[810]: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
[    8.866915] startwlanap.sh[810]: Could not read interface wlan1 flags: No such device
[    8.867412] startwlanap.sh[810]: nl80211 driver initialization failed.
[    8.867678] startwlanap.sh[810]: wlan1: interface state UNINITIALIZED->DISABLED
[    8.867838] startwlanap.sh[810]: wlan1: AP-DISABLED
[    8.868107] startwlanap.sh[810]: wlan1: CTRL-EVENT-TERMINATING
[    8.868333] startwlanap.sh[810]: hostapd_free_hapd_data: Interface wlan1 wasn't started
[    9.074399] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_set_time y123,m1,d24
[    9.086498] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[  OK  ] Started Synchronize System and HW clocks.
[    9.111526] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    9.124573] sd 0:0:0:0: [sda] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
[    9.133401] sd 0:0:0:0: [sda] Write Protect is off
[    9.142227] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[  OK  ] Started Simple Network Man鈥ment Protocol (SNMP) Daemon..
[    9.199454]  sda: sda1
[    9.206941] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.784844] startwlanap.sh[949]: SIOCSIFADDR: No such device
[    9.805092] startwlanap.sh[949]: wlan1: ERROR while getting interface flags: No such device
[    9.828828] startwlanap.sh[949]: SIOCSIFNETMASK: No such device
[    9.849064] startwlanap.sh[949]: wlan1: ERROR while getting interface flags: No such device
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        bash-dev
        bash
        bc
        binutils
        cifs-utils
        coreutils-stdbuf
        coreutils
        cpio
        cpp-symlinks
        cpp
        dosfstools
        elfutils
        g++-symlinks
        g++
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbserver
        gettext
        glmark2
        gstreamer1.0-libav
        gzip
        hidapi
        less
        libasm1
        libbfd
        libdw1
        libelf1
        libgdbm-compat4
        libgdbm-dev
        libgdbm6
        libgettextlib
        libgettextsrc
        libgmp10
        libidn2-0
        libmpc3
        libmpfr6
        libreadline-dev
        libreadline8
        libunistring2
        m4-dev
        m4
        make
        nettle
        parted
        tar
        which

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
[  OK  ] Started Print notice about GPLv3 packages.
[  OK  ] Found device Cruzer_Blade GJW-AS66.
         Starting File System Check on /dev/sda1...
[   11.042284] startwlanap.sh[1045]: iperf3: error - unable to start listener for connections: Cannot assign requested address
[   11.044247] startwlanap.sh[1045]: iperf3: exiting
[  OK  ] Started weston.service.
         Starting telnetd.service...
[  OK  ] Started telnetd.service.
         Starting hmi_demo.service...
         Starting LSB: Expand Rootfs of boot device...
[  OK  ] Started LSB: Expand Rootfs of boot device.
[   12.469373] PVR_K:  1052: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
[   12.495828] PVR_K:  1052: Shader binary image 'rgx.sh.33.15.11.3' loaded
[  OK  ] Started hmi_demo.service.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project am62xx-evm ttyS2

Arago 2021.09 am62xx-evm ttyS2

am62xx-evm login: root
root@am62xx-evm:~# hwclock -r
[   22.791635] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.798293] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.810416] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.074214] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.080873] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.090446] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
2023-02-24 04:51:40.693921+00:00
root@am62xx-evm:~# [   24.074192] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24

root@am62xx-evm:~# dmesg |grep rtc
[    1.379105] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.385578] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.392377] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
[    1.397527] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y70,m0,d1
[    1.403995] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:08 UTC (8)
[    9.074399] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_set_time y123,m1,d24
[    9.086498] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.791635] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.798293] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   22.810416] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.074214] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.080873] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   23.090446] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
[   24.074192] rtc-ti-k3 2b1f0000.rtc: gjw ti_k3_rtc_read_time y123,m1,d24
root@am62xx-evm:~# [  128.741299] Initializing XFRM netlink socket
[  129.748514] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[  129.765585] Bridge firewalling registered
[  130.569753] process 'docker/tmp/qemu-check598552989/check' started with executable stack

  需求帮助:

  1)为什么每次起来,读到的是1970-01-01??

  2)怎么操作,才能让它启动时,读取我设置的RTC设置,而不是默认值

  • 您好,

    根据您提供的信息,您在SK-AM62B参考板上使用ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42 SDK版本时遇到了RTC设置时钟不成功的问题。您设置了RTC的值,但在重启后又回到了默认值。

    对于您的问题,我有以下建议:

    1. 检查RTC电源:确保RTC电源正常工作且连接正确。如果RTC电源不稳定或未连接,可能会导致RTC设置无法保存。

    2. 检查RTC驱动程序:确认SDK中的RTC驱动程序是否正确加载并与硬件兼容。

    3. 检查RTC设置命令:确保您使用的RTC设置命令正确。在Linux系统中,通常使用`date`和`hwclock`命令来设置和读取RTC时间。请确保您的命令语法正确,并且在设置RTC值后,使用`hwclock -w`命令将其写入RTC。

    4. 检查RTC保存配置:某些系统可能需要额外的配置才能在启动时读取RTC设置。您可以检查系统的启动配置文件(如`/etc/rc.local`或`/etc/init.d/rc.local`),确保在启动时正确读取RTC值。

    5. 检查RTC硬件问题:如果以上步骤都没有解决问题,可能存在RTC硬件故障。您可以尝试使用其他工具或方法来验证RTC硬件的正确性,