Nios II BSP Options via Nios II Command Shell
2018-02-26 11:19
525 查看
软件版本:Quartus II17.1 Pro
芯片型号:Arria10
# BSP options
SIMULATION_OPTIMIZED_SUPPORT="false"
BSP_TYPE=hal
BSP_FLAGS="--set hal.enable_c_plus_plus 0 \
--set hal.enable_clean_exit 0 \
--set hal.enable_exit 0 \
--set hal.enable_gprof 0 \
--set hal.enable_lightweight_device_driver_api 0 \
--set hal.enable_mul_div_emulation 0 \
--set hal.enable_reduced_device_drivers 1 \
--set hal.enable_runtime_stack_checking 0 \
--set hal.enable_sim_optimize 0 \
--set hal.enable_small_c_library 1 \
--set hal.enable_sopc_sysid_check 1 \
--set hal.enable_sim_optimize $SIMULATION_OPTIMIZED_SUPPORT \
--set hal.make.bsp_cflags_optimization $OPTIMIZATION_LEVEL \
--set hal.linker.allow_code_at_reset 1 \
--set hal.linker.enable_alt_load 1 \
--set hal.linker.enable_alt_load_copy_exceptions 0 \
--set hal.linker.enable_alt_load_copy_rodata 0 \
--set hal.linker.enable_alt_load_copy_rwdata 1 \
--set hal.linker.enable_exception_stack 0 \
--set hal.linker.enable_interrupt_stack 0 \
--set hal.linker.exception_stack_memory_region_name $SOPC_CODE_MEMORY_NAME \
--set hal.linker.interrupt_stack_memory_region_name $SOPC_CODE_MEMORY_NAME \
--set hal.make.ignore_system_derived.debug_core_present 0 \
--set hal.make.ignore_system_derived.fpu_present 0 \
--set hal.make.ignore_system_derived.hardware_divide_present 0 \
--set hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present 0 \
--set hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present 0 \
--set hal.make.ignore_system_derived.hardware_multiplier_present 0 \
--set hal.make.ignore_system_derived.hardware_mulx_present 0 \
--set hal.make.ignore_system_derived.sopc_simulation_enabled 0 \
--set hal.make.ignore_system_derived.sopc_system_base_address 0 \
--set hal.make.ignore_system_derived.sopc_system_id 0 \
--set hal.make.ignore_system_derived.sopc_system_timestamp 0 \
--set hal.max_file_descriptors 4 \
--set hal.stderr jtag_uart \
--set hal.stdin jtag_uart \
--set hal.stdout jtag_uart \
--set hal.sys_clk_timer none \
--set hal.timestamp_timer $SOPC_TIMER_NAME"
参考资料:https://www.altera.com/en_US/pdfs/literature/hb/nios2/n2sw_nii52016.pdf P37
https://www.cnblogs.com/dujianzw/p/4555513.html
http://www.altera.com/literature/an/an458.pdf //Nios II BootLoader
http://www.alteraforum.com/forum/showthread.php?t=5244
芯片型号:Arria10
# BSP options
SIMULATION_OPTIMIZED_SUPPORT="false"
BSP_TYPE=hal
BSP_FLAGS="--set hal.enable_c_plus_plus 0 \
--set hal.enable_clean_exit 0 \
--set hal.enable_exit 0 \
--set hal.enable_gprof 0 \
--set hal.enable_lightweight_device_driver_api 0 \
--set hal.enable_mul_div_emulation 0 \
--set hal.enable_reduced_device_drivers 1 \
--set hal.enable_runtime_stack_checking 0 \
--set hal.enable_sim_optimize 0 \
--set hal.enable_small_c_library 1 \
--set hal.enable_sopc_sysid_check 1 \
--set hal.enable_sim_optimize $SIMULATION_OPTIMIZED_SUPPORT \
--set hal.make.bsp_cflags_optimization $OPTIMIZATION_LEVEL \
--set hal.linker.allow_code_at_reset 1 \
--set hal.linker.enable_alt_load 1 \
--set hal.linker.enable_alt_load_copy_exceptions 0 \
--set hal.linker.enable_alt_load_copy_rodata 0 \
--set hal.linker.enable_alt_load_copy_rwdata 1 \
--set hal.linker.enable_exception_stack 0 \
--set hal.linker.enable_interrupt_stack 0 \
--set hal.linker.exception_stack_memory_region_name $SOPC_CODE_MEMORY_NAME \
--set hal.linker.interrupt_stack_memory_region_name $SOPC_CODE_MEMORY_NAME \
--set hal.make.ignore_system_derived.debug_core_present 0 \
--set hal.make.ignore_system_derived.fpu_present 0 \
--set hal.make.ignore_system_derived.hardware_divide_present 0 \
--set hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present 0 \
--set hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present 0 \
--set hal.make.ignore_system_derived.hardware_multiplier_present 0 \
--set hal.make.ignore_system_derived.hardware_mulx_present 0 \
--set hal.make.ignore_system_derived.sopc_simulation_enabled 0 \
--set hal.make.ignore_system_derived.sopc_system_base_address 0 \
--set hal.make.ignore_system_derived.sopc_system_id 0 \
--set hal.make.ignore_system_derived.sopc_system_timestamp 0 \
--set hal.max_file_descriptors 4 \
--set hal.stderr jtag_uart \
--set hal.stdin jtag_uart \
--set hal.stdout jtag_uart \
--set hal.sys_clk_timer none \
--set hal.timestamp_timer $SOPC_TIMER_NAME"
参考资料:https://www.altera.com/en_US/pdfs/literature/hb/nios2/n2sw_nii52016.pdf P37
https://www.cnblogs.com/dujianzw/p/4555513.html
http://www.altera.com/literature/an/an458.pdf //Nios II BootLoader
http://www.alteraforum.com/forum/showthread.php?t=5244
相关文章推荐
- nios IIcommand shell 烧录
- nios II command shell 的使用
- enable usb tethering via command line failed
- Hadoop FS Shell Command
- adb shell dumpsys [options]操作实例讲解-----(二)
- 关于Nios中对EPCS进行flash烧写出现以下错误Error: Error code: 8 for command: nios2-flash-programmer...的解决办法
- paramiko exec_command 返回 shell 脚本 exit 值
- CCommandLineInfo详解 和 ProcessShellCommand(cmdInfo)函数功能
- NIOS2随笔——uCOS-II实时操作系统
- Unity: CommandRunner.cs (csharp run adb shell on adroid)
- shell 脚本 “bc: command not found ” 解决
- The Linux Command Line 读书笔记(一)初识shell
- How to pass QEMU command-line options through libvirt
- linux command Line and shell script bible(笔记三)
- ProcessShellCommand(cmdInfo)函数功能
- linux command Line and shell script bible(笔记十一)
- nios软核cpu中架构类shell的一种解决方式『linux 系统函数调用的方法』
- ansible模块command、shell、raw、script
- Silverlight中使用MVVM(5):Command II
- shell command:echo