]> code.ossystems Code Review - openembedded-core.git/commit
classes/uboot-extlinux-config: Add class
authorFabio Berton <fabio.berton@ossystems.com.br>
Tue, 4 Oct 2016 13:54:10 +0000 (10:54 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Oct 2016 15:43:50 +0000 (16:43 +0100)
commit7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
tree52a416cb93cd948d254b4e77b4c4a2356032130a
parent8b18568591f66aa9770798bc61123898de92b8a9
classes/uboot-extlinux-config: Add class

This class allow the extlinux.conf generation for U-Boot use.
The U-Boot support for it is given to allow the Generic Distribution
Configuration specification use by OpenEmbedded-based products.

This class can be inherited by u-boot recipes to create extlinux.conf
and boot using menu options.

U-boot with extlinux support is machine dependent, so to use this class
you need to set UBOOT_EXTLINUX to 1 in machine configuration file and
also set root= kernel cmdline UBOOT_EXTLINUX_ROOT. This variable is used
to pass root kernel cmdline, e.g:

UBOOT_EXTLINUX_ROOT = "root=/dev/mmcblk2p2"

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uboot-extlinux-config.bbclass [new file with mode: 0644]