summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot_2019.04.bbappend
blob: 8cf48e8a4c5fb02cde1e84f56b1da1de7f7010c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/:"

DEPENDS += "u-boot-mkimage-native"

SRC_URI_append = " \
  file://boot.cmd \
"

do_deploy_append () {
        # deploy SPL images for USB, SD and SPI boot sources.
        ${B}/tools/mkimage -n rk3288 -T rkimage -d ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_BINARYNAME}.rkimage
        ${B}/tools/mkimage -n rk3288 -T rksd -d ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_BINARYNAME}.rksd
        ${B}/tools/mkimage -n rk3288 -T rkspi -d ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_BINARYNAME}.rkspi
        ${B}/tools/mkimage -n rk3288 -T rksd -d ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_BINARYNAME}.rksd

	mkimage -C none -A arm -T script -d ${WORKDIR}/boot.cmd ${DEPLOYDIR}/boot.scr
}