Created
April 7, 2021 02:00
-
-
Save misodengaku/d08627b6906d06b7e192337c0987f0f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setws workspace | |
platform create -name super_project_name_wrapper_platform_0 -hw ../pl_system/super_project_name/super_project_name_wrapper.xsa -arch {32-bit} | |
domain create -name {domain_embedded_system_microblaze_0} -display-name {domain_embedded_system_microblaze_0} -os {standalone} -proc {embedded_system_microblaze_0} -runtime {cpp} -arch {32-bit} -support-app {empty_application} | |
app create -name embedded_mcu -platform super_project_name_wrapper_platform_0 -domain domain_embedded_system_microblaze_0 -proc embedded_system_microblaze_0 -template "Empty Application" | |
importsources -name embedded_mcu -path src | |
app build -name embedded_mcu | |
exec updatemem -force \ | |
-meminfo workspace/super_project_name_wrapper_platform_0/hw/super_project_name_wrapper.mmi \ | |
-bit workspace/super_project_name_wrapper_platform_0/hw/super_project_name_wrapper.bit \ | |
-data workspace/embedded_mcu/Debug/embedded_mcu.elf \ | |
-proc super_project_name_i/embedded_system/microblaze_0 \ | |
-out workspace/download.bit | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# boot xsct console via Xvfb without rlwrap | |
XSCT_PATH=`readlink -f $(which xsct)` | |
XBIN_ROOT=`dirname ${XSCT_PATH}` | |
xvfb-run ${XBIN_ROOT}/loader -exec rdi_xsct build.tcl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment