Skip to content

Commit

Permalink
Add ATF settings to D1 family config
Browse files Browse the repository at this point in the history
Without OpenSBI, the uboot compilation fails.
  • Loading branch information
Randl authored and igorpecovnik committed Aug 21, 2024
1 parent e1a89ad commit e3990e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/sources/families/d1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ BOOTBRANCH='branch:d1-wip'
BOOTPATCHDIR="u-boot-nezha"
UBOOT_TARGET_MAP=";;u-boot.img"

# Arm Trusted Firmware
declare -g ATF_USE_GCC="> 8.0"
declare -g ATF_COMPILER="riscv64-linux-gnu-"
declare -g ATFSOURCE="https://github.com/riscv-software-src/opensbi.git"
declare -g ATFDIR="opensbi"
declare -g ATFBRANCH="tag:v1.5.1"
declare -g ATF_TARGET_MAP="PLATFORM=generic FW_TEXT_START=0x40000000 ;;build/platform/generic/firmware/fw_dynamic.bin"

LINUXFAMILY="d1"
LINUXCONFIG="linux-d1-${BRANCH}"

Expand Down

0 comments on commit e3990e8

Please sign in to comment.