cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
579 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
Highlighted
Moderator
Moderator
525 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

View solution in original post

4 Replies
Highlighted
Participant
Participant
535 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
Highlighted
Moderator
Moderator
526 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

View solution in original post

Highlighted
Observer
Observer
509 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
Highlighted
Observer
Observer
503 Views
Registered: ‎10-01-2018

Re: Petalinux image generation

Jump to solution

Hi @shabbirk

Thanks for the reply.

 

0 Kudos