mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03:00
m1/jtag-boot/: moved explanation from mkboot to README and added more details
This commit is contained in:
@@ -9,20 +9,11 @@
|
||||
#
|
||||
# bitstream file magic, copied from xilinx_bitstream.c:xlx_bitstream_load_bit
|
||||
#
|
||||
# here is the source:
|
||||
# http://urjtag.git.sourceforge.net/git/gitweb.cgi?p=urjtag/urjtag;a=blob_plain;f=urjtag/src/pld/xilinx_bitstream.c;hb=HEAD
|
||||
#
|
||||
|
||||
print pack("C*",
|
||||
0x00, 0x09, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0,
|
||||
0x0f, 0xf0, 0x00, 0x00, 0x01);
|
||||
|
||||
#
|
||||
# "bitstream" according to Table 7-1 (page 126) of
|
||||
# http://www.xilinx.com/support/documentation/user_guides/ug380.pdf
|
||||
#
|
||||
# and the M1 standby bitstream:
|
||||
# https://github.com/milkymist/milkymist/blob/master/boards/milkymist-one/standby/standby.v#L205
|
||||
#
|
||||
# The 0xffff dummy and the 0x2000 NOP seem to be unnecessary in this case,
|
||||
# so we omit them.
|
||||
|
||||
Reference in New Issue
Block a user