Jump to content
  • 0

Nexys A7 50T: petalinux-build error


dyne21

Question

Hello,

 

I'm trying to build petalinux for bootable SD card on my Nexys A7 50T board. The used petalinux version is v2019.1 release.

The hdf file generated by Vivado worked well on the SDK projects. The petalinux commands that I tried are as belows.

ubuntu@ubuntu:~/petalinux_projects$ petalinux-create --type project --template microblaze --name Petalinux_Microblaze

ubuntu@ubuntu:~/petalinux_projects/Petalinux_Microblaze$ petalinux-config --get-hw-description /home/ubuntu/Nexys-A7-50T-OOB

ubuntu@ubuntu:~/petalinux_projects/Petalinux_Microblaze$ petalinux-build

The error messages from the build command are as below. I tried "get_board_parts" at the TCL window and generated the hdf file again. However, it showed the same problem. Please advice me for this issue. Thanks.

Best Regards,

Jeff

ubuntu@ubuntu:~/petalinux_projects/Petalinux_Microblaze$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
[INFO] generating user layers
INFO: bitbake petalinux-user-image
Loading cache: 100% |################################################################################################| Time: 0:00:00
Loaded 3811 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################| Time: 0:00:02
Parsing of 2777 .bb files complete (2771 cached, 6 parsed). 3812 targets, 551 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###########################################################################################| Time: 0:00:02
Checking sstate mirror object availability: 100% |###################################################################| Time: 0:02:07
Sstate summary: Wanted 152 Found 1 Missed 302 Current 656 (0% match, 81% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_configure: Function failed: do_configure (log file is located at /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.43799)
ERROR: Logfile of failure stored in: /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.43799
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is  -hdf_type hdf -yamlconf /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| APP_ARG is  -app "device-tree"
| Using xsct from: /home/ubuntu/petalinux_projects/tools/xsct/bin/xsct
| cmd is: xsct -sdx -nodisp /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/../components/plnx_workspace/device-tree -pname device-tree -rp /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor microblaze_0 -hdf /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/deploy/images/plnx-microblazeel/Xilinx-plnx-microblazeel.hdf -arch 32  -app "device-tree"  -hdf_type hdf -yamlconf /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| CRITICAL WARNING: [Board 49-71] The board_part definition was not found for digilentinc.com:nexys-a7-50t:part0:1.0. The project's board_part property was not set, but the project's part property was set to xc7a50ticsg324-1L. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| ERROR: [Common 17-161] Invalid option value '' specified for 'of_objects'.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_cpu::generate : ERROR: [Common 17-161] Invalid option value '' specified for 'of_objects'.

|     while executing
| "get_cells -of_objects $cpin"
|     (procedure "gen_mb_interrupt_property" line 15)
|     invoked from within
| "gen_mb_interrupt_property $processor"
|     (procedure "gen_cpu_nodes" line 28)
|     invoked from within
| "gen_cpu_nodes $drv_handle"
|     (procedure "::sw_cpu::generate" line 49)
|     invoked from within
| "::sw_cpu::generate microblaze_0"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| 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/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.t..." line 38)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/ubuntu/petalinux_projects/Petalinux_Microblaze/build/tmp/work/plnx_microblazeel-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.43799)
ERROR: Task (/home/ubuntu/petalinux_projects/components/yocto/source/microblaze_lite/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1797 tasks of which 1755 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/ubuntu/petalinux_projects/components/yocto/source/microblaze_lite/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
 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @dyne21,

Digilent does not have any experience with getting PetaLinux set up for a MicroBlaze processor, so we won't of a lot of help in this regard. You're probably already aware of them, but there are a couple of links that may be helpful to you here and here.

Otherwise, based on the board_part error, it sounds like you'll need to install the board file for the Nexys A7 50T, which you can get from our GitHub here. If this does not resolve the issue, you'll probably want to try building each PetaLinux component individually to find out which portion is failing, as per this Xilinx support thread.

Thanks,
JColvin

Link to comment
Share on other sites

  • 0

Hi JColvin,

 

Thank you for the information. When I create the Vivado project, I chose the board name "Nexys A7 50T". The project worked well with SDK standard projects. So, can I assume that I already have the board files?

 

Best Regards,

Jeff 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...