Forums » Software Development »
Miscellaneous questions
Added by Pierre-Yves BRETECHER over 10 years ago
Hi,
I'm using the pre-dev MitySOM eval board and I'm trying to rebuild a complete working environment with the current yocto poky distro (linux 3.12) as instructed in the wiki.
Most stuff is working but I have some open question :
Although memtool is present in the poky/meta-mitysom-5csx/recipes-devtools , it is not part of of the resulting rootfs. It was easy to "manually" build it separately and to place it on the target FS. I don't know why it is not automatically added to the yocto build. What can be wrong ?
I have the same issue with i2cget & i2cset (adding i2c-tools in the local.conf does not work). What is the best way to add i2c-tools ?
I had also to add openssh-sftp-server in the local.conf in order to be able to use ssh Eclipse ethernet remote debug (was working on the delivered SD card with early SOM board : dated sept 2013):
CORE_IMAGE_EXTRA_INSTALL = " openssh-sftp-server"
IMAGE_INSTALL_append = " openssh-sftp-server"
That's enough for today ;-)
Thanks for your help.
PY
Replies (4)
RE: Miscellaneous questions - Added by Michael Williamson over 10 years ago
Memtool and the i2c-utils aren't added to our reference filesystem image, but you could add it by modifying the IMAGE_INSTALL_append variable in your local.conf file to include "i2c-tools" as well as "memtool".
We will push an update to the sample configuration file in the meta-mitysom-5csx layer soon. Sorry for the delay in the response.
-Mike
RE: Miscellaneous questions - Added by Pierre-Yves BRETECHER over 10 years ago
Hi Mike,
adding "i2c-tools" to IMAGE_INSTALL_append gives me this error while executing "bitbake core-image-basic" :
ERROR: Nothing RPROVIDES 'i2c-tools' (but /home/user/yocto/poky/meta/recipes-extended/images/core-image-basic.bb RDEPENDS on or otherwise requires it)
It works for memtool.
Pierre-Yves
RE: Miscellaneous questions - Added by Michael Williamson over 10 years ago
Hi,
Sorry. The i2c-tools recipe is part of the meta-openembedded layer that you don't get by default from the basic yocto process.
You need to download that layer (git clone) and add it to your build/conf/bblayers.conf file.
(in poky folder) git clone git::/git.openembedded.org/meta-openembedded cd meta-openembedded git checkout -b dora origin/dora
-Mike
RE: Miscellaneous questions - Added by Michael Williamson over 10 years ago
Note:
you need to add "meta-openembedded/meta-oe" as the layer, not just "meta-openembedded".
-Mike