-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yocto Linux meta recipe for wolfTPM examples #92
base: master
Are you sure you want to change the base?
Conversation
…to disable or enable examples
ed6529c
to
9530fc6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few things that need to happen before we can merge this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be a path issue, it is use the original host system's path and not the target systems.
|
||
``` | ||
$ cd bench | ||
$ ./bench |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This step produces this:
Poky (Yocto Project Reference Distro) 4.0.19 qemux86-64 /dev/ttyS0
qemux86-64 login: root
root@qemux86-64:~# cd /usr/bin/
Display all 100 possibilities? (y or n)
root@qemux86-64:~# cd /usr/bin/examples/
root@qemux86-64:/usr/bin/examples# cd ./bench/
root@qemux86-64:/usr/bin/examples/bench# ./bench
./bench: line 202: cd: /home/dell5060/wolfWork/yocto/kirkstone-poky/build/tmp/work/core2-64-poky-linux/wolftpm/3.2.0-r0/build: No such file or directory
./bench: line 202: x86_64-poky-linux-gcc: command not found
root@qemux86-64:/usr/bin/examples/bench#
Seems like it is use the host system file path still instead of the correct path for the target system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add this was with yocto kirkstone
Description
Added
recipes-examples/wolftpm/wolftpm-examples.bb
andrecipes-examples/wolftpm/wolftpm_%.bbappend
to add support for wolfTPM examples directory.IMAGE_INSTALL
argument for wolftpm examples ->wolftpm-examples
Works on
Scarthgap
tested -core-image-minimal
andcore-image-full-cmdline
I also added a README in this directory with relevant info.
Runs in
runqemu qemux86-64
inusr/bin/examples
examples can be ran like this: