summaryrefslogtreecommitdiffstats
path: root/package/am33x-cm3/S93-am335x-pm-firmware-load
blob: 56c17b334dff8285c465335beabb2a76b157fe74 (plain)
1
2
3
4
5
6
#!/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
OpenPOWER on IntegriCloud