Weekly Progress Report: Suspend to Disk support on BeaglePlay AM62

This is a place holder for weekly status report on Suspend to Disk support on BeaglePlay.
This is not a part of GSoC 2023.

Week 1 progress report - May 1st 2023

Tasks Completed

  1. Study of BeaglePlay HW - Overview, Specification and feature of HW.
  2. Study of TI AM62X TRM chapters related to SoC overview and PRCM.
  3. BeaglePlay HW setup - Booting with Default Debian image beagleplay-emmc-flasher-debian-11.6-xfce-arm64-2023-03-10-10gb.img

Tasks for Week 2
SW setup

  1. Mainline Linux kernel 6.4.rc1 build and boot.
  2. u-boot, ATF OPTEE
1 Like

**Week 2-3 progress report - May 15
Tasks Completed

  1. Build and boot of u-boot and mainline Linux 6.4.x on BeaglePlay
  2. tested basic pm_test for suspend to RAM and shared the findings.
  3. Started Going through Suspend to RAM to understand the driver PM callback implementation.
1 Like

Week 4 progress report - May 22 2023
Tasks Completed

  1. Study of basic Driver PM suspend resume callbacks implementation related to suspend to RAM.
  2. Study of eMMC partitioning in order to create the partition for hibernation snapshot.
  3. Study of SoC sleep-wakeup sequencing.
  4. Started with study of hibernation specific call backs i.e. .freeze and .thaw.

Tasks for next week.

  1. study of hibernation specific call backs i.e. .freeze and .thaw.
  2. identify required changes in driver PM callbacks and start implementation of basic peripherals from skeleton device tree.
  3. To start with, we will create the SD card partition to store the hibernation snapshot.
1 Like

Week 5 progress report - May 29 2023

Tasks Completed

  1. study of hibernation specific call backs i.e. .freeze, .thaw, .poweroff and .restore
  2. Ported skeleton dts on beaglePlay. HW is booting with minimal dts. Hibernation will be enabled 1st on this dts. Once hibernation infra with sleep and wake-up is working, additional peripherals will be added.
  3. Created the SD card partition to store the hibernation snapshot. testing and debugging is in progress.

Tasks for next week.

  1. add, test and debug Hibernation with skeleton dts
    with snapshot image on SD. wake-up and sleep should work with this.
1 Like

Week 6 progress report - June 5 2023
Tasks completed

  1. Tested Hibernation and wake-up with skeleton dts.
  2. Hibernation snapshot image creation and store are working. Also wake-up using snapshot image is working. However, the current didn’t drop and power-off was not working.
  3. Applied sys-off patch which has shutdown support. Also flashed the latest FW 9.0.4.
    with this setup and skeleton dts, the hibernation, shutdown and wake-up using power button are working. VDD_3V3 is off , but need to check other voltage rails.

Tasks for next week.

  1. Add additional peripherals to skeleton dts and check for hibernation, wake-up.
  2. Debug issues related to hibernation and wake-up for new peripherals.
  3. Add hibernation, wake-up support if required to drivers and test.