diff --git a/conf/machine/include/rk3288.inc b/conf/machine/include/rk3288.inc index 4dd0250..0528e8a 100644 --- a/conf/machine/include/rk3288.inc +++ b/conf/machine/include/rk3288.inc @@ -9,7 +9,7 @@ require conf/machine/include/rockchip-defaults.inc SERIAL_CONSOLES = "115200;ttyS2" -PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" SPL_BINARY ?= "u-boot-spl-dtb.bin" IMAGE_FSTYPES = "rockchip-gpt-img" diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend new file mode 100644 index 0000000..fa0a681 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot_%.bbappend @@ -0,0 +1,6 @@ +do_compile_append_rk3288 () { + # copy to default search path + if [ ${SPL_BINARY} ]; then + cp ${B}/spl/${SPL_BINARY} ${B}/ + fi +}