init_jtag.sh 1.46 KB
Newer Older
1 2 3
#!/bin/sh
#mkdir -p /lib/modules
#ln -sf /usr/local/lib /lib/modules/4.0.0-xilinx
Andrey Filippov's avatar
Andrey Filippov committed
4
#insmod /usr/local/lib/fpgajtag.ko
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#mknod  -m 0666 /dev/fjtag              c 132   2
mknod  -m 0666 /dev/fpgaresetjtag      c 132   0
mknod  -m 0666 /dev/jtagraw            c 132   0
mknod  -m 0666 /dev/fpgaconfjtag       c 132   1
mknod  -m 0666 /dev/sfpgaconfjtag      c 132   2
mknod  -m 0666 /dev/afpgaconfjtag      c 132   3
#mknod  -m 0666 /dev/fpgabscan          c 132   5 
#mknod  -m 0666 /dev/sfpgabscan         c 132   6
#mknod  -m 0666 /dev/afpgabscan         c 132   7

mknod  -m 0666 /dev/sfpgaconfjtag0     c 132   8
mknod  -m 0666 /dev/sfpgaconfjtag1     c 132   9
mknod  -m 0666 /dev/sfpgaconfjtag2     c 132   10
mknod  -m 0666 /dev/sfpgaconfjtag3     c 132   11

mknod  -m 0666 /dev/sfpgabscan0        c 132   12
mknod  -m 0666 /dev/sfpgabscan1        c 132   13
mknod  -m 0666 /dev/sfpgabscan2        c 132   14
mknod  -m 0666 /dev/sfpgabscan3        c 132   15


#	@$(MKNOD) -m 0666           $(DEV)/fpgaresetjtag      c 132   0
#	@$(MKNOD) -m 0666           $(DEV)/jtagraw            c 132   0
#	@$(MKNOD) -m 0666           $(DEV)/fpgaconfjtag       c 132   1
#	@$(MKNOD) -m 0666           $(DEV)/sfpgaconfjtag      c 132   2
#	@$(MKNOD) -m 0666           $(DEV)/afpgaconfjtag      c 132   3
#	@$(MKNOD) -m 0666           $(DEV)/fpgabscan          c 132   5
#	@$(MKNOD) -m 0666           $(DEV)/sfpgabscan         c 132   6
#	@$(MKNOD) -m 0666           $(DEV)/afpgabscan         c 132   7