UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
1,945 Views
Registered: ‎02-12-2018

how to enable tcf agent in petalinux 2017.4

Jump to solution

hello,

I need to use TCF agent for petalinux 2017.4. Following UG1144, page 64, there is no Filesystem Packages -> base -> misc submenu in petalinux-config -c rootfs!

@stephenm,

This is related to version 2017.1, does it still apply?

Following AR65538, I build the tcf-agent. Now I cannot perform option 1 or option 2, there is no petalinux/2015.2.1/components/packages-repo/plnx-repo/pool/main/t/tcf-agent to where I am supposed to install it into.


Please provide instructions to setup TCF agent for petalinux 2017.4. Thank you

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
2,171 Views
Registered: ‎09-12-2007

Re: how to enable tcf agent in petalinux 2017.4

Jump to solution
The tcf agent should be enabled by default in petalinux 2017.4. Is this not the case? Can you show your boot log?

View solution in original post

0 Kudos
3 Replies
Moderator
Moderator
2,172 Views
Registered: ‎09-12-2007

Re: how to enable tcf agent in petalinux 2017.4

Jump to solution
The tcf agent should be enabled by default in petalinux 2017.4. Is this not the case? Can you show your boot log?

View solution in original post

0 Kudos
1,890 Views
Registered: ‎02-12-2018

Re: how to enable tcf agent in petalinux 2017.4

Jump to solution



hello @stephenm,

Thank you for your reply. I did not try to boot my petalinux platform yet. I am attempting to follow instructions in UG1144 to enable tcf agent.

here is my build log:

user@machine:~/$ petalinux-create -t project -n sw --template zynq
INFO: Create project: sw
INFO: New project successfully created in /home/user/sw
user@machine:~/$ cd hardware/lab6.sdk
user@machine:~/hardware/lab6.sdk$ petalinux-config --get-hw-description -p ../../sw
INFO: Getting hardware description...
INFO: Rename system_wrapper.hdf to system.hdf
[INFO] generating Kconfig for project
                                                                                                     
[INFO] menuconfig project
/home/user/sw/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported
/home/user/sw/build/misc/config/Kconfig:568:warning: config symbol defined without type
configuration written to /home/user/sw/project-spec/configs/config

*** 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
~/sw/build/misc/plnx-generated ~/hardware/lab6.sdk
~/hardware/lab6.sdk
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time ! 
~/sw/build/misc/plnx-generated ~/hardware/lab6.sdk
~/hardware/lab6.sdk
[INFO] generating u-boot configuration files
                                                                                                     
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
user@machine:~/hardware/lab6.sdk$ cd ../../sw
user@machine:~/sw$ petalinux-config
[INFO] generating Kconfig for project
                                                                                                     
[INFO] menuconfig project
/home/user/sw/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported
/home/user/sw/build/misc/config/Kconfig:568:warning: config symbol defined without type
configuration written to /home/user/sw/project-spec/configs/config

*** 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
~/sw/build/misc/plnx-generated ~/sw
~/sw
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time ! 
~/sw/build/misc/plnx-generated ~/sw
~/sw
[INFO] generating u-boot configuration files
                                                                                                     
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
[INFO] successfully configured project
user@machine:~/sw$ petalinux-config -c kernel
[INFO] generating Kconfig for project
                                                                                                     
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/sw/build/misc/plnx-generated ~/sw
~/sw
[INFO] generating machine configuration
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Parsing recipes: 100% |###############################################################| Time: 0:00:29
Parsing of 2466 .bb files complete (0 cached, 2466 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |############################################################| Time: 0:00:02
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
Parsing recipes: 100% |###############################################################| Time: 0:00:30
Parsing of 2466 .bb files complete (0 cached, 2466 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |############################################################| Time: 0:00:02
Checking sstate mirror object availability: 100% |####################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 318 tasks of which 302 didn't need to be rerun and all succeeded.
bitbake -c diffconfig virtual/kernel
Loading cache...done.
Loaded 3257 entries from dependency cache.
Parsing recipes...done.
Parsing of 2466 .bb files complete (2434 cached, 32 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks...done.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 22 of 22 (/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_diffconfig)
NOTE: recipe linux-xlnx-4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0: task do_diffconfig: Started
NOTE: recipe linux-xlnx-4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0: task do_diffconfig: Succeeded
NOTE: Tasks Summary: Attempted 22 tasks of which 21 didn't need to be rerun and all succeeded.

Loading cache: 100% |#################################################################| Time: 0:00:00
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:01
Parsing of 2466 .bb files complete (2434 cached, 32 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |############################################################| Time: 0:00:02
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
[INFO] successfully configured kernel
user@machine:~/sw$ petalinux-create -t apps --template c --name xvcServer --enable
INFO: Create apps: xvcServer
INFO: New apps successfully created in /home/user/sw/project-spec/meta-user/recipes-apps/xvcServer
INFO: Enabling created component...
INFO: sourcing bitbake
INFO: oldconfig rootfs
INFO: xvcServer has been enabled 
user@machine:~/sw$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |#################################################################| Time: 0:00:00
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:01
Parsing of 2467 .bb files complete (2434 cached, 33 parsed). 3260 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |############################################################| Time: 0:00:03
Checking sstate mirror object availability: 100% |####################################| Time: 0:00:24
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: xvcServer-1.0-r0 do_package_qa: QA Issue: /usr/bin/xvcServer contained in package xvcServer requires libc.so.6, but no providers found in RDEPENDS_xvcServer? [file-rdeps]
fsbl-2017.4+gitAUTOINC+77448ae629-r0 do_compile: NOTE: fsbl: compiling from external source tree /opt/pkg/petalinux/tools/hsm/data/embeddedsw
NOTE: Tasks Summary: Attempted 2458 tasks of which 1884 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
INFO: Copying Images from deploy to images
INFO: Creating images/linux directory
NOTE: Successfully copied built images to tftp dir:  /tftpboot
[INFO] successfully built project
user@machine:~/sw$ petalinux-config -c rootfs
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/sw/build/misc/plnx-generated ~/sw
~/sw
[INFO] generating machine configuration
[INFO] configuring: rootfs
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] menuconfig rootfs


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

[INFO] generating petalinux-user-image.bb
[INFO] successfully configured rootfs
user@machine:~/sw/$ 



Result:

missingMisc.png

According to UG1144, p.64 there should be Configuration -> Filesystem packages -> base -> misc.

 

I am going to boot the petalinux platform to see if tcf agent had been enabled by default, I am unable to, manually.

0 Kudos
1,883 Views
Registered: ‎02-12-2018

Re: how to enable tcf agent in petalinux 2017.4

Jump to solution

@stephenm,

 

I was unable to do the following step:

 

        Also, make sure that the tcf-agent is enabled in the rootfs:
        petalinux-config -c rootfs

 

That aside, I was able to use the tcf-agent so it is enabled by default like you said.

I have no need to proceed on this topic any further, although I do believe I am following UG1144 correctly. I am closing this thread now.

Thank you for your assistance.

Tags (3)
0 Kudos