cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
1,051 Views
Registered: ‎07-15-2019

no such file or directory user-rootfsconfig

hi

   I tried to build Linux by petalinux-user-image-zcu102-zynqmp-sd-20190802.img.gz  I  followed commands in guide.But it says I don't have user-rootfsconfig.Where should I go to get this file?

    following commands to create the PetaLinux project.
% cd $TRD_HOME/apu/dpu_petalinux_bsp
% petalinux-create -t project -s xilinx-dpu-trd-zcu102-v2019.1.bsp
% cd zcu102-dpu-trd-2019-1
% petalinux-config ––get-hw-description=$TRD_HOME/pl/pre-built --silentconfig
% petalinux-build

petalinux-config --get-hw-description=/home/ubuntu/DNNDK/zcu102-dpu-trd-2019-1-timer/pl/pre-built
INFO: Getting hardware description...
INFO: Rename top_wrapper.hdf to system.hdf
[INFO] generating Kconfig for project
[INFO] menuconfig project


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time !
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
Traceback (most recent call last):
File "rootfs_config.py", line 337, in <module>
parse_args(sys.argv[1:])
File "rootfs_config.py", line 310, in parse_args
extract_packages_dot(packages_user)
File "rootfs_config.py", line 276, in extract_packages_dot
with open(packages_dot,'r') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/DNNDK/zcu102-dpu-trd-2019-1-timer/apu/dpu_petalinux_bsp/zcu102-dpu-trd-2019-1/project-spec/meta-user/conf/user-rootfsconfig'
ERROR: Failed to generate rootfs /home/ubuntu/DNNDK/zcu102-dpu-trd-2019-1-timer/apu/dpu_petalinux_bsp/zcu102-dpu-trd-2019-1/build/misc/rootfs_config/Kconfig.user
ERROR: Failed to config project.
ERROR: Get hw description Failed!.

 

Tags (1)
0 Kudos
4 Replies
Highlighted
Voyager
Voyager
1,001 Views
Registered: ‎10-21-2015

Hi

Probably you are using petalinux2019.2

As I know, petalinux2019.2 is not compatible with bsps of previous versions

0 Kudos
Highlighted
Contributor
Contributor
979 Views
Registered: ‎07-15-2019

hi @hokim 

  Thanks for your reply.I have found this problem.So, do you know how to upgrade the original rootfs to 2019.2,xilinx just mentioned the changes in how the device tree is written in rootf.

  ylh

0 Kudos
Highlighted
Observer
Observer
887 Views
Registered: ‎11-06-2019

Hello!

I'm having the same problem with petalinux 2019.2. Do you have any solution update?

Thanks,

0 Kudos
Highlighted
834 Views
Registered: ‎05-30-2019

$ touch /home/ubuntu/DNNDK/zcu102-dpu-trd-2019-1-timer/apu/dpu_petalinux_bsp/zcu102-dpu-trd-2019-1/project-spec/meta-user/conf/user-rootfsconfig

$ petalinux-config -c rootfs

It's works on my case.