firesim / firesim

FireSim: Fast and Effortless FPGA-accelerated Hardware Simulation with On-Prem and Cloud Flexibility
https://fires.im
Other
840 stars 218 forks source link

Unable to buildroot on quad rocket core without NIC #1695

Closed RealJustinNi closed 4 months ago

RealJustinNi commented 4 months ago

Background Work

FireSim Version and Hash

1.18.0-0-g535dcdc29

OS Setup

Linux cas4et-workstation 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

Other Setup

Running on a single A200. Using the below build recipe configuration and build bit-stream successfully.

alveo_u200_firesim_rocket_quadcore_no_nic_l2_llc4mb_ddr3: PLATFORM: xilinx_alveo_u200 TARGET_PROJECT: firesim DESIGN: FireSim TARGET_CONFIG: DDR3FRFCFSLLC4MB_WithDefaultFireSimBridges_WithFireSimTestChipConfigTweaks_chipyard.QuadRocketConfig PLATFORM_CONFIG: BaseXilinxAlveoU200Config deploy_quintuplet: null platform_config_args: fpga_frequency: 140 build_strategy: TIMING post_build_hook: null metasim_customruntimeconfig: null bit_builder_recipe: bit-builder-recipes/xilinx_alveo_u200.yaml

Current Behavior

Hangs forever here. 微信图片_20240303234024

Expected Behavior

Boot linux successfully, waiting for me to login using root.

Other Information

Single rocket core with gemmini runs fine on A200 using the below configuration. alveo_u200_firesim_gemmini_rocket_singlecore_no_nic: PLATFORM: xilinx_alveo_u200 TARGET_PROJECT: firesim DESIGN: FireSim TARGET_CONFIG: FireSimLeanGemminiRocketConfig PLATFORM_CONFIG: BaseXilinxAlveoConfig deploy_quintuplet: null platform_config_args: fpga_frequency: 60 build_strategy: TIMING post_build_hook: null metasim_customruntimeconfig: null bit_builder_recipe: bit-builder-recipes/xilinx_alveo_u200.yaml

RealJustinNi commented 4 months ago

I program the configuration memory device using the steps in https://docs.fires.im/en/stable/Getting-Started-Guides/On-Premises-FPGA-Getting-Started/Initial-Setup/Xilinx-Alveo-U250.html#install-your-fpga-s each time I build a new workload and the uniform-linux boots successfully. So each time running firesim simulation with customed built workload on local FPGA,programming the configuration memory device & cold reboot is essential.