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: 
Observer adithyab
Observer
253 Views
Registered: ‎10-01-2018

Petalinux image generation

Jump to solution

I am trying to generate images using petalinux. I see that the sizes of images generated is much smaller than the pre-built binaries.

Size of generated image.ub is 13.3mb whereas the one in pre-built is 48.8mb

Size of generated BOOT.BIN is 14.6mb whereas the one in pre-built is 27.6mb

Petalinux is version 2018.2 and bsp is xilinx-zcu102-v2018.2-final.bsp

Below are the steps used for generation of images

1.) petalinux-create --type project --template ZynqMP --name ZCU102 -s <path to bsp>

2.) petalinux-build

Should I be concerned that the images generated are smaller in size?Am I missing any step?

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
199 Views
Registered: ‎12-04-2016

Re: Petalinux image generation

Jump to solution

Hi @adithyab

Yes you are correct. Pre-built images are always bigger in size than the one generated after build. This is because pre-built image has additional files pre-compiled and bundled in it

 

Best Regards

Shabbir

4 Replies
Observer gosha-z
Observer
209 Views
Registered: ‎09-07-2018

Re: Petalinux image generation

Jump to solution

At least, you've missed 'petalinux-config --get-hw-description' command

0 Kudos
Moderator
Moderator
200 Views
Registered: ‎12-04-2016

Re: Petalinux image generation

Jump to solution

Hi @adithyab

Yes you are correct. Pre-built images are always bigger in size than the one generated after build. This is because pre-built image has additional files pre-compiled and bundled in it

 

Best Regards

Shabbir

Observer adithyab
Observer
183 Views
Registered: ‎10-01-2018

Re: Petalinux image generation

Jump to solution

I have tried the below option

petalinux-config --get-hw-description=<path to folder with hdf>

Path was set to where the default system.hdf is stored. I still did not see any difference

0 Kudos
Observer adithyab
Observer
177 Views
Registered: ‎10-01-2018

Re: Petalinux image generation

Jump to solution

Hi @shabbirk

Thanks for the reply.

 

0 Kudos