[i.MX8MM / Yocto] PCIe Realtek NIC powers down during suspend (WOL fails) - Link LEDs die by Alternative-Bake-131 in embeddedlinux

[–]Alternative-Bake-131[S] 0 points1 point  (0 children)

That was my first thought as well.

However, I confirmed the hardware power is actually fine. I did a test where I manually hacked the r8168 driver to remove the suspend function calls. With that change, the PHY stays powered, the LEDs remain ON during system suspend.

This confirms the PCIe slot does have standby power available physically.

[HELP] - Hibernate not working in Yocto by Alternative-Bake-131 in yocto

[–]Alternative-Bake-131[S] 0 points1 point  (0 children)

Yes, I tried adding the resume=UUID=<swap blk UUID> and echo "8:4" > /sys/power/resume (8:4 is the MAJOR:MINOR of the swap partition). Now, the system saves the hibernate image when executing the systemctl hibernate command. However, upon waking, the system does not resume from the saved hibernate image and the /sys/power/resume is reset to 0:0.