Skip to content

Instantly share code, notes, and snippets.

@DhruvaG2000
Created December 3, 2025 17:09
Show Gist options
  • Select an option

  • Save DhruvaG2000/9968198cc23cb12ffd3d041cee572636 to your computer and use it in GitHub Desktop.

Select an option

Save DhruvaG2000/9968198cc23cb12ffd3d041cee572636 to your computer and use it in GitHub Desktop.
[ OK ] Finished Print notice about GPLv3 packages.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Record Runlevel Change in UTMP...
[ OK ] Finished Record Runlevel Change in UTMP.
[ 13.996851] audit: type=1006 audit(1762803515.322:14): pid=795 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
[ 14.010683] audit: type=1300 audit(1762803515.322:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffffbaa3068 a2=4 a3=1 items=0 ppid=1 pid=795 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
[ 14.039267] audit: type=1327 audit(1762803515.322:14): proctitle="(systemd)"
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project am62lxx-evm ttyS0
Arago 2025.01 am62lxx-evm ttyS0
am62lxx-evm login:
am62lxx-evm login:
am62lxx-evm login: root
[ 15.473543] audit: type=1006 audit(1762803516.798:15): pid=808 uid=0 subj=kernel old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
[ 15.487859] audit: type=1300 audit(1762803516.798:15): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffee9c1938 a2=1 a3=1 items=0 ppid=1 pid=808 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
[ 15.515654] audit: type=1327 audit(1762803516.798:15): proctitle="(systemd)"
[ 15.523198] audit: type=1334 audit(1762803516.842:16): prog-id=18 op=LOAD
[ 15.531192] audit: type=1300 audit(1762803516.842:16): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc98b9e88 a2=90 a3=0 items=0 ppid=1 pid=808 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="systemd" exe="/usr/lib/systemd/systemd" subj=kernel key=(null)
[ 15.558813] audit: type=1327 audit(1762803516.842:16): proctitle="(systemd)"
[ 15.566681] audit: type=1334 audit(1762803516.850:17): prog-id=18 op=UNLOAD
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# (reverse-i-search)`': b': rebooto': reo': ret': re ': echo boot > /sys/kernel/tracing/trace_clock(reverse-i-search)`boot ': echo >': echo root@am62lxx-evm:~# echo
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# sh s2idlecscoirpitrt.sh
N
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# (reverse-i-search)`': r': sh s2idlecscoirpitrt.sh t': sh s2idlecscoirpitc': rtcwake -s 5 -m memw': a': trace-cmd record -o traces2idle.dat -e power:psci* rtcwake -d rtc0 -m mem -s2root@am62lxx-evm:~# trace-cmd record -o traces2idle.dat -e power:psci* rtcwake -d rtc0 -m mem -s2 8traces2idlertcddr.dat -e power:psci* rtcwake -d rtc0 -m mem -s8
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using rtc0 at Thu Jan 1 00:00:53 1970
[ 38.068141] PM: suspend entry (s2idle)
[ 38.072203] Filesystems sync: 0.000 seconds
[ 38.081756] Freezing user space processes
[ 38.089009] Freezing user space processes completed (elapsed 0.002 seconds)
[ 38.096049] OOM killer disabled.
[ 38.099304] Freezing remaining freezable tasks
[ 38.104887] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 38.120951] dbg: ti_k3_rtc_suspend
INFO: k3[ 38.124317]
[ 38.124317] S2IDLE_DBG: cpu_idle_enter: cpu = 1, state = 0x12233, ret = 0, need_resched = 0
_[ 38.124317]
[ 38.124317] S2IDLE_DBG: cpu_idle_enter: cpu = 0, state = 0x2012234, ret = 0, need_resched = 0
valIiNFdOat:e _ p o dwbegr:_s taam6t2el:_ p(wcro_red om0a)i:n _ss2uidslpee:nd p
owIeNrF_Os:t a t e:
a0mx2602l1_2p23w4r_
doINmFaiOn: _s u sdpebgn:d: a mA5632 lC_pOwRrE:_ do1 msauisnp_esnusdp
eInNdF
O: amI6N2FlO_:p w r_ doSmtaaritn_eodf fS_uwsfpein:d A S5e3 qCuOeRncEe: 1in OFAFTF
I
NFO: set_main_psIc_NFsOt:at e : bseefnot repr:e mpda_rei dm=4es1,s amgdes
tIatNF=0Ox:1 1 f0 3s,e nptd setntaet=r 0sxl3e0e1p
message
INFO: !!DHG Suspend Sequence in ATF core(0)
INFO: k3_lpm_jump_to_stub x707f1000
NOTICE: bl1_plat_arch_setup arch setup
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.12.0(release):11.02.01-12-g960816d244c3
NOTICE: BL1: Built : 14:37:31, Dec 3 2025
INFO: BL1: RAM 0x7080b000 - 0x7080f000
INFO: lpddr4_init <--
INFO: lpddr4 dtb: ctl-data ptr=0x7080718c, pi-data=0x70807834, phy-data=0x70807da4
NOTICE: BL1: dram_class: 11
INFO: memory node =0x28
INFO: lpddr4: probe done
INFO: lpddr4/ddr4: init done
INFO: start-status: offset =0x0
INFO: start-status reg: before =0x10460b00
INFO: Exiting RTC only + DDRINFO: lpddr4: Start DDR controller
INFO: k3_lpddr4_freq_update DDR Freq change complete
INFO: lpddr4: start completed successfully status=0x0
INFO: start-status reg: after =0x10460b01
INFO: LPDDR4 start completed !!
NOTICE: lpddr4: post start - PI training status=0x27c0a000
INFO: lpddr4: post start - CTL Interrupt status=0x1000000
NOTICE: bl1_platform_setup DDR init done
>饇䜣TICE: k3_bl1_handoff sent message to tifs
INFO: !!DHG resume Sequence in ATF core(0)
ERROR: Wake up src 0x0
INFO: stub copy 0x707f0000 0x80041000 0x707f6528
INFO: loc_pwr proc_id = 0x21
INFO: set_main_psc_state: before: md_id=41, mdstat=0xa00, pdstat=0x200
INFO: set_main_psc_state: after: md_id=41, mdstat=0x11f03, pdstat=0x301
[ 38.124317] S2IDLE_DBG: CPU0 in __cpu_suspend_exit, need_resched=0
I[ 38.124317]
[ 38.124317] S2IDLE_DBG: cpu_idle_exit: cpu = 0, state = 0x2012234, ret = 1, need_resched = 0
NFO: [ 38.124335] S2IDLE_DBG: s2idle_wake() called on CPU0
!!DHG c[ 38.130146] S2IDLE_DBG: changing s2idle_state from 1 to S2IDLE_STATE_WAKE
pu[ 38.137106] S2IDLE_DBG: s2idle_wake() completed
(1)[ 38.141930] S2IDLE_DBG: CPU0 woken from swait_event_exclusive, s2idle_state=2
[ 38.149071] S2IDLE_DBG: CPU0 about to send wake IPI to all CPUs, s2idle_state=2
r[ 38.156438] S2IDLE_DBG: CPU0 completed wake IPI to all CPUs, need_resched=0
es
INFO: !!DHG GIC stuff
[ 38.166130] S2IDLE_DBG: CPU1 in __cpu_suspend_exit, need_resched=1
[ 38.172367]
[ 38.172367] S2IDLE_DBG: cpu_idle_exit: cpu = 1, state = 0x12233, ret = 1, need_resched = 1
[ 38.184014] dbg: ti_k3_rtc_resume
[ 38.185625] OOM killer enabled.
[ 38.192183] Restarting tasks ... done.
[ 38.200802] random: crng reseeded on system resumption
[ 38.208081] PM: suspend exit
CPU0 data recorded at offset=0x4fa000
4096 bytes in size
CPU1 data recorded at offset=0x4fb000
4096 bytes in size
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# uname -a
Linux am62lxx-evm 6.12.49-g3edece33d3cb-dirty #12 SMP PREEMPT Wed Dec 3 14:56:37 IST 2025 aarch64 GNU/Linux
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# lsmod
Module Size Used by
crct10dif_ce 12288 1
k3_j72xx_bandgap 12288 0
rti_wdt 12288 0
at24 24576 0
rtc_ti_k3 16384 1
overlay 143360 0
cfg80211 958464 0
rfkill 28672 2 cfg80211
fuse 163840 1
drm 593920 0
drm_panel_orientation_quirks 28672 1 drm
backlight 20480 1 drm
ipv6 507904 34
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# trace-cmd report tracee rtcddr.dat t 
trace-cmd: No such file or directory
Error: expected type 4 but read 5
cpus=2
<idle>-0 [000] 38003620635: psci_domain_idle_enter: cpu_id=0 state=0x2012234 is_s2idle=yes
<idle>-0 [000] 38003620635: psci_domain_idle_exit: cpu_id=0 state=0x2012234 is_s2idle=yes
<idle>-0 [001] 38003620635: psci_domain_idle_enter: cpu_id=1 state=0x12233 is_s2idle=yes
<idle>-0 [001] 38051718435: psci_domain_idle_exit: cpu_id=1 state=0x12233 is_s2idle=yes
root@am62lxx-evm:~#
root@am62lxx-evm:~# # le    # RTC+DDR mode successfull wih th s2idle
root@am62lxx-evm:~#
root@am62lxx-evm:~#
root@am62lxx-evm:~# re  history -a
root@am62lxx-evm:~# lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: ARM
Model name: Cortex-A53
Model: 4
Thread(s) per core: 1
Core(s) per cluster: 2
Socket(s): -
Cluster(s): 1
Stepping: r0p4
CPU(s) scaling MHz: 100%
CPU max MHz: 1250.0000
CPU min MHz: 200.0000
BogoMIPS: 400.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Caches (sum of all):
L1d: 64 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 256 KiB (1 instance)
Vulnerabilities:
Gather data sampling: Not affected
Indirect target selection: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Not affected
Srbds: Not affected
Tsa: Not affected
Tsx async abort: Not affected
Vmscape: Not affected
root@am62lxx-evm:~#
root@am62lxx-evm:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment