aws / aws-fpga-f1-u200

Other
6 stars 4 forks source link

Machine with Alveo U200 fails to boot with the bitstream converted to MCS #5

Open tianrui-wei opened 2 years ago

tianrui-wei commented 2 years ago

Hi Kishore,

Recently, we tried to convert the generated bitstream to .mcs file and flash it in the QSPI flash inside Alveo U200. However, this made the entire machine fail to boot until we reverted to the stock firmware. Here's our setup details.

Host1: MSI MPG Z490 with 64GiB of Memory and i9-10850K Host2: Precision 7820 Tower with 64GiB of Memory and Xeon(R) Gold 6226R

Steps to reproduce

Generating Bitstream

According to AR #71756, we added the following constraints to $CL_DIR/build/constraints/cl_synth_user.xdc.

# ------------------------------------------------------------------------
set_property CONFIG_VOLTAGE 1.8                        [current_design]
set_property BITSTREAM.CONFIG.CONFIGFALLBACK Enable    [current_design]
set_property BITSTREAM.GENERAL.COMPRESS TRUE           [current_design]
set_property CONFIG_MODE SPIx4                         [current_design]
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4           [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 85.0          [current_design]
set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN disable [current_design]
set_property BITSTREAM.CONFIG.SPI_FALL_EDGE YES        [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN Pullup         [current_design]
set_property BITSTREAM.CONFIG.SPI_32BIT_ADDR Yes       [current_design]
# ------------------------------------------------------------------------

Generating MCS file

According to UG1289, we used the following command to generate an mcs file from the bitstream.

Programming the MCS file

According to AR #71763, we programmed the .mcs file onto the alveo board. Now, when we cold reboot, the machine won't start.

Perhaps you could take a look at what may be causing the issue?

kyyalama2 commented 2 years ago

Hi Tianrui

Just to make sure, is this mcs file generation from bitstream tried using a specific example/IP from U200 kit? or is this a design completely independent of U200 developer kit?

Thanks

tianrui-wei commented 2 years ago

Hi Kishore,

The mcs file generation was tried on the bitstream provided by cl_hello_world example design in the U200 kit.

Best Regards, Tianrui

kyyalama2 commented 2 years ago

got it. This should be supported by the MCS gen settings update to the IP in the git. Will post an update once this is available

kyyalama2 commented 2 years ago

Hi Tianrui

A new developer kit version 1.0.1 is released with shell_v05202215 to support mcs file generation. Please feel free to try the new release and provide any feedback you have

Thanks

tianrui-wei commented 2 years ago

Hi Kishore,

Thanks for support the mcs flow so quickly, I'll try it now and keep you posted how it goes.

Best Regards, Tianrui