uefi: add recipes
PATCH 1/4 uefi: add recipes
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
--- recipes-bsp/uefi/uefi_git.bb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-bsp/uefi/uefi_git.bb
recipes-bsp/uefi/uefi_git.bb new file +30 -0
@@ -0,0 +1,30 @@ +DESCRIPTION = "Unified Extensible Firmware Interface" +SECTION = "bootloaders" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" + +inherit deploy + +SRC_URI = "git://github.com/qoriq-open-source/uefi-binary.git;nobranch=1" +SRCREV= "d0974b734d0c50c99baebf54957ce32433905e40" + +S = "${WORKDIR}/git" + +do_install () { + install -d ${D}/uefi + cp -r ${B}/grub ${D}/uefi + cp -r ${B}/${MACHINE} ${D}/uefi +} + +do_deploy () { + install -d ${DEPLOYDIR}/uefi + cp -r ${B}/grub ${DEPLOYDIR}/uefi + cp -r ${B}/${MACHINE} ${DEPLOYDIR}/uefi +} +addtask deploy before do_build after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/uefi/*" + +PACKAGE_ARCH = "${MACHINE_SOCARCH}" +
Signature · 1 line
1.9.0
PATCH 2/4 ls1043ardb: add uefi
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
--- conf/machine/ls1043ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1043ardb.conf +1 -1
@@ -20,5 +20,5 @@ KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb.dtb freescale/fsl-ls1043a-rdb-us KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig" QE_UCODE = "iram_Type_A_LS1021a_r1.0.bin" -EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa qe-ucode" +EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa qe-ucode uefi" USE_VT = "0"
Signature · 1 line
1.9.0
PATCH 3/4 ls1046ardb: add uefi
In reply to Chunrong GuoFrom: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
--- conf/machine/ls1046ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1046ardb.conf +1 -1
@@ -24,5 +24,5 @@ KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" -EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa" +EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa uefi" USE_VT = "0"
Signature · 1 line
1.9.0
PATCH 4/4 ls2088ardb: add uefi
In reply to Chunrong GuoFrom: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
--- conf/machine/ls2088ardb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls2088ardb.conf +1 -1
@@ -19,5 +19,5 @@ KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" -EXTRA_IMAGEDEPENDS += "dpl-examples ls2-phy ls2-rcw management-complex ppa" +EXTRA_IMAGEDEPENDS += "dpl-examples ls2-phy ls2-rcw management-complex ppa uefi" USE_VT = "0"
Signature · 1 line
1.9.0