summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2018-08-14 09:31:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-15 21:45:58 +0100
commit21a2aec45754dc0c9e65d5c325365ba2f57ba18d (patch)
treef7923f26101941c4466b8fddfcae0f8c3fd8a9b2
parent331463011f98401092317ac4bf4cff90157718cf (diff)
downloadpoky-21a2aec45754dc0c9e65d5c325365ba2f57ba18d.tar.gz
meta-yocto-bsp: beaglebone: Add the u-boot boot config file for the wic image
(From meta-yocto rev: 800fc3ea87add6a7205ecfa3b088701ed635082f) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-yocto-bsp/conf/machine/beaglebone-yocto.conf2
-rw-r--r--meta-yocto-bsp/wic/beaglebone-yocto.wks2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
index ae682a47d3..faa4f1bd36 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
@@ -37,4 +37,4 @@ UBOOT_LOADADDRESS = "0x80008000"
37 37
38MACHINE_FEATURES = "usbgadget usbhost vfat alsa" 38MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
39 39
40IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO" 40IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
diff --git a/meta-yocto-bsp/wic/beaglebone-yocto.wks b/meta-yocto-bsp/wic/beaglebone-yocto.wks
index 967cad78b8..0b5d793b73 100644
--- a/meta-yocto-bsp/wic/beaglebone-yocto.wks
+++ b/meta-yocto-bsp/wic/beaglebone-yocto.wks
@@ -2,5 +2,5 @@
2# long-description: Creates a partitioned SD card image for Beaglebone. 2# long-description: Creates a partitioned SD card image for Beaglebone.
3# Boot files are located in the first vfat partition. 3# Boot files are located in the first vfat partition.
4 4
5part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 5part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot"
6part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 6part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4