diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2025-06-18 16:51:32 -0400 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-06-20 08:38:12 -0700 |
commit | 7500a08bd1eb77421364b661afc63d4042a6aa8c (patch) | |
tree | 0187997d24bcce008494be94f4c0fcff7fb256a9 /documentation | |
parent | 0f32f501fa0a5dfef7ec25f78d0c50cf017eea2c (diff) | |
download | poky-7500a08bd1eb77421364b661afc63d4042a6aa8c.tar.gz |
bsp-guide: update all of section 1.8.2 to reflect current beaglebone conf file
(From yocto-docs rev: 731bb4a7d58f16e7920b4798409a4db1b57a0344)
Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 5fc7794e9ae326eead16552726d74ea801fe535b)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/bsp-guide/bsp.rst | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/documentation/bsp-guide/bsp.rst b/documentation/bsp-guide/bsp.rst index e57b3289d6..73e31670d6 100644 --- a/documentation/bsp-guide/bsp.rst +++ b/documentation/bsp-guide/bsp.rst | |||
@@ -1247,7 +1247,7 @@ located in :yocto_git:`poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | |||
1247 | 1247 | ||
1248 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | 1248 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
1249 | 1249 | ||
1250 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree" | 1250 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
1251 | 1251 | ||
1252 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | 1252 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" |
1253 | 1253 | ||
@@ -1263,23 +1263,21 @@ located in :yocto_git:`poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | |||
1263 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" | 1263 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" |
1264 | 1264 | ||
1265 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 1265 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
1266 | PREFERRED_VERSION_linux-yocto ?= "6.1%" | 1266 | PREFERRED_VERSION_linux-yocto ?= "6.12%" |
1267 | 1267 | ||
1268 | KERNEL_IMAGETYPE = "zImage" | 1268 | KERNEL_IMAGETYPE = "zImage" |
1269 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" | 1269 | DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" |
1270 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | 1270 | KERNEL_DEVICETREE = '${@' '.join('ti/omap/%s' % d for d in '${DTB_FILES}'.split())}' |
1271 | 1271 | ||
1272 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" | 1272 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" |
1273 | 1273 | ||
1274 | SPL_BINARY = "MLO" | 1274 | SPL_BINARY = "MLO" |
1275 | UBOOT_SUFFIX = "img" | 1275 | UBOOT_SUFFIX = "img" |
1276 | UBOOT_MACHINE = "am335x_evm_defconfig" | 1276 | UBOOT_MACHINE = "am335x_evm_defconfig" |
1277 | UBOOT_ENTRYPOINT = "0x80008000" | ||
1278 | UBOOT_LOADADDRESS = "0x80008000" | ||
1279 | 1277 | ||
1280 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | 1278 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" |
1281 | 1279 | ||
1282 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${KERNEL_DEVICETREE}" | 1280 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${DTB_FILES}" |
1283 | 1281 | ||
1284 | # support runqemu | 1282 | # support runqemu |
1285 | EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" | 1283 | EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" |
@@ -1333,12 +1331,12 @@ Project Reference Manual. | |||
1333 | needed in the root filesystem. In this case, the U-Boot recipe must | 1331 | needed in the root filesystem. In this case, the U-Boot recipe must |
1334 | be built for the image. | 1332 | be built for the image. |
1335 | 1333 | ||
1336 | At the end of the file, we also use this setings to implement | 1334 | At the end of the file, we also use this setting to implement |
1337 | ``runqemu`` support on the host machine. | 1335 | ``runqemu`` support on the host machine. |
1338 | 1336 | ||
1339 | - :term:`DEFAULTTUNE`: Machines | 1337 | - :term:`DEFAULTTUNE`: Machines |
1340 | use tunings to optimize machine, CPU, and application performance. | 1338 | use tunings to optimize machine, CPU, and application performance. |
1341 | These features, which are collectively known as "tuning features", | 1339 | These features --- collectively known as "tuning features" --- |
1342 | are set in the :term:`OpenEmbedded-Core (OE-Core)` layer. In this | 1340 | are set in the :term:`OpenEmbedded-Core (OE-Core)` layer. In this |
1343 | example, the default tuning file is :oe_git:`tune-cortexa8 | 1341 | example, the default tuning file is :oe_git:`tune-cortexa8 |
1344 | </openembedded-core/tree/meta/conf/machine/include/arm/armv7a/tune-cortexa8.inc>`. | 1342 | </openembedded-core/tree/meta/conf/machine/include/arm/armv7a/tune-cortexa8.inc>`. |
@@ -1368,8 +1366,7 @@ Project Reference Manual. | |||
1368 | to create the sysroot when building a Wic image. | 1366 | to create the sysroot when building a Wic image. |
1369 | 1367 | ||
1370 | - :term:`SERIAL_CONSOLES`: | 1368 | - :term:`SERIAL_CONSOLES`: |
1371 | Defines a serial console (TTY) to enable using getty. In this case, | 1369 | Defines one or more serial consoles (TTYs) to enable using getty. |
1372 | the baud rate is "115200" and the device name is "ttyO0". | ||
1373 | 1370 | ||
1374 | - :term:`PREFERRED_PROVIDER_virtual/kernel <PREFERRED_PROVIDER>`: | 1371 | - :term:`PREFERRED_PROVIDER_virtual/kernel <PREFERRED_PROVIDER>`: |
1375 | Specifies the recipe that provides "virtual/kernel" when more than | 1372 | Specifies the recipe that provides "virtual/kernel" when more than |
@@ -1379,7 +1376,7 @@ Project Reference Manual. | |||
1379 | 1376 | ||
1380 | - :term:`PREFERRED_VERSION_linux-yocto <PREFERRED_VERSION>`: | 1377 | - :term:`PREFERRED_VERSION_linux-yocto <PREFERRED_VERSION>`: |
1381 | Defines the version of the recipe used to build the kernel, which is | 1378 | Defines the version of the recipe used to build the kernel, which is |
1382 | "6.1" in this case. | 1379 | "6.12" in this case. |
1383 | 1380 | ||
1384 | - :term:`KERNEL_IMAGETYPE`: | 1381 | - :term:`KERNEL_IMAGETYPE`: |
1385 | The type of kernel to build for the device. In this case, the | 1382 | The type of kernel to build for the device. In this case, the |
@@ -1421,12 +1418,6 @@ Project Reference Manual. | |||
1421 | Specifies the value passed on the make command line when building | 1418 | Specifies the value passed on the make command line when building |
1422 | a U-Boot image. | 1419 | a U-Boot image. |
1423 | 1420 | ||
1424 | - :term:`UBOOT_ENTRYPOINT`: | ||
1425 | Specifies the entry point for the U-Boot image. | ||
1426 | |||
1427 | - :term:`UBOOT_LOADADDRESS`: | ||
1428 | Specifies the load address for the U-Boot image. | ||
1429 | |||
1430 | - :term:`MACHINE_FEATURES`: | 1421 | - :term:`MACHINE_FEATURES`: |
1431 | Specifies the list of hardware features the BeagleBone device is | 1422 | Specifies the list of hardware features the BeagleBone device is |
1432 | capable of supporting. In this case, the device supports "usbgadget | 1423 | capable of supporting. In this case, the device supports "usbgadget |