bsp-guide: Removed 3.10 and 3.17 kernel references.
Version 1.8 drops support of the 3.10 and 3.17 kernels. The emenlow example was using the 3.10 kernel recipe as a showcase and it also listed the recipe in the directory structure. I removed it. Additionally, the yocto-bsp create command was prompting for the user to accept the default 3.17 kernel. I changed that to 3.19. (From yocto-docs rev: 03bf66e961400b27b7e31d4a25776a11ce5719fd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a0a1f173df
commit
a438aa3545
|
@ -225,8 +225,6 @@
|
||||||
meta-emenlow/recipes-kernel/
|
meta-emenlow/recipes-kernel/
|
||||||
meta-emenlow/recipes-kernel/linux/
|
meta-emenlow/recipes-kernel/linux/
|
||||||
meta-emenlow/recipes-kernel/linux/linux-yocto-dev.bbappend
|
meta-emenlow/recipes-kernel/linux/linux-yocto-dev.bbappend
|
||||||
meta-emenlow/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
|
|
||||||
meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend
|
|
||||||
meta-emenlow/recipes-kernel/linux/linux-yocto_3.14.bbappend
|
meta-emenlow/recipes-kernel/linux/linux-yocto_3.14.bbappend
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
@ -558,28 +556,28 @@
|
||||||
the <filename>meta-<replaceable>bsp_name</replaceable>/recipes-kernel/linux</filename> directory).
|
the <filename>meta-<replaceable>bsp_name</replaceable>/recipes-kernel/linux</filename> directory).
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Suppose you are using the <filename>linux-yocto_3.10.bb</filename> recipe to build
|
Suppose you are using the <filename>linux-yocto_3.14.bb</filename> recipe to build
|
||||||
the kernel.
|
the kernel.
|
||||||
In other words, you have selected the kernel in your
|
In other words, you have selected the kernel in your
|
||||||
<replaceable>bsp_name</replaceable><filename>.conf</filename> file by adding these types
|
<replaceable>bsp_name</replaceable><filename>.conf</filename> file by adding these types
|
||||||
of statements:
|
of statements:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
PREFERRED_VERSION_linux-yocto ?= "3.10%"
|
PREFERRED_VERSION_linux-yocto ?= "3.14%"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
<note>
|
<note>
|
||||||
When the preferred provider is assumed by default, the
|
When the preferred provider is assumed by default, the
|
||||||
<filename>PREFERRED_PROVIDER</filename> statement does not appear in the
|
<filename>PREFERRED_PROVIDER</filename> statement does not appear in the
|
||||||
<replaceable>bsp_name</replaceable><filename>.conf</filename> file.
|
<replaceable>bsp_name</replaceable><filename>.conf</filename> file.
|
||||||
</note>
|
</note>
|
||||||
You would use the <filename>linux-yocto_3.10.bbappend</filename> file to append
|
You would use the <filename>linux-yocto_3.14.bbappend</filename> file to append
|
||||||
specific BSP settings to the kernel, thus configuring the kernel for your particular BSP.
|
specific BSP settings to the kernel, thus configuring the kernel for your particular BSP.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
As an example, look at the existing eMenlow BSP.
|
As an example, look at the existing eMenlow BSP.
|
||||||
The append file used is:
|
The append file used is:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend
|
meta-emenlow/recipes-kernel/linux/linux-yocto_3.14.bbappend
|
||||||
</literallayout>
|
</literallayout>
|
||||||
The following listing shows the file.
|
The following listing shows the file.
|
||||||
Be aware that the actual commit ID strings in this example listing might be different
|
Be aware that the actual commit ID strings in this example listing might be different
|
||||||
|
@ -590,12 +588,12 @@
|
||||||
|
|
||||||
COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd"
|
COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd"
|
||||||
KMACHINE_emenlow-noemgd = "emenlow"
|
KMACHINE_emenlow-noemgd = "emenlow"
|
||||||
KBRANCH_emenlow-noemgd = "standard/emenlow"
|
KBRANCH_emenlow-noemgd = "standard/base"
|
||||||
KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500"
|
KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500"
|
||||||
|
|
||||||
LINUX_VERSION_emenlow-noemgd = "3.10.55"
|
LINUX_VERSION_emenlow-noemgd = "3.14.19"
|
||||||
SRCREV_meta_emenlow-noemgd = "f79a00265eefbe2fffc2cdb03f67235497a9a87e"
|
SRCREV_machine_emenlow-noemgd = "902f34d36102a4b2008b776ecae686f80d307e12"
|
||||||
SRCREV_machine_emenlow-noemgd = "3677ea7f9476458aa6dec440243de3a6fb1343a9"
|
SRCREV_meta_emenlow-noemgd = "28e39741b8b3018334021d981369d3fd61f18f5b"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
This append file contains statements used to support the
|
This append file contains statements used to support the
|
||||||
eMenlow BSP.
|
eMenlow BSP.
|
||||||
|
@ -613,7 +611,7 @@
|
||||||
The
|
The
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-KERNEL_FEATURES'><filename>KERNEL_FEATURES</filename></ulink>
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-KERNEL_FEATURES'><filename>KERNEL_FEATURES</filename></ulink>
|
||||||
variable enables features specific to the kernel
|
variable enables features specific to the kernel
|
||||||
(e.g. VESA graphics support in this case).
|
(e.g. Intel GMA-500 DRM Driver in this case).
|
||||||
The append file points to specific commits in the
|
The append file points to specific commits in the
|
||||||
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
|
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
|
||||||
Git repository and the <filename>meta</filename> Git repository
|
Git repository and the <filename>meta</filename> Git repository
|
||||||
|
@ -1335,9 +1333,9 @@
|
||||||
5) MIPS (32-bit)
|
5) MIPS (32-bit)
|
||||||
6) MIPS64 (64-bit)
|
6) MIPS64 (64-bit)
|
||||||
3
|
3
|
||||||
Would you like to use the default (3.17) kernel? (y/n) [default: y] y
|
Would you like to use the default (3.19) kernel? (y/n) [default: y] y
|
||||||
Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [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-3.17.git...
|
Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.19.git...
|
||||||
Please choose a machine branch to base your new BSP branch on: [default: standard/base]
|
Please choose a machine branch to base your new BSP branch on: [default: standard/base]
|
||||||
1) standard/arm-versatile-926ejs
|
1) standard/arm-versatile-926ejs
|
||||||
2) standard/base
|
2) standard/base
|
||||||
|
@ -1365,7 +1363,7 @@
|
||||||
In the example, we use the ARM architecture.
|
In the example, we use the ARM architecture.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>The script then prompts you for the kernel.
|
<listitem><para>The script then prompts you for the kernel.
|
||||||
The default 3.17 kernel is acceptable.
|
The default 3.19 kernel is acceptable.
|
||||||
So, the example accepts the default.
|
So, the example accepts the default.
|
||||||
If you enter 'n', the script prompts you to further enter the kernel
|
If you enter 'n', the script prompts you to further enter the kernel
|
||||||
you do want to use.</para></listitem>
|
you do want to use.</para></listitem>
|
||||||
|
|
Loading…
Reference in New Issue