Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

BEAGL-BONE-BLACK: SDK 9.1 Suspend not working

Part Number: BEAGL-BONE-BLACK
Other Parts Discussed in Thread: AM3352

I am trying to suspend or sleep the AM335x. I thought the command 'echo mem > /sys/power/state' would be the way to do this, but I am getting the following error. Is host suspend supported or is there another way I should be doing this?

root@am335x-evm:/usr/sbin/cc33conf# echo mem > /sys/power/state 
[56518.797294] PM: suspend entry (s2idle)     
[56518.801647] Filesystems sync: 0.000 seconds
[56518.837723] Freezing user space processes
[56518.844335] Freezing user space processes completed (elapsed 0.002 seconds)
[56518.851724] OOM killer disabled.
[56518.854976] Freezing remaining freezable tasks
[56518.865331] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[56518.872878] PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf
[56518.880449] OOM killer enabled.
[56518.883603] Restarting tasks ... done.
[56518.926153] random: crng reseeded on system resumption
[56518.936581] PM: suspend exit
-sh: echo: write error: Invalid argument 

  • Hi Sabeeh,

    I have not checked suspend/resume on BBB with SDK9.1. Let me try it on my setup and get back to you.

  • Hi Sabeeh,

    I can reproduce the problem. It seems the M3 PM firmware is not loaded which causes suspend failed

    I have filed a Jira to sw dev team for this issue. I also checked suspend/resume works in SDK8.2, just in case if this can unlock your current project.

  • Hi Bin,

    Could you please provide the fix for us so that we may implement it on our side? We are developing a feature for our linux driver and we would like to test it with the host in sleep. 

  • Hi Sabeeh,

    I will take a look next week to see if I can provide a fix.

  • Hi Bin,

    Any update here?

  • Sorry Sabeeh, I have not got time on this yet due to other customer escalations. But can you please try to enable kernel config option "CONFIG_WKUP_M3_RPROC" and "CONFIG_WKUP_M3_IPC" and rebuild kernel to see if this resolves the suspend/resume problem? If it doesn't, please attach the boot log.

  • Thanks Bin,

    I'll give this try and reach out if unsuccessful. Thanks. 

  • Hi Bin,

    Unfortunately this did not work. Kernel log attached below:

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.1.80-dirty (sabeeh@thinkstationp3) (arm-none-linux-gnueabihf-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #114
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [    0.000000] earlycon: omap8250 at MMIO 0x44e09000 (options '')
    [    0.000000] printk: bootconsole [omap8250] enabled
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 64 MiB at 0x9b800000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000]   HighMem  empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129540
    [    0.000000] Kernel command line: root=PARTUUID=ba50a8d7-02 rootwait rw earlycon console=ttyO0,115200n8,115200
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] Memory: 432524K/522240K available (12288K kernel code, 1478K rwdata, 3220K rodata, 1024K init, 287K bss, 24180K reserved, 65536K cma-reserved, 0K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] trace event string verifier disabled
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.008061] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.018003] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.029489] Console: colour dummy device 80x30
    [    0.034094] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.040873] This ensures that you still see kernel messages. Please
    [    0.047315] update your kernel commandline.
    [    0.051644] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.094443] CPU: Testing write buffer coherency: ok
    [    0.099530] CPU0: Spectre v2: using BPIALL workaround
    [    0.104725] pid_max: default: 32768 minimum: 301
    [    0.109686] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.117213] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.126792] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.134303] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.140723] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.147577] rcu: Hierarchical SRCU implementation.
    [    0.152523] rcu:     Max phase no-delay instances is 1000.
    [    0.159649] EFI services will not be available.
    [    0.164897] devtmpfs: initialized
    [    0.180611] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.188850] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198999] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [    0.211065] pinctrl core: initialized pinctrl subsystem
    [    0.217484] DMI not present or invalid.
    [    0.222196] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.230370] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.238594] thermal_sys: Registered thermal governor 'step_wise'
    [    0.238693] cpuidle: using governor menu
    [    0.267772] No ATAGs?
    [    0.270212] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.300398] iommu: Default domain type: Translated
    [    0.305438] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.329476] SCSI subsystem initialized
    [    0.333948] usbcore: registered new interface driver usbfs
    [    0.348051] usbcore: registered new interface driver hub
    [    0.353557] usbcore: registered new device driver usb
    [    0.368410] pps_core: LinuxPPS API ver. 1 registered
    [    0.373525] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.398017] PTP clock support registered
    [    0.402249] EDAC MC: Ver: 3.0.0
    [    0.420069] clocksource: Switched to clocksource dmtimer
    [    0.446592] NET: Registered PF_INET protocol family
    [    0.452011] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.470784] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.479503] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.510075] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
    [    0.518075] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.540111] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.546760] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    0.560076] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    0.567405] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.590530] RPC: Registered named UNIX socket transport module.
    [    0.596631] RPC: Registered udp transport module.
    [    0.610069] RPC: Registered tcp transport module.
    [    0.614908] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.640074] PCI: CLS 0 bytes, default 64
    [    0.645419] Initialise system trusted keyrings
    [    0.660393] workingset: timestamp_bits=30 max_order=17 bucket_order=0
    [    0.681812] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.700408] NFS: Registering the id_resolver key type
    [    0.705669] Key type id_resolver registered
    [    0.709969] Key type id_legacy registered
    [    0.720219] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.727121] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.750115] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.755323] Key type asymmetric registered
    [    0.759550] Asymmetric key parser 'x509' registered
    [    0.780247] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.787861] io scheduler mq-deadline registered
    [    0.800078] io scheduler kyber registered
    [    0.905670] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [    0.914583] STMicroelectronics ASC driver initialized
    [    0.950553] brd: module loaded
    [    0.965206] loop: module loaded
    [    0.984138] CAN device driver interface
    [    0.988457] e1000e: Intel(R) PRO/1000 Network Driver
    [    1.000075] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    1.006258] igb: Intel(R) Gigabit Ethernet Network Driver
    [    1.030069] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    1.036564] pegasus: Pegasus/Pegasus II USB Ethernet driver
    [    1.050124] usbcore: registered new interface driver pegasus
    [    1.055980] usbcore: registered new interface driver asix
    [    1.070102] usbcore: registered new interface driver ax88179_178a
    [    1.076392] usbcore: registered new interface driver cdc_ether
    [    1.100115] usbcore: registered new interface driver smsc75xx
    [    1.106057] usbcore: registered new interface driver smsc95xx
    [    1.120105] usbcore: registered new interface driver net1080
    [    1.125951] usbcore: registered new interface driver cdc_subset
    [    1.150102] usbcore: registered new interface driver zaurus
    [    1.155914] usbcore: registered new interface driver cdc_ncm
    [    1.170778] usbcore: registered new interface driver usb-storage
    [    1.190543] i2c_dev: i2c /dev entries driver
    [    1.196863] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.210693] sdhci: Secure Digital Host Controller Interface driver
    [    1.217059] sdhci: Copyright(c) Pierre Ossman
    [    1.240270] Synopsys Designware Multimedia Card Interface Driver
    [    1.246598] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.260542] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.267108] usbcore: registered new interface driver usbhid
    [    1.290065] usbhid: USB HID core driver
    [    1.296338] NET: Registered PF_INET6 protocol family
    [    1.311486] Segment Routing with IPv6
    [    1.315327] In-situ OAM (IOAM) with IPv6
    [    1.319440] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.340833] NET: Registered PF_PACKET protocol family
    [    1.346053] can: controller area network core
    [    1.360151] NET: Registered PF_CAN protocol family
    [    1.365085] can: raw protocol
    [    1.368137] can: broadcast manager protocol
    [    1.390079] can: netlink gateway - max_hops=1
    [    1.394986] Key type dns_resolver registered
    [    1.399520] ThumbEE CPU extension supported.
    [    1.410083] Registering SWP/SWPB emulation handler
    [    1.415510] omap_voltage_late_init: Voltage driver support not added
    [    1.441024] Loading compiled-in X.509 certificates
    [    1.484217] remoteproc remoteproc0: wkup_m3 is available
    [    1.515561] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/pinmux_clkout2_pin
    [    1.550613] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    1.571836] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    1.605122] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 18, base_baud = 3000000) is a 8250
    [    1.630382] serial serial0: tty port ttyS1 registered
    [    1.653974] ti-sysc: probe of 48040000.target-module failed with error -16
    [    1.684032] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
    [    1.710438] OMAP GPIO hardware version 0.1
    [    1.735895] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
    [    1.762203] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
    [    1.804480] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.811033] random: crng init done
    [    1.890092] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.921797] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    1.940518] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    1.947515] cpsw-switch 4a100000.switch: ALE Table size 1024
    [    1.970196] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
    [    1.977995] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
    [    2.010112] cpsw-switch 4a100000.switch: Detected MACID = 04:a3:16:b6:a5:e4
    [    2.018381] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
    [    2.059997] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    2.080086] edma 49000000.dma: TI EDMA DMA engine driver
    [    2.127456] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    2.155202] l3-aon-clkctrl:0000:0: failed to disable
    [    2.163329] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it!
    [    2.182069] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 34, base_baud = 3000000) is a 8250
    [    2.200205] printk: console [ttyS0] enabled
    [    2.200205] printk: console [ttyS0] enabled
    [    2.208709] printk: bootconsole [omap8250] disabled
    [    2.208709] printk: bootconsole [omap8250] disabled
    [    2.280187] tps65217-pmic: Failed to locate of_node [id: -1]
    [    2.292074] tps65217-bl: Failed to locate of_node [id: -1]
    [    2.312933] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    2.330616] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    2.338090] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.362235] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    2.374509] omap8250 48022000.serial: Failed to create device link (0x180) with fixedregulator@1
    [    2.390121] sdhci-omap 48060000.mmc: Got CD GPIO
    [    2.394983] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
    [    2.411353] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    2.421853] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    2.440429] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    2.486273] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
    [    2.496466] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [    2.507522] sdhci-omap 481d8000.mmc: card claims to support voltages below defined range
    [    2.543396] mmc0: new high speed SDHC card at address 0001
    [    2.553780] mmcblk0: mmc0:0001 SD32G 28.9 GiB
    [    2.559860] mmc1: new high speed SDIO card at address 0001
    [    2.572583]  mmcblk0: p1 p2
    [    2.862074] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
    [    2.871206] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.878765] devtmpfs: mounted
    [    2.884272] Freeing unused kernel image (initmem) memory: 1024K
    [    2.890874] Run /sbin/init as init process
    [    3.322783] systemd[1]: System time before build time, advancing clock.
    [    3.374813] 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 -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PW)
    [    3.407428] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2023.10!
    
    [    3.452231] systemd[1]: Hostname set to <am335x-evm>.
    [    3.759691] systemd-sysv-generator[79]: SysV service '/etc/init.d/sysrepo' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in orde.
    [    3.785156] systemd-sysv-generator[79]: SysV service '/etc/init.d/netopeer2-server' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file.
    [    3.816820] systemd-sysv-generator[79]: 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 fil.
    [    4.363541] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    4.495741] 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.
    [    4.657531] systemd[1]: Queued start job for default target Graphical Interface.
    [    4.671191] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    4.713467] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    4.763651] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    4.801733] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.842050] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    4.881839] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    4.924933] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    4.960614] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.001108] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    5.013090] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    5.064559] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    5.100677] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    5.165628] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.201123] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    5.305425] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
    [    5.319643] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.361855] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.404200] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.442112] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.482928] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.521752] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    5.563539] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [    5.610911] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.655809] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    5.721094] systemd[1]: Mounting Kernel Trace File System...
             Mounting Kernel Trace File System...
    [    5.747907] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    5.811609] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    5.842989] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    5.867029] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    5.941468] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    5.979426] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    6.041506] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    6.081183] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    6.106966] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    6.120188] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    6.161675] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    6.203502] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    6.241771] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network …ts from Kernel command line...
    [    6.341742] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    6.411633] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    6.464786] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled.
    [    6.523600] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    6.551853] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    6.591544] systemd[1]: Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Debug File System.
    [    6.621644] systemd[1]: Mounted Kernel Trace File System.
    [  OK  ] Mounted Kernel Trace File System.
    [    6.661459] systemd[1]: Mounted Temporary Directory /tmp.
    [  OK  ] Mounted Temporary Directory /tmp.
    [    6.690698] systemd[1]: Finished Create List of Static Device Nodes.
    [  OK  ] Finished Create List of Static Device Nodes.
    [    6.731388] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  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 Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    7.276640] systemd-journald[91]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  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...
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Load/Save Random Seed.
    [  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 Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Started Daily rotation of log files.
    [  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.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
             Starting Weston socket...
             Starting Console System Startup Logging...
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [   11.028641] omap_rtc 44e3e000.rtc: registered as rtc0
    [   11.048727] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator
    [  OK  ] Listening on Docker Socket for the API.
    [   11.104545] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Listening on Weston socket.
    [   11.121126] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:01 UTC (946684801)
    [   11.131946] systemd-journald[91]: Time jumped backwards, rotating.
    [  OK  ] Finished Console System Startup Logging.
    [   11.252875] tda998x 0-0070: found TDA19988
    [   11.262938] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Socket Units.
    [   11.531877] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator
    [   11.609444] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
    [   11.770419] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   11.775827] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [   11.978644] hub 1-0:1.0: USB hub found
    [   12.019585] hub 1-0:1.0: 1 port detected
    [   12.068046] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [   12.232009] remoteproc remoteproc0: powering up wkup_m3
    [   12.318666] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230328
    [  OK  ] Started D-Bus System Message Bus   12.457281] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   12.457322] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    m.
    [   12.525209] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_audio_codec_init [tda998x])
    [   12.670597] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [   12.776413] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [   12.975385] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
    [  OK  ] Started Periodic Command Scheduler.
    [   13.136724] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   13.182322] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
             Starting DEMO...
             Starting Print notice about GPLv3 packages...
    [   13.295437] omap-sham 53100000.sham: will run requests pump with realtime priority
    [   13.323511] omap-aes 53500000.aes: will run requests pump with realtime priority
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting Lighttpd Daemon...
             Starting Telephony service...
             Starting Expand the rootfs…ll size of the boot device....
    [  OK  ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
             Starting User Login Management...
             Starting Telnet Server...
    [  OK  ] Started DEMO.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Started Lighttpd Daemon.
    [  OK  ] Finished Telnet Server.
    [   15.624230] Bluetooth: Core ver 2.22
    [   15.628010] NET: Registered PF_BLUETOOTH protocol family
    [   15.942042] Bluetooth: HCI device and connection manager initialized
    [   15.948517] Bluetooth: HCI socket layer initialized
    [   16.198726] Bluetooth: L2CAP socket layer initialized
    [   16.309455] Bluetooth: SCO socket layer initialized
    [  OK  ] Finished Expand the rootfs…full size of the boot device..
    [  OK  ] Started Telephony service.
    [   17.928066] Initializing XFRM netlink socket
    [   24.043718] remoteproc remoteproc1: 4a334000.pru is available
    [   24.159600] remoteproc remoteproc2: 4a338000.pru is available
    [  OK  ] Started User Login Management.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Reached target Preparation for Network.
    [  OK  ] Reached target Hardware activated USB gadget.
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
             Starting Save/Restore Sound Card State...
             Starting File System Check on /dev/mmcblk0p1...
             Starting Network Configuration...
    [  OK  ] Finished Save/Restore Sound Card State.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Finished File System Check on /dev/mmcblk0p1.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            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
            gnu-config
            gzip
            hidapi
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libopcodes
            libqt5charts-examples
            libqt5charts-plugins
            libqt5charts-qmlplugins
            libqt5charts5
            libqt5sensors-plugins
            libqt5sensors-qmlplugins
            libqt5sensors5
            libqt5serialport-examples
            libqt5serialport-plugins
            libqt5serialport-qmlplugins
            libqt5serialport5
            libqt5svg-examples
            libqt5svg-plugins
            libqt5svg-qmlplugins
            libqt5svg5
            libqt5virtualkeyboard-plugins
            libqt5virtualkeyboard-qmlplugins
            libqt5virtualkeyboard5
            libqt5webchannel-plugins
            libqt5webchannel-qmlplugins
            libqt5webchannel5
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            pdm-anomaly-detection
            piglit
            qt3d-plugins
            qt3d-qmlplugins
            qt3d
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase
            qtconnectivity-plugins
            qtconnectivity-qmlplugins
            qtconnectivity
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-tools
            qtdeclarative
            qtgraphicaleffects-qmlplugins
            qtlocation-examples
            qtlocation-plugins
            qtlocation-qmlplugins
            qtlocation
            qtmultimedia-examples
            qtmultimedia-plugins
            qtmultimedia-qmlplugins
            qtmultimedia
            qtquics-qmlplugins.control
            qtquics2-plugins.control
            qtquics2-qmlplugins.control
            qtquics2.control
            qtscript-examples
            qtscript-plugins
            qtscript-qmlplugins
            qtscript
            qtwayland-examples
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
             Mounting /run/media/boot-mmcblk0p1...
    If you do not wish to distribute GPL-3.0 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  ] Mounted /run/media/boot-mmcblk0p1.
    [  OK  ] Finished Print notice about GPLv3 packages.
    [   30.302480] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   30.379305] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   30.388448] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...[   30.548476] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    
    [   30.671353] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland…ositor, as a system service...
             Starting User Database Manager...
    [  OK  ] Finished Synchronize System and HW clocks.
    [  OK  ] Started User Database Manager.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [  OK  ] Started containerd container runtime.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am335x-evm -
    
    Arago 2023.10 am335x-evm -
    
    am335x-evm login: root
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# echo mem > /sys/power/state
    [  117.800675] PM: suspend entry (s2idle)
    [  117.977377] Filesystems sync: 0.172 seconds
    [  118.007515] Freezing user space processes
    [  118.022673] Freezing user space processes completed (elapsed 0.002 seconds)
    [  118.029725] OOM killer disabled.
    [  118.033291] Freezing remaining freezable tasks
    [  118.039081] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [  118.050093] PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf
    [  118.057616] OOM killer enabled.
    [  118.064157] Restarting tasks ... done.
    [  118.098303] random: crng reseeded on system resumption
    [  118.110470] PM: suspend exit
    -sh: echo: write error: Invalid argument
    root@am335x-evm:~# uname -a
    Linux am335x-evm 6.1.80-dirty #11 PREEMPT Wed Mar 27 16:55:27 CDT 2024 armv7l armv7l armv7l GNU/Linux
    root@am335x-evm:~#

  • Hi Sabeeh,

    Thanks for testing it. The kernel boot log shows the M3 PM firmware is still not loaded. I will take a look next week.

  • Hi Bin,

    Any update on this? 

    I am comfortable debugging a little myself, just need some pointers. For example, should I check if the M3 PM firmware is in the filesystem? If so, where it would be and what's it called?

  • Hi Sabeeh,

    Sorry, I haven't got a chance for it yet. But it would be great if you could debug it.

    The M3 firmware "am335x-pm-firmware.elf" is in the filesystem /lib/firmware/ directory. I have checked the sdk default rootfs, it is in there.

    "am335x-pm-firmware.elf" is used in am33xx-l4.dtsi, under node "wkup_m3", which has compatible = "ti,am3352-wkup-m3".

    "ti,am3352-wkup-m3" points to the driver remoteproc/wkup_m3_rproc.c, which is enabled by kernel config CONFIG_WKUP_M3_RPROC.

    So you first might want to enable kernel config CONFIG_WKUP_M3_RPROC, then debug function wkup_m3_ipc_probe() in remoteproc/wkup_m3_rproc.c to see if it fails somewhere.

  • Is there any update on this issue?  We're encountering the same problem on SDK9

  • Hi Sabeeh and Terry,

    I just spent some time on this issue, and found that the kernel defconfig misses several AM335x PM related options.

    The following kernel defconfig patch solves the suspend/resume issue.

    diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
    index 9052b3404188..5e95d82533ae 100644
    --- a/arch/arm/configs/multi_v7_defconfig
    +++ b/arch/arm/configs/multi_v7_defconfig
    @@ -1307,3 +1307,8 @@ CONFIG_CMA_SIZE_MBYTES=64
     CONFIG_PRINTK_TIME=y
     CONFIG_MAGIC_SYSRQ=y
     CONFIG_DEBUG_FS=y
    +CONFIG_OMAP2PLUS_MBOX=y
    +CONFIG_WKUP_M3_IPC=m
    +CONFIG_WKUP_M3_RPROC=m
    +CONFIG_TI_EMIF_SRAM=m
    +CONFIG_AMX3_PM=m

    Here is the test log on Beaglebone Black:

    root@am335x-evm:~# rtcwake -s 3 -m mem
    [  853.629125] PM: suspend entry (deep)
    [  853.633470] Filesystems sync: 0.000 seconds
    [  853.641719] Freezing user space processes
    [  853.650046] Freezing user space processes completed (elapsed 0.004 seconds)
    [  853.657576] OOM killer disabled.
    [  853.661107] Freezing remaining freezable tasks
    [  853.667552] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [  853.675065] printk: Suspending console(s) (use no_console_suspend to debug)
    [  853.810923] cpsw-switch 4a100000.switch eth0: Link is Down
    [  853.819615] PM: suspend devices took 0.140 seconds
    [  853.831170] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [  853.831170] PM: Wakeup source RTC Alarm
    [  853.844003] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    [  853.927861] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [  854.130469] PM: resume devices took 0.290 seconds
    [  854.175969] OOM killer enabled.
    [  854.179321] Restarting tasks ... done.
    [  854.200796] random: crng reseeded on system resumption
    [  854.215689] PM: suspend exit
    [  856.077997] cpsw-switch 4a100000.switch eth0: Link is Up - 100Mbps/Full - flow control off
    

  • I had all those.


    I had been following the guide here:

    https://software-dl.ti.com/processor-sdk-linux/esd/AM335X/09_01_00_001/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Power_Management/pm_suspend_resume.html#cm3-firmware

    (though its seems out of date even though its tagged as SDK9 -- it seems like its documentation maybe for SDK8)

    Are you getting the pm elf loading successfully on boot?

  • Hi Terry,

    Yes, in my test the PM elf is loaded on boot and suspend/resume works fine with rtcwake.

    I noticed the SDK documentation you referred configures all the relevant kernel options to '=y', while my patch above set them to '=m'. I just tried to set them to '=y', now the PM elf is failed to load:

    root@am335x-evm:~# dmesg|grep pm
    [    2.727274] tps65217-pmic: Failed to locate of_node [id: -1]
    [    2.802054] remoteproc remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [    2.993937] mmcblk1rpmb: mmc1:0001 M62704 512 KiB, chardev (243:0)
    [   13.291858] platform pm33xx: deferred probe pending
    root@am335x-evm:~# zcat /proc/config.gz | grep 'CONFIG_WKUP_M3\|CONFIG_TI_EMIF_SRAM\|CONFIG_AMX3_PM'
    CONFIG_WKUP_M3_RPROC=y
    CONFIG_AMX3_PM=y
    CONFIG_WKUP_M3_IPC=y
    CONFIG_TI_EMIF_SRAM=y

    So please use my patch to set the kernel options to module. I will report this to our sw dev team to get the documentation updated. Thanks for reporting the issue.

  • Thanks Bin

    Tried that and I can see the firmware being loaded now

    [ 18.965096] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230340

    Could you share all the init messages, as well as your lsmod? I want to make sure I'm not still missing some module(s)

    When attempting to do it, I end up with the following

    echo mem > /sys/power/state (I cant do the rtc wake as my platform isn't rtc enabled)

    Apr 24 18:05:06 My-none PM: suspend entry (s2idle)
    Apr 24 18:05:06 My-none Filesystems sync: 0.000 seconds
    Apr 24 18:05:06 My-none Freezing user space processes
    Apr 24 18:05:06 My-none Freezing user space processes completed (elapsed 0.002 seconds)
    Apr 24 18:05:06 My-none kernel: OOM killer disabled.
    Apr 24 18:05:06 My-none kernel: Freezing remaining freezable tasks
    Apr 24 18:05:06 My-none kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    Apr 24 18:05:06 My-none kernel: PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf
    Apr 24 18:05:06 My-none kernel: OOM killer enabled.
    Apr 24 18:05:06 My-none kernel: Restarting tasks ... done.
    Apr 24 18:05:06 My-none kernel: random: crng reseeded on system resumption
    Apr 24 18:05:06 My-none kernel: PM: suspend exit

    Heres my modlist:

    ccm 20480 6
    btti 16384 0
    usb_f_fs 36864 3
    libcomposite 45056 10 usb_f_fs
    cc33xx 217088 0
    mac80211 655360 1 cc33xx
    libarc4 16384 1 mac80211
    swd 16384 0
    pm33xx 16384 0
    rtc_omap 20480 1 pm33xx
    btti_uart 20480 0
    ti_emif_sram 16384 1 pm33xx
    bluetooth 466944 21 btti,btti_uart
    ecdh_generic 16384 1 bluetooth
    ecc 36864 1 ecdh_generic
    cc33xx_sdio 16384 0
    musb_dsps 20480 0
    musb_hdrc 118784 1 musb_dsps
    cppi41 20480 30
    phy_am335x 16384 1
    wkup_m3_ipc 16384 1 pm33xx
    phy_am335x_control 16384 1 phy_am335x
    wkup_m3_rproc 16384 1

  • Hi Terry,

    Attached are my Beaglebone Black console boot log and kernel .config.

    bbb-lpm.log
    U-Boot SPL 2021.01-g44a87e3ab8 (May 14 2022 - 22:32:40 +0000)
    Trying to boot from MMC1
    
    
    U-Boot 2021.01-g44a87e3ab8 (May 14 2022 - 22:32:40 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM:  512 MiB
    WDT:   Started with servicing (60s timeout)
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... *** Warning - bad CRC, using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    1191 bytes read in 2 ms (581.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    ethernet@4a100000 Waiting for PHY auto negotiation to complete.. done
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    TFTP from server 10.0.0.110; our IP address is 10.0.0.123
    Filename 'bbb/zImage'.
    Load address: 0x82000000
    Loading: *#################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 ###############################################################
    	 5.6 MiB/s
    done
    Bytes transferred = 7602688 (740200 hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    TFTP from server 10.0.0.110; our IP address is 10.0.0.123
    Filename 'bbb/am335x-boneblack.dtb'.
    Load address: 0x88000000
    Loading: *#####
    	 5.1 MiB/s
    done
    Bytes transferred = 70173 (1121d hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffeb000, end 8ffff21c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.1.46-dirty (lb@ula0271908) (arm-none-linux-gnueabihf-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #21 PREEMPT Wed Apr 24 14:29:24 CDT 2024
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 64 MiB at 0x9b800000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000]   HighMem  empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129540
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.0.110:/home/lb/opt/filesys.am335x,nolock,v3 rw ip=10.0.0.123:::::eth0
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 433604K/522240K available (11264K kernel code, 1472K rwdata, 3240K rodata, 1024K init, 288K bss, 23100K reserved, 65536K cma-reserved, 0K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] trace event string verifier disabled
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000024] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000406] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.001866] Console: colour dummy device 80x30
    [    0.001907] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.001913] This ensures that you still see kernel messages. Please
    [    0.001917] update your kernel commandline.
    [    0.001947] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.090503] CPU: Testing write buffer coherency: ok
    [    0.090572] CPU0: Spectre v2: using BPIALL workaround
    [    0.090580] pid_max: default: 32768 minimum: 301
    [    0.090764] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.090781] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.092380] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.092394] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.092550] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.092705] rcu: Hierarchical SRCU implementation.
    [    0.092713] rcu: 	Max phase no-delay instances is 1000.
    [    0.094293] EFI services will not be available.
    [    0.094874] devtmpfs: initialized
    [    0.107700] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.107976] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.108004] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [    0.113199] pinctrl core: initialized pinctrl subsystem
    [    0.114304] DMI not present or invalid.
    [    0.114951] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.117200] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.118311] thermal_sys: Registered thermal governor 'step_wise'
    [    0.118410] cpuidle: using governor menu
    [    0.132836] No ATAGs?
    [    0.132858] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.162908] SCSI subsystem initialized
    [    0.163540] usbcore: registered new interface driver usbfs
    [    0.163589] usbcore: registered new interface driver hub
    [    0.163636] usbcore: registered new device driver usb
    [    0.164044] pps_core: LinuxPPS API ver. 1 registered
    [    0.164053] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.164074] PTP clock support registered
    [    0.164226] EDAC MC: Ver: 3.0.0
    [    0.166723] clocksource: Switched to clocksource dmtimer
    [    0.188329] NET: Registered PF_INET protocol family
    [    0.188631] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.189946] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.189986] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.190000] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
    [    0.190040] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.190097] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.190206] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    0.190227] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    0.190376] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.190910] RPC: Registered named UNIX socket transport module.
    [    0.190924] RPC: Registered udp transport module.
    [    0.190928] RPC: Registered tcp transport module.
    [    0.190932] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.190945] PCI: CLS 0 bytes, default 64
    [    0.192115] Initialise system trusted keyrings
    [    0.192571] workingset: timestamp_bits=30 max_order=17 bucket_order=0
    [    0.198329] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.207172] NFS: Registering the id_resolver key type
    [    0.207257] Key type id_resolver registered
    [    0.207264] Key type id_legacy registered
    [    0.207388] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.207400] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.207437] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.207984] Key type asymmetric registered
    [    0.207997] Asymmetric key parser 'x509' registered
    [    0.208161] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.208173] io scheduler mq-deadline registered
    [    0.208180] io scheduler kyber registered
    [    0.308884] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [    0.311313] STMicroelectronics ASC driver initialized
    [    0.332052] brd: module loaded
    [    0.348579] loop: module loaded
    [    0.353698] CAN device driver interface
    [    0.354060] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.354066] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.354155] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.354161] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.354893] pegasus: Pegasus/Pegasus II USB Ethernet driver
    [    0.354944] usbcore: registered new interface driver pegasus
    [    0.354991] usbcore: registered new interface driver asix
    [    0.355024] usbcore: registered new interface driver ax88179_178a
    [    0.355057] usbcore: registered new interface driver cdc_ether
    [    0.355098] usbcore: registered new interface driver smsc75xx
    [    0.355155] usbcore: registered new interface driver smsc95xx
    [    0.355189] usbcore: registered new interface driver net1080
    [    0.355221] usbcore: registered new interface driver cdc_subset
    [    0.355251] usbcore: registered new interface driver zaurus
    [    0.355325] usbcore: registered new interface driver cdc_ncm
    [    0.356019] usbcore: registered new interface driver usb-storage
    [    0.357003] i2c_dev: i2c /dev entries driver
    [    0.358965] cpuidle: enable-method property 'ti,am3352' found operations
    [    0.359538] sdhci: Secure Digital Host Controller Interface driver
    [    0.359549] sdhci: Copyright(c) Pierre Ossman
    [    0.359703] Synopsys Designware Multimedia Card Interface Driver
    [    0.359856] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.360320] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.360700] usbcore: registered new interface driver usbhid
    [    0.360709] usbhid: USB HID core driver
    [    0.363160] NET: Registered PF_INET6 protocol family
    [    0.377949] Segment Routing with IPv6
    [    0.378018] In-situ OAM (IOAM) with IPv6
    [    0.378103] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    0.378848] NET: Registered PF_PACKET protocol family
    [    0.378862] can: controller area network core
    [    0.378936] NET: Registered PF_CAN protocol family
    [    0.378945] can: raw protocol
    [    0.378953] can: broadcast manager protocol
    [    0.378965] can: netlink gateway - max_hops=1
    [    0.379372] Key type dns_resolver registered
    [    0.379516] ThumbEE CPU extension supported.
    [    0.379535] Registering SWP/SWPB emulation handler
    [    0.379971] omap_voltage_late_init: Voltage driver support not added
    [    0.381007] Loading compiled-in X.509 certificates
    [    0.452981] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.467629] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    0.490723] ti-sysc: probe of 48040000.target-module failed with error -16
    [    0.512794] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
    [    0.516924] OMAP GPIO hardware version 0.1
    [    0.529060] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.547741] at24 2-0054: supply vcc not found, using dummy regulator
    [    0.580859] at24 2-0055: supply vcc not found, using dummy regulator
    [    0.609881] at24 2-0056: supply vcc not found, using dummy regulator
    [    0.640508] at24 2-0057: supply vcc not found, using dummy regulator
    [    0.668815] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    0.673166] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
    [    0.678770] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
    [    0.691357] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    0.691821] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    0.702373] platform 4830e000.lcdc: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/tda19988@70
    [    0.717015] random: crng init done
    [    0.717056] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.776747] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    0.788046] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    0.788310] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    0.788324] cpsw-switch 4a100000.switch: ALE Table size 1024
    [    0.788434] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
    [    0.788449] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
    [    0.788498] cpsw-switch 4a100000.switch: Detected MACID = e4:15:f6:f9:e8:65
    [    0.789662] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
    [    0.804368] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    0.804405] edma 49000000.dma: TI EDMA DMA engine driver
    [    0.849234] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.854390] l3-aon-clkctrl:0000:0: failed to disable
    [    0.857698] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it!
    [    0.868487] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 36, base_baud = 3000000) is a 8250
    [    2.657722] printk: console [ttyS0] enabled
    [    2.687318] tps65217-pmic: Failed to locate of_node [id: -1]
    [    2.699621] tps65217-bl: Failed to locate of_node [id: -1]
    [    2.708787] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    2.715608] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    2.723288] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.731182] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    2.741771] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    2.753191] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    2.760995] sdhci-omap 48060000.mmc: Got CD GPIO
    [    2.765840] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
    [    2.775355] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    2.799561] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
    [    2.808938] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [    2.818513] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    [    2.856555] mmc0: new high speed SDHC card at address 0001
    [    2.863534] mmcblk0: mmc0:0001 SD32G 29.1 GiB 
    [    2.871503]  mmcblk0: p1 p2
    [    2.874891] mmc1: new high speed MMC card at address 0001
    [    2.882873] mmcblk1: mmc1:0001 M62704 3.56 GiB 
    [    2.890861] mmcblk1boot0: mmc1:0001 M62704 2.00 MiB 
    [    2.897693] mmcblk1boot1: mmc1:0001 M62704 2.00 MiB 
    [    2.903965] mmcblk1rpmb: mmc1:0001 M62704 512 KiB, chardev (243:0)
    [    2.911453] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [    5.047606] cpsw-switch 4a100000.switch eth0: Link is Up - 100Mbps/Full - flow control off
    [    5.056084] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.086795] IP-Config: Guessing netmask 255.0.0.0
    [    5.091551] IP-Config: Complete:
    [    5.094795]      device=eth0, hwaddr=e4:15:f6:f9:e8:65, ipaddr=10.0.0.123, mask=255.0.0.0, gw=255.255.255.255
    [    5.104966]      host=10.0.0.123, domain=, nis-domain=(none)
    [    5.110852]      bootserver=255.255.255.255, rootserver=10.0.0.110, rootpath=
    [    5.128764] VFS: Mounted root (nfs filesystem) on device 0:15.
    [    5.142786] devtmpfs: mounted
    [    5.147424] Freeing unused kernel image (initmem) memory: 1024K
    [    5.157331] Run /sbin/init as init process
    [    5.795252] systemd[1]: System time before build time, advancing clock.
    [    5.838821] 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 -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    5.871264] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2023.04!
    
    [    5.908951] systemd[1]: Hostname set to <am335x-evm>.
    [    6.339499] systemd[70]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
    [    6.373047] systemd-sysv-generator[79]: 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.
    [    7.044053] 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.
    [    7.230194] systemd[1]: Queued start job for default target Multi-User System.
    [    7.242930] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    7.279379] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    7.322397] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    7.369962] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    7.408714] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    7.448633] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    7.488033] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    7.527868] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    7.567806] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    7.607487] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    7.653148] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    7.698081] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    7.764171] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    7.809203] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    7.927046] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
    [    7.941172] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    7.982078] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    8.019700] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    8.064193] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    8.109891] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    8.151165] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    8.189610] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [    8.205990] systemd[1]: POSIX Message Queue File System was skipped because of a failed condition check (ConditionPathExists=/proc/sys/fs/mqueue).
    [    8.247549] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    8.282376] systemd[1]: Mounting Kernel Trace File System...
             Mounting Kernel Trace File System...
    [    8.367748] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    8.400737] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    8.468551] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    8.503512] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    8.559888] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    8.592474] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    8.688280] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    8.705977] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    8.739472] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    8.755639] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    8.798418] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    8.850551] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    8.892480] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network …ts from Kernel command line...
    [    8.992024] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    9.078294] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    9.163596] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    9.248438] systemd[1]: Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Debug File System.
    [    9.290481] systemd[1]: Mounted Kernel Trace File System.
    [  OK  ] Mounted Kernel Trace File System.
    [    9.317707] systemd[1]: Mounted Temporary Directory /tmp.
    [  OK  ] Mounted Temporary Directory /tmp.
    [    9.349317] systemd[1]: Finished Create List of Static Device Nodes.
    [  OK  ] Finished Create List of Static Device Nodes.
    [    9.389297] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [    9.418201] systemd[1]: Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module configfs.
    [    9.449616] systemd[1]: modprobe@drm.service: Deactivated successfully.
    [    9.478247] systemd[1]: Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module drm.
    [    9.519320] systemd[1]: modprobe@fuse.service: Deactivated successfully.
    [    9.546468] systemd[1]: Finished Load Kernel Module fuse.
    [  OK  ] Finished Load Kernel Module fuse.
    [    9.588169] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [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.
    [FAILED] Failed to start Generate n…nits from Kernel command line.
    See 'systemctl status systemd-network-generator.service' for details.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [   10.134230] systemd-journald[90]: Received client request to flush runtime journal.
    [  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...
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Reached target System Time Set.
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  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.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
    [   13.795144] remoteproc remoteproc0: wkup_m3 is available
    [   13.838215] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
             Starting IPv4 Packet Filtering Framework...
    [   14.018812] remoteproc remoteproc0: powering up wkup_m3
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [   14.129680] tda998x 0-0070: found TDA19988
             Starting Telnet Server...
    [   14.217677] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230332
    [   14.226085] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   14.232661] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   14.267240] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   14.302663] omap_rtc 44e3e000.rtc: already running
    [   14.309908] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator
    [FAILED] Failed to start Print notice about GPLv3 packages.
    See 'systemctl status gplv3-notice.service' for details.
    [   14.402202] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [   14.472433] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
    [  OK  ] Finished IPv4 Packet Filtering Fram[   14.530315] omap_rtc 44e3e000.rtc: setting system clock to 2022-04-28T17:45:10 UTC (1651167910)
    ework.
    [  OK  ] Finished Telnet Server.
    [   14.679242] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator
    [   14.787717] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Reached target Preparation for Network.
    [   14.940439] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   14.945847] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
             Starting Network Configuration...
    [   15.206015] hub 1-0:1.0: USB hub found
    [   15.256990] hub 1-0:1.0: 1 port detected
    [  OK  ] Finished Load Kernel Module drm.
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [   15.864181] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_audio_codec_init [tda998x])
    [   15.995170] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [  OK  ] Finished Load Kernel Module drm.
    [   16.148098] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
    [   16.154917] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [   16.610217] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   16.631070] PM: bootloader does not support rtc-only!
    [   16.721257] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   16.742102] omap-sham 53100000.sham: will run requests pump with realtime priority
    [   16.851870] omap-aes 53500000.aes: will run requests pump with realtime priority
    [  OK  ] Finished Load Kernel Module drm.
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [  OK  ] Finished Load Kernel Module drm.
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [   19.542877] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [  OK  ] Finished Load Kernel Module drm.
    [   20.811724] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   20.911035] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [   21.044502] cfg80211: failed to load regulatory.db
    [  OK  ] Started Network Configuration.
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [*     ] (1 of 2) A start job is running for…container runtime (20s / 1min 47s)
    [**    ] (1 of 2) A start job is running for…container runtime (21s / 1min 47s)
    [***   ] (1 of 2) A start job is running for…container runtime (21s / 1min 47s)
    [   28.915705] remoteproc remoteproc1: 4a334000.pru is available
    [   29.010889] remoteproc remoteproc2: 4a338000.pru is available
    [ ***  ] (2 of 2) A start job is running for…mDNS/DNS-SD Stack (22s / 1min 46s)
    [  *** ] (2 of 2) A start job is running for…mDNS/DNS-SD Stack (22s / 1min 46s)
    [   ***] (2 of 2) A start job is running for…mDNS/DNS-SD Stack (22s / 1min 46s)
    [    **] (1 of 2) A start job is running for…container runtime (23s / 1min 47s)
    [     *] (1 of 2) A start job is running for…container runtime (23s / 1min 47s)
    [    **] (1 of 2) A start job is running for…container runtime (24s / 1min 47s)
    [   ***] (2 of 2) A start job is running for…mDNS/DNS-SD Stack (24s / 1min 46s)
    [  *** ] (2 of 2) A start job is running for…mDNS/DNS-SD Stack (25s / 1min 46s)
    [ ***  ] (2 of 2) A start job is running for…mDNS/DNS-SD Stack (25s / 1min 46s)
    [***   ] (1 of 2) A start job is running for…container runtime (25s / 1min 47s)
    [**    ] (1 of 2) A start job is running for…container runtime (26s / 1min 47s)
    [*     ] (1 of 2) A start job is running for…container runtime (26s / 1min 47s)
    [  OK  ] Started containerd container runtime.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Reached target Hardware activated USB gadget.
             Starting Save/Restore Sound Card State...
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting File System Check on /dev/mmcblk0p1...
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Finished Save/Restore Sound Card State.
    [  OK  ] Reached target Sound Card.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Finished File System Check on /dev/mmcblk0p1.
             Mounting /run/media/boot-mmcblk0p1...
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Finished File System Check on /dev/mmcblk0p2.
    [  OK  ] Finished Synchronize System and HW clocks.
    [  OK  ] Mounted /run/media/boot-mmcblk0p1.
             Mounting /run/media/root-mmcblk0p2...
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Reso[   36.324563] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
    lution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Mounted /run/media/root-mmcblk0p2.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am335x-evm -
    
    Arago 2023.04 am335x-evm -
    
    am335x-evm login: root
    root@am335x-evm:~# dmesg|grep pm
    [    2.687318] tps65217-pmic: Failed to locate of_node [id: -1]
    [    2.903965] mmcblk1rpmb: mmc1:0001 M62704 512 KiB, chardev (243:0)
    [   14.217677] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230332
    root@am335x-evm:~# lsmod
    Module                  Size  Used by
    pru_rproc              24576  0
    irq_pruss_intc         16384  0
    snd_soc_hdmi_codec     16384  1
    sha256_generic         16384  0
    libsha256              16384  1 sha256_generic
    sha256_arm             24576  0
    cfg80211              606208  0
    snd_soc_simple_card    20480  0
    snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
    omap_aes_driver        24576  0
    pruss                  16384  0
    omap_crypto            16384  1 omap_aes_driver
    libaes                 16384  1 omap_aes_driver
    pm33xx                 16384  0
    omap_sham              28672  0
    crypto_engine          16384  2 omap_aes_driver,omap_sham
    ti_emif_sram           16384  1 pm33xx
    tilcdc                 32768  0
    drm_dma_helper         16384  1 tilcdc
    snd_soc_davinci_mcasp    28672  2
    snd_soc_ti_udma        16384  1 snd_soc_davinci_mcasp
    snd_soc_ti_edma        16384  1 snd_soc_davinci_mcasp
    snd_soc_ti_sdma        16384  1 snd_soc_davinci_mcasp
    snd_soc_core          172032  7 snd_soc_davinci_mcasp,snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_ti_sdma,snd_soc_ti_edma,snd_soc_ti_udma,snd_soc_simple_card
    snd_pcm_dmaengine      16384  1 snd_soc_core
    ac97_bus               16384  1 snd_soc_core
    snd_pcm                90112  5 snd_soc_davinci_mcasp,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_core
    snd_timer              28672  1 snd_pcm
    snd                    57344  4 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
    soundcore              16384  1 snd
    musb_dsps              20480  0
    musb_hdrc             118784  1 musb_dsps
    phy_am335x             16384  2
    rtc_omap               20480  4 pm33xx
    cppi41                 20480  60
    omap_wdt               16384  0
    tda998x                24576  0
    phy_am335x_control     16384  1 phy_am335x
    wkup_m3_ipc            16384  1 pm33xx
    wkup_m3_rproc          16384  1
    root@am335x-evm:~# 
    root@am335x-evm:~# zcat /proc/config.gz | grep 'CONFIG_WKUP_M3\|CONFIG_TI_EMIF_SRAM\|CONFIG_AMX3_PM'
    CONFIG_WKUP_M3_RPROC=m
    CONFIG_AMX3_PM=m
    CONFIG_WKUP_M3_IPC=m
    CONFIG_TI_EMIF_SRAM=m
    root@am335x-evm:~# rtcwake -s 3 -m mem
    rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Apr 28 17:47:29 2022
    [  149.913557] PM: suspend entry (deep)
    [  149.917602] Filesystems sync: 0.000 seconds
    [  149.936518] Freezing user space processes
    [  149.943152] Freezing user space processes completed (elapsed 0.001 seconds)
    [  149.950635] OOM killer disabled.
    [  149.953919] Freezing remaining freezable tasks
    [  149.960085] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [  149.967635] printk: Suspending console(s) (use no_console_suspend to debug)
    [  150.101011] cpsw-switch 4a100000.switch eth0: Link is Down
    [  150.109981] PM: suspend devices took 0.140 seconds
    [  150.121542] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [  150.121542] PM: Wakeup source RTC Alarm
    [  150.135442] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    [  150.217840] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [  150.420467] PM: resume devices took 0.290 seconds
    [  150.465940] OOM killer enabled.
    [  150.469287] Restarting tasks ... done.
    [  150.483757] random: crng reseeded on system resumption
    [  150.496360] PM: suspend exit
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# [  152.407872] cpsw-switch 4a100000.switch eth0: Link is Up - 100Mbps/Full - flow control off
    echo mem > /sys/power/state
    [  165.864243] PM: suspend entry (deep)
    [  165.868590] Filesystems sync: 0.000 seconds
    [  165.880754] Freezing user space processes
    [  165.888513] Freezing user space processes completed (elapsed 0.003 seconds)
    [  165.895795] OOM killer disabled.
    [  165.899320] Freezing remaining freezable tasks
    [  165.905643] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [  165.913184] printk: Suspending console(s) (use no_console_suspend to debug)
    

    am335x_lpm_config

  • echo mem > /sys/power/state    instead of the rtc wake?

    I did it at the end of the log. Since I don't have any wakeup source enabled, the board just got stuck in suspend.

    Can you please attach your Linux boot log?

  • Sorry I saw that at the end after I had replied. Thanks.

    Here is my log


    /data/config # dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 6.1.46-g1d4b5da681 (oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 PREEMPT Thu Oct 19 10:19:08 UTC 2023
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Failed to reserve 64 MiB
    [ 0.000000] Zone ranges:
    [ 0.000000] Normal [mem 0x0000000080000000-0x0000000087dfffff]
    [ 0.000000] HighMem empty
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000080000000-0x0000000087dfffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000087dfffff]
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32004
    [ 0.000000] Kernel command line: console=ttyO1,115200n8 root=ubi0:rootfs ro ubi.mtd=system_b rootfstype=ubifs rootwait
    [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] Memory: 108240K/129024K available (12288K kernel code, 1601K rwdata, 3340K rodata, 1024K init, 277K bss, 20784K reserved, 0K cma-reserved, 0K highmem)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] trace event string verifier disabled
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU event tracing is enabled.
    [ 0.000000] Trampoline variant of Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [ 0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000033] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000664] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [ 0.003203] WARNING: Your 'console=ttyO1' has been replaced by 'ttyS1'
    [ 0.003222] This ensures that you still see kernel messages. Please
    [ 0.003229] update your kernel commandline.
    [ 0.003268] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.120781] CPU: Testing write buffer coherency: ok
    [ 0.120861] CPU0: Spectre v2: using BPIALL workaround
    [ 0.120874] pid_max: default: 32768 minimum: 301
    [ 0.121131] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [ 0.121158] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [ 0.123353] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.123375] cblist_init_generic: Setting shift to 0 and lim to 1.
    [ 0.123590] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.123820] rcu: Hierarchical SRCU implementation.
    [ 0.123831] rcu: Max phase no-delay instances is 1000.
    [ 0.126242] EFI services will not be available.
    [ 0.126931] devtmpfs: initialized
    [ 0.148106] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.148499] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.148534] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [ 0.148716] pinctrl core: initialized pinctrl subsystem
    [ 0.149979] DMI not present or invalid.
    [ 0.151005] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.151772] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.153185] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.153649] cpuidle: using governor menu
    [ 0.176893] No ATAGs?
    [ 0.176919] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.179985] Serial: AMBA PL011 UART driver
    [ 0.211245] cryptd: max_cpu_qlen set to 1000
    [ 0.215396] SCSI subsystem initialized
    [ 0.215824] libata version 3.00 loaded.
    [ 0.216277] usbcore: registered new interface driver usbfs
    [ 0.216351] usbcore: registered new interface driver hub
    [ 0.216417] usbcore: registered new device driver usb
    [ 0.217073] pps_core: LinuxPPS API ver. 1 registered
    [ 0.217086] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.217117] PTP clock support registered
    [ 0.217318] EDAC MC: Ver: 3.0.0
    [ 0.220708] clocksource: Switched to clocksource dmtimer
    [ 0.232452] NET: Registered PF_INET protocol family
    [ 0.232961] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [ 0.234275] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [ 0.234334] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.234356] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [ 0.234386] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [ 0.234420] TCP: Hash tables configured (established 1024 bind 1024)
    [ 0.234559] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
    [ 0.234596] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
    [ 0.234804] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.235490] RPC: Registered named UNIX socket transport module.
    [ 0.235508] RPC: Registered udp transport module.
    [ 0.235515] RPC: Registered tcp transport module.
    [ 0.235522] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.236961] PCI: CLS 0 bytes, default 64
    [ 0.238835] Initialise system trusted keyrings
    [ 0.239238] workingset: timestamp_bits=30 max_order=15 bucket_order=0
    [ 0.248307] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.261276] NFS: Registering the id_resolver key type
    [ 0.261358] Key type id_resolver registered
    [ 0.261369] Key type id_legacy registered
    [ 0.261547] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.261562] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [ 0.261616] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.262387] Key type asymmetric registered
    [ 0.262406] Asymmetric key parser 'x509' registered
    [ 0.262641] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 0.262658] io scheduler mq-deadline registered
    [ 0.262669] io scheduler kyber registered
    [ 0.280808] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [ 0.284418] STMicroelectronics ASC driver initialized
    [ 0.305589] loop: module loaded
    [ 0.323297] CAN device driver interface
    [ 0.323876] e1000e: Intel(R) PRO/1000 Network Driver
    [ 0.323885] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [ 0.323998] igb: Intel(R) Gigabit Ethernet Network Driver
    [ 0.324007] igb: Copyright (c) 2007-2014 Intel Corporation.
    [ 0.325264] pegasus: Pegasus/Pegasus II USB Ethernet driver
    [ 0.325340] usbcore: registered new interface driver pegasus
    [ 0.325408] usbcore: registered new interface driver asix
    [ 0.325463] usbcore: registered new interface driver ax88179_178a
    [ 0.325514] usbcore: registered new interface driver cdc_ether
    [ 0.325589] usbcore: registered new interface driver smsc75xx
    [ 0.325656] usbcore: registered new interface driver smsc95xx
    [ 0.325722] usbcore: registered new interface driver net1080
    [ 0.325773] usbcore: registered new interface driver cdc_subset
    [ 0.325822] usbcore: registered new interface driver zaurus
    [ 0.325926] usbcore: registered new interface driver cdc_ncm
    [ 0.326975] usbcore: registered new interface driver usb-storage
    [ 0.331185] [tlsc] tlsc6x_init: ++
    [ 0.331582] i2c_dev: i2c /dev entries driver
    [ 0.335182] cpuidle: enable-method property 'ti,am3352' found operations
    [ 0.336134] sdhci: Secure Digital Host Controller Interface driver
    [ 0.336148] sdhci: Copyright(c) Pierre Ossman
    [ 0.336388] Synopsys Designware Multimedia Card Interface Driver
    [ 0.336639] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 0.337317] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.337901] usbcore: registered new interface driver usbhid
    [ 0.337915] usbhid: USB HID core driver
    [ 0.351645] NET: Registered PF_INET6 protocol family
    [ 0.361420] Segment Routing with IPv6
    [ 0.361512] In-situ OAM (IOAM) with IPv6
    [ 0.361638] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 0.362704] NET: Registered PF_PACKET protocol family
    [ 0.362727] can: controller area network core
    [ 0.362824] NET: Registered PF_CAN protocol family
    [ 0.362837] can: raw protocol
    [ 0.362848] can: broadcast manager protocol
    [ 0.362864] can: netlink gateway - max_hops=1
    [ 0.363376] Key type dns_resolver registered
    [ 0.363565] ThumbEE CPU extension supported.
    [ 0.363590] Registering SWP/SWPB emulation handler
    [ 0.372344] omap_voltage_late_init: Voltage driver support not added
    [ 0.373583] Loading compiled-in X.509 certificates
    [ 0.500999] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [ 0.507608] ti-sysc: probe of 44e31000.target-module failed with error -16
    [ 0.524266] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec: early enabled = yes
    [ 0.541143] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 19, base_baud = 3000000) is a 8250
    [ 2.300715] printk: console [ttyS1] enabled
    [ 2.328014] ti-sysc: probe of 48040000.target-module failed with error -16
    [ 2.373437] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
    [ 2.391241] OMAP GPIO hardware version 0.1
    [ 2.432313] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
    [ 2.455667] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 28, base_baud = 3000000) is a 8250
    [ 2.486311] 481aa000.serial: ttyS0 at MMIO 0x481aa000 (irq = 29, base_baud = 3000000) is a 8250
    [ 2.501161] serial serial0: tty port ttyS0 registered
    [ 2.523700] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
    [ 2.543747] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
    [ 2.582768] platform 4830e000.lcdc: Fixed dependency cycle(s) with /spi/panel@0
    [ 2.630936] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 2.637886] random: crng init done
    [ 2.675965] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [ 2.690744] edma 49000000.dma: TI EDMA DMA engine driver
    [ 2.727635] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 2.750729] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 2.776157] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 2.805885] l3-aon-clkctrl:0000:0: failed to disable
    [ 2.811522] pwm-backlight lcd_backlight: supply power not found, using dummy regulator
    [ 2.831302] gpio gpiochip4: (gpio-96-127): not an immutable chip, please consider fixing it!
    [ 2.852666] 44e09000.serial: ttyS2 at MMIO 0x44e09000 (irq = 37, base_baud = 3000000) is a 8250
    [ 2.873159] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 2.893124] 48024000.serial: ttyS4 at MMIO 0x48024000 (irq = 39, base_baud = 3000000) is a 8250
    [ 2.916610] [tlsc]tlsc6x_probe: Enter
    [ 2.920337] [tlsc]tlsc6x_parse_dt: Enter
    [ 2.930796] tpd-firmware-update:0
    [ 2.934142] [tlsc]tlsc6x_hw_init: Enter
    [ 2.938119] [tlsc]tlsc6x_tpd_reset: Enter
    [ 2.960719] [tlsc]tlsc6x_tpd_reset_force: Enter
    [ 3.080724] [tlsc]tlsc6x_tpd_reset: Enter
    [ 3.084768] [tlsc]tlsc6x_tpd_reset_force: Enter
    [ 3.200718] [tlsc]tlsc6x_tp_dect: Enter
    [ 3.321406] [tlsc] g_mccode is 0x1
    [ 3.324844] [tlsc]tlsx6x_3536get_running_cfg: Enter
    [ 3.329747] [tlsc]tlsx6x_comb_get_running_cfg: Enter
    [ 3.356356] [tlsc]tlsc6x_upgrade_romcfg_array: Enter
    [ 3.370716] [tlsc] g_tlsc6x_cfg_ver is 0x84e4011
    [ 3.375365] [tlsc]tlsc6x_tpcfg_ver_comp: Enter
    [ 3.379832] [tlsc] Tlsc6x:auto update skip:no updated version!
    [ 3.497602] tlsc6x_ts 2-002e: tlsc6x LXD display detected
    [ 3.510821] [tlsc]tlsc6x_tpd_reset: Enter
    [ 3.514902] [tlsc]tlsc6x_tpd_reset_force: Enter
    [ 3.631431] input: tlsc6x_touch as /devices/virtual/input/input0
    [ 3.638744] [tlsc] The irq node num is 41
    [ 3.664004] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 3.674862] nand: Micron MT29F2G08ABAGAH4
    [ 3.678930] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
    [ 3.687085] Using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [ 3.692454] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [ 3.699469] Creating 10 MTD partitions on "omap2-nand.0":
    [ 3.704968] 0x000000000000-0x000000020000 : "SPL"
    [ 3.712130] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 3.719578] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 3.727164] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 3.734735] 0x000000080000-0x0000000c0000 : "unused1"
    [ 3.742054] 0x0000000c0000-0x0000001c0000 : "u-boot"
    [ 3.749602] 0x0000001c0000-0x0000002c0000 : "unused2"
    [ 3.757365] 0x0000002c0000-0x0000048c0000 : "system_a"
    [ 3.809030] 0x0000048c0000-0x000008ec0000 : "system_b"
    [ 3.860596] 0x000008ec0000-0x000010000000 : "data"
    [ 3.942218] st7789v spi2.0: supply power not found, using dummy regulator
    [ 3.950936] omap8250 481aa000.serial: Failed to create device link (0x180) with fixedregulator-wifi
    [ 3.962936] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
    [ 3.973307] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [ 3.981488] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [ 3.991851] tilcdc 4830e000.lcdc: [drm] fb0: tilcdcdrmfb frame buffer device
    [ 3.999063] sdhci-omap 48060000.mmc: using old ti,non-removable property
    [ 4.010960] ubi0: attaching mtd8
    [ 4.050738] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [ 4.064220] sdhci-omap 48060000.mmc: card claims to support voltages below defined range
    [ 4.110441] mmc0: new high speed SDIO card at address 0001
    [ 4.210875] st7789v spi2.0: Found LXD LCD panel
    [ 4.238558] ubi0: scanning is finished
    [ 4.250270] ubi0: attached mtd8 (name "system_b", size 70 MiB)
    [ 4.256243] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [ 4.263229] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 4.269972] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
    [ 4.276821] ubi0: good PEBs: 560, bad PEBs: 0, corrupted PEBs: 0
    [ 4.282902] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
    [ 4.290168] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1675050912
    [ 4.299371] ubi0: available PEBs: 109, total reserved PEBs: 451, PEBs reserved for bad PEB handling: 40
    [ 4.308912] ubi0: background thread "ubi_bgt0d" started, PID 85
    [ 4.316513] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [ 4.329568] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [ 4.336660] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [ 4.355731] cfg80211: failed to load regulatory.db
    [ 9.846006] UBIFS (ubi0:1): static UBI volume - read-only mode
    [ 9.852703] UBIFS (ubi0:1): Mounting in unauthenticated mode
    [ 9.921925] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs", R/O mode
    [ 9.930274] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 9.940301] UBIFS (ubi0:1): FS size: 43094016 bytes (41 MiB, 334 LEBs), max 453 LEBs, journal size 7612416 bytes (7 MiB, 59 LEBs)
    [ 9.952095] UBIFS (ubi0:1): reserved for root: 0 bytes (0 KiB)
    [ 9.957968] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID EA6945DE-0984-4114-BF19-0298D1F378D4, small LPT model
    [ 9.971381] VFS: Mounted root (ubifs filesystem) readonly on device 0:16.
    [ 9.979865] devtmpfs: mounted
    [ 9.985327] Freeing unused kernel image (initmem) memory: 1024K
    [ 9.992301] Run /sbin/init as init process
    [ 9.996424] with arguments:
    [ 9.996432] /sbin/init
    [ 9.996439] with environment:
    [ 9.996445] HOME=/
    [ 9.996451] TERM=linux
    [ 10.428630] 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 -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=hybrid)
    [ 10.463709] systemd[1]: Detected architecture arm.
    [ 10.527655] systemd[1]: Initializing machine ID from random generator.
    [ 10.539798] systemd[1]: Installed transient /etc/machine-id file.
    [ 10.907221] systemd[90]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
    [ 11.641786] systemd[1]: /lib/systemd/system/mdns.service:10: PIDFile= references a path below legacy directory /var/run/, updating /var/run/mdnsd.pid ? /run/mdnsd.pid; please update the unit file accordingly.
    [ 11.745115] systemd[1]: /lib/systemd/system/cc33xx-bt-enable.service:8: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [ 11.790559] systemd[1]: Queued start job for default target Multi-User System.
    [ 11.817040] systemd[1]: Created slice Slice /system/getty.
    [ 11.853595] systemd[1]: Created slice Slice /system/modprobe.
    [ 11.895719] systemd[1]: Created slice Slice /system/serial-getty.
    [ 11.933570] systemd[1]: Created slice Slice /system/wpa_supplicant.
    [ 11.974462] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 12.022511] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 12.064898] systemd[1]: Reached target Path Units.
    [ 12.101824] systemd[1]: Reached target Remote File Systems.
    [ 12.141427] systemd[1]: Reached target Slice Units.
    [ 12.181858] systemd[1]: Reached target Swaps.
    [ 12.259414] systemd[1]: Listening on Process Core Dump Socket.
    [ 12.345947] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
    [ 12.359882] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 12.402695] systemd[1]: Listening on Journal Socket.
    [ 12.446241] systemd[1]: Listening on udev Control Socket.
    [ 12.482315] systemd[1]: Listening on udev Kernel Socket.
    [ 12.523524] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [ 12.537969] systemd[1]: POSIX Message Queue File System was skipped because of a failed condition check (ConditionPathExists=/proc/sys/fs/mqueue).
    [ 12.581747] systemd[1]: Mounting Kernel Debug File System...
    [ 12.621954] systemd[1]: Mounting Kernel Trace File System...
    [ 12.665466] systemd[1]: Mounting Temporary Directory /tmp...
    [ 12.713935] systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/6.1.46-g1d4b5da681/modules.devname).
    [ 12.773221] systemd[1]: Starting Load Kernel Module configfs...
    [ 12.802090] systemd[1]: Starting Load Kernel Module fuse...
    [ 12.825784] systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
    [ 12.842155] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [ 12.855382] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [ 12.892170] systemd[1]: Starting Journal Service...
    [ 12.915568] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
    [ 12.962527] systemd[1]: Starting Generate network units from Kernel command line...
    [ 13.021722] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
    [ 13.082564] systemd[1]: Starting Apply Kernel Variables...
    [ 13.132836] systemd[1]: Starting Create Static Device Nodes in /dev...
    [ 13.192508] systemd[1]: Starting Coldplug All udev Devices...
    [ 13.322680] systemd[1]: Mounted Kernel Debug File System.
    [ 13.342514] systemd[1]: Mounted Kernel Trace File System.
    [ 13.372698] systemd[1]: Mounted Temporary Directory /tmp.
    [ 13.423657] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [ 13.472898] systemd[1]: Finished Load Kernel Module configfs.
    [ 13.495430] systemd[1]: modprobe@fuse.service: Deactivated successfully.
    [ 13.551087] systemd[1]: Finished Load Kernel Module fuse.
    [ 13.594274] systemd[1]: Finished Generate network units from Kernel command line.
    [ 13.653590] systemd[1]: Finished Apply Kernel Variables.
    [ 13.684045] systemd[1]: Finished Create Static Device Nodes in /dev.
    [ 13.743003] systemd[1]: Reached target Preparation for Local File Systems.
    [ 13.771948] systemd[1]: Reached target Preparation for Network.
    [ 13.802505] systemd[1]: FUSE Control File System was skipped because of a failed condition check (ConditionPathExists=/sys/fs/fuse/connections).
    [ 13.862134] systemd[1]: Mounting Kernel Configuration File System...
    [ 13.911964] systemd[1]: Mounting /var/volatile...
    [ 13.952746] systemd[1]: Starting Script mount-data-fs...
    [ 13.995039] systemd[1]: Starting Rule-based Manager for Device Events and Files...
    [ 14.068000] systemd[1]: Started Journal Service.
    [ 14.162498] systemd[111]: systemd-udevd.service: ProtectHostname=yes is configured, but the kernel does not support UTS namespaces, ignoring namespace setup.
    [ 14.601208] systemd-journald[103]: Received client request to flush runtime journal.
    [ 14.900360] ubi2: attaching mtd9
    [ 16.563993] ubi2: scanning is finished
    [ 16.633645] ubi2: attached mtd9 (name "data", size 113 MiB)
    [ 16.639309] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [ 16.703574] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 16.710369] ubi2: VID header offset: 512 (aligned 512), data offset: 2048
    [ 16.765025] ubi2: good PEBs: 906, bad PEBs: 0, corrupted PEBs: 0
    [ 16.799977] ubi2: user volume: 5, internal volumes: 1, max. volumes count: 128
    [ 16.840104] ubi2: max/mean erase counter: 229/131, WL threshold: 4096, image sequence number: 0
    [ 16.881059] ubi2: available PEBs: 0, total reserved PEBs: 906, PEBs reserved for bad PEB handling: 40
    [ 16.890436] ubi2: background thread "ubi_bgt2d" started, PID 170
    [ 17.216785] UBIFS (ubi2:4): Mounting in unauthenticated mode
    [ 17.268448] UBIFS (ubi2:4): background thread "ubifs_bgt2_4" started, PID 176
    [ 17.422238] UBIFS (ubi2:4): recovery needed
    [ 17.725811] UBIFS (ubi2:4): recovery completed
    [ 17.730520] UBIFS (ubi2:4): UBIFS: mounted UBI device 2, volume 4, name "userdata"
    [ 17.785792] UBIFS (ubi2:4): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 17.823534] UBIFS (ubi2:4): FS size: 108509184 bytes (103 MiB, 841 LEBs), max 852 LEBs, journal size 5419008 bytes (5 MiB, 42 LEBs)
    [ 17.869965] UBIFS (ubi2:4): reserved for root: 4952683 bytes (4836 KiB)
    [ 17.900965] UBIFS (ubi2:4): media format: w5/r0 (latest is w5/r0), UUID 72E1AF04-8876-4156-B0FF-87BB7EA79CE8, small LPT model
    [ 18.670333] remoteproc remoteproc0: wkup_m3 is available
    [ 18.853145] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
    [ 18.933433] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
    [ 18.994051] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
    [ 19.100171] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 19.157937] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [ 19.203856] hub 1-0:1.0: USB hub found
    [ 19.234504] hub 1-0:1.0: 1 port detected
    [ 19.252925] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
    [ 19.300631] cc33xx_sdio mmc0:0001:2: Using GPIO as IRQ
    [ 19.327717] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 19.339973] remoteproc remoteproc0: powering up wkup_m3
    [ 19.410502] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230340
    [ 19.507350] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 19.507396] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 20.017749] Bluetooth: Core ver 2.22
    [ 20.051163] NET: Registered PF_BLUETOOTH protocol family
    [ 20.056546] Bluetooth: HCI device and connection manager initialized
    [ 20.086213] mtdblock: MTD device 'SPL' is NAND, please consider using UBI block devices instead.
    [ 20.116425] Bluetooth: HCI socket layer initialized
    [ 20.124602] mtdblock: MTD device 'SPL.backup1' is NAND, please consider using UBI block devices instead.
    [ 20.163711] mtdblock: MTD device 'SPL.backup2' is NAND, please consider using UBI block devices instead.
    [ 20.173502] Bluetooth: L2CAP socket layer initialized
    [ 20.178672] Bluetooth: SCO socket layer initialized
    [ 20.219093] mtdblock: MTD device 'SPL.backup3' is NAND, please consider using UBI block devices instead.
    [ 20.239425] mtdblock: MTD device 'unused1' is NAND, please consider using UBI block devices instead.
    [ 20.257066] btti serial0-0: Host wakeup NOT enabled
    [ 20.279750] mtdblock: MTD device 'u-boot' is NAND, please consider using UBI block devices instead.
    [ 20.291119] btti serial0-0: SM: Got EVENT_PROBE_DONE, moving from STATE_PROBING to STATE_HW_OFF
    [ 20.328054] mtdblock: MTD device 'unused2' is NAND, please consider using UBI block devices instead.
    [ 20.347633] mtdblock: MTD device 'system_a' is NAND, please consider using UBI block devices instead.
    [ 20.377447] mtdblock: MTD device 'system_b' is NAND, please consider using UBI block devices instead.
    [ 20.417892] mtdblock: MTD device 'data' is NAND, please consider using UBI block devices instead.
    [ 20.635393] swd: loading out-of-tree module taints kernel.
    [ 20.653872] PM: rtc0 not available
    [ 20.736480] swd_gpio swd: SWD driver initialized
    [ 20.782699] PM: rtc0 not available
    [ 22.905041] btti serial0-0: SM: Got EVENT_REGULATOR_ENABLE, moving from STATE_HW_OFF to STATE_HW_ON
    [ 22.975990] PM: rtc0 not available
    [ 22.979905] btti serial0-0: SM: Got EVENT_REGULATOR_DISABLE, moving from STATE_HW_ON to STATE_HW_OFF
    [ 23.031278] btti serial0-0: SM: Got EVENT_REGULATOR_ENABLE, moving from STATE_HW_OFF to STATE_HW_ON
    [ 23.291393] IBI_WA: Read core status
    [ 23.292086] IBI_WA: Core status processed
    [ 23.611017] IBI_WA: Read core status
    [ 23.611707] IBI_WA: Core status processed
    [ 24.920485] file system registered
    [ 25.391065] IBI_WA: Read core status
    [ 25.391774] IBI_WA: Core status processed
    [ 25.531280] ffs_data_put(): freeing
    [ 25.568650] unloading
    [ 25.622336] file system registered
    [ 25.698066] wlcore: Wireless driver version 1.7.0.27
    [ 25.699097] wlcore: Wireless firmware version 1.7.0.50
    [ 25.699116] wlcore: Wireless PHY version 1.2.32.5.39.65
    [ 25.714295] wlcore: loaded
    [ 25.855620] read descriptors
    [ 25.855683] read strings
    [ 26.308135] btti serial0-0: SM: Got EVENT_HCI_WAKEUP_FRAME_RECEIVED, moving from STATE_HW_ON to STATE_HW_READY
    [ 28.596701] Deferred event dump:00000000: 00000100 000c0015 000000c0 0000002c
    [ 28.596752] Deferred event dump:00000010: 000000b0 00000000 00000000 00000000
    [ 28.596888] Deferred event dump:00000020: 00000000 00000000 00000000 00000000
    [ 28.596906] Deferred event dump:00000030: 00000000 00000000 00000000 00000000
    [ 28.735316] Bluetooth: MGMT ver 1.22
    [ 28.744963] systemd-journald[103]: Data hash table of /run/log/journal/32f887bb2d1244c7a9bef354ca7c028c/system.journal has a fill level at 75.1 (1538 of 2047 items, 1048576 file size, 681 bytes per hash table item), suggesting rotation.
    [ 28.745052] systemd-journald[103]: /run/log/journal/32f887bb2d1244c7a9bef354ca7c028c/system.journal: Journal header limits reached or header out-of-date, rotating.
    [ 28.948245] PM: rtc0 not available
    [ 29.149729] wlan0: authenticate with 8a:83:c2:3a:99:63
    [ 29.197018] wlan0: send auth to 8a:83:c2:3a:99:63 (try 1/3)
    [ 29.351460] wlan0: authenticate with 8a:83:c2:3a:99:63
    [ 29.351534] wlan0: send auth to 8a:83:c2:3a:99:63 (try 1/3)
    [ 29.373635] wlan0: authenticated
    [ 29.380953] wlan0: associate with 8a:83:c2:3a:99:63 (try 1/3)
    [ 29.399037] wlan0: RX AssocResp from 8a:83:c2:3a:99:63 (capab=0x1431 status=0 aid=2)
    [ 29.410639] wlcore: HE Disabled
    [ 29.415603] wlan0: associated
    [ 29.464138] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 8a:83:c2:3a:99:63
    [ 29.753027] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 29.756571] wlcore: Association completed.
    [ 30.338891] systemd-journald[103]: Oldest entry in /run/log/journal/32f887bb2d1244c7a9bef354ca7c028c/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [ 30.338980] systemd-journald[103]: /run/log/journal/32f887bb2d1244c7a9bef354ca7c028c/system.journal: Journal header limits reached or header out-of-date, rotating.
    [ 137.108954] omap_intc_handle_irq: spurious irq!

    /data/config # echo mem > /sys/power/state 


    [ 460.499661] PM: suspend entry (s2idle)
    [ 460.500497] Filesystems sync: 0.000 seconds
    [ 460.616404] Freezing user space processes
    [ 460.617874] Freezing user space processes completed (elapsed 0.001 seconds)
    [ 460.617919] OOM killer disabled.
    [ 460.617929] Freezing remaining freezable tasks
    [ 460.619219] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [ 460.619250] PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf
    [ 460.619262] OOM killer enabled.
    [ 460.619269] Restarting tasks ... done.
    [ 460.624202] random: crng reseeded on system resumption
    [ 460.624233] PM: suspend exit
    /data/config #

  • [ 20.653872] PM: rtc0 not available

    This likely is the cause of the problem.

    Please see function am33xx_pm_rtc_setup() in drivers/soc/ti/pm33xx.c, this function is called in am33xx_pm_probe(), so am33xx_pm_rtc_setup() failure causes the pm33xx driver probe failed.

    You probably have to do something differently about rtc in kernel device tree. I will see if I can replicate the issue on my setup.

  • How the rtc node in your board dts is configured? I used the following patch to disable rtc on my Beaglebone Black,

    diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
    index 02e04a12a270..38f978bc0e50 100644
    --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
    +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
    @@ -400,6 +400,7 @@ &rtc {
            clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
            clock-names = "ext-clk", "int-clk";
            system-power-controller;
    +       status = "disabled";
     };
     
     &pruss_tm {

    now rtc is disabled in kernel:

    root@am335x-evm:~# dmesg|grep rtc
    [   21.107349] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
    [   21.114160] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
    [   21.781347] PM: no-rtc available, rtc-only mode disabled.

    the last line of the message above is printed in am33xx_pm_rtc_setup() which directly returns without dealing with rtc. And now I can still suspend:

    root@am335x-evm:~# rtcwake -s 2 -m mem
    rtcwake: /dev/rtc0: unable to find device: No such file or directory
    root@am335x-evm:~# echo mem > /sys/power/state
    [  125.717667] PM: suspend entry (deep)
    [  125.723213] Filesystems sync: 0.001 seconds
    [  125.745422] Freezing user space processes
    [  125.752078] Freezing user space processes completed (elapsed 0.002 seconds)
    [  125.759379] OOM killer disabled.
    [  125.762622] Freezing remaining freezable tasks
    [  125.768586] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [  125.776097] printk: Suspending console(s) (use no_console_suspend to debug)