cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
burleygreg
Visitor
Visitor
309 Views
Registered: ‎04-28-2021

petalinux-build --sdk failed for zc702

Jump to solution

I am able to create a petalinux project using the zc702 bsp, using petalinux 2020.2 on CentOS7.8, without changing any configuration options.  That is, this is the simplest project I can think of, so am a bit surprised at the result.

petalinux-build works fine, and completes successfully.

But, petalinux-build --sdk fails with the following error message:

ERROR: petalinux-image-minimal-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed

 

Does anyone have any suggestions? I would appreciate any hints or leads on how to solve this. 

0 Kudos
1 Solution

Accepted Solutions
ashwinil
Xilinx Employee
Xilinx Employee
262 Views
Registered: ‎06-10-2019

Hi @burleygreg ,

QEMU 5.0 required more mmap size to build, but default centOS or RHEL has lesser value , so need to update build machine configuration.
Please update build machine configuration as below and retry.

  1. vi /etc/sysctl.conf
  2. add mmap entry in the file : vm.mmap_min_addr = 65536
  3. save the file
  4. sysctl -p 

This update requires sudo permission on machine.

 

Please let us know if your facing issue.

View solution in original post

2 Replies
ashwinil
Xilinx Employee
Xilinx Employee
263 Views
Registered: ‎06-10-2019

Hi @burleygreg ,

QEMU 5.0 required more mmap size to build, but default centOS or RHEL has lesser value , so need to update build machine configuration.
Please update build machine configuration as below and retry.

  1. vi /etc/sysctl.conf
  2. add mmap entry in the file : vm.mmap_min_addr = 65536
  3. save the file
  4. sysctl -p 

This update requires sudo permission on machine.

 

Please let us know if your facing issue.

View solution in original post

burleygreg
Visitor
Visitor
230 Views
Registered: ‎04-28-2021

Thank you so much this worked for me and solved the problem.

0 Kudos