[yocto] Tools for measuring temperature on Tegra-Harmony board or in general

Satya Swaroop Damarla swaroop.damarla at gmail.com
Mon Apr 22 04:09:31 PDT 2013


Hey Paul..

Based on your advice.. I am using the recipe of lm-sensors and I have an
issue.. When I do the normal "bitbake lmsensors", I have absolutely no
issue but when I try to install it into the rootfs then, I get the
following error..
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_rootfs (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.24405
for further information)
ERROR: Logfile of failure stored in:
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.24405
Log data follows:
| DEBUG: Executing shell function do_rootfs
| dpkg-scanpackages.real: info: Wrote 45 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 5479 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 159 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 45 entries to output Packages file.
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Get:1 file: ./ Release [23 B]
| Get:2 file: ./ Release [29 B]
| Get:3 file: ./ Release [11 B]
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Reading package lists...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following extra packages will be installed:
|   eglibc-localedata-iso14651-t1 eglibc-localedata-iso14651-t1-common
|   eglibc-localedata-translit-circle eglibc-localedata-translit-cjk-compat
|   eglibc-localedata-translit-compat eglibc-localedata-translit-font
|   eglibc-localedata-translit-fraction eglibc-localedata-translit-narrow
|   eglibc-localedata-translit-neutral eglibc-localedata-translit-small
|   eglibc-localedata-translit-wide
| The following NEW packages will be installed:
|   eglibc-localedata-i18n eglibc-localedata-iso14651-t1
|   eglibc-localedata-iso14651-t1-common eglibc-localedata-translit-circle
|   eglibc-localedata-translit-cjk-compat eglibc-localedata-translit-compat
|   eglibc-localedata-translit-font eglibc-localedata-translit-fraction
|   eglibc-localedata-translit-narrow eglibc-localedata-translit-neutral
|   eglibc-localedata-translit-small eglibc-localedata-translit-wide
| 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
| Need to get 0 B/131 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| WARNING: The following packages cannot be authenticated!
|   eglibc-localedata-translit-circle eglibc-localedata-translit-cjk-compat
|   eglibc-localedata-translit-small eglibc-localedata-translit-compat
|   eglibc-localedata-translit-narrow eglibc-localedata-translit-wide
|   eglibc-localedata-translit-font eglibc-localedata-translit-fraction
|   eglibc-localedata-translit-neutral eglibc-localedata-iso14651-t1-common
|   eglibc-localedata-iso14651-t1 eglibc-localedata-i18n
| Authentication warning overridden.
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-circle.
| (Reading database ... 0 files and directories currently installed.)
| Unpacking eglibc-localedata-translit-circle (from
.../eglibc-localedata-translit-circle_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-translit-cjk-compat.
| Unpacking eglibc-localedata-translit-cjk-compat (from
.../eglibc-localedata-translit-cjk-compat_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-small.
| Unpacking eglibc-localedata-translit-small (from
.../eglibc-localedata-translit-small_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-compat.
| Unpacking eglibc-localedata-translit-compat (from
.../eglibc-localedata-translit-compat_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-narrow.
| Unpacking eglibc-localedata-translit-narrow (from
.../eglibc-localedata-translit-narrow_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-wide.
| Unpacking eglibc-localedata-translit-wide (from
.../eglibc-localedata-translit-wide_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-font.
| Unpacking eglibc-localedata-translit-font (from
.../eglibc-localedata-translit-font_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-translit-fraction.
| Unpacking eglibc-localedata-translit-fraction (from
.../eglibc-localedata-translit-fraction_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-translit-neutral.
| Unpacking eglibc-localedata-translit-neutral (from
.../eglibc-localedata-translit-neutral_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-iso14651-t1-common.
| Unpacking eglibc-localedata-iso14651-t1-common (from
.../eglibc-localedata-iso14651-t1-common_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-iso14651-t1.
| Unpacking eglibc-localedata-iso14651-t1 (from
.../eglibc-localedata-iso14651-t1_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-i18n.
| Unpacking eglibc-localedata-i18n (from
.../eglibc-localedata-i18n_2.17-r0_armel.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following extra packages will be installed:
|   eglibc-binary-localedata-en-us
| The following NEW packages will be installed:
|   eglibc-binary-localedata-en-us locale-base-en-us
| 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| 12 not fully installed or removed.
| Need to get 0 B/327 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| WARNING: The following packages cannot be authenticated!
|   eglibc-binary-localedata-en-us locale-base-en-us
| Authentication warning overridden.
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-binary-localedata-en-us.
| (Reading database ... 17 files and directories currently installed.)
| Unpacking eglibc-binary-localedata-en-us (from
.../eglibc-binary-localedata-en-us_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package locale-base-en-us.
| Unpacking locale-base-en-us (from
.../locale-base-en-us_2.17-r0_armel.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following extra packages will be installed:
|   eglibc-binary-localedata-en-gb
| The following NEW packages will be installed:
|   eglibc-binary-localedata-en-gb locale-base-en-gb
| 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| 14 not fully installed or removed.
| Need to get 0 B/327 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| WARNING: The following packages cannot be authenticated!
|   eglibc-binary-localedata-en-gb locale-base-en-gb
| Authentication warning overridden.
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-binary-localedata-en-gb.
| (Reading database ... 33 files and directories currently installed.)
| Unpacking eglibc-binary-localedata-en-gb (from
.../eglibc-binary-localedata-en-gb_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package locale-base-en-gb.
| Unpacking locale-base-en-gb (from
.../locale-base-en-gb_2.17-r0_armel.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Package lmsensors is not available, but is referred to by another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source
|
| E: Package 'lmsensors' has no installation candidate
| ERROR: Function failed: do_rootfs (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.24405
for further information)
ERROR: Task 7 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5467 tasks of which 5454 didn't need to be
rerun and 1 failed.
No currently running tasks (5467 of 5468)

Summary: 1 task failed:
  /home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.




On Mon, Apr 15, 2013 at 6:40 PM, Paul Eggleton <
paul.eggleton at linux.intel.com> wrote:

> On Monday 15 April 2013 16:17:20 Satya Swaroop Damarla wrote:
> > I have successfully compiled and am so happy the way poky is working on
> my
> > Tgera-Harmony modified version board... I have a new requirement which is
> > to find temperature of CPU so that we can control the fan..
> >
> > I think it comes with NCT1008-i2c-4-4C temperature sensor and has Tegra
> i2C
> > adapter
>
> I have no experience with this platform, however typically on Linux,
> lm_sensors is the piece of software used to read sensor values such as
> temperature, fan speed etc. There is an lm_sensors recipe in the meta-oe
> layer.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130422/d534e147/attachment.html>


More information about the yocto mailing list