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: 
Highlighted
Adventurer
Adventurer
525 Views
Registered: ‎05-26-2017

FSBL, PMUFW & ARM Secure FW not building after upgrading Petalinux to 2018.2

Hi There !

 

I'm working on upgrading from Petalinux 2017.3 to 2018.2 and now everything builds just fine - Except for the FSBL, PMUFW & ARM Secure firmware (bl31.bin). No mentioning of either one of them in the entire build directory. In other words it does not even look like it attempts to build them. If I build manually with 

 

petalinux -c fsbl 

 

it compiles OK, but I'd rather have everything done in one swoop

 

Any thoughts on what this could be ?

 

Thanks in advance 

 

/Otto

0 Kudos
4 Replies
Moderator
Moderator
511 Views
Registered: ‎04-24-2017

Re: FSBL, PMUFW & ARM Secure FW not building after upgrading Petalinux to 2018.2

Hi @ottob,

 

Can you provide the steps how did you migrated?

 

Did you upgrade your hdf to 2018.2?

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
510 Views
Registered: ‎05-26-2017

Re: FSBL, PMUFW & ARM Secure FW not building after upgrading Petalinux to 2018.2

Hi Sandeep !

 

Using a script I can toggle between 2017.3 and 2018.2, see below

 

Yes, I did load in the hdf file from 2018.2 Vivado using petalinux-configure --get-hw-description 

 

Thanks, 

 

#!/bin/bash

if [[ "$#" < "1" ]]; then
echo "Usage: set_petalinux_ver.sh [173 | 182] "
exit 1
fi

if [[ "$1" -eq "173" ]]; then
echo "Configuring for Petalinux 2017.3"
ln -sf u-boot-xlnx_%.bbappend_173 project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend
ln -sf linux-xlnx_%.bbappend_173 project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend
ln -sf system-user-17.3.dtsi project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi
ln -sf petalinux-user-image.bbappend_173 project-spec/meta-user/recipes-core/images/petalinux-user-image.bbappend

exit 0
fi


if [[ "$1" -eq "182" ]]; then
echo "Configuring for Petalinux 2018.2"
ln -sf u-boot-xlnx_%.bbappend_182 project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend
ln -sf linux-xlnx_%.bbappend_182 project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend
ln -sf system-user-18.2.dtsi project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi
ln -sf petalinux-user-image.bbappend_182 project-spec/meta-user/recipes-core/images/petalinux-user-image.bbappend

exit 0
fi

echo "Usage: set_petalinux_ver.sh [173 | 182] "
exit 1

 

 

 

 

0 Kudos
Moderator
Moderator
501 Views
Registered: ‎04-24-2017

Re: FSBL, PMUFW & ARM Secure FW not building after upgrading Petalinux to 2018.2

Are you using same project switching between two versions?

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
500 Views
Registered: ‎05-26-2017

Re: FSBL, PMUFW & ARM Secure FW not building after upgrading Petalinux to 2018.2

Hi Sandeep !

 

Yes, its a clean checkout from svn with only the source files (no generated files committed) though

 

If I could just get the source code of petalinux-build it would be pretty easy to spot.. Anyway, I can live with it for now

 

Thanks, 

 

/Otto

0 Kudos