Yocto Reference Manual

Add to My manuals
44 Pages

advertisement

Yocto Reference Manual | Manualzz

Yocto Reference Manual

After booting you can login using a serial cable or over ssh. There is no root password. That is because of the debug settings in conf/local.conf. If you comment out the line

#EXTRA_IMAGE_FEATURES = "debug‐tweaks"  the debug settings, like setting an empty root password, will not be applied.

6.3 Installing the SDK

To install the SDK for a machine and image type, you can create an SDK installer with

Bitbake in the BSP itself. Ensure that the correct target machine is set. You also need to

pass the image type you want to create the SDK for: host$ bitbake <image> ‐c populate_sdk 

This takes 1-5 hours depending on the image type and host machine (like building a

BSP). After that you may find the installer in your Yocto directory under:

build/deploy/sdk

Install the SDK with (example): host$ cd build/deploy/sdk  host$ ./poky‐glibc‐x86_64‐phytec‐qt4demo‐image‐cortexa8t2hf‐vfp‐neon‐ toolchain‐1.7.sh 

Usage example with a simple C file named bumpRTS.c host$ source /opt/poky/1.7/environment‐setup‐cortexa8t2hf‐vfp‐neon‐poky‐ linux‐gnueabi  host$ make bumpRTS 

Creates an arm binary: host$ file bumpRTS bumpRTS: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked

(uses shared libs), for GNU/Linux 2.6.32,

BuildID[sha1]=42d4aa389d09ade2023364e4eef9021080f610f9, not stripped

6.4 Accessing Development States between Releases

Special release manifests exist to give you access to current development states of the

Yocto BSP. They will not be displayed in the phyLinux selection menu but need to be

selected manually. This can be done by the following command line:

./phyLinux ‐r dizzy 

This will initialize a BSP which will track the latest development state. From now on running: repo sync  in this folder will pull all the latest changes from our Git repositories.

14 © PHYTEC Messtechnik GmbH 2015 L-813e_2

advertisement

Related manuals