diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2019-05-06 10:40:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-07 10:23:41 +0100 |
commit | 2a540a95a52e5b750d708f7531acf759c8630763 (patch) | |
tree | 98946ce9ec85d597b3e720ff5a031cf6688114d6 /documentation | |
parent | bfe52a3d6cb58f3c03e5874e5c76b53b5ed22e5d (diff) | |
download | poky-2a540a95a52e5b750d708f7531acf759c8630763.tar.gz |
bsp-guide: Updated the "beaglebone-yocto.conf" example.
This listing had gone stale. I updated the actual listing to match
what is in poky repository and adjusted the various variable
explanations affected.
(From yocto-docs rev: 44ccb6ea7301ffa43c89f7a4f28265ea28725f99)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/bsp-guide/bsp.xml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 0327f6db62..1d37a443ec 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml | |||
@@ -1902,10 +1902,11 @@ | |||
1902 | IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" | 1902 | IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" |
1903 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" | 1903 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |
1904 | 1904 | ||
1905 | SERIAL_CONSOLES = "115200;ttyO0" | 1905 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0" |
1906 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
1906 | 1907 | ||
1907 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 1908 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
1908 | PREFERRED_VERSION_linux-yocto ?= "4.12%" | 1909 | PREFERRED_VERSION_linux-yocto ?= "5.0%" |
1909 | 1910 | ||
1910 | KERNEL_IMAGETYPE = "zImage" | 1911 | KERNEL_IMAGETYPE = "zImage" |
1911 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" | 1912 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" |
@@ -1913,13 +1914,13 @@ | |||
1913 | 1914 | ||
1914 | SPL_BINARY = "MLO" | 1915 | SPL_BINARY = "MLO" |
1915 | UBOOT_SUFFIX = "img" | 1916 | UBOOT_SUFFIX = "img" |
1916 | UBOOT_MACHINE = "am335x_boneblack_config" | 1917 | UBOOT_MACHINE = "am335x_evm_defconfig" |
1917 | UBOOT_ENTRYPOINT = "0x80008000" | 1918 | UBOOT_ENTRYPOINT = "0x80008000" |
1918 | UBOOT_LOADADDRESS = "0x80008000" | 1919 | UBOOT_LOADADDRESS = "0x80008000" |
1919 | 1920 | ||
1920 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | 1921 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" |
1921 | 1922 | ||
1922 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO" | 1923 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" |
1923 | </literallayout> | 1924 | </literallayout> |
1924 | The variables used to configure the machine define | 1925 | The variables used to configure the machine define |
1925 | machine-specific properties. | 1926 | machine-specific properties. |
@@ -1948,7 +1949,7 @@ | |||
1948 | In this case, the recipe that provides | 1949 | In this case, the recipe that provides |
1949 | "virtual/xserver" is "xserver-xorg", which | 1950 | "virtual/xserver" is "xserver-xorg", which |
1950 | exists in | 1951 | exists in |
1951 | <filename>poky/meta/recipes-graphics/xserver-xorg</filename>. | 1952 | <filename>poky/meta/recipes-graphics/xorg-xserver</filename>. |
1952 | </para></listitem> | 1953 | </para></listitem> |
1953 | <listitem><para> | 1954 | <listitem><para> |
1954 | <ulink url='&YOCTO_DOCS_REF_URL;#var-XSERVER'><filename>XSERVER</filename></ulink>: | 1955 | <ulink url='&YOCTO_DOCS_REF_URL;#var-XSERVER'><filename>XSERVER</filename></ulink>: |
@@ -2061,7 +2062,7 @@ | |||
2061 | <listitem><para> | 2062 | <listitem><para> |
2062 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PREFERRED_VERSION'><filename>PREFERRED_VERSION_linux-yocto</filename></ulink>: | 2063 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PREFERRED_VERSION'><filename>PREFERRED_VERSION_linux-yocto</filename></ulink>: |
2063 | Defines the version of the recipe used | 2064 | Defines the version of the recipe used |
2064 | to build the kernel, which is "4.12" in this | 2065 | to build the kernel, which is "5.0" in this |
2065 | case. | 2066 | case. |
2066 | </para></listitem> | 2067 | </para></listitem> |
2067 | <listitem><para> | 2068 | <listitem><para> |
@@ -2072,8 +2073,8 @@ | |||
2072 | </para></listitem> | 2073 | </para></listitem> |
2073 | <listitem><para> | 2074 | <listitem><para> |
2074 | <ulink url='&YOCTO_DOCS_REF_URL;#var-KERNEL_DEVICETREE'><filename>KERNEL_DEVICETREE</filename></ulink>: | 2075 | <ulink url='&YOCTO_DOCS_REF_URL;#var-KERNEL_DEVICETREE'><filename>KERNEL_DEVICETREE</filename></ulink>: |
2075 | The name of the generated Linux kernel device | 2076 | The names of the generated Linux kernel device |
2076 | tree (i.e. the <filename>.dtb</filename>) file. | 2077 | trees (i.e. the <filename>*.dtb</filename>) files. |
2077 | All the device trees for the various BeagleBone | 2078 | All the device trees for the various BeagleBone |
2078 | devices are included. | 2079 | devices are included. |
2079 | <!-- | 2080 | <!-- |
@@ -2146,9 +2147,7 @@ | |||
2146 | Files installed into the device's boot partition | 2147 | Files installed into the device's boot partition |
2147 | when preparing the image using the Wic tool | 2148 | when preparing the image using the Wic tool |
2148 | with the <filename>bootimg-partition</filename> | 2149 | with the <filename>bootimg-partition</filename> |
2149 | source plugin. | 2150 | source plug-in. |
2150 | In this case, the "u-boot.${UBOOT_SUFFIX}" and | ||
2151 | "MLO" files are installed. | ||
2152 | </para></listitem> | 2151 | </para></listitem> |
2153 | </itemizedlist> | 2152 | </itemizedlist> |
2154 | </para> | 2153 | </para> |