Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to Generate launch_script for a new imported board。 #3811

Closed
Mingyuan18 opened this issue Oct 14, 2019 · 2 comments
Closed

Fail to Generate launch_script for a new imported board。 #3811

Mingyuan18 opened this issue Oct 14, 2019 · 2 comments
Assignees
Labels
priority: P2-High type: bug Something isn't working

Comments

@Mingyuan18
Copy link

Mingyuan18 commented Oct 14, 2019

Environment
git clone https://github.com/projectacrn/acrn-hypervisor.git
git checkout acrn-2019w41.3-140000p
HW/Board
D0 MRB, APLNUC, KBLNUC, UP2
Steps
1, boot to native os, and get board info
sudo python3 board_parser.py $(BOARD) sample: apl-mrbjy1011.xml
2, cd acrn-hypervisor/misc/acrn-config/config_app
3, python3 app.py ->open WebUI
4, copy step1''s apl-mrbjy1011.xml to acrn-hypervisor/misc/acrn-config/xmls/board-xmls
5, click "ImportBoardInfo" to select apl-mrbjy1011.xml
6, Select Board info: apl-mrbjy1011
7, Click "Generate Scenario SRC" to save current scenario setting and then generate scenario source codes in acrn-hypervisor/hypervisor/scenarios/[scenario]/.
8, Select "Launch Setting"=sdc_launch_1uos and "Select scenario"=user_defined_sdc
9, Click "Generate Launch Script", show error:

@Mingyuan18
Copy link
Author

[External_System_ID] ACRN-5363

@Mingyuan18 Mingyuan18 added priority: P2-High type: bug Something isn't working labels Oct 14, 2019
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Oct 16, 2019
1. enable item check for acrn-dm args which set from webUI input.
2. remove 'cpu_num' tag from launch config xml.

v1-v2:
    1). add method to check 'cpu_num'/'mem_size' in config xml.

v2-v3:
    1). as 'vcpu_num' configured in scenario, the parameter for acrn-dm is no
longer needed, remove 'cpu_num' tag and its handler from launch config.
    2). add 'poweroff_channel' tag for generic config.

Tracked-On: projectacrn#3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Oct 16, 2019
Remove '-V' option of launch type while generating launch script.

Tracked-On: projectacrn#3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Oct 16, 2019
'run_container' starts to run the container which contains the
clearlinux rootfs. store it in the same launch script with clearlinux.

Tracked-On: projectacrn#3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Oct 16, 2019
1. enable item check for acrn-dm args which set from webUI input.
2. remove 'cpu_num' tag from launch config xml.

v1-v2:
    1). add method to check 'cpu_num'/'mem_size' in config xml.

v2-v3:
    1). as 'vcpu_num' configured in scenario, the parameter for acrn-dm is no
longer needed, remove 'cpu_num' tag and its handler from launch config.
    2). add 'poweroff_channel' tag for generic config.

Tracked-On: projectacrn#3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Oct 16, 2019
Remove '-V' option of launch type while generating launch script.

Tracked-On: projectacrn#3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Oct 16, 2019
'run_container' starts to run the container which contains the
clearlinux rootfs. store it in the same launch script with clearlinux.

Tracked-On: projectacrn#3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
wenlingz pushed a commit that referenced this issue Oct 18, 2019
1. enable item check for acrn-dm args which set from webUI input.
2. remove 'cpu_num' tag from launch config xml.

v1-v2:
    1). add method to check 'cpu_num'/'mem_size' in config xml.

v2-v3:
    1). as 'vcpu_num' configured in scenario, the parameter for acrn-dm is no
longer needed, remove 'cpu_num' tag and its handler from launch config.
    2). add 'poweroff_channel' tag for generic config.

Tracked-On: #3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
wenlingz pushed a commit that referenced this issue Oct 18, 2019
Remove '-V' option of launch type while generating launch script.

Tracked-On: #3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
wenlingz pushed a commit that referenced this issue Oct 18, 2019
'run_container' starts to run the container which contains the
clearlinux rootfs. store it in the same launch script with clearlinux.

Tracked-On: #3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
@Mingyuan18
Copy link
Author

Verify pass, So close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P2-High type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants