buildroot/package/am33x-cm3/S93-am335x-pm-firmware-load
Anders Darander 97fbd80efe am33x-cm3: add FW for suspend/resume
Without this firmware, the beaglebone won't be able to suspend/resume
correctly.

[Peter: tweak Config.in, rename init script, wrap long lines]
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 22:49:11 +02:00

7 lines
324 B
Bash
Executable File

#!/bin/sh
# Load the PM CM3 firmware
echo 1 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data
echo 0 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading