mw_setbook command not found

when i execute HDL Workflow Advisor,in the final step Program target device, i met the problem :STDERR:bash:mw_setboot:command not found.
what causes this problem?please help

1 Comment

Having the same issue with an ADRV9361 board and HDL workflow advisor. Where does the mw_setboot utility come from?

Sign in to comment.

Answers (1)

JT Ferrara
JT Ferrara on 18 Feb 2020
The "mw_setboot" command is part of the MathWorks Linux image that comes with one of the following Embedded Coder hardware support packages:
The Linux images are available for the supported hardware boards. The list of supported boards can be found in the pages linked above.

4 Comments

ao sun
ao sun on 16 Feb 2022
Edited: ao sun on 16 Feb 2022
Hi, I downloaded the support hardware package(Vision HDL Toolbox Support Package for Xilinx Zynq-Based Hardware), sadly this problem still pops out, my board is snickerdoodle black which is not on the list of boards they provided in the setup.
I also checked my Linux image under the directory /bin, it surely dosent contain this "mw_setboot" command, but I have seen some tutorials, which they are using ZYBO board at the same time ZYBO is also not on this package's supported list, but they somehow manage to make it done, so I am wondering if there is a way to figure it out, thank you.
Please refer to the following example for information on how to author your own MathWorks-compatible Linux image:
This example uses the ZYBO board to demonstrate the workflow, but a similar workflow would be followed for other boards.
Please note that this example provides instructions to create a Linux image that is compatible with the HW/SW Codesign workflow using HDL Coder and Embedded Coder. There may be additional Linux image configurations needed for the Vision HDL Toolbox workflow, depending on which features are being utilized.
Hi,
In this step, an xml file named catalog.xml is required. However, my zynq 7020 board is not officially fabricated, and I do not have this file? How could this file be generated?
./build.py -c board/mathworks/zynq/boards/zyboz710/catalog.xml
Hi KH,
For a custom board, you will need to create your own catalog.xml file which points to the files and directories needed for your board. You can refer to this for an example:

Sign in to comment.

Asked:

on 28 Mar 2019

Commented:

on 13 May 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!