How to solve the problem that boot2 cannot generate bitstream #547
Unanswered
zhyxu
asked this question in
Bare metal embedded software
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
11:24:26 DEBUG - Looking for ELF file in the work directory.
11:24:26 DEBUG - ELF file found: "mpfs-mmuart-interrupt.elf".
11:24:26 INFO - Selected boot mode "2 - user secure boot from sNVM" and working in directory "D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release".
11:24:26 DEBUG - Workdir=D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release die=MPFS250T_ES diePackage=FCVG484 bm=2 - user secure boot from sNVM verify=false elf=mpfs-mmuart-interrupt.elf
11:24:26 DEBUG - Invoking command: "C:\Microchip\Libero_SoC_v2024.1\Designer\bin64\fpgenprog.exe new_project --location D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/fpgenprogProject --target_die MPFS250T_ES --target_package FCVG484".
11:24:26 DEBUG - Finished with exit code: "0".
11:24:26 INFO - Generating BIN file...
11:24:26 DEBUG - Invoking command: "C:\Microchip\SoftConsole-v2022.2-RISC-V-747/riscv-unknown-elf-gcc/bin/riscv64-unknown-elf-objcopy.exe --version".
11:24:26 DEBUG - Finished with exit code: "0".
11:24:26 DEBUG - Invoking command: "C:\Microchip\SoftConsole-v2022.2-RISC-V-747/riscv-unknown-elf-gcc/bin/riscv64-unknown-elf-objcopy.exe -O binary D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/mpfs-mmuart-interrupt.elf D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/mpfs-mmuart-interrupt.bin ".
11:24:26 DEBUG - Finished with exit code: "0".
11:24:26 DEBUG - Size of the BIN file is "20128 (decimal)" or "0x00004EA0 (hex)".
11:24:26 DEBUG - Invoking command: "C:\Microchip\SoftConsole-v2022.2-RISC-V-747/riscv-unknown-elf-gcc/bin/riscv64-unknown-elf-readelf.exe --program-headers D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/mpfs-mmuart-interrupt.elf ".
11:24:26 DEBUG - Finished with exit code: "0".
11:24:26 DEBUG - Entry point 0x8000000
11:24:26 DEBUG - The detected entry address is "8000000".
11:24:26 WARN - Ensure that --snvm_page, --usk and boot mode 2 program image size align correctly with the sNVM usage in the target design's Libero project.
11:24:26 INFO - Generating HEX file...
11:24:26 DEBUG - Invoking command: "C:\Microchip\SoftConsole-v2022.2-RISC-V-747/riscv-unknown-elf-gcc/bin/riscv64-unknown-elf-objcopy.exe -I binary -O ihex D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/mpfs-mmuart-interrupt-bm2-p1-ap.bin D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/mpfs-mmuart-interrupt-bm2-p1-ap.hex ".
11:24:26 DEBUG - Finished with exit code: "0".
11:24:26 INFO - Preparing for bitstream generation...
11:24:26 DEBUG - Invoking command: "C:\Microchip\Libero_SoC_v2024.1\Designer\bin64\fpgenprog.exe mss_boot_info --location D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/fpgenprogProject --u_mss_bootmode 2 --u_mss_bootcfg 000000007195FA5A48CBDFF2CA36599A00000001".
11:24:26 DEBUG - Finished with exit code: "0".
11:24:26 DEBUG - Invoking command: "C:\Microchip\Libero_SoC_v2024.1\Designer\bin64\fpgenprog.exe snvm_client --location D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/fpgenprogProject --number_of_bytes 20188 --content_file_format intel-hex --content_file D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/mpfs-mmuart-interrupt-bm2-p1-ap.hex --start_page 1 --client_name bootmode2 --usk_key 7195FA5A48CBDFF2CA36599A --authenticated --mem_file_base_address 08000000 --fabric_access_read 0 --fabric_access_write 0 --mss_access_read 1 --mss_access_write 0".
11:24:27 DEBUG - Finished with exit code: "0".
11:24:27 INFO - Generating bitstream...
11:24:27 DEBUG - Invoking command: "C:\Microchip\Libero_SoC_v2024.1\Designer\bin64\fpgenprog.exe generate_bitstream --location D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/fpgenprogProject".
11:24:27 ERROR - Error: Failed to generate sNVM EFC from CFG. Return code = 1
11:24:27 DEBUG - Finished with exit code: "1".
11:24:27 INFO - Info: sNVM Master Key must be initialized because sNVM is configured with Authenticated or Cipher clients.
The sNVM configuration has the following validation errors:
The SNVM configuration has the following errors:
Error : Client Name bootmode2 ,Authenticated Plain Text and CipherText Clients are supported only for Secure Polarfire/RTPF devices.
11:24:27 ERROR - Generation of the bitstream file in the project folder "D:\workspace\work_space_new\mpfs-mmuart-interrupt\LIM-Release/bootmode2/fpgenprogProject" failed.
softconsole use boot2 Error: Failed to generate sNVM EFC from CFG. Return code = 1
Beta Was this translation helpful? Give feedback.
All reactions