mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-12 23:03:29 +08:00
97fbd80efe
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>
7 lines
324 B
Bash
Executable File
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
|