2 Commits

Author SHA1 Message Date
06091fa58f Merge pull request #339 from grzegorzheldt/dunfell
Fix nanopi-neo booting on Dunfell
2022-02-12 20:10:03 +01:00
fd122b2ef1 Fix nanopi-neo booting on Dunfell
Same as #314, without this patch booting ends with Starting kernel ...
2022-02-12 19:52:12 +01:00
2 changed files with 10 additions and 20 deletions

View File

@ -1,26 +1,16 @@
inherit deploy
DESCRIPTION = "ARM Trusted Firmware"
DESCRIPTION = "ARM Trusted Firmware Allwinner"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
LIC_FILES_CHKSUM = "file://license.md;md5=829bdeb34c1d9044f393d5a16c068371"
FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
SRC_URI = " \
git://github.com/ARM-software/arm-trusted-firmware.git;nobranch=1 \
"
SRCREV_sun50iw2 = "c390ecd6db5fadb054466a8d4168d9bbbff2fa95"
SRCREV_sun50iw6 = "c390ecd6db5fadb054466a8d4168d9bbbff2fa95"
SRCREV_sun50i = "c390ecd6db5fadb054466a8d4168d9bbbff2fa95"
SRC_URI = "git://github.com/apritzel/arm-trusted-firmware;nobranch=1"
SRCREV = "aa75c8da415158a94b82a430b2b40000778e851f"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
COMPATIBLE_MACHINE = "(sun50iw2|sun50iw6|sun50i)"
COMPATIBLE_MACHINE = "(sun50i)"
PLATFORM_sun50iw2 = "sun50i_a64"
PLATFORM_sun50i = "sun50i_a64"
PLATFORM_sun50iw6 = "sun50i_h6"
PLATFORM_sun50i = "sun50iw1p1"
LDFLAGS[unexport] = "1"
@ -32,8 +22,6 @@ do_compile() {
all
}
do_deploy() {
install -D -p -m 0644 ${B}/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31.bin
do_install() {
install -D -p -m 0644 ${B}/${PLATFORM}/release/bl31.bin ${DEPLOY_DIR_IMAGE}/bl31.bin
}
addtask deploy after do_compile

View File

@ -18,6 +18,8 @@ SRC_URI += " \
# fix booting issue on orange pi zero
SRC_URI_append_orange-pi-zero = " file://0002-Revert-sunxi-psci-avoid-error-address-of-packed-memb.patch"
SRC_URI_append_nanopi-neo = " file://0002-Revert-sunxi-psci-avoid-error-address-of-packed-memb.patch"
UBOOT_ENV_SUFFIX = "scr"
UBOOT_ENV = "boot"