petalinux-package --bsp -p ./MZ702P --output ./MY.BSP 出错

petalinux2020.2 遇到该问题
petalinux-package --bsp -p ./MZ702P --output ./MY.BSP 遇到下面的问题
**ERROR: Failed to apply worksapce changes. **

Petalinux Package BSP Error
I have a working petalinux project for a custom Zynq US\+ board.  It was created using petalinux-create , modified for our needs w/ changes to u-boot, kernel, rootfs, etc , and verified in HW.  Using 2020.2 version of all tools.
Now I'm trying to package the BSP and I get the following error:
petalinux-package --bsp -p mybsp -o mybsp.bsp
/home/myuser/myproject/sw/petalinuxbsp/mybsp.bsp
INFO: Target BSP "/home/myuser/myproject/sw/petalinuxbsp/mybsp.bsp" will contain the following projects
INFO: PetaLinux project: /home/myuser/myproject/sw/petalinuxbsp/mybsp
INFO: Sourcing build environment
INFO: Applying workspace changes. This may take time !
**ERROR: Failed to apply worksapce changes. **
I can run the same command with the "--exclude-workspace" option and it finishes, but I'm having a hard time telling if that means I'm losing any changes from the working BSP.  Is there a log file I could look at to determine the cause of the error?  I've looked in the user guide at the "petalinux-devtool finish" commands, but it seems like petalinux-package --bsp is supposed to take care of this for me.  Thanks for any help or suggestions on how to debug.

目前使用这个指令可以打包成功

petalinux-package --bsp -p ./MZ702P --exclude-workspace --output ./Petalinux2020_axidmaloop.BSP

版权声明:本文为zwjzwj108108原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。