summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-10-18 02:15:58 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-10-17 22:48:44 +0000
commitcc91e6bfaac42d63938b67a3efa4526dd9d8a063 (patch)
treefb763bc0d9b7bdc4396adebe61f0fcdbfe337182 /conf
parentbedfc7169e85fc5d81b3d755d15a21bb22f95d53 (diff)
downloadmeta-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')
-rw-r--r--conf/machine/beaglebone.conf12
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
5require conf/machine/include/ti33x.inc 5require 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
19SPL_BINARY = "MLO"
20UBOOT_SUFFIX = "img"
21
19WKS_FILE = "sdimage-bootpart.wks" 22WKS_FILE = "sdimage-bootpart.wks"
20IMAGE_BOOT_FILES = "MLO u-boot.img"
21IMAGE_FSTYPES += "tar.xz wic.xz"
22 23
23do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" 24do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
25IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY}"
26
27IMAGE_FSTYPES += "tar.xz wic.xz"
28
29IMAGE_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
26TI_PDK_LIMIT_BOARDS = "bbbAM335x" 32TI_PDK_LIMIT_BOARDS = "bbbAM335x"