From 4a71d17172989a860aa192ec6e89e28d6cda5cbd Mon Sep 17 00:00:00 2001 From: Kristi Rifenbark Date: Fri, 17 Nov 2017 16:30:16 -0800 Subject: bsp-guide: WIP Removing yocto-bsp (From yocto-docs rev: 056cc0c1dab79df6911552a690ca6b4dc302cc8b) Signed-off-by: Kristi Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 88 +++++++++++------------------------------ 1 file changed, 24 insertions(+), 64 deletions(-) (limited to 'documentation/bsp-guide/bsp.xml') diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index d7b6f15b26..21672b43ce 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -1612,46 +1612,34 @@ Creating a new BSP Layer Using the yocto-bsp Script - The yocto-bsp script creates a new - BSP layer for any architecture supported - by the Yocto Project, as well as QEMU versions of the same. - The default mode of the script's operation is to prompt you for information needed - to generate the BSP layer. + [SOMETHING ABOUT CREATING A GENERAL LAYER USING bitbake-layers SCRIPT] + The [MODIFICATION NAME] sub-command creates a new + BSP layer for any architecture + supported by the Yocto Project, as well as QEMU versions of the same. + The default mode of the script's operation is to prompt you for + information needed to generate the BSP layer. - For the current set of BSPs, the script prompts you for various important - parameters such as: + For the current set of BSPs, the [SCRIPT] prompts you for various + important parameters such as: - The kernel to use - The branch of that kernel to use (or re-use) - Whether or not to use X, and if so, which drivers to use - Whether to turn on SMP - Whether the BSP has a keyboard - Whether the BSP has a touchscreen - Remaining configurable items associated with the BSP + [PAREMETER 1] + [PARAMETER 2] + [PARAMETER 3] + [PARAMETER 4] + [PARAMETER 5] + [PARAMETER 6] + [PARAMETER 7] - You use the yocto-bsp create sub-command to create - a new BSP layer. - This command requires you to specify a particular kernel architecture - (karch) on which to base the BSP. - Assuming you have sourced the environment, you can use the - yocto-bsp list karch sub-command to list the - architectures available for BSP creation as follows: - - $ yocto-bsp list karch - Architectures available: - powerpc - x86_64 - i386 - arm - qemu - mips - mips64 - + [ASSUMING STEP ONE IS RUNNING bitbake-layers TO CREATE GENERIC LAYER - INTRO] + For instructions on how to create a general layer using the + bitbake-layers script see the + "Creating a General Layer Using the bitbake-layers Script" + section. @@ -1667,7 +1655,7 @@ - As the yocto-bsp create command runs, default values for + [ASSUMING SIMLILAR ACTION OCCURS]As the [SUBCOMMAND] command runs, default values for the prompts appear in brackets. Pressing enter without supplying anything on the command line or pressing enter with an invalid response causes the script to accept the default value. @@ -1681,39 +1669,10 @@ Following is the complete example: - $ yocto-bsp create myarm qemu - Checking basic git connectivity... - Done. - - Which qemu architecture would you like to use? [default: i386] - 1) i386 (32-bit) - 2) x86_64 (64-bit) - 3) ARM (32-bit) - 4) PowerPC (32-bit) - 5) MIPS (32-bit) - 6) MIPS64 (64-bit) - 3 - Would you like to use the default (4.8) kernel? (y/n) [default: y] - Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] - Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-4.8.git... - Please choose a machine branch to base this BSP on: [default: standard/base] - 1) standard/arm-versatile-926ejs - 2) standard/base - 3) standard/beaglebone - 4) standard/edgerouter - 5) standard/fsl-mpc8315e-rdb - 6) standard/mti-malta32 - 7) standard/mti-malta64 - 8) standard/qemuarm64 - 9) standard/qemuppc - 1 - Would you like SMP support? (y/n) [default: y] - Does your BSP have a touchscreen? (y/n) [default: n] - Does your BSP have a keyboard? (y/n) [default: y] - - New qemu BSP created in meta-myarm +[INSERT EXAMPLE] Take a closer look at the example now: + [UPDATE EXAMPLE STRUCTURE BASED ON NEW INSTRUCTIONS] For the QEMU architecture, the script first prompts you for which emulated architecture to use. @@ -1765,6 +1724,7 @@ /usr/local/src/yocto/meta-myarm \ " + [YOCTO-KERNEL WILL BE REMOVED - THIS NEEDS UPDATED WITH NEW INFO] Adding the layer to this file allows the build system to build the BSP and the yocto-kernel tool to be able to find the layer and other Metadata it needs on which to operate. -- cgit v1.2.3-54-g00ecf