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.

Linux/AM3358: Am335x

Part Number: AM3358

Tool/software: Linux

Hi

   I am using meta-.ti layer build for  beaglebone in my project. I need help on lowpower mode RTC-only,and hibernate .Wheather beaglebone will support rtc-only mode and hibernate ? 

In Kernel Log ,i have got below error.

      PM : boot loader does not support rtc-only mode 

4.9.13 - Kernel version used in this.

  • In suspend to disk ,processor went to suspend mode but it not resuming from later . It boots from bootloader '
  • For RTC only mode , i have commented ti,pmic-shutdown controller in kernel device tree.. While booting i have got above error
  • From Bootloader , i have enabled SPL_CONFIG_RTC_ONLY_SUPPORT ,this also not helps for me.
  • can you explain how to test suspend to disk and RTC only mode .

 Regards

Rajalakshmi A

  • Hi,

    Here are my suggestions.
    Try:
    root@am335x-evm:~# root@am335x-evm:~# echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode
    root@am335x-evm:~# echo mem > /sys/power/state
    [ 251.460847] PM: Syncing filesystems ... done.
    [ 252.189469] Freezing user space processes ... [ 252.195715] Freezing remaining freezable tasks ... (elapsed 0.005 seconds) done.
    [ 252.201025] Suspending console(s) (use no_console_suspend to debug)

    As for the boot warning PM : boot loader does not support rtc-only mode , try adding regulator-suspend-enable; in dcdc3 subnode of your tps, something like:

    &tps {
    regulators {
    dcdc1_reg: regulator@0 {
    regulator-name = "vdds_dpr";
    regulator-always-on;
    };

    dcdc2_reg: regulator@1 {
    /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1351500>;
    regulator-boot-on;
    regulator-always-on;
    };

    dcdc3_reg: regulator@2 {
    /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    regulator-name = "vdd_core";
    + regulator-suspend-enable;
    regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1150000>;
    regulator-boot-on;
    regulator-always-on;
    };
    And see if you'll be able to get it working.

    Best Regards,
    Yordan
  • Hi
    Thanks for your suggestion . I have enabled regulator -suspend-enable in tps section ,but the problem still persist.. Please tell me how to test rtc only mode in am335x
  • Hi
    i am getting clock pulse t in 32khz crystall after enabling off-mode . Using RTC wake command ,rtcwake -s 10 -m off i given .. Processor gets poweroff. But it is not wakeup after time period. Is there anything else i am missing.. In kernel boot msg i am getting Bootloader does not support RTC-ONLY mode error is showing after adding suspend,enable-on in dcdc3-regulator in tps section .
    Any kernel patch is required for meta-ti kernel additionally ?