Intel N6001 FIM not compiling due to script failing
Hey @khtan,
I am done testing the N6000 card, and wanted to test the N6001 design in the N6000 card without enabling the E810 Controller. Hence I started building and compiling the N6001 design, but the script fails.
Traceback (most recent call last):
File "/usr/bin/afu_json_mgr", line 5, in <module>
from packager.tools.afu_json_mgr import main
File "/usr/lib/python3/dist-packages/packager/tools/afu_json_mgr.py", line 35, in <module>
from packager.utils.afu import AFU
File "/usr/lib/python3/dist-packages/packager/utils/afu.py", line 37, in <module>
from jsonschema import validators
ModuleNotFoundError: No module named 'jsonschema'
Error: "afu_json_mgr json-info --afu-json=/home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/pim/dummy_afu/dummy_afu.json --verilog-hdr=../hw/afu_json_info.vh" failed
Copying build from /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build...
Configuring Quartus build directory: afu/build
Error running /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/build_fim.sh
Exit code: 1
Below is the attached log file, any ideas as to what can be done are deeply appreciated.
Thank you,
Best Regards.
Hi ,
I'm sorry for the delay in replying, didn't notice the my reply got saved in draft and didn't sent out before our public holiday.
Anyway, just copied back what I wrote
Talked to one of the our technical experts on the flashing N6001 to N6000, he mentioned should be possible if not using E810 controller. Here's some differences between those 2.
However, we have never tested this combination before on actual hardware, so it is just theoretical in nature it might be working
I have a look into the logs and notice that you used
1st log
You shouldn't use the ofs-common/scripts/common/syn/build_top.sh , instead you should use the one under /syn/scripts/build_fim_top.sh -p n6001 work_n6001 instead. In certain version they renamed the build_top.sh to build_fim_top.sh to build the one in otcshare to avoid confusion because the release version uses build_top.sh
The guide to build the fim is located here (https://github.com/otcshare/intel-ofs-docs/blob/main/n600x/dev_guides/fim_dev/ug_dev_fim_ofs_n600x_beta3.2.md#432-compiling-the-base-fim2x4x25g) .
Could you try building this on your end? I've also setup my station here to build it , but it will take like 5-6 hours to build
As for the ethernet part, are you referring to the guide over here on testing the ethernet?
I also noticed you submitted an IPS case on the build issue on Agilex7 pcie attach compilation as well, but i will reply there, mainly to get the command you used to generate as release version have different build commands.
Thanks
Regards
kian