Fix booting for orange-pi-one-plus machine

Use proper config for ATF.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
This commit is contained in:
Marek Belisko 2023-07-04 15:09:36 +02:00
parent 441baea0ef
commit ea627f0920
3 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,8 @@
require conf/machine/include/sunxi64.inc
DEFAULTTUNE ?= "cortexa53-crypto"
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
MACHINEOVERRIDES =. "sun50i:"
SOC_FAMILY = "sun50i-h6"

View File

@ -3,7 +3,7 @@
#@DESCRIPTION: Machine configuration for the Orange Pi One Plus, based on Allwinner H6 CPU #@DESCRIPTION: Machine configuration for the Orange Pi One Plus, based on Allwinner H6 CPU
require conf/machine/include/sun50i.inc require conf/machine/include/sun50i-h6.inc
KERNEL_DEVICETREE = "allwinner/sun50i-h6-orangepi-one-plus.dtb" KERNEL_DEVICETREE = "allwinner/sun50i-h6-orangepi-one-plus.dtb"
UBOOT_MACHINE = "orangepi_one_plus_defconfig" UBOOT_MACHINE = "orangepi_one_plus_defconfig"

View File

@ -1,6 +1,7 @@
COMPATIBLE_MACHINE = "(sun50i|sun50i-h616)" COMPATIBLE_MACHINE = "(sun50i|sun50i-h616|sun50i-h6)"
TFA_PLATFORM:sun50i = "sun50i_a64" TFA_PLATFORM:sun50i = "sun50i_a64"
TFA_PLATFORM:sun50i-h6 = "sun50i_h6"
TFA_PLATFORM:sun50i-h616 = "sun50i_h616" TFA_PLATFORM:sun50i-h616 = "sun50i_h616"
TFA_BUILD_TARGET = "bl31" TFA_BUILD_TARGET = "bl31"