UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor iomartin
Visitor
168 Views
Registered: ‎07-26-2019

Error building Petalinux

Hello,

My petalinux build is failing with error

make[3]: *** No rule to make target 'arch/microblaze/boot/dts/mb.dtb', needed by 'arch/microblaze/boot/dts/system.dtb'.  Stop.
make[2]: *** [/local/scratch/ichilevi/petalinux_project/build/tmp/work-shared/plnx-microblazeel/kernel-source/Makefile:1052: arch/microblaze/boot/dts] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /local/scratch/ichilevi/petalinux_project/build/tmp/work/plnx_microblazeel-xilinx-linux/linux-xlnx/4.19-xilinx-v2019.1+gitAUTOINC+9811303824-r0/temp/log.do_compile.2663)

I created the petalinux project as follow:

petalinux-create --type project --template microblaze --name petalinux_project
cd petalinux_project
petalinux-config --get-hw-description ../vivado/project_1/project_1.sdk --silentconfig
petalinux-build

My design is attached. The logfile is also attached. Target board is Alveo U280-ES1. Please let me know if you need anything else.

1 Reply
Moderator
Moderator
122 Views
Registered: ‎09-12-2007

Re: Error building Petalinux

Can you remove the silent config

petalinux-config --get-hw-description ../vivado/project_1/project_1.sdk --silentconfig

See if there is any issue here as this is where the DT will be setup

0 Kudos