当所有专用I / O未使用时,为什么A10 SoC U-boot无法使用FPGA启动模式启动?-Altera-Intel社区-FPGA CPLD-ChipDebug

当所有专用I / O未使用时,为什么A10 SoC U-boot无法使用FPGA启动模式启动?

由于英特尔®Quartus®PrimePro /标准软件存在问题,因此U-boot设置禁用OSC_CLK_1_HPS,nPOR_RST和nRST_HPS输入端口。

<section>

1)移动到设计中的hps_isw_handoff文件夹。

2)打开hps.xml

3)找到以下部分。

<CSR>

<! – 未使用的引脚1 – >

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.rtrim’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.input_buf_en’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.wk_pu_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pu_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pd_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pu_drv_strg’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pd_drv_strg’value =’0’/>

<! – 未使用的引脚2 – >

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.rtrim’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.input_buf_en’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.wk_pu_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pu_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pd_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pu_drv_strg’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pd_drv_strg’value =’0’/>

<! – 未使用的引脚3 – >

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.rtrim’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.input_buf_en’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.wk_pu_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pu_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pd_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pu_drv_strg’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pd_drv_strg’value =’0’/>

4)使用以下OSC_CLK_1_HPS,nPOR_HPS和nRST_HPS设置替换上述3个未使用的设置,并保存hps.xml。

<CSR>

<! – OSC_CLK_1_HPS – >

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.rtrim’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.input_buf_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.wk_pu_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pu_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pd_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pu_drv_strg’value =’8’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_1.pd_drv_strg’value = ’10’/>

<! – nPOR_HPS – >

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.rtrim’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.input_buf_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.wk_pu_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pu_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pd_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pu_drv_strg’value =’8’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_2.pd_drv_strg’value = ’10’/>

<! – nRST_HPS – >

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.rtrim’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.input_buf_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.wk_pu_en’value =’1’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pu_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pd_slw_rt’value =’0’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pu_drv_strg’value =’8’/>

<config name =’i_io48_pin_mux_dedicated_io_grp.configuration_dedicated_io_3.pd_drv_strg’value = ’10’/>

5)创建一个uboot项目并根据新的切换文件生成bin文件

该问题将在未来版本中修复。

</section>

请登录后发表评论

    没有回复内容