]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
meta-yocto-bsp: beaglebone: Add the u-boot boot config file for the wic image
authorKevin Hao <kexin.hao@windriver.com>
Tue, 14 Aug 2018 01:31:25 +0000 (09:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2018 20:45:58 +0000 (21:45 +0100)
(From meta-yocto rev: 800fc3ea87add6a7205ecfa3b088701ed635082f)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
meta-yocto-bsp/wic/beaglebone-yocto.wks

index ae682a47d31b6ed4b9d93384c868322112f7e36d..faa4f1bd3627acaac96ba200b1f79e96191037eb 100644 (file)
@@ -37,4 +37,4 @@ UBOOT_LOADADDRESS = "0x80008000"
 
 MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
 
-IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
+IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
index 967cad78b8701ab3113f5621a446631ab4982bd3..0b5d793b73ec3b459891fb0469d7d087561a637d 100644 (file)
@@ -2,5 +2,5 @@
 # long-description: Creates a partitioned SD card image for Beaglebone.
 # Boot files are located in the first vfat partition.
 
-part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16
+part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot"
 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4