Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/scripts/ci-matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@
# Not firmware images at all: no BR2_OPENIPC_VARIANT, so nothing the repack
# step or the manifest knows how to name.
"hi3519dv500_toolchain": "toolchain config, produces no firmware image",
# Axera has no image yet. These two configs publish its toolchains so
# majestic can be ported first. The boards follow once a camera has run
# them (#2670).
"ax620e_toolchain": "toolchain config, produces no firmware image",
"ax620u_toolchain": "toolchain config, produces no firmware image",
"s2l22m_lite": "no variant set; Ambarella S2L has no board directory",
"s2l33m_lite": "no variant set; Ambarella S2L has no board directory",

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
run: |
set -eu
ALL=$(sed -e 's/#.*//' <<'LIST'
# Axera: toolchain-only configs, no firmware image yet (#2670).
ax620e_toolchain
ax620u_toolchain

# Sigmastar
# infinity3: msc313e/msc316dc/msc316dm share this one.
msc313e_lite
Expand Down
32 changes: 32 additions & 0 deletions br-ext-chip-axera/configs/ax620e_toolchain_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# OpenIPC
#
# TOOLCHAIN-ONLY config for Axera AX620E/AX630C (aarch64 Cortex-A53).
#
# Bootstraps the aarch64 musl toolchain published as
# toolchain.axera-ax620e.tgz (consumed by ax620e_lite), DECOUPLED from
# the firmware package set -- see hi3519dv500_toolchain_defconfig for
# why this exists as its own config. Used only by
# .github/workflows/toolchain.yml.
#
BR2_OPENIPC_SOC_VENDOR="axera"
BR2_OPENIPC_SOC_MODEL="ax620e"
BR2_OPENIPC_SOC_FAMILY="ax620e"

# Architecture (aarch64 Cortex-A53)
BR2_aarch64=y
BR2_cortex_a53=y

# Toolchain -- aarch64 musl, 5.15 kernel headers (the real deployed
# AX620E firmware's own kernel version, confirmed from its modules'
# vermagic -- see br-ext-chip-axera/board/ax620e/README.md). Same block
# as ax620e_lite so the produced toolchain matches byte-for-byte what
# the firmware expects.
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="aarch64-openipc-linux-musl"
BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15=y
BR2_KERNEL_HEADERS_5_15=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
BR2_GCC_VERSION_13_X=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
29 changes: 29 additions & 0 deletions br-ext-chip-axera/configs/ax620u_toolchain_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# OpenIPC
#
# TOOLCHAIN-ONLY config for Axera AX620U (Cortex-A7 x4, AArch32).
#
# Bootstraps the arm musleabihf toolchain published as
# toolchain.axera-ax620u.tgz (consumed by ax620u_lite), DECOUPLED from
# the firmware package set.
#
BR2_OPENIPC_SOC_VENDOR="axera"
BR2_OPENIPC_SOC_MODEL="ax620u"
BR2_OPENIPC_SOC_FAMILY="ax620u"

# Architecture (Cortex-A7, AArch32)
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_ARM_INSTRUCTIONS_THUMB2=y

# Toolchain -- arm musleabihf, 4.19 kernel headers (the real deployed
# AX620U firmware's own kernel version, confirmed from its modules'
# vermagic -- see br-ext-chip-axera/board/ax620u/README.md).
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-musleabihf"
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19=y
BR2_KERNEL_HEADERS_4_19=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
Loading