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

Using Devtool

Steven Hang edited this page Aug 1, 2019 · 1 revision

Devtool is useful for making modifications to some code, cross compiling, then deploying to the target to test without having to recompile the image. Here's how you'd normally use it for something like otto-core:

  1. First make sure your bitbake environment is set up and you are in your build folder (see otto-bsp-platform first if you do not know what this means):
source setup-environment build
  1. Create a local source directory of the recipe you want to modify.
devtool modify otto-core
  1. Modify the source in build/workspace/sources/otto-core

  2. Build the source

devtool build otto-core
  1. Make sure your target system is on and connected to the internet. See the Connecting to WiFi page for more information. You can get the IP address by running
hostname -i

from the target.

  1. Deploy the application to the target
devtool deploy-target -s otto-core root@<ip_address>
Clone this wiki locally