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.
Dear All,
I am using beagle bone black with OS " Linux version 3.12.10-ti2013.12.01", I want to use rtcwake command, if I go and check in "/sys/class/rtc/rtc0/" I culdn't see rtcwake over there.
Can any one please suggest me, how can I enable rtcwake in abobe kernel?
Thanks in advance,
Hi,
On my BBB i use the SDK7.0 (3.12 kernel) built as follows:
x0155517@mms:~/Sitara/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$ make tisdk_am335x-evm_defconfig
x0155517@mms:~/Sitara/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$ make -j4
Device tree node is unmodified (located in am33xx.dtsi):
rtc@44e3e000 {
compatible = "ti,da830-rtc";
reg = <0x44e3e000 0x1000>;
interrupts = <75
76>;
ti,hwmods = "rtc";
clocks = <&clk_32768_ck>;
clock-names = "fck";
};
On my Starter Kit, I use the SDK8.0 (kernel 3.14) prebuilt images.
The rtcwake command is invoked as shown bellow:
root@am335x-evm:~# rtcwake -d /dev/rtc0 -m <Standby mode: mem or standby> -s <number of seconds>
Example:
root@am335x-evm:~# rtcwake -d /dev/rtc0 -m mem -s 2
wakeup from "mem" at Tue Apr 1 04:29:06 2014
[ 78.031861] PM: Syncing filesystems ... done.
[ 78.043226] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 78.051742] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 78.060674] Suspending console(s) (use no_console_suspend to debug)
[ 78.071081] PM: suspend of devices complete after 3.284 msecs
[ 78.071581] PM: late suspend of devices complete after 0.486 msecs
[ 78.072209] PM: noirq suspend of devices complete after 0.611 msecs
[ 78.072271] PM: Successfully put all powerdomains to target state
[ 78.072271] PM: Wakeup source RTC Alarm
[ 78.086415] PM: noirq resume of devices complete after 14.097 msecs
[ 78.086906] PM: early resume of devices complete after 0.353 msecs
[ 78.087405] net eth0: initializing cpsw version 1.12 (0)
[ 78.089518] net eth0: phy found : id is : 0x7c0f1
[ 78.197108] PM: resume of devices complete after 110.179 msecs
[ 78.256912] Restarting tasks ... done.
root@am335x-evm:~#
Best Regards,
Yordan
Hi,
Informing you that I am using beagle bone black, even though i am using default images, rtcwake node is not populating and still it's giving same error.
Please check