diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-10-18 02:15:58 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-10-17 22:48:44 +0000 |
commit | cc91e6bfaac42d63938b67a3efa4526dd9d8a063 (patch) | |
tree | fb763bc0d9b7bdc4396adebe61f0fcdbfe337182 /conf/machine | |
parent | bedfc7169e85fc5d81b3d755d15a21bb22f95d53 (diff) | |
download | meta-ti-cc91e6bfaac42d63938b67a3efa4526dd9d8a063.tar.gz |
beaglebone.conf: Package kernel and devicetree
Use variables from u-boot recipe, makes it easy to switch between TI staging
and mainline u-boot from oe-core if someone wants to.
Use SPL_BINARY and UBOOT_SUFFIX to define IMAGE_BOOT_FILES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/beaglebone.conf | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf index 9aeb2992..5e7348a4 100644 --- a/conf/machine/beaglebone.conf +++ b/conf/machine/beaglebone.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: BeagleBone machine | 2 | #@NAME: BeagleBone machine |
3 | #@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board | 3 | #@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board |
4 | 4 | ||
5 | require conf/machine/include/ti33x.inc | 5 | require conf/machine/include/ti33x.inc |
6 | 6 | ||
@@ -16,11 +16,17 @@ SERIAL_CONSOLES = "115200;ttyS0" | |||
16 | # fall back on generic am335x_evm_config for now | 16 | # fall back on generic am335x_evm_config for now |
17 | #UBOOT_MACHINE = "am335x_boneblack_config" | 17 | #UBOOT_MACHINE = "am335x_boneblack_config" |
18 | 18 | ||
19 | SPL_BINARY = "MLO" | ||
20 | UBOOT_SUFFIX = "img" | ||
21 | |||
19 | WKS_FILE = "sdimage-bootpart.wks" | 22 | WKS_FILE = "sdimage-bootpart.wks" |
20 | IMAGE_BOOT_FILES = "MLO u-boot.img" | ||
21 | IMAGE_FSTYPES += "tar.xz wic.xz" | ||
22 | 23 | ||
23 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" | 24 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |
25 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY}" | ||
26 | |||
27 | IMAGE_FSTYPES += "tar.xz wic.xz" | ||
28 | |||
29 | IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" | ||
24 | 30 | ||
25 | # Refine the list of device targets for ti-pdk class recipes | 31 | # Refine the list of device targets for ti-pdk class recipes |
26 | TI_PDK_LIMIT_BOARDS = "bbbAM335x" | 32 | TI_PDK_LIMIT_BOARDS = "bbbAM335x" |