Advertisement
Guest User

Untitled

a guest
Jul 17th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.62 KB | None | 0 0
  1.  
  2. When I try and sign the bitstream of this version of my aocx, it just stops running partway through. There was very few changes made to the kernel before compiling, so I'm not sure what's wrong
  3.  
  4. kmellen@npsw6:~/pannotia/graph_app/prk$ $AOCL_BOARD_PACKAGE_ROOT/linux64/libexec/sign_aocx.sh -H openssl_manager -i kernel_single_unsigned2.aocx -r NULL -k NULL -o kernel_single_fpga.aocx
  5. The script assumes the PACsign and Intel Acceleration Stack environment is setup. If not run the command : <stack_installation_path>/init_env.sh
  6. hsm_manager=openssl_manager
  7. aocx filename/path=kernel_single_unsigned2.aocx
  8. root_public_key=NULL
  9. csk_public_key=NULL
  10. output filename/path=kernel_single_fpga.aocx
  11. null=1
  12. openssl hsm_manager_options=openssl_manager
  13. input path =.
  14. input filename =kernel_single_unsigned2.aocx
  15. output path =.
  16. output filename =kernel_single_fpga.aocx
  17. Extracted the filename as kernel_single_fpga
  18. kmellen@npsw6:~/pannotia/graph_app/prk$
  19.  
  20.  
  21. This is what it normally looks like when I try to sign it.
  22. kmellen@npsw6:~/pannotia/graph_app/prk$ $AOCL_BOARD_PACKAGE_ROOT/linux64/libexec/sign_aocx.sh -H openssl_manager -i kernel_single_unsigned.aocx -r NULL -k NULL -o kernel_single_fpga.aocx
  23. The script assumes the PACsign and Intel Acceleration Stack environment is setup. If not run the command : <stack_installation_path>/init_env.sh
  24. hsm_manager=openssl_manager
  25. aocx filename/path=kernel_single_unsigned.aocx
  26. root_public_key=NULL
  27. csk_public_key=NULL
  28. output filename/path=kernel_single_fpga.aocx
  29. null=1
  30. openssl hsm_manager_options=openssl_manager
  31. input path =.
  32. input filename =kernel_single_unsigned.aocx
  33. output path =.
  34. output filename =kernel_single_fpga.aocx
  35. Extracted the filename as kernel_single_fpga
  36. 1. Extracted the bin from the aocx
  37. 2. Extracted the gzip compressed GBS file from the .bin
  38. gzip: temp_kernel_single_fpga.gbs already exists; do you wish to overwrite (y or n)? y
  39. 3. Uncompressed .gz it to get the GBS file
  40. Initiating PACSign tool to sign the GBS. This process will take a couple of minutes...
  41. Creating unsigned aocx file by signing a NULL key
  42. No root key specified.  Generate unsigned bitstream? Y = yes, N = no: y
  43. No CSK specified.  Generate unsigned bitstream? Y = yes, N = no: y
  44. 4. Signed the GBS
  45. gzip: signed_kernel_single_fpga.gbs.gz already exists; do you wish to overwrite (y or n)? y
  46. 5. Compressed the gbs file
  47. 6. Added the signed gzip file to fpga.bin
  48. 7. Added the fpga.bin file back into aocx file
  49. The signed file kernel_single_fpga.aocx has been generated. Use the command aocl program <device_name> <filename>.aocx to program it on the FPGA card
  50. kmellen@npsw6:~/pannotia/graph_app/prk$ make fpga_s_re
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement