cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abains
Visitor
Visitor
502 Views
Registered: ‎08-29-2019

Petalinux 2020.1 External Kernel and U-Boot Locations

Hi,

I am trying to build from an external kernel and u-boot location as described in UG144 2020.1. The documentation says to use the ${TOPDIR} variable which is supposed to reference the build directory (eg. ${TOPDIR}/../components/ext_sources/<MY-KERNEL>).

The problem is that when I do a petalinux-build, I get a permission denied error as if the TOPDIR  variable is not set at all. The error message is "ERROR: linux-xlnx-5.4+git999-r0 do_populate_lic: [Errno 13] Permission denied: '/../components'"

Additional Question:

I did not have this particular problem with petalinux 2019.2. Instead there was an issue where "petalinux-build -c kernel/uboot" and "petalinux-config -c kernel/uboot" required a slightly different pathname.  From my understanding this problem should have been fixed In 2020.1?

Thanks!

0 Kudos
1 Reply
smahalle
Xilinx Employee
Xilinx Employee
373 Views
Registered: ‎09-17-2019

Hi @abains,

Can you once try to give an absolute path to the external kernel and U-boot?
Meanwhile please please share the complete log file of error.

Thanks & Regards,
Shubhangi

0 Kudos