mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 19:42:41 +00:00
tegra-uefi-prebuilt: stage the minimal UEFI binary
needed for R36.4.3 RCM booting. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
committed by
Matt Madison
parent
56a38007fb
commit
407283fe46
@@ -5,7 +5,7 @@ require conf/image-uefi.conf
|
|||||||
COMPATIBLE_MACHINE = "(tegra)"
|
COMPATIBLE_MACHINE = "(tegra)"
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
PROVIDES = "virtual/bootloader standalone-mm-optee-tegra"
|
PROVIDES = "virtual/bootloader edk2-firmware-tegra-minimal standalone-mm-optee-tegra"
|
||||||
|
|
||||||
DEPENDS = "coreutils-native dtc-native"
|
DEPENDS = "coreutils-native dtc-native"
|
||||||
|
|
||||||
@@ -15,6 +15,7 @@ inherit deploy ${TEGRA_UEFI_SIGNING_CLASS}
|
|||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
cp ${S}/bootloader/uefi_jetson.bin ${S}/bootloader/BOOTAA64.efi ${B}
|
cp ${S}/bootloader/uefi_jetson.bin ${S}/bootloader/BOOTAA64.efi ${B}
|
||||||
|
cp ${S}/bootloader/uefi_jetson_minimal.bin ${B}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile:append:tegra234() {
|
do_compile:append:tegra234() {
|
||||||
@@ -42,7 +43,7 @@ do_install() {
|
|||||||
|
|
||||||
do_deploy() {
|
do_deploy() {
|
||||||
install -d ${DEPLOYDIR}
|
install -d ${DEPLOYDIR}
|
||||||
install -m 0644 ${B}/uefi_jetson.bin ${DEPLOYDIR}/
|
install -m 0644 ${B}/uefi_jetson.bin ${B}/uefi_jetson_minimal.bin ${DEPLOYDIR}/
|
||||||
for dtbo in ${TEGRA_BOOTCONTROL_OVERLAYS}; do
|
for dtbo in ${TEGRA_BOOTCONTROL_OVERLAYS}; do
|
||||||
[ -e ${S}/kernel/dtb/$dtbo ] || continue
|
[ -e ${S}/kernel/dtb/$dtbo ] || continue
|
||||||
install -m 0644 ${S}/kernel/dtb/$dtbo ${DEPLOYDIR}/
|
install -m 0644 ${S}/kernel/dtb/$dtbo ${DEPLOYDIR}/
|
||||||
|
|||||||
Reference in New Issue
Block a user