From ea256df2a8af386f5c8c7bc7744d6d790ab0a3f9 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 30 Aug 2017 13:34:52 -0700 Subject: dev-manual, kernel-dev: Working kernel flow process using devtool A work-in-progress of an example that modifies the kernel using the devtool. The procedure is not complete yet as it does not run properly. (From yocto-docs rev: 462ba2e46f237c294f05805ad5044291a085975d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-intro.xml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'documentation/kernel-dev/kernel-dev-intro.xml') diff --git a/documentation/kernel-dev/kernel-dev-intro.xml b/documentation/kernel-dev/kernel-dev-intro.xml index a2644aaa13..ce8e0fcb6d 100644 --- a/documentation/kernel-dev/kernel-dev-intro.xml +++ b/documentation/kernel-dev/kernel-dev-intro.xml @@ -108,6 +108,16 @@ "Cloning the poky Repository" section in the Yocto Project Development Manual to set up your Source Directory. + + Be sure you check out the appropriate development branch or + by tag to get the version of Yocto Project you want. + See the + "Checking Out by Branch in Poky" + and + "Checking Out by Tag in Poky" + sections in the Yocto Project Development Manual for more + information. + @@ -156,7 +166,7 @@ building for the QEMU emulator in 32-bit mode. However, if you are not, you need to set the MACHINE variable appropriately in - your local.conf file found in the + your conf/local.conf file found in the Build Directory (i.e. ~/poky/build in this example). @@ -208,6 +218,7 @@ Use BitBake to build the extensible SDK specifically for the Minnowboard: + $ cd ~/poky/build $ bitbake core-image-minimal -c populate_sdk_ext Once the build finishes, you can find the SDK installer @@ -290,12 +301,9 @@ If you were building for actual hardware and not for emulation, you could flash the image to a USB stick on /dev/sdd and boot your device. - Use a command similar to the following command to flash - the image: - - $ sudo dd if=tmp/deploy/images/architecture/core-image-minimal-architecture.wic of=/dev/sdd bs=1MB - $ sync - + For an example that uses a Minnowboard, see the + TipsAndTricks/KernelDevelopmentWithEsdk + Wiki page. -- cgit v1.2.3-54-g00ecf