Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

REF OS IOT 5xx (Joule)

Sami Törölä edited this page Jun 6, 2017 · 7 revisions

Joule 5xx REF OS IOT USAGE

see requisites page for host PC setup

SW Build

  • REF OS IOT has to be build to get all the needed symbol and object files
  • Own REF OS IOT has to be flashed to 5xx
  • Own REF OS IOT SW build has to be accessible from the tracing host PC

Trace connection SSH

Recommend way of tracing is use SSH connection. Prepare 5xx SSH connection to work with SSH keys so that password is not needed. User should be root or user with root rights.

Configuring SATT for REF OS IOT

Configure SATT

> satt config

Current configuration:
   None

Select target OS:
   0) Linux
   1) Android
   2) ChromeOS
   3) Yocto
3

Selected OS = Yocto

Autoselect control bus: SSH

Set SSH IP address:
   Give IP address to connect (current 127.0.0.1): <give your devices IP address>

Set Login ID for the SSH:
   Give Login ID (*current: root): <just hit enter>

Autoselect trace destination: RAM

Select kernel paths:

   Hint: folder which contains kernel module binaries under kernel sub folder
   dir   - kernel
   file  - modules.dep
   files - modules.*

   Give kernel modules path: <your build environment kernel modules path>

You will need to find and give your kernel modules path, but use this as a hint:

/home/myuser/codes/REF-OS-IOT/build/tmp-glibc/work/intel_5xx_64-refos-linux/full-image/1.0-r0/rootfs/lib/modules/4.4.41-yocto-standard

   Path found and looks valid!

   Hint: folder which contains vmlinux and System.map files
   dir   - arch
   dir   - drivers
   dir   - include
   dir   - kernel
   file  - System.map
   file  - vmlinux.*

   Give another kernel path: <your kernel build path>

Look for your like in this example:

/your-sw-builds/REF-OS-IOT/build/tmp-glibc/work/corei7-64-intel-common-refos-linux/linux-yocto/4.4.41+gitAUTOINC+271b0c8d51_a249f6388a-r0/linux-corei7-64-intel-common-standard-build

   Hint: folder which contains kernel sources
   dir   - arch
   dir   - drivers
   dir   - include
   file  - Kbuild
   file  - Kconfig
   dir   - net
   dir   - scripts
   Give another kernel source path: <kernel sources path>

Look for your like:

/your-sw-builds/REF-OS-IOT/build/tmp-glibc/work-shared/intel-5xx-64/kernel-source

Select target paths:

   Hint: folder which contains all other binaries e.g. *.so
   dir   - etc
   dir   - lib
   dir   - usr
   dir   - var
   Give another target build path: <build rootfs path>

Look for build path which contains all the binaries which end up in to the device, yocto useally something like this:

/your-sw-builds/REF-OS-IOT/build/tmp-glibc/work/intel_5xx_64-refos-linux/full-image/1.0-r0/rootfs