mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-22 18:21:08 +02:00
d433f73101
Untested :-)
19 lines
369 B
Bash
Executable File
19 lines
369 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# lockmost - lock standby, soc-rescue, bios-rescue, splash-rescue, and
|
|
# flickernoise-rescue, but leave standby unlocked
|
|
#
|
|
|
|
jtag -q <<EOF
|
|
cable milkymist
|
|
detect
|
|
instruction CFG_OUT 000100 BYPASS
|
|
instruction CFG_IN 000101 BYPASS
|
|
pld load fjmem.bit
|
|
initbus fjmem opcode=000010
|
|
frequency 6000000
|
|
detectflash 0
|
|
endian big
|
|
lockflash 0xa0000 50
|
|
EOF
|