| 54 | | **Note:** Activating these lines is yet to be implemented in software. |
| | 54 | You can use the following script to assert PERST# for PEM0, PEM1, or PEM2 on a Newport board: |
| | 55 | {{{#!bash |
| | 56 | #/bin/sh |
| | 57 | PEM=$1 |
| | 58 | |
| | 59 | [ "$PEM" -ge 0 -a "$PEM" -le 2 ] || { |
| | 60 | echo "Error: $0 [0|1|2]" |
| | 61 | exit 1 |
| | 62 | } |
| | 63 | RST_SOFT_PRST=$((0x87e0060016c0 + $((1*8)) )) |
| | 64 | printf "PEM%d 0x%x\n" $PEM $RST_SOFT_PRST |
| | 65 | |
| | 66 | devmem2 $RST_SOFT_PRST b 1 # assert low |
| | 67 | sleep 1 |
| | 68 | devmem2 $RST_SOFT_PRST b 0 # assert high |
| | 69 | }}} |
| | 70 | |
| | 71 | The following table shows the mapping of the three CN80XX PEM's to miniPCIe socket: |
| | 72 | ||= Board =||= PEM =||= miniPCIe Socket =||= Notes =|| |
| | 73 | || GW610x || PEM2 || J6 || Provides USB2 as well as PCIe, mSATA, or USB3 (see [wiki:newport/bootloader/#hwconfig hwconfig]) || |
| | 74 | || GW620x || PEM0 || J6 || Provides USB2 as well as PCIe, mSATA, or USB3 (see [wiki:newport/bootloader/#hwconfig hwconfig]) || |
| | 75 | || || PEM2 || J8 || Provides USB2 and PCIe || |
| | 76 | || GW630x || PEM0 || J9 || Provides USB2 and PCIe || |
| | 77 | || || PEM1 || J11 || Provides USB2 as well as PCIe or USB3 (see [wiki:newport/bootloader/#hwconfig hwconfig]) || |
| | 78 | || || PEM2 || J10 || Provides USB2 and PCIe or mSATA (see [wiki:newport/bootloader/#hwconfig hwconfig]) || |
| | 79 | || GW640x || PEM0 || J9 || Provides USB2 and PCIe || |
| | 80 | || || PEM1 || J11 || Provides USB2 and PCIe || |
| | 81 | || || PEM2 || J10 || Provides USB2 and PCIe or mSATA (see [wiki:newport/bootloader/#hwconfig hwconfig]) || |
| | 82 | || || N/A || J12 || Provides USB2 and USB3 (PERST# is floating and not driven - no way to reset) || |
| | 83 | |
| | 84 | |