Hi TI
Even though TI PSDK official releases work for rtcwake funtion. A customer reported a rtcwake failure on their custom platform based on Uboot 2020.01 and Kernel 5.4.188.
The following is the failure log captured on their target board. Also the standy mode has same result. (e.g. -m standby)
$ rtcwake -s 10 -d /dev/rtc0 -m mem (Kernel stop, unable to wake upas below) root@INSCOBEE-MSU:/sys/power# rtcwake -s 10 -d /dev/rtc0 -m mem wakeup from "mem" at Mon Aug 1 00:17:55 2022 [ 1087.224065] PM: suspend entry (deep) [ 1087.229389] Filesystems sync: 0.001 seconds [ 1087.238484] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 1087.248009] OOM killer disabled. [ 1087.251375] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 1087.273439] cpsw 4a100000.ethernet eth0: Link is Down [ 1087.281272] cpsw 4a100000.ethernet eth1: Link is Down [ 1087.295067] PM: suspend devices took 0.030 seconds
When they enabled the debug mode of kernel power driver, the following error message is also shown.
The full log is attached with 'mem_suspend_resume_log_230410.txt)
[ 231.588300] pm33xx pm33xx: PM: Kernel suspend failure
mem_suspend_resume_log_230410.txt
The followings are the list of /sys/power/state directories.
root@INSCOBEE-MSU:/sys/kernel/debug/pm_debug# cd /sys/ root@INSCOBEE-MSU:/sys# ls block class devices fs module bus dev firmware kernel power root@INSCOBEE-MSU:/sys# cd power/ root@INSCOBEE-MSU:/sys/power# ls mem_sleep pm_freeze_timeout pm_wakeup_irq wake_lock pm_async pm_print_times state wake_unlock pm_debug_messages pm_test suspend_stats wakeup_count root@INSCOBEE-MSU:/sys/power# cat state freeze standby mem
Here is the kernel log by dmesg
root@INSCOBEE-MSU:/# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.188 (am437x@4bfebc466fc7) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)) #0 PREEMPT Sat A2 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: KDCU MSU V1.0 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] cma: Reserved 48 MiB at 0xfcc00000 [ 0.000000] On node 0 totalpages: 524287 [ 0.000000] Normal zone: 1728 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:63 [ 0.000000] HighMem zone: 327679 pages, LIFO batch:63 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM437x ES1.2 (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: 522559 [ 0.000000] Kernel command line: consoleblank=0 no_console_suspend=1 console=ttyS0,115200n8 root=/dev/mmcblk0p2 noinitrd rootwait 4 [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2015600K/2097148K available (8192K kernel code, 325K rwdata, 2148K rodata, 1024K init, 248K bss, 32396K reserv) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] OMAP L2C310: ROM does not support power control setting [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000 [ 0.000000] random: get_random_bytes called from start_kernel+0x2b0/0x458 with crng_init=0 [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000037] OMAP clocksource: timer1 at 24000000 Hz [ 0.000452] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000460] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000910] Console: colour dummy device 80x30 [ 0.000975] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896) [ 0.060179] pid_max: default: 32768 minimum: 301 [ 0.060352] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.060375] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.061191] CPU: Testing write buffer coherency: ok [ 0.061252] CPU0: Spectre v2: using BPIALL workaround [ 0.062069] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.062208] rcu: Hierarchical SRCU implementation. [ 0.073375] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.073750] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.073773] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.076877] pinctrl core: initialized pinctrl subsystem [ 0.078020] NET: Registered protocol family 16 [ 0.079676] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.100499] cpuidle: using governor ladder [ 0.100532] cpuidle: using governor menu [ 0.118410] No ATAGs? [ 0.132773] edma 49000000.edma: TI EDMA DMA engine driver [ 0.134308] iommu: Default domain type: Translated [ 0.135774] SCSI subsystem initialized [ 0.135990] usbcore: registered new interface driver usbfs [ 0.136034] usbcore: registered new interface driver hub [ 0.136079] usbcore: registered new device driver usb [ 0.136609] pps_core: LinuxPPS API ver. 1 registered [ 0.136617] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.136638] PTP clock support registered [ 0.136671] EDAC MC: Ver: 3.0.0 [ 0.138557] clocksource: Switched to clocksource timer1 [ 0.143296] thermal_sys: Registered thermal governor 'fair_share' [ 0.143302] thermal_sys: Registered thermal governor 'bang_bang' [ 0.143316] thermal_sys: Registered thermal governor 'step_wise' [ 0.143321] thermal_sys: Registered thermal governor 'user_space' [ 0.143326] thermal_sys: Registered thermal governor 'power_allocator' [ 0.143947] NET: Registered protocol family 2 [ 0.144276] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.145210] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.145238] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.145297] TCP bind hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.145369] TCP: Hash tables configured (established 8192 bind 8192) [ 0.145543] UDP hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.145565] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.145687] NET: Registered protocol family 1 [ 0.146210] RPC: Registered named UNIX socket transport module. [ 0.146222] RPC: Registered udp transport module. [ 0.146227] RPC: Registered tcp transport module. [ 0.146232] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.147500] Initialise system trusted keyrings [ 0.147775] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.152445] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.153163] NFS: Registering the id_resolver key type [ 0.153200] Key type id_resolver registered [ 0.153206] Key type id_legacy registered [ 0.153246] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.153799] Key type asymmetric registered [ 0.153809] Asymmetric key parser 'x509' registered [ 0.153857] bounce: pool size: 64 pages [ 0.153902] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.154099] io scheduler mq-deadline registered [ 0.154113] io scheduler kyber registered [ 0.158348] OMAP GPIO hardware version 0.1 [ 0.183069] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.217479] pinctrl-single 44e10800.pinmux: 199 pins, size 796 [ 0.246286] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.249423] omap8250 44e09000.serial: No clock speed specified: using default: 48000000 [ 0.250075] printk: console [ttyS0] disabled [ 0.250173] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 66, base_baud = 3000000) is a 8250 [ 0.864636] printk: console [ttyS0] enabled [ 0.869504] omap8250 48022000.serial: No clock speed specified: using default: 48000000 [ 0.878145] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 72, base_baud = 3000000) is a 8250 [ 0.887503] omap8250 48024000.serial: No clock speed specified: using default: 48000000 [ 0.896190] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 73, base_baud = 3000000) is a 8250 [ 0.905548] omap8250 481a6000.serial: No clock speed specified: using default: 48000000 [ 0.914222] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 80, base_baud = 3000000) is a 8250 [ 0.923536] omap8250 481a8000.serial: No clock speed specified: using default: 48000000 [ 0.932154] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 81, base_baud = 3000000) is a 8250 [ 0.941469] omap8250 481aa000.serial: No clock speed specified: using default: 48000000 [ 0.950135] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 82, base_baud = 3000000) is a 8250 [ 0.961216] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 0.968794] random: fast init done [ 0.972450] crng init done [ 0.984316] brd: module loaded [ 0.996254] loop: module loaded [ 1.058591] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.067307] Probing for 175d address: 4 [ 1.072130] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver ICPlus IP175D [ 1.080799] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver unknown [ 1.089166] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 1.095554] cpsw 4a100000.ethernet: ALE Table size 1024 [ 1.100973] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies) [ 1.108186] cpsw 4a100000.ethernet: Detected MACID = e0:ff:f1:ae:fc:bb [ 1.115528] cpsw 4a100000.ethernet: cpsw: Detected MACID = e0:ff:f1:ae:fc:bd [ 1.123490] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.131024] usbcore: registered new interface driver cdc_acm [ 1.136712] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.146818] omap_rtc 44e3e000.rtc: char device (253:0) [ 1.146837] omap_rtc 44e3e000.rtc: registered as rtc0 [ 1.152220] i2c /dev entries driver [ 1.159510] /cpus/cpu@0: unsupported enable-method property: ti,am4372 [ 1.166607] sdhci: Secure Digital Host Controller Interface driver [ 1.172859] sdhci: Copyright(c) Pierre Ossman [ 1.178364] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22) [ 1.187144] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.199149] omap_gpio 481ae000.gpio: Could not set line 15 debounce to 200000 microseconds (-22) [ 1.207980] omap_hsmmc 481d8000.mmc: Got CD GPIO [ 1.219186] omap_hsmmc 47810000.mmc: RX DMA channel request failed [ 1.225671] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.232737] ledtrig-cpu: registered to indicate activity on CPUs [ 1.241789] NET: Registered protocol family 10 [ 1.247475] Segment Routing with IPv6 [ 1.251361] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.257931] NET: Registered protocol family 17 [ 1.262553] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if . [ 1.275647] 8021q: 802.1Q VLAN Support v1.8 [ 1.279912] Key type dns_resolver registered [ 1.284373] omap_voltage_late_init: Voltage driver support not added [ 1.291260] Loading compiled-in X.509 certificates [ 1.341278] tps6521x_pwrbutton tps65218-pwrbutton.1.auto: DMA mask not set [ 1.349000] input: tps65218_pwrbutton as /devices/platform/44000000.ocp/44c00000.interconnect/44c00000.interconnect:segment@2000000 [ 1.383089] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz [ 1.390021] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz [ 1.396509] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 400 kHz [ 1.404873] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22) [ 1.413739] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.445472] omap_gpio 481ae000.gpio: Could not set line 15 debounce to 200000 microseconds (-22) [ 1.454363] omap_hsmmc 481d8000.mmc: Got CD GPIO [ 1.490925] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800) [ 1.503046] Waiting for root device /dev/mmcblk0p2... [ 1.559188] mmc0: new high speed MMC card at address 0001 [ 1.565957] mmcblk0: mmc0:0001 eMMC 3.64 GiB [ 1.571167] mmcblk0boot0: mmc0:0001 eMMC partition 1 4.00 MiB [ 1.577633] mmcblk0boot1: mmc0:0001 eMMC partition 2 4.00 MiB [ 1.583915] mmcblk0rpmb: mmc0:0001 eMMC partition 3 4.00 MiB, chardev (246:0) [ 1.595873] mmcblk0: p1 p2 p3 [ 1.629507] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.637116] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.646371] Freeing unused kernel memory: 1024K [ 1.651121] Run /sbin/init as init process [ 1.755915] init: Console is alive [ 1.907330] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 1.919515] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 1.937237] init: - preinit - [ 2.169155] cpsw 4a100000.ethernet: initializing cpsw version 1.15 (0) [ 2.178816] Resetting master bus... [ 2.182331] Found my OF Node [ 2.185223] VLAN Setup is 1 [ 2.211175] Full reset performed [ 2.214478] ICPlus IP175D 4a101000.mdio:04: attached PHY driver [ICPlus IP175D] (mii_bus:phy_addr=4a101000.mdio:04, irq=POLL) [ 2.232788] 8021q: adding VLAN 0 to HW filter on device eth0 [ 4.329080] Link is OK [ 4.329089] 100M/Full [ 4.334831] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 4.342952] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.387544] mount_root: mounting /dev/root [ 6.392467] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended [ 6.441853] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 6.449123] urandom-seed: Seeding with /etc/urandom.seed [ 6.493641] cpsw 4a100000.ethernet eth0: Link is Down [ 6.504487] procd: - early - [ 7.268420] procd: - ubus - [ 7.324247] procd: - init - [ 7.706014] kmodloader: loading kernel modules from /etc/modules.d/* [ 7.723668] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 7.743189] remoteproc remoteproc0: wkup_m3 is available [ 7.763233] remoteproc remoteproc0: powering up wkup_m3 [ 7.774403] PM: Cannot get wkup_m3_ipc handle [ 7.785643] urngd: v1.0.2 started. [ 7.803228] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168 [ 7.835756] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 7.842413] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193 [ 7.964901] GACT probability on [ 7.969667] Mirror/redirect action on [ 7.982633] u32 classifier [ 7.985367] input device check on [ 7.993380] Actions configured [ 8.024290] Bridge firewalling registered [ 8.094256] xt_time: kernel timezone is -0000 [ 8.107196] PPP generic driver version 2.4.2 [ 8.113606] NET: Registered protocol family 24 [ 8.125904] kmodloader: done loading kernel modules from /etc/modules.d/* [ 10.145526] xt_CT: No such helper "snmp" [ 11.461674] net eth1: initializing cpsw version 1.15 (0) [ 11.498840] Generic PHY 4a101000.mdio:05: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:05, irq=POLL) [ 11.522203] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off [ 11.535320] 8021q: adding VLAN 0 to HW filter on device eth1 [ 11.561489] net eth1: Adding vlanid 3 to vlan filter [ 11.607591] net eth1: Adding vlanid 4 to vlan filter [ 11.705688] cpsw 4a100000.ethernet: initializing cpsw version 1.15 (0) [ 11.744203] ICPlus IP175D 4a101000.mdio:04: attached PHY driver [ICPlus IP175D] (mii_bus:phy_addr=4a101000.mdio:04, irq=POLL) [ 11.799454] Link is OK [ 11.799459] 100M/Full [ 11.805455] 8021q: adding VLAN 0 to HW filter on device eth0 [ 11.822831] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 11.883931] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 12.768026] xt_CT: No such helper "snmp" [ 13.548417] xt_CT: No such helper "snmp" [ 13.679592] INSCOBEE MSU Starting... [ 13.694267] mount mmcblk0p3 [ 13.930758] EXT4-fs (mmcblk0p3): recovery complete [ 13.944586] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null) [ 14.487828] xt_CT: No such helper "snmp" [ 15.024244] kmcu run... [ 31.848708] vmmcwl_fixed: disabling
Also attached list of /lib/firmware and /lib/modules.
root@INSCOBEE-MSU:/lib/firmware# ll drwxr-xr-x 5 root root 4096 Apr 16 21:59 ./ drwxr-xr-x 11 root root 4096 Apr 16 21:59 ../ -rw-r--r-- 1 root root 2046 Apr 16 21:59 LICENCE.iwlwifi_firmware -rw-r--r-- 1 root root 73 Apr 16 21:59 am335x-bone-scale-data.bin -rw-r--r-- 1 root root 17 Apr 16 21:59 am335x-evm-scale-data.bin -rw-r--r-- 1 root root 217168 Apr 16 21:59 am335x-pm-firmware.elf lrwxrwxrwx 1 root root 49 Apr 16 21:59 am437x-pru0_0-fw ->/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out lrwxrwxrwx 1 root root 49 Apr 16 21:59 am437x-pru0_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out lrwxrwxrwx 1 root root 49 Apr 16 21:59 am437x-pru1_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out lrwxrwxrwx 1 root root 49 Apr 16 21:59 am437x-pru1_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out -rw-r--r-- 1 root root 41 Apr 16 21:59 am43x-evm-scale-data.bin -rw-r--r-- 1 root root 918268 Apr 16 21:59 iwlwifi-3160-17.ucode -rw-r--r-- 1 root root 1745176 Apr 16 21:59 iwlwifi-8000C-13.ucode -rw-r--r-- 1 root root 2351636 Apr 16 21:59 iwlwifi-8000C-16.ucode -rw-r--r-- 1 root root 2394060 Apr 16 21:59 iwlwifi-8000C-21.ucode -rw-r--r-- 1 root root 2120860 Apr 16 21:59 iwlwifi-8000C-22.ucode -rw-r--r-- 1 root root 2227284 Apr 16 21:59 iwlwifi-8000C-27.ucode -rw-r--r-- 1 root root 2310116 Apr 16 21:59 iwlwifi-8000C-31.ucode -rw-r--r-- 1 root root 2448976 Apr 16 21:59 iwlwifi-8000C-34.ucode -rw-r--r-- 1 root root 2428004 Apr 16 21:59 iwlwifi-8000C-36.ucode -rw-r--r-- 1 root root 2389968 Apr 16 21:59 iwlwifi-8265-21.ucode -rw-r--r-- 1 root root 1811984 Apr 16 21:59 iwlwifi-8265-22.ucode -rw-r--r-- 1 root root 2234528 Apr 16 21:59 iwlwifi-8265-27.ucode -rw-r--r-- 1 root root 2307104 Apr 16 21:59 iwlwifi-8265-31.ucode -rw-r--r-- 1 root root 2440780 Apr 16 21:59 iwlwifi-8265-34.ucode -rw-r--r-- 1 root root 2436632 Apr 16 21:59 iwlwifi-8265-36.ucode drwxr-xr-x 2 root root 4096 Apr 16 21:59 pru/ -rw-r--r-- 1 root root 3940 Apr 16 21:59 regulatory.db -rw-r--r-- 1 root root 1182 Apr 16 21:59 regulatory.db.p7s drwxr-xr-x 2 root root 4096 Apr 16 21:59 ti-connectivity/ drwxr-xr-x 2 root root 4096 Apr 16 21:59 ti-pruss/
root@INSCOBEE-MSU:/lib# cd modules/ root@INSCOBEE-MSU:/lib/modules# ls 5.4.188 root@INSCOBEE-MSU:/lib/modules# cd 5.4.188/ root@INSCOBEE-MSU:/lib/modules/5.4.188# ll drwxr-xr-x 2 root root 4096 Apr 16 21:59 ./ drwxr-xr-x 3 root root 4096 Apr 16 21:59 ../ -rw-r--r-- 1 root root 9956 Apr 16 21:59 act_gact.ko -rw-r--r-- 1 root root 14520 Apr 16 21:59 act_mirred.ko -rw-r--r-- 1 root root 10844 Apr 16 21:59 act_skbedit.ko -rw-r--r-- 1 root root 24168 Apr 16 21:59 br_netfilter.ko -rw-r--r-- 1 root root 10968 Apr 16 21:59 cls_basic.ko -rw-r--r-- 1 root root 14736 Apr 16 21:59 cls_flow.ko -rw-r--r-- 1 root root 11160 Apr 16 21:59 cls_fw.ko -rw-r--r-- 1 root root 11516 Apr 16 21:59 cls_matchall.ko -rw-r--r-- 1 root root 12384 Apr 16 21:59 cls_route.ko -rw-r--r-- 1 root root 13268 Apr 16 21:59 cls_tcindex.ko -rw-r--r-- 1 root root 20820 Apr 16 21:59 cls_u32.ko -rw-r--r-- 1 root root 4360 Apr 16 21:59 crc-ccitt.ko -rw-r--r-- 1 root root 5992 Apr 16 21:59 em_ipset.ko -rw-r--r-- 1 root root 3604 Apr 16 21:59 em_u32.ko -rw-r--r-- 1 root root 10232 Apr 16 21:59 ifb.ko -rw-r--r-- 1 root root 17876 Apr 16 21:59 ip17xx.ko -rw-r--r-- 1 root root 21888 Apr 16 21:59 ip6_tables.ko -rw-r--r-- 1 root root 5380 Apr 16 21:59 ip6t_NPT.ko -rw-r--r-- 1 root root 5240 Apr 16 21:59 ip6t_REJECT.ko -rw-r--r-- 1 root root 5644 Apr 16 21:59 ip6table_filter.ko -rw-r--r-- 1 root root 6024 Apr 16 21:59 ip6table_mangle.ko -rw-r--r-- 1 root root 5444 Apr 16 21:59 ip6table_nat.ko -rw-r--r-- 1 root root 42180 Apr 16 21:59 ip_set.ko -rw-r--r-- 1 root root 13592 Apr 16 21:59 ip_set_bitmap_ip.ko -rw-r--r-- 1 root root 13448 Apr 16 21:59 ip_set_bitmap_ipmac.ko -rw-r--r-- 1 root root 12464 Apr 16 21:59 ip_set_bitmap_port.ko -rw-r--r-- 1 root root 34836 Apr 16 21:59 ip_set_hash_ip.ko -rw-r--r-- 1 root root 35004 Apr 16 21:59 ip_set_hash_ipmark.ko -rw-r--r-- 1 root root 35796 Apr 16 21:59 ip_set_hash_ipport.ko -rw-r--r-- 1 root root 36812 Apr 16 21:59 ip_set_hash_ipportip.ko -rw-r--r-- 1 root root 41864 Apr 16 21:59 ip_set_hash_ipportnet.ko -rw-r--r-- 1 root root 21040 Apr 16 21:59 ip_set_hash_mac.ko -rw-r--r-- 1 root root 38740 Apr 16 21:59 ip_set_hash_net.ko -rw-r--r-- 1 root root 40708 Apr 16 21:59 ip_set_hash_netiface.ko -rw-r--r-- 1 root root 41172 Apr 16 21:59 ip_set_hash_netnet.ko -rw-r--r-- 1 root root 40440 Apr 16 21:59 ip_set_hash_netport.ko -rw-r--r-- 1 root root 42696 Apr 16 21:59 ip_set_hash_netportnet.ko -rw-r--r-- 1 root root 14412 Apr 16 21:59 ip_set_list_set.ko -rw-r--r-- 1 root root 21952 Apr 16 21:59 ip_tables.ko -rw-r--r-- 1 root root 5240 Apr 16 21:59 ipt_ECN.ko -rw-r--r-- 1 root root 5172 Apr 16 21:59 ipt_REJECT.ko -rw-r--r-- 1 root root 5604 Apr 16 21:59 iptable_filter.ko -rw-r--r-- 1 root root 5540 Apr 16 21:59 iptable_mangle.ko -rw-r--r-- 1 root root 5436 Apr 16 21:59 iptable_nat.ko -rw-r--r-- 1 root root 5916 Apr 16 21:59 iptable_raw.ko -rw-r--r-- 1 root root 4672 Apr 16 21:59 libcrc32c.ko -rw-r--r-- 1 root root 13900 Apr 16 21:59 nf_conncount.ko -rw-r--r-- 1 root root 122512 Apr 16 21:59 nf_conntrack.ko -rw-r--r-- 1 root root 39260 Apr 16 21:59 nf_conntrack_netlink.ko -rw-r--r-- 1 root root 5428 Apr 16 21:59 nf_defrag_ipv4.ko -rw-r--r-- 1 root root 14668 Apr 16 21:59 nf_defrag_ipv6.ko -rw-r--r-- 1 root root 27320 Apr 16 21:59 nf_flow_table.ko -rw-r--r-- 1 root root 6968 Apr 16 21:59 nf_flow_table_hw.ko -rw-r--r-- 1 root root 8796 Apr 16 21:59 nf_log_common.ko -rw-r--r-- 1 root root 10632 Apr 16 21:59 nf_log_ipv4.ko -rw-r--r-- 1 root root 12284 Apr 16 21:59 nf_log_ipv6.ko -rw-r--r-- 1 root root 37948 Apr 16 21:59 nf_nat.ko -rw-r--r-- 1 root root 5856 Apr 16 21:59 nf_reject_ipv4.ko -rw-r--r-- 1 root root 7452 Apr 16 21:59 nf_reject_ipv6.ko -rw-r--r-- 1 root root 13092 Apr 16 21:59 nfnetlink.ko -rw-r--r-- 1 root root 12684 Apr 16 21:59 pm33xx.ko -rw-r--r-- 1 root root 15732 Apr 16 21:59 ppp_async.ko -rw-r--r-- 1 root root 46724 Apr 16 21:59 ppp_generic.ko -rw-r--r-- 1 root root 20816 Apr 16 21:59 pppoe.ko -rw-r--r-- 1 root root 6052 Apr 16 21:59 pppox.ko -rw-r--r-- 1 root root 37204 Apr 16 21:59 sch_cake.ko -rw-r--r-- 1 root root 23528 Apr 16 21:59 sch_hfsc.ko -rw-r--r-- 1 root root 26060 Apr 16 21:59 sch_htb.ko -rw-r--r-- 1 root root 6972 Apr 16 21:59 sch_ingress.ko -rw-r--r-- 1 root root 13604 Apr 16 21:59 sch_tbf.ko -rw-r--r-- 1 root root 8252 Apr 16 21:59 slhc.ko -rw-r--r-- 1 root root 12784 Apr 16 21:59 wkup_m3_ipc.ko -rw-r--r-- 1 root root 8132 Apr 16 21:59 wkup_m3_rproc.ko -rw-r--r-- 1 root root 30228 Apr 16 21:59 x_tables.ko -rw-r--r-- 1 root root 3752 Apr 16 21:59 xt_CLASSIFY.ko -rw-r--r-- 1 root root 8820 Apr 16 21:59 xt_CT.ko -rw-r--r-- 1 root root 4936 Apr 16 21:59 xt_DSCP.ko -rw-r--r-- 1 root root 10144 Apr 16 21:59 xt_FLOWOFFLOAD.ko -rw-r--r-- 1 root root 4584 Apr 16 21:59 xt_HL.ko -rw-r--r-- 1 root root 4468 Apr 16 21:59 xt_LOG.ko -rw-r--r-- 1 root root 5316 Apr 16 21:59 xt_MASQUERADE.ko -rw-r--r-- 1 root root 4672 Apr 16 21:59 xt_REDIRECT.ko -rw-r--r-- 1 root root 8236 Apr 16 21:59 xt_TCPMSS.ko -rw-r--r-- 1 root root 3604 Apr 16 21:59 xt_comment.ko -rw-r--r-- 1 root root 5440 Apr 16 21:59 xt_connbytes.ko -rw-r--r-- 1 root root 5028 Apr 16 21:59 xt_connlimit.ko -rw-r--r-- 1 root root 6472 Apr 16 21:59 xt_connmark.ko -rw-r--r-- 1 root root 6528 Apr 16 21:59 xt_conntrack.ko -rw-r--r-- 1 root root 4284 Apr 16 21:59 xt_dscp.ko -rw-r--r-- 1 root root 5380 Apr 16 21:59 xt_ecn.ko -rw-r--r-- 1 root root 5032 Apr 16 21:59 xt_helper.ko -rw-r--r-- 1 root root 4148 Apr 16 21:59 xt_hl.ko -rw-r--r-- 1 root root 3848 Apr 16 21:59 xt_length.ko -rw-r--r-- 1 root root 5528 Apr 16 21:59 xt_limit.ko -rw-r--r-- 1 root root 3664 Apr 16 21:59 xt_mac.ko -rw-r--r-- 1 root root 4168 Apr 16 21:59 xt_mark.ko -rw-r--r-- 1 root root 4584 Apr 16 21:59 xt_multiport.ko -rw-r--r-- 1 root root 7312 Apr 16 21:59 xt_nat.ko -rw-r--r-- 1 root root 17536 Apr 16 21:59 xt_recent.ko -rw-r--r-- 1 root root 13720 Apr 16 21:59 xt_set.ko -rw-r--r-- 1 root root 4712 Apr 16 21:59 xt_state.ko -rw-r--r-- 1 root root 4424 Apr 16 21:59 xt_statistic.ko -rw-r--r-- 1 root root 4512 Apr 16 21:59 xt_tcpmss.ko -rw-r--r-- 1 root root 5436 Apr 16 21:59 xt_tcpudp.ko -rw-r--r-- 1 root root 6228 Apr 16 21:59 xt_time.ko
Gcc info on top of OpwnWRT Buildroot RootFS
$ ./arm-openwrt-linux-gcc -v Reading specs from /home/am437x/work/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.4.0/specs COLLECT_GCC=./arm-openwrt-linux-gcc COLLECT_LTO_WRAPPER=/home/am437x/work/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/libexec/gcc/arm-openwrt-linux-muslgnueabi/8.4.0/lto-wrapper Target: arm-openwrt-linux-muslgnueabi Configured with: /home/am437x/work/openwrt/build_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/gcc-8.4.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 8.4.0 r16554-1d4dea6d4f' --prefix=/home/am437x/work/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-openwrt-linux-muslgnueabi --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --disable-libssp --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-gmp=/home/am437x/work/openwrt/staging_dir/host --with-mpfr=/home/am437x/work/openwrt/staging_dir/host --with-mpc=/home/am437x/work/openwrt/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-__cxa_atexit --disable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --with-cpu=cortex-a9 --with-fpu=vfpv3 --with-float=hard --with-headers=/home/am437x/work/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/am437x/work/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/lib --enable-lto --with-libelf=/home/am437x/work/openwrt/staging_dir/host --disable-libsanitizer Thread model: posix gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)
Could you please help to solve this rtcwake failure on custom bootloader and kernel combination?
Regards,
Jack