Opvolger/ansible/host_vars/localhost/milkv_jupiter_u_boot.yaml
2024-12-01 21:28:16 +01:00

21 lines
980 B
YAML

# https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/u-boot-spacemit/APKBUILD
milkv_jupiter_u_boot:
git:
repo: "https://gitee.com/bianbu-linux/uboot-2022.10.git"
version: "v2.0.2"
checkout_dir: "/tmp/bianbu-u-boot"
defconfig: k1_defconfig
add_to_config:
DUMMY: n
DUMMY2: n
# disable nvme in u-boot (some GPU don't like that)
# CONFIG_BOOTCOMMAND: "load {{ on_boot.boot_device }}:3 ${scriptaddr} boot.scr; source ${scriptaddr}"
# disable nvme in u-boot (some GPU don't like that)
# escape bash + yaml, so for ' you need '\'' and $ will be '\\$'
# CONFIG_PREBOOT: "usb start; setenv bootcmd '\\''load {{ on_boot.boot_device }}:3 '\\$'{scriptaddr} boot.scr; source '\\$'{scriptaddr}'\\''"
build_params:
# OPENSBI: ../bianbu-opensbi/fw_dynamic.itb
CROSS_COMPILE: riscv64-unknown-linux-gnu-
ARCH: riscv
extra_environment_vars:
PATH: "{{ spacemit_toolchain.toolchain_path }}:{{ ansible_env.PATH }}"