cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
233 Views
Registered: ‎07-30-2020

board is not present in DTG

Jump to solution

I have Virtex-7 FPGA vc707. and I am trying to build Linux using Petalinux-2020.1. But in configuration, MACHINE_NAME in DTG Settings should be one of the possible values that are mentioned in petalinux documentation. I couldn't find vc707.

If I write vc707, I get this error. May I use any other machine_name? How can I solve this issue?

| DEBUG: Executing shell function do_configure
| MISC_ARG is  -hdf_type xsa -yamlconf /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/device-tree.yaml
| APP_ARG is  -app "device-tree"
| Using xsct from: /home/arman/petalinux-v2020.1/tools/xsct//bin/xsct
| cmd is: xsct -sdx -nodisp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/dtgen.tcl -ws /home/arman/virtex/virtex_petalinux/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/git -processor microblaze_0 -hdf /home/arman/virtex/virtex_petalinux/build/tmp/deploy/images/microblazeel-v11.0-bs-cmp-mh-div-generic/Xilinx-microblazeel-v11.0-bs-cmp-mh-div-generic.xsa -arch 32  -app "device-tree"  -hdf_type xsa -yamlconf /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/device-tree.yaml
| INFO: [Hsi 55-2053] elapsed time for repository (/home/arman/petalinux-v2020.1/tools/xsct/data/embeddedsw) loading 0 seconds
| WARNING: The axi_intc Interrupt Output connection is Bus. Change it to Single
| Error:vc707.dtsi board file is not present in DTG. Please add a valid board.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_device_tree::generate : Error:vc707.dtsi board file is not present in DTG. Please add a valid board.
|     while executing
| "error "Error:$dtsi_name board file is not present in DTG. Please add a valid board.""
|     ("foreach" body line 90)
|     invoked from within
| "foreach override $overrides {
| 	if {[lindex $override 0] == "BOARD"} {
| 		set first_element [lindex $override 0]
| 		set dtsi_file [lindex $override 1]
| 		..."
|     ("foreach" body line 2)
|     invoked from within
| "foreach i [get_sw_cores device_tree] {
|     foreach override $overrides {
| 	if {[lindex $override 0] == "BOARD"} {
| 		set first_element [lindex $override..."
|     (procedure "gen_board_info" line 7)
|     invoked from within
| "gen_board_info"
|     (procedure "::sw_device_tree::generate" line 12)
|     invoked from within
| "::sw_device_tree::generate device_tree"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| hsi::generate_target: Time (s): cpu = 00:00:05 ; elapsed = 00:00:06 . Memory (MB): peak = 1433.637 ; gain = 14.465 ; free physical = 926 ; free virtual = 5091
| generate_target failed
|     while executing
| "error "generate_target failed""
|     invoked from within
| "if {[catch {hsi generate_target -dir $project} res]} {
| 	error "generate_target failed"
| }"
|     (file "/home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458..." line 38)
| WARNING: /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/temp/run.do_configure.19376:1 exit 1 from 'eval xsct -sdx -nodisp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/dtgen.tcl -ws /home/arman/virtex/virtex_petalinux/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/git -processor microblaze_0 -hdf /home/arman/virtex/virtex_petalinux/build/tmp/deploy/images/microblazeel-v11.0-bs-cmp-mh-div-generic/Xilinx-microblazeel-v11.0-bs-cmp-mh-div-generic.xsa -arch 32 ${APP_ARG} ${MISC_ARG}'
| ERROR: Execution of '/home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/temp/run.do_configure.19376' failed with exit code 1:
| MISC_ARG is  -hdf_type xsa -yamlconf /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/device-tree.yaml
| APP_ARG is  -app "device-tree"
| Using xsct from: /home/arman/petalinux-v2020.1/tools/xsct//bin/xsct
| cmd is: xsct -sdx -nodisp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/dtgen.tcl -ws /home/arman/virtex/virtex_petalinux/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/git -processor microblaze_0 -hdf /home/arman/virtex/virtex_petalinux/build/tmp/deploy/images/microblazeel-v11.0-bs-cmp-mh-div-generic/Xilinx-microblazeel-v11.0-bs-cmp-mh-div-generic.xsa -arch 32  -app "device-tree"  -hdf_type xsa -yamlconf /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/device-tree.yaml
| INFO: [Hsi 55-2053] elapsed time for repository (/home/arman/petalinux-v2020.1/tools/xsct/data/embeddedsw) loading 0 seconds
| WARNING: The axi_intc Interrupt Output connection is Bus. Change it to Single
| Error:vc707.dtsi board file is not present in DTG. Please add a valid board.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_device_tree::generate : Error:vc707.dtsi board file is not present in DTG. Please add a valid board.
|     while executing
| "error "Error:$dtsi_name board file is not present in DTG. Please add a valid board.""
|     ("foreach" body line 90)
|     invoked from within
| "foreach override $overrides {
| 	if {[lindex $override 0] == "BOARD"} {
| 		set first_element [lindex $override 0]
| 		set dtsi_file [lindex $override 1]
| 		..."
|     ("foreach" body line 2)
|     invoked from within
| "foreach i [get_sw_cores device_tree] {
|     foreach override $overrides {
| 	if {[lindex $override 0] == "BOARD"} {
| 		set first_element [lindex $override..."
|     (procedure "gen_board_info" line 7)
|     invoked from within
| "gen_board_info"
|     (procedure "::sw_device_tree::generate" line 12)
|     invoked from within
| "::sw_device_tree::generate device_tree"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| hsi::generate_target: Time (s): cpu = 00:00:05 ; elapsed = 00:00:06 . Memory (MB): peak = 1433.637 ; gain = 14.465 ; free physical = 926 ; free virtual = 5091
| generate_target failed
|     while executing
| "error "generate_target failed""
|     invoked from within
| "if {[catch {hsi generate_target -dir $project} res]} {
| 	error "generate_target failed"
| }"
|     (file "/home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458..." line 38)
| WARNING: /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/temp/run.do_configure.19376:1 exit 1 from 'eval xsct -sdx -nodisp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/dtgen.tcl -ws /home/arman/virtex/virtex_petalinux/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/arman/virtex/virtex_petalinux/build/tmp/work/microblazeel_v11.0_bs_cmp_mh_div_generic-xilinx-linux/device-tree/xilinx-v2020.1+gitAUTOINC+bc84458333-r0/git -processor microblaze_0 -hdf /home/arman/virtex/virtex_petalinux/build/tmp/deploy/images/microblazeel-v11.0-bs-cmp-mh-div-generic/Xilinx-microblazeel-v11.0-bs-cmp-mh-div-generic.xsa -arch 32 ${APP_ARG} ${MISC_ARG}'
| 
ERROR: Task (/home/arman/virtex/virtex_petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1857 tasks of which 1843 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/arman/virtex/virtex_petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Explorer
Explorer
171 Views
Registered: ‎10-04-2017

If you have a non-Xilinx board the machine name has to be set to "template".   It seems weird but the UG says for a custom board this should be template.

 

jeff

 

View solution in original post

0 Kudos
1 Reply
Highlighted
Explorer
Explorer
172 Views
Registered: ‎10-04-2017

If you have a non-Xilinx board the machine name has to be set to "template".   It seems weird but the UG says for a custom board this should be template.

 

jeff

 

View solution in original post

0 Kudos