【工程师分享】在PetaLinux里为模块创建补丁

FPGA开发圈 2020-12-03 00:00

作者:付汉杰,hankf@xilinx.com文章转载自:赛灵思中文社区论坛


PetaLinux(Yocto)里包含很多软件模块。大部分模块可以直接使用。如果有特殊需求,需要修改某些模块时,可以按下列办法先修改,测试成功后,再创建补丁,集成到PetaLinux(Yocto)工程里。


比如客户需要修改xorg.conf,可以采用下列方式完成。


0 1
选择工具devtool

缺省情况下,PetaLinux使用bitbake。请在“petalinux-config  → Yocto settings  → Build tool”里,选择devtool。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-config 
INFO: sourcing build tools
[INFO] menuconfig project
configuration written to /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/configs/config

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

[INFO] sourcing build environment
[INFO] generating kconfig for Rootfs
[INFO] silentconfig rootfs
[INFO] generating plnxtool conf
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] successfully configured project

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build
INFO: sourcing build tools
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

Error, TMPDIR has changed location. You need to either move it back to /proj/hankf/zcu106/v201/vcu-trd-xv20/build/tmp or delete it and rebuild
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to start bitbake environment
ERROR: Failed to build project


选择devtool,编译报告TMPDIR的错误。之前的TMPDIR设置是工程目录下的“build/tmp”。在执行petalinux-config ,把TMPDIR设置为工程绝对目录,“/proj/hankf/zcu106/v201/vcu-trd-xv20/build/tmp”。


hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-config 

INFO: sourcing build tools
[INFO] menuconfig project
configuration written to /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/configs/config

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

[INFO] sourcing build environment
[INFO] generating kconfig for Rootfs
[INFO] silentconfig rootfs
[INFO] generating plnxtool conf
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] successfully configured project


0 2
获取软件包源代码

执行命令“petalinux-build -c -x modify”,可以把源代码下载到workspace目录。执行完成后,目录“components/yocto/workspace/sources”会增加对应的目录和文件。


客户需要修改xorg.conf。以xorg为为软件包名,执行命令“petalinux-build -c xorg -x modify”,petalinux报告找不到软件包。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c xorg -x modify
INFO: sourcing build tools
[INFO] building xorg
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] devtool modify xorg
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2965 cached, 2 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
ERROR: Unable to find any recipe file matching "xorg"
ERROR: Failed to build xorg

搜索xorg.conf,可以看到,在目录xserver-xf86-config里有,因此执行命令“petalinux-build -c xserver-xf86-config -x modify”。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ find -name "*org.conf"
./project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf
./components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf
./components/yocto/layers/core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c xserver-xf86-config -x modify
INFO: sourcing build tools
[INFO] building xserver-xf86-config
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] devtool modify xserver-xf86-config
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2965 cached, 2 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 0 (0% match, 0% complete)
NOTE: No setscene tasks
NOTE: Executing Tasks
WARNING: No source unpacked to S - either the xserver-xf86-config recipe doesn't use any source or the correct source directory could not be determined
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and all succeeded.
INFO: Adding local source files to srctree...
INFO: Source tree extracted to /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config
WARNING: SRC_URI is conditionally overridden in this recipe, thus several devtool-override-* branches have been created, one for each override that makes changes to SRC_URI. It is recommended that you make changes to the devtool branch first, then checkout and rebase each devtool-override-* branch and update any unique patches there (duplicates on those branches will be ignored by devtool finish/update-recipe)
INFO: Using source tree as build directory since that would be the default for this recipe
INFO: Recipe xserver-xf86-config now set up to build from /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config
[INFO] successfully built xserver-xf86-config


执行完成后,在目录

“components/yocto/workspace/sources”下增加了目录“xserver-xf86-config/“以及文件”xorg.conf“。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ ls components/yocto/workspace/sources/xserver-xf86-config/
oe-local-files xorg.conf



0 3
修改文件

修改相关的文件,比如”xorg.conf“。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ ls components/yocto/workspace/sources/xserver-xf86-config/
oe-local-files xorg.conf
hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ gedit components/yocto/workspace/sources/xserver-xf86-config/xorg.conf &
[1] 3463



0 4
测试修改

修改相关的文件,执行命令“petalinux-build -c ”,比如“petalinux-build -c xserver-xf86-config ”, 执行编译测试,也可以在单板上测试。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c xserver-xf86-config 

INFO: sourcing build tools
[INFO] building xserver-xf86-config
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] Specified component xserver-xf86-config already exists in workspace, Using the same...
[INFO] devtool build xserver-xf86-config
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2964 cached, 3 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
Removing 1 recipes from the zcu106_zynqmp sysroot: 100% |####################################################################################| Time: 0:00:00
Loading cache: 100% |########################################################################################################################| Time: 0:00:03
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2964 cached, 3 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###################################################################################################################| Time: 0:00:00
Checking sstate mirror object availability: 100% |###########################################################################################| Time: 0:00:00
Sstate summary: Wanted 6 Found 2 Missed 4 Current 59 (33% match, 93% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: xserver-xf86-config: compiling from external source tree /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config
NOTE: Tasks Summary: Attempted 459 tasks of which 450 didn't need to be rerun and all succeeded.
INFO: copy to TFTP-boot directory is not enabled !!
[INFO] successfully built xserver-xf86-config
[1]+ Done gedit components/yocto/workspace/sources/xserver-xf86-config/xorg.conf



0 5
提交更改

测试通过后,进入对应软件的目录,比如“components/yocto/workspace/sources/xserver-xf86-config”,通过git命令提交更改。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config$ git add xorg.confhankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config$ git commit -s
[devtool 23f4304] test
1 file changed, 2 insertions(+)
create mode 100644 test.txt




0 6
生成patch

命令“petalinux-build -c -x update-recipe”会生成patch。


命令“petalinux-build -c -x finish”会生成patch,并在目录workspace删除相关源代码和目录。
creates a patch for the committed changes in recipe sources directory and removes the source from workspace.

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c xserver-xf86-config -x update-recipe
INFO: sourcing build tools
[INFO] building xserver-xf86-config
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] Specified component xserver-xf86-config already exists in workspace, Using the same...
[INFO] devtool update-recipe xserver-xf86-config -a /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user -w
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2964 cached, 3 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
INFO: Handling main branch (devtool)...
INFO: No patches or local source files needed updating
INFO: Handling branch devtool-override-pn-arm-trusted-firmware...
INFO: No patches or local source files needed updating
INFO: Handling branch devtool-override-pn-device-tree...
INFO: No patches or local source files needed updating
INFO: copy to TFTP-boot directory is not enabled !!
[INFO] successfully built xserver-xf86-config

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c xserver-xf86-config -x finish
INFO: sourcing build tools
[INFO] building xserver-xf86-config
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] Specified component xserver-xf86-config already exists in workspace, Using the same...
[INFO] devtool finish xserver-xf86-config /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...

Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2964 cached, 3 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
INFO: Handling main branch (devtool)...
NOTE: Writing append file /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
NOTE: Copying xorg.conf to /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf
INFO: Handling branch devtool-override-pn-arm-trusted-firmware...
INFO: No patches or local source files needed updating
INFO: Handling branch devtool-override-pn-device-tree...
INFO: No patches or local source files needed updating
INFO: Cleaning sysroot for recipe xserver-xf86-config...
INFO: Leaving source tree /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config as-is; if you no longer need it then please delete it manually
[INFO] Removing source tree from workspace: /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config
[INFO] successfully built xserver-xf86-config


执行完成后,目录“project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xf86-config”下增加了文件xorg.conf。

hankf@XSZGS4:/proj/hankf/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xf86-config$ ls -l
total 8
-rw-rw-r-- 1 hankf hankf 765 Nov 27 14:43 xorg.conf
drwxr-xr-x 2 hankf hankf 4096 Nov 27 15:10 zynqmp



0 7
删除软件包

如果测试正常,可以执行命令“petalinux-build -c xserver-xf86-config -x reset”,把软件包从目录workspace删除。ug1144建议使用“devtool reset ”。最好使用“petalinux-build -c xserver-xf86-config -x reset”

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ devtool reset  xserver-xf86-config 
devtool: command not found
hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c xserver-xf86-config -x reset

INFO: sourcing build tools
[INFO] building xserver-xf86-config
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] Specified component xserver-xf86-config already exists in workspace, Using the same...
[INFO] devtool reset xserver-xf86-config
NOTE: Starting bitbake server...
INFO: Cleaning sysroot for recipe xserver-xf86-config...
INFO: Leaving source tree /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config as-is; if you no longer need it then please delete it manually
[INFO] Removing source tree from workspace: /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/xserver-xf86-config
[INFO] successfully built xserver-xf86-config



0 8
其它日志

对比下面命令“petalinux-build -c -x update-recipe”和命令“petalinux-build -c -x finish”的结果,命令“petalinux-build -c -x finish”删除了components/yocto/workspace/sources下的目录gstreamer-vcu-notebooks。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks$ git add test.txt

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks$ git commit -s
[devtool 23f4304] test
1 file changed, 2 insertions(+)
create mode 100644 test.txt

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c gstreamer-vcu-notebooks -x update-recipe

INFO: sourcing build tools
[INFO] building gstreamer-vcu-notebooks
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] Specified component gstreamer-vcu-notebooks already exists in workspace, Using the same...
[INFO] devtool update-recipe gstreamer-vcu-notebooks -a /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user -w
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2964 cached, 3 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
INFO: Handling main branch (devtool)...
NOTE: Writing append file /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-multimedia/gstreamer/gstreamer-vcu-notebooks_%.bbappend
NOTE: Copying 0001-test.patch to /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-multimedia/gstreamer/gstreamer-vcu-notebooks/0001-test.patch
INFO: Handling branch devtool-override-pn-arm-trusted-firmware...
INFO: No patches or local source files needed updating
INFO: Handling branch devtool-override-pn-device-tree...
INFO: No patches or local source files needed updating
INFO: copy to TFTP-boot directory is not enabled !!
[INFO] successfully built gstreamer-vcu-notebooks


hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ ls -l ./components/yocto/workspace/sources/gstreamer-vcu-notebooks/
total 20
lrwxrwxrwx 1 hankf hankf 24 Nov 27 16:49 common.py -> oe-local-files/common.py
lrwxrwxrwx 1 hankf hankf 22 Nov 27 16:49 LICENSE -> oe-local-files/LICENSE
drwxr-xr-x 3 hankf hankf 4096 Nov 27 16:30 oe-local-files
lrwxrwxrwx 1 hankf hankf 160 Nov 27 16:36 oe-logs -> /proj/hankf/zcu106/v201/vcu-trd-xv20/build/tmp/work/zynqmpev-xilinx-linux/gstreamer-vcu-notebooks/0.1-r0/temp
lrwxrwxrwx 1 hankf hankf 155 Nov 27 16:36 oe-workdir -> /proj/hankf/zcu106/v201/vcu-trd-xv20/build/tmp/work/zynqmpev-xilinx-linux/gstreamer-vcu-notebooks/0.1-r0
drwxrwxr-x 2 hankf hankf 4096 Nov 27 16:49 pictures
-rw-rw-r-- 1 hankf hankf 11 Nov 27 16:49 test.txt
lrwxrwxrwx 1 hankf hankf 51 Nov 27 16:49 vcu-demo-camera-decode-display.ipynb -> oe-local-files/vcu-demo-camera-decode-display.ipynb
lrwxrwxrwx 1 hankf hankf 58 Nov 27 16:49 vcu-demo-camera-encode-decode-display.ipynb -> oe-local-files/vcu-demo-camera-encode-decode-display.ipynb
lrwxrwxrwx 1 hankf hankf 48 Nov 27 16:49 vcu-demo-camera-encode-file.ipynb -> oe-local-files/vcu-demo-camera-encode-file.ipynb
lrwxrwxrwx 1 hankf hankf 53 Nov 27 16:49 vcu-demo-camera-encode-streamout.ipynb -> oe-local-files/vcu-demo-camera-encode-streamout.ipynb
lrwxrwxrwx 1 hankf hankf 44 Nov 27 16:49 vcu-demo-decode-display.ipynb -> oe-local-files/vcu-demo-decode-display.ipynb
lrwxrwxrwx 1 hankf hankf 53 Nov 27 16:49 vcu-demo-streamin-decode-display.ipynb -> oe-local-files/vcu-demo-streamin-decode-display.ipynb
lrwxrwxrwx 1 hankf hankf 47 Nov 27 16:49 vcu-demo-transcode-to-file.ipynb -> oe-local-files/vcu-demo-transcode-to-file.ipynb
lrwxrwxrwx 1 hankf hankf 52 Nov 27 16:49 vcu-demo-transcode-to-streamout.ipynb -> oe-local-files/vcu-demo-transcode-to-streamout.ipynb

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c gstreamer-vcu-notebooks -x finish
INFO: sourcing build tools
[INFO] building gstreamer-vcu-notebooks
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] Specified component gstreamer-vcu-notebooks already exists in workspace, Using the same...
[INFO] devtool finish gstreamer-vcu-notebooks /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:05
Parsing of 2967 .bb files complete (2964 cached, 3 parsed). 4236 targets, 168 skipped, 0 masked, 0 errors.
INFO: Handling main branch (devtool)...
NOTE: Writing append file /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-multimedia/gstreamer/gstreamer-vcu-notebooks_%.bbappend
NOTE: Copying 0001-test.patch to /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user/recipes-multimedia/gstreamer/gstreamer-vcu-notebooks/0001-test.patch
INFO: Handling branch devtool-override-pn-arm-trusted-firmware...
INFO: No patches or local source files needed updating
INFO: Handling branch devtool-override-pn-device-tree...
INFO: No patches or local source files needed updating
INFO: Cleaning sysroot for recipe gstreamer-vcu-notebooks...
INFO: Leaving source tree /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks as-is; if you no longer need it then please delete it manually
[INFO] Removing source tree from workspace: /home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks
[INFO] successfully built gstreamer-vcu-notebooks

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ ls -l ./components/yocto/workspace/sources/gstreamer-vcu-notebooks/
ls: cannot access '/home/hankf/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks/': No such file or directory


另外也可以发现,命令自动创建了文件project-spec/meta-user/recipes-multimedia/gstreamer/gstreamer-vcu-notebooks_%.bbappend,自动复制了文件0001-test.patch到目录project-spec/meta-user/recipes-multimedia/gstreamer/gstreamer-vcu-notebooks。


关注我们

FPGA开发圈 这里介绍、交流、有关FPGA开发资料(文档下载,技术解答等),提升FPGA应用能力。
评论 (0)
  • 1. 在Ubuntu官网下载Ubuntu server  20.04版本https://releases.ubuntu.com/20.04.6/2. 在vmware下安装Ubuntu3. 改Ubuntu静态IP$ sudo vi /etc/netplan/00-installer-config.yaml# This is the network config written by 'subiquity'network:  renderer: networkd&nbs
    二月半 2025-04-17 16:27 64浏览
  •   无人机蜂群电磁作战仿真系统软件,是专门用于模拟、验证无人机蜂群在电磁作战环境中协同、干扰、通信以及对抗等能力的工具。下面从功能需求、技术架构、典型功能模块、发展趋势及应用场景等方面展开介绍:   应用案例   目前,已有多个无人机蜂群电磁作战仿真系统在实际应用中取得了显著成效。例如,北京华盛恒辉和北京五木恒润无人机蜂群电磁作战仿真系统。这些成功案例为无人机蜂群电磁作战仿真系统的推广和应用提供了有力支持。   功能需求   电磁环境建模:模拟构建复杂多样的电磁环境,涵盖各类电磁干扰源与
    华盛恒辉l58ll334744 2025-04-17 16:49 62浏览
  • 近日,全球6G技术与产业生态大会(简称“全球6G技术大会”)在南京召开。紫光展锐应邀出席“空天地一体化与数字低空”平行论坛,并从6G通信、感知、定位等多方面分享了紫光展锐在6G前沿科技领域的创新理念及在空天地一体化技术方面的研发探索情况。全球6G技术大会是6G领域覆盖广泛、内容全面的国际会议。今年大会以“共筑创新 同享未来”为主题,聚焦6G愿景与关键技术、安全可信、绿色可持续发展等前沿主题,汇聚国内外24家企业、百余名国际知名高校与科研代表共同商讨如何推动全行业6G标准共识形成。6G迈入关键期,
    紫光展锐 2025-04-17 18:55 123浏览
  •   无人机电磁兼容模拟训练系统软件:全方位剖析   一、系统概述   北京华盛恒辉无人机电磁兼容模拟训练系统软件,专为满足无人机于复杂电磁环境下的运行需求而打造,是一款专业训练工具。其核心功能是模拟无人机在电磁干扰(EMI)与电磁敏感度(EMS)环境里的运行状况,助力用户评估无人机电磁兼容性能,增强其在复杂电磁场景中的适应水平。   应用案例   目前,已有多个无人机电磁兼容模拟训练系统在实际应用中取得了显著成效。例如,北京华盛恒辉和北京五木恒润无人机电磁兼容模拟训练系统。这些成功案例为
    华盛恒辉l58ll334744 2025-04-17 14:52 33浏览
  • 【摘要/前言】4月春日花正好,Electronica就在浪漫春日里,盛大启幕。2025年4月15-17日,慕尼黑上海电子展于上海新国际博览中心成功举办。伴随着AI、新能源汽车、半导体的热潮,今年的Electronica盛况空前。请跟随Samtec的视角,感受精彩时刻!【 Samtec展台:老虎的朋友圈技术派对】借天时、占地利、聚人和,Samtec 展台人气爆棚!每年展会与大家相聚,总能收获温暖与动力~Samtec展台位于W3展馆716展位,新老朋友相聚于此,俨然一场线下技术派对!前沿D
    电子资讯报 2025-04-17 11:38 34浏览
  •   无人机电磁环境效应仿真系统:深度剖析   一、系统概述   无人机电磁环境效应仿真系统,专为无人机在复杂电磁环境下的性能评估及抗干扰能力训练打造。借助高精度仿真技术,它模拟无人机在各类电磁干扰场景中的运行状态,为研发、测试与训练工作提供有力支撑。   应用案例   目前,已有多个无人机电磁环境效应仿真系统在实际应用中取得了显著成效。例如,北京华盛恒辉和北京五木恒润无人机电磁环境效应仿真系统。这些成功案例为无人机电磁环境效应仿真系统的推广和应用提供了有力支持。   二、系统功能  
    华盛恒辉l58ll334744 2025-04-17 15:51 64浏览
  • 置信区间反映的是“样本均值”这个统计量的不确定性,因此使用的是标准误(standard error),而不是直接用样本标准差(standard deviation)。标准误体现的是均值的波动程度,而样本标准差体现的是个体数据的波动程度,两者并非一回事,就如下图所显示的一样。下面优思学院会一步一步解释清楚:一、标准差和标准误,究竟差在哪?很多同学对“标准差”和“标准误”这两个概念傻傻分不清楚,但其实差别明显:标准差(Standard Deviation,σ或s):是衡量单个数据点相对于平均值波动的
    优思学院 2025-04-17 13:59 24浏览
  • 现阶段,Zigbee、Z-Wave、Thread、Wi-Fi与蓝牙等多种通信协议在智能家居行业中已得到广泛应用,但协议间互不兼容的通信问题仍在凸显。由于各协议自成体系、彼此割据,智能家居市场被迫催生出大量桥接器、集线器及兼容性软件以在不同生态的设备间构建通信桥梁,而这种现象不仅增加了智能家居厂商的研发成本与时间投入,还严重削减了终端用户的使用体验。为应对智能家居的生态割裂现象,家居厂商需为不同通信协议重复开发适配方案,而消费者则需面对设备入网流程繁琐、跨品牌功能阉割及兼容隐患等现实困境。在此背景
    华普微HOPERF 2025-04-17 17:53 49浏览
  •   无人机蜂群电磁作战仿真系统全解析   一、系统概述   无人机蜂群电磁作战仿真系统是专业的仿真平台,用于模拟无人机蜂群在复杂电磁环境中的作战行为与性能。它构建虚拟电磁环境,模拟无人机蜂群执行任务时可能遇到的电磁干扰与攻击,评估作战效能和抗干扰能力,为其设计、优化及实战应用提供科学依据。   应用案例   目前,已有多个无人机蜂群电磁作战仿真系统在实际应用中取得了显著成效。例如,北京华盛恒辉和北京五木恒润无人机蜂群电磁作战仿真系统。这些成功案例为无人机蜂群电磁作战仿真系统的推广和应用提
    华盛恒辉l58ll334744 2025-04-17 16:29 69浏览
  • 一、行业背景与需求智能门锁作为智能家居的核心入口,正从单一安防工具向多场景交互终端演进。随着消费者对便捷性、安全性需求的提升,行业竞争已从基础功能转向成本优化与智能化整合。传统门锁后板方案依赖多颗独立芯片(如MCU、电机驱动、通信模块、语音模块等),导致硬件复杂、功耗高、开发周期长,且成本压力显著。如何通过高集成度方案降低成本、提升功能扩展性,成为厂商破局关键。WTVXXX-32N语音芯片通过“单芯片多任务”设计,将语音播报、电机驱动、通信协议解析、传感器检测等功能整合于一体,为智能门锁后板提供
    广州唯创电子 2025-04-18 09:04 106浏览
  • 一、行业背景与需求随着智能化技术的快速发展和用户对便捷性需求的提升,电动车行业正经历从传统机械控制向智能交互的转型。传统电动车依赖物理钥匙、遥控器和独立防盗装置,存在操作繁琐、功能单一、交互性差等问题。用户期待通过手机等智能终端实现远程控制、实时数据监控及个性化交互体验。为此,将蓝牙语音芯片集成至电动车中控系统,成为推动智能化升级的关键技术路径。二、方案概述本方案通过在电动车中控系统中集成WT2605C蓝牙语音芯片,构建一套低成本、高兼容性的智能交互平台,实现以下核心功能:手机互联控制:支持蓝牙
    广州唯创电子 2025-04-18 08:33 96浏览
  •   北京华盛恒辉无人机电磁兼容模拟训练系统软件是专门用于模拟与分析无人机在复杂电磁环境中电磁兼容性(EMC)表现的软件工具。借助仿真技术,它能帮助用户评估无人机在电磁干扰下的性能,优化电磁兼容设计,保障无人机在复杂电磁环境中稳定运行。   应用案例   目前,已有多个无人机电磁兼容模拟训练系统在实际应用中取得了显著成效。例如,北京华盛恒辉和北京五木恒润无人机电磁兼容模拟训练系统。这些成功案例为无人机电磁兼容模拟训练系统的推广和应用提供了有力支持。   系统功能   电磁环境建模:支持三维
    华盛恒辉l58ll334744 2025-04-17 15:10 52浏览
我要评论
0
0
点击右上角,分享到朋友圈 我知道啦
请使用浏览器分享功能 我知道啦