Andrew Neyland | cf8f746 | 2023-09-06 14:42:07 -0500 | [diff] [blame] | 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 | ||||
6 | devmem 0x80fc0230 8 0x1 | ||||
7 | # clear previous reset reason | ||||
8 | devmem 0x80000074 16 0x0 | ||||
9 | # Release the Soc | ||||
10 | currentVal=$(devmem 0xD100011A 8) | ||||
11 | currentVal=$(( currentVal | 1 << 3 )) | ||||
12 | devmem 0xD100011A 8 "0x""${currentVal}" |