1#!/bin/sh 2# A power up request has been made we must setup the system properly 3# the machine needs to get out of Hold too 4 5# We need to enable UART PortA 6devmem 0x80fc0230 8 0x1 7# clear previous reset reason 8devmem 0x80000074 16 0x0 9# Release the Soc 10currentVal=$(devmem 0xD100011A 8) 11currentVal=$(( currentVal | 1 << 3 )) 12devmem 0xD100011A 8 "0x""${currentVal}" 13