Compare commits
6
Commits
e7d330a56f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c21beb3cd | ||
|
|
3b52a9ccf9 | ||
|
|
946301c928 | ||
|
|
562e4a1f6b | ||
|
|
4dff0249bb | ||
|
|
4a36d85ef3 |
No files matched your search
@@ -1,3 +1,4 @@
|
|||||||
/logs
|
/logs
|
||||||
|
/drivers
|
||||||
/core-*
|
/core-*
|
||||||
/linux-*
|
/linux-*
|
||||||
@@ -2,104 +2,147 @@
|
|||||||
# script requires: git tar xz cpio make patch rpm python3 wget
|
# script requires: git tar xz cpio make patch rpm python3 wget
|
||||||
# kernel requires: gcc flex bison make openssl-devel elfutils-libelf-devel bc perl-devel double-conversion-devel qt5-qtbase-devel libXi-devel rpm-build
|
# kernel requires: gcc flex bison make openssl-devel elfutils-libelf-devel bc perl-devel double-conversion-devel qt5-qtbase-devel libXi-devel rpm-build
|
||||||
|
|
||||||
DISTRO_VERSION="44"
|
LOCAL_VERSION=-300.fc${VERSION:-"$(cat /etc/fedora-release | awk '{print $3}')"}.ms-r1
|
||||||
LOCAL_VERSION=${KERNEL_VERSION:=6.19.10}-300.fc${DISTRO_VERSION}.ms-r1
|
BUILD_VERSION=${KERNEL_VERSION:=7.3}${LOCAL_VERSION}
|
||||||
HEADERS=/usr/src/kernels/$LOCAL_VERSION
|
HEADERS=/usr/src/kernels/$BUILD_VERSION
|
||||||
JOBS=$(nproc)
|
JOBS=$(nproc)
|
||||||
BUILD=$(pwd)
|
BUILD=$(pwd)
|
||||||
CROSS="aarch64-linux-gnu-"
|
CROSS=$(if [[ "$(uname -m)" != "aarch64" ]]; then echo "aarch64-linux-gnu-"; fi)
|
||||||
CMDLINE="console=tty0 console=ttyAMA0,115200n8 pcie_aspm=off cma=512M clk_ignore_unused=1 cpufreq.default_governor=schedutil"
|
|
||||||
KERNEL_TREE=$BUILD/linux-${KERNEL_VERSION}
|
KERNEL_TREE=$BUILD/linux-${KERNEL_VERSION}
|
||||||
KERNEL_PATCHES=$BUILD/linux-sky1
|
KERNEL_PATCHES=$BUILD/linux-cix-main
|
||||||
|
DRIVERS=$BUILD/drivers
|
||||||
LOGS=$BUILD/logs
|
LOGS=$BUILD/logs
|
||||||
|
|
||||||
CMDLINE_COMMON="console=tty0 console=ttyAMA0,115200n8 cma=512M clk_ignore_unused=1 cpufreq.default_governor=schedutil"
|
CMDLINE_COMMON="console=tty0 console=ttyAMA0,115200n8 cma=512M clk_ignore_unused=1 cpufreq.default_governor=schedutil"
|
||||||
CMDLINE_LOWPOWER="pcie_aspm=powersave pcie_aspm_policy=default $CMDLINE_COMMON"
|
CMDLINE_POWERSAVE="pcie_aspm=powersave pcie_aspm_policy=default $CMDLINE_COMMON"
|
||||||
CMDLINE="pcie_aspm=off $CMDLINE_COMMON"
|
CMDLINE="pcie_aspm=off $CMDLINE_COMMON"
|
||||||
|
|
||||||
log() { printf '[%s] %s\n' "$(date '+%H:%M:%S')" "$*"; }
|
log() { printf '[%s] %s\n' "$(date '+%H:%M:%S')" "$*"; }
|
||||||
die() { printf '[%s] ERROR: %s\n' "$(date '+%H:%M:%S')" "$*"; exit 1; }
|
die() { printf '[%s] ERROR: %s\n' "$(date '+%H:%M:%S')" "$*"; exit 1; }
|
||||||
run() { "$@" 2>&1 > "/tmp/$1.error.log" || die "failed: $(echo /tmp/$1.error.log | tail -n 1)"; }
|
run() { local l=/tmp/$BUILD_VERSION.build.run.log; "$@" > "$l" 2>&1 || die "failed: $(cat $l | tail -n 1)"; }
|
||||||
get() { [ -f "/tmp/$1" ] || { run wget -q -O "/tmp/$1" "$2/$1"; cat "/tmp/$1"; return; }; log "using cached file /tmp/$1" >&2; cat "/tmp/$1"; }
|
sub() { local s=/tmp/$BUILD_VERSION.build.sub.sh; echo "$(declare -p); $(declare -f)" > $s; echo "source $s 2>/dev/null && $1"; }
|
||||||
|
get() { local d=/tmp/$1; [ -f "$d" ] || { run wget -q -O $d "$2/$1"; cat $d; return; }; log "using cached file $d" >&2; cat $d; }
|
||||||
|
|
||||||
uninstall() {
|
purge() {
|
||||||
log "removing modules"
|
log "removing modules"
|
||||||
pkexec rm -rf "/lib/modules/$LOCAL_VERSION" "$HEADERS" || die "failed"
|
rm -rf "/lib/modules/$BUILD_VERSION" "$HEADERS" || die "failed"
|
||||||
log "removing boot images and configs"
|
log "removing boot images and config files"
|
||||||
pkexec find /boot -name "*-$LOCAL_VERSION*" -delete || die "failed"
|
find /boot -name "*-$BUILD_VERSION*" -delete || die "failed"
|
||||||
log "done"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -z "$UNINSTALL" ] || { uninstall; exit 0; }
|
setup() {
|
||||||
[ -z "$CLEAN" ] || rm -rf $KERNEL_TREE $KERNEL_PATCHES $LOGS; mkdir -p "$LOGS"
|
log "uninstalling (if exists) legacy kernel ${BUILD_VERSION} from previous build(s)"
|
||||||
log "building linux kernel ${KERNEL_VERSION} for Fedora ${DISTRO_VERSION} with sky1-${TAG:=latest} patches"
|
purge
|
||||||
|
log "copying header files"
|
||||||
|
cp -r "$KERNEL_TREE" "$HEADERS" || die "failed"
|
||||||
|
|
||||||
append() {
|
log "installing kernel modules"
|
||||||
local series=$KERNEL_PATCHES/patches/series
|
make -C "$HEADERS" -j"$JOBS" modules_install install >"$LOGS/install.log" 2>&1 || die "failed (see logs/install.log)"
|
||||||
echo "$(grep -v -e'^<<<<<<<' -e '^>>>>>>>' -e'=======' $series)" >$series
|
|
||||||
git add $series >/dev/null 2>&1
|
log "installing drivers"
|
||||||
GIT_EDITOR=true git rebase --continue >/dev/null 2>&1
|
for drv in "${DRV[@]}"; do
|
||||||
|
make -C "$HEADERS" -j"$JOBS" M=$drv modules_install install >>"$LOGS/install.log" 2>&1 || die "failed (see logs/install.log)"
|
||||||
|
done
|
||||||
|
|
||||||
|
log "updating bootloader configuration"
|
||||||
|
local id="$(grubby --info=$(grubby --default-index) | grep 'id=' | awk -F'\"' '{print $2}')"
|
||||||
|
local c1=/boot/loader/entries/$id.conf
|
||||||
|
local c2=/boot/loader/entries/$id.powersave.conf
|
||||||
|
cp $c1 $c2
|
||||||
|
sed -i "/^options/s/$/ $CMDLINE/" $c1
|
||||||
|
sed -i "/^options/s/$/ $CMDLINE_POWERSAVE/" $c2
|
||||||
|
sed -i "/^title/s/$/ Powersave Mode/" $c2
|
||||||
|
log "cleaning up"
|
||||||
|
make -C "$HEADERS" clean >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ -z "$UNINSTALL" ] || { log "uninstalling kernel ${BUILD_VERSION}"; pkexec bash -c "$(sub purge)" && log "done"; exit 0; }
|
||||||
|
[ -z "$CLEAN" ] || rm -rf $KERNEL_TREE $KERNEL_PATCHES $DRIVERS $LOGS
|
||||||
|
|
||||||
|
mkdir -p "$DRIVERS" "$LOGS"
|
||||||
|
log "building linux kernel ${KERNEL_VERSION} (arm64) with CIX mainline patches"
|
||||||
|
trap "log '\ninterrupted by user'; exit 1" INT
|
||||||
|
|
||||||
rebase() {
|
rebase() {
|
||||||
git remote add $1 https://github.com/$1/linux-sky1.git >/dev/null 2>&1
|
run git remote add $1 https://github.com/$1/$(basename $(git remote get-url origin))
|
||||||
git fetch $1 >/dev/null 2>&1
|
run git fetch $1
|
||||||
git rebase $1/$2 >/dev/null 2>&1 || append || die "could not rebase branch $1:$2"
|
git config user.email "build@ms-r1.local"
|
||||||
|
git config user.name "Build"
|
||||||
|
git rebase $1/$2 >/dev/null 2>&1 || die "could not rebase branch $1:$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -d "$KERNEL_PATCHES" ]; then
|
if [ ! -d "$KERNEL_PATCHES" ]; then
|
||||||
log "cloning linux-sky1 repository"
|
log "cloning CIX linux mainline"
|
||||||
run git clone --depth=1 https://github.com/Sky1-Linux/linux-sky1.git
|
run git clone --depth=1 https://github.com/cixtech/cix-linux-main.git $KERNEL_PATCHES
|
||||||
cd $KERNEL_PATCHES
|
cd $KERNEL_PATCHES
|
||||||
rebase srcshelton main # patches: fix Kconfig deps and module reachability
|
log "head: $(git show -s --oneline)"
|
||||||
rebase peppergrayxyz v6.19.10 # Update patch for 6.19.10
|
fi
|
||||||
rebase grkml config/cilium-ipsec-prereqs # config: enable Cilium IPsec prerequisites across all tracks
|
|
||||||
rebase hotschmoe cdnsp-sky1-reboot-hang # usb: cdnsp-sky1: drop the shutdown hook that hangs reboot on the MS-R1
|
if [ ! -d "$DRIVERS/npu" ]; then
|
||||||
rebase hotschmoe sky1-gpt-clock-names # arm64: dts: cix: sky1: name the GPT clocks so the broadcast timer probes
|
log "cloning NPU driver"
|
||||||
rebase hotschmoe minisforum-ms-r1 # arm64: dts: cix: add the Minisforum MS-R1- #38
|
run git clone --depth=1 --branch=cix_mainline_dev https://github.com/cixtech/cix_opensource__npu_driver.git $DRIVERS/npu
|
||||||
rebase hotschmoe armchina-npu-libnoe # misc: armchina-npu: run CIX libnoe 0.5 jobs; fix cache maintenance and devfreq panic
|
cd $DRIVERS/npu
|
||||||
rebase hotschmoe mvx-devfreq-perf-domain # media: cix: mvx: drive the SCMI perf domain from devfreq
|
log "head: $(git show -s --oneline)"
|
||||||
rebase hotschmoe panthor-devfreq-no-clk-poll # drm/panthor: don't poll the SCMI core clock for devfreq status
|
fi
|
||||||
rebase hotschmoe scmi-cpufreq-boost-param # cpufreq: scmi: add a boost parameter that holds from policy creation
|
|
||||||
rebase lpennisi73-tech usb-cdns3-null-guards # patches: add cdns3 NULL guards for the early role switch and runtime …
|
if [ ! -d "$DRIVERS/vpu" ]; then
|
||||||
rebase lpennisi73-tech amvx-mmu-flexible-array-vb2-lock # patches: add amvx MMU flexible-array and vb2 queue lock fixes (6.18)
|
log "cloning VPU driver"
|
||||||
|
run git clone --depth=1 --branch=cix_mainline_dev https://github.com/cixtech/cix_opensource__vpu_driver.git $DRIVERS/vpu
|
||||||
|
cd $DRIVERS/vpu
|
||||||
|
rebase EvilOlaf fix-strncpy # v4l2: replace strncpy with strscpy
|
||||||
|
log "head: $(git show -s --oneline)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$KERNEL_TREE" ]; then
|
if [ ! -d "$KERNEL_TREE" ]; then
|
||||||
log "downloading linux kernel source tree"
|
log "downloading linux kernel source tree"
|
||||||
get "linux-${KERNEL_VERSION}.tar.xz" "https://www.kernel.org/pub/linux/kernel/v${KERNEL_VERSION:0:1}.x/" | tar -xf - -C $BUILD --xz
|
get "linux-${KERNEL_VERSION}.tar.xz" "https://www.kernel.org/pub/linux/kernel/v${KERNEL_VERSION:0:1}.x/" \
|
||||||
|
| tar -xf - --xz -C $BUILD
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$KERNEL_TREE/.config-stock" ] && [ -z "$CONFIG" ]; then
|
||||||
|
log "loading local kernel config"
|
||||||
|
yes "" | make -C "$KERNEL_TREE" localmodconfig >/dev/null 2>&1
|
||||||
|
cp $KERNEL_TREE/.config $KERNEL_TREE/.config-stock
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$KERNEL_TREE/.patches-cix" ]; then
|
||||||
log "applying patches"
|
log "applying patches"
|
||||||
output="$LOGS/patches.log"; echo "" >$output
|
err=0; output="$LOGS/patches.log"; echo "" >$output
|
||||||
for p in "$KERNEL_PATCHES/patches-${TAG}"/*.patch; do
|
for p in "$KERNEL_PATCHES/patches-${KERNEL_VERSION:0:3}"/*.patch; do
|
||||||
patch -d "$KERNEL_TREE" -p1 --forward --batch -s <"$p" >>$output || die "could not apply patch: $p (see logs/patches.log)"
|
if ! patch -d "$KERNEL_TREE" -p1 --forward --batch -s <"$p" >>$output 2>&1
|
||||||
|
then log "warning: patch failed: $p"; err=$((err+1)); fi
|
||||||
done
|
done
|
||||||
|
log $(if (( err == 0 )); then echo "all patches applied"; else echo "warning: $err error(s) reported (see logs/patches.log)"; fi)
|
||||||
find "$KERNEL_TREE" \( -name '*.orig' -o -name '*.rej' \) -delete
|
find "$KERNEL_TREE" \( -name '*.orig' -o -name '*.rej' \) -delete
|
||||||
|
touch "$KERNEL_TREE/.patches-cix"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$KERNEL_TREE/.config-fedora" ]; then
|
if [ ! -f "$KERNEL_TREE/.config.ms-r1" ] || [ -n "$REBUILD" ]; then
|
||||||
log "downloading fedora kernel core"
|
|
||||||
get "kernel-core-${KERNEL_VERSION}-300.fc${DISTRO_VERSION}.aarch64.rpm" "https://download.fedoraproject.org/pub/fedora/linux/releases/${DISTRO_VERSION}/Everything/aarch64/os/Packages/k/" \
|
|
||||||
| rpm2cpio - \
|
|
||||||
| cpio -i --quiet --to-stdout "./lib/modules/*/config" \
|
|
||||||
> $KERNEL_TREE/.config-fedora
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f "$KERNEL_TREE/.config.ms-r1" ] || [ -n "$RECONFIGURE" ]; then
|
|
||||||
log "configuring kernel"
|
log "configuring kernel"
|
||||||
cd $KERNEL_TREE
|
cd $KERNEL_TREE
|
||||||
cp $KERNEL_PATCHES/config/config.sky1-${TAG} .config-sky1
|
make mrproper >/dev/null
|
||||||
./scripts/kconfig/merge_config.sh -m -O . .config-sky1 .config-fedora >/dev/null
|
cp $KERNEL_PATCHES/config/config-${KERNEL_VERSION:0:3}.defconfig .config-cix
|
||||||
./scripts/kconfig/merge_config.sh -m -O . .config "$BUILD/config/ms-r1.fragment" >/dev/null
|
cp $CONFIG .config-stock 2>/dev/null
|
||||||
make ARCH=arm64 CROSS_COMPILE=$CROSS olddefconfig >/dev/null
|
run ./scripts/kconfig/merge_config.sh -m -O . .config-cix .config-stock
|
||||||
|
run ./scripts/kconfig/merge_config.sh -m -O . .config "$BUILD/config/ms-r1.fragment"
|
||||||
|
sed -i -E "s/^(CONFIG_LOCALVERSION=)[^ ]*/\1\"$LOCAL_VERSION\"/" .config
|
||||||
|
make ARCH=arm64 CROSS_COMPILE=$CROSS olddefconfig >/dev/null 2>&1
|
||||||
cp .config .config.ms-r1
|
cp .config .config.ms-r1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log "compiling kernel"; make -C "$KERNEL_TREE" ARCH=arm64 CROSS_COMPILE=$CROSS -j"$JOBS" </dev/null >"$LOGS/build.log" 2>&1 || die "failed (see logs/build.log)"
|
log "compiling kernel"
|
||||||
log "done"
|
make -C "$KERNEL_TREE" ARCH=arm64 CROSS_COMPILE=$CROSS -j"$JOBS" </dev/null >"$LOGS/build.log" 2>&1 || die "failed (see logs/build.log)"
|
||||||
[ -n "$INSTALL" ] || { log "note: run this script with INSTALL=1 to trigger kernel install (requires root privileges)"; exit 0; }
|
|
||||||
[ -z "$(find /boot -maxdepth 1 -name "*-${LOCAL_VERSION}*" 2>/dev/null)" ] || { log "uninstalling legacy kernel ${LOCAL_VERSION} from previous build(s)"; uninstall; }
|
|
||||||
|
|
||||||
log "copying header files"; pkexec cp -r "$KERNEL_TREE" "$HEADERS" || die "failed"
|
log "compiling drivers"
|
||||||
log "installing kernel"; pkexec make -C "$DEVEL" ARCH=arm64 modules_install install clean </dev/null >"$LOGS/install.log" 2>&1 || die "failed (see logs/install.log)"
|
for m in $(find $DRIVERS -name "dkms.conf" -print); do
|
||||||
log "updating grub2 arguments"; run pkexec grubby --update-kernel=/boot/vmlinuz-$LOCAL_VERSION --args="$(if [ -n "$LOWPOWER" ]; then echo $CMDLINE_LOWPOWER; else echo $CMDLINE; fi)"
|
cd "$(dirname $m)"; log "in: $PWD"
|
||||||
|
options=$(bash -c "source $m && echo \$MAKE" | cut -d' ' -f4- -)
|
||||||
|
IFS=' ' read -ra array <<< "$options"
|
||||||
|
make clean >/dev/null 2>&1
|
||||||
|
make -C "$KERNEL_TREE" -j"$JOBS" M=$PWD "${array[@]}" >>"$LOGS/build.log" 2>&1 || die "failed (see logs/build.log)"
|
||||||
|
DRV+=($PWD)
|
||||||
|
done
|
||||||
|
|
||||||
|
[ -z "$INSTALL" ] || { pkexec bash -c "$(sub setup)" && log "done"; exit 0; }
|
||||||
log "done"
|
log "done"
|
||||||
|
log "note: run this script with INSTALL=1 to trigger kernel install (requires root privileges)"
|
||||||
+127
-27
@@ -1,35 +1,135 @@
|
|||||||
# MS-R1 specific build fragment (applied on top of merged Fedora+Sky1 config)
|
# kernel config for MS-R1
|
||||||
CONFIG_LOCALVERSION="-300.fc44.ms-r1"
|
# see <https://github.com/Sky1-Linux/linux-sky1/blob/main/config/README.md>
|
||||||
CONFIG_DEBUG_INFO_NONE=y
|
CONFIG_LOCALVERSION=""
|
||||||
# CONFIG_DEBUG_INFO_BTF is not set
|
# CONFIG_WERROR is not set
|
||||||
# CONFIG_DEBUG_INFO_DWARF5 is not set
|
|
||||||
# CONFIG_DEBUG_KERNEL is not set
|
|
||||||
# CONFIG_DRM_WERROR is not set
|
# CONFIG_DRM_WERROR is not set
|
||||||
CONFIG_EXTRA_FIRMWARE=""
|
# CONFIG_ARM64_MPAM is not set
|
||||||
CONFIG_EXTRA_FIRMWARE_DIR=""
|
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=m
|
||||||
CONFIG_PM_STD_SUSPEND=y
|
CONFIG_DEVFREQ_GOV_PERFORMANCE=m
|
||||||
CONFIG_ARM64_CRASH_DUMP=n
|
CONFIG_DEVFREQ_GOV_POWERSAVE=m
|
||||||
# CONFIG_USB_CDNSP_PCI is not set
|
CONFIG_DEVFREQ_GOV_USERSPACE=m
|
||||||
CONFIG_USB_CDNSP_GADGET=y
|
CONFIG_DEVFREQ_GOV_PASSIVE=m
|
||||||
CONFIG_USB_CDNSP_HOST=y
|
CONFIG_MEDIA_SUPPORT=m
|
||||||
# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
|
CONFIG_DRM_PANTHOR=m
|
||||||
# CONFIG_PCIE_CADENCE_PLAT_EP is not set
|
CONFIG_DRM_MALI_DISPLAY=m
|
||||||
# CONFIG_MTD_NAND_CADENCE is not set
|
CONFIG_RTC_DRV_OPTEE=m
|
||||||
# CONFIG_SPI_CADENCE is not set
|
CONFIG_RTC_DRV_IMX_BBM_SCMI=m
|
||||||
# CONFIG_SPI_CADENCE_XSPI is not set
|
CONFIG_SENSORS_ARM_SCMI=m
|
||||||
# CONFIG_CADENCE_WATCHDOG is not set
|
CONFIG_IMX_SCMI_MISC_DRV=m
|
||||||
# CONFIG_VIDEO_CADENCE_CSI2TX is not set
|
CONFIG_IMX_SCMI_MISC_EXT=m
|
||||||
# CONFIG_RTC_DRV_CADENCE is not set
|
CONFIG_ARM_SCMI_CPUFREQ=m
|
||||||
CONFIG_SPI_CADENCE_QUADSPI=y
|
CONFIG_I2C_CADENCE=y
|
||||||
|
CONFIG_I2C_GPIO=m
|
||||||
|
CONFIG_I2C_IMX=m
|
||||||
|
#
|
||||||
|
# Essential platform support
|
||||||
|
#
|
||||||
|
CONFIG_ARCH_CIX=y
|
||||||
|
CONFIG_PCI_SKY1=y
|
||||||
|
CONFIG_PCIE_CADENCE_HOST=y
|
||||||
|
CONFIG_PINCTRL_SKY1_BASE=y
|
||||||
|
CONFIG_PINCTRL_SKY1=y
|
||||||
|
CONFIG_RESET_SKY1=y
|
||||||
|
CONFIG_CLK_SKY1_AUDSS=y
|
||||||
|
CONFIG_CLK_SKY1_ACPI=y
|
||||||
|
CONFIG_CIX_MBOX=y
|
||||||
CONFIG_GPIO_CADENCE=y
|
CONFIG_GPIO_CADENCE=y
|
||||||
CONFIG_MMC_SDHCI_CADENCE=y
|
CONFIG_SKY1_GPT_TIMER=y
|
||||||
|
CONFIG_SENSORS_CIX_FAN=m
|
||||||
|
#
|
||||||
|
# ACPI infrastructure
|
||||||
|
#
|
||||||
|
CONFIG_CIX_ACPI_RESOURCE_LOOKUP=y
|
||||||
|
CONFIG_CIX_ACPI_USB_SCAN=y
|
||||||
|
#
|
||||||
|
# USB support
|
||||||
|
#
|
||||||
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_CDNS_SUPPORT=y
|
CONFIG_USB_CDNS_SUPPORT=y
|
||||||
CONFIG_USB_CDNS3=y
|
CONFIG_USB_CDNS3=y
|
||||||
|
CONFIG_USB_CDNS3_TI=m
|
||||||
|
CONFIG_USB_CDNS3_IMX=m
|
||||||
CONFIG_USB_CDNSP=y
|
CONFIG_USB_CDNSP=y
|
||||||
CONFIG_USB_CDNSP_SKY1=y
|
CONFIG_USB_CDNSP_HOST=y
|
||||||
|
CONFIG_USB_CDNSP_GADGET=y
|
||||||
|
CONFIG_USB_UAS=m
|
||||||
CONFIG_TYPEC=y
|
CONFIG_TYPEC=y
|
||||||
CONFIG_TYPEC_RTS5453=y
|
CONFIG_TYPEC_RTS5453=y
|
||||||
# CONFIG_R8126 is not set
|
#
|
||||||
# CONFIG_R8125 is not set
|
# PHY drivers
|
||||||
|
#
|
||||||
|
CONFIG_PHY_CIX_PCIE=y
|
||||||
|
CONFIG_PHY_CIX_USB2=y
|
||||||
|
CONFIG_PHY_CIX_USB3=y
|
||||||
|
CONFIG_PHY_CIX_USBDP=y
|
||||||
|
CONFIG_PHY_CADENCE_TORRENT=m
|
||||||
|
CONFIG_PHY_CADENCE_DPHY=m
|
||||||
|
CONFIG_PHY_CADENCE_DPHY_RX=m
|
||||||
|
CONFIG_PHY_CADENCE_SIERRA=m
|
||||||
|
CONFIG_PHY_CADENCE_SALVO=m
|
||||||
|
#
|
||||||
|
# Display
|
||||||
|
#
|
||||||
|
CONFIG_DRM_CIX=m
|
||||||
|
CONFIG_DRM_CDNS_MHDP8546=m
|
||||||
|
CONFIG_DRM_LINLONDP=m
|
||||||
|
CONFIG_DRM_TRILIN_DPSUB=m
|
||||||
|
CONFIG_DRM_TRILIN_DP_CIX=m
|
||||||
|
CONFIG_DRM_CIX_EDP_PANEL=m
|
||||||
|
CONFIG_DRM_CIX_VIRTUAL=m
|
||||||
|
#
|
||||||
|
# Audio
|
||||||
|
#
|
||||||
|
CONFIG_SND_SOC_SOF_OF=m
|
||||||
|
CONFIG_SND_HDA_CIX_IPBLOQ=m
|
||||||
|
CONFIG_SND_HDA_CODEC_REALTEK=m
|
||||||
|
CONFIG_SND_SOC_CIX=m
|
||||||
|
CONFIG_SND_SOC_SKY1_SOUND_CARD=m
|
||||||
|
CONFIG_SND_SOC_CDNS_I2S_MC=m
|
||||||
|
CONFIG_SND_SOC_CDNS_I2S_SC=m
|
||||||
|
CONFIG_SND_SOC_SOF_CIX_TOPLEVEL=y
|
||||||
|
CONFIG_SND_SOC_SOF_CIX_COMMON=m
|
||||||
|
CONFIG_SND_SOC_SOF_CIX_SKY1=m
|
||||||
|
#
|
||||||
|
# Peripherals
|
||||||
|
#
|
||||||
|
CONFIG_PWM_SKY1=y
|
||||||
|
CONFIG_SKY1_WATCHDOG=y
|
||||||
|
CONFIG_HWSPINLOCK_SKY1=y
|
||||||
|
CONFIG_NVMEM_SKY1=y
|
||||||
|
CONFIG_CIX_SKY1_SOCINFO=y
|
||||||
|
CONFIG_RESET_SKY1_AUDSS=y
|
||||||
|
CONFIG_SKY1_PDC=y
|
||||||
|
CONFIG_CIX_BUS_PERF=y
|
||||||
|
CONFIG_CIX_CPU_IPA=y
|
||||||
|
CONFIG_CIX_DDR_LP=y
|
||||||
|
#
|
||||||
|
# Video processing
|
||||||
|
#
|
||||||
|
CONFIG_VIDEO_LINLON=m
|
||||||
|
CONFIG_VIDEO_LINLON_FTRACE=y
|
||||||
|
CONFIG_VIDEO_LINLON_PRINT_FILE=y
|
||||||
|
#
|
||||||
|
# NPU
|
||||||
|
#
|
||||||
|
CONFIG_ARMCHINA_NPU=m
|
||||||
|
CONFIG_ARMCHINA_NPU_ARCH_V3=y
|
||||||
|
CONFIG_ARMCHINA_NPU_SOC_SKY1=y
|
||||||
|
#
|
||||||
|
# Ethernet
|
||||||
|
#
|
||||||
|
CONFIG_R8125=m
|
||||||
|
CONFIG_R8126=m
|
||||||
|
CONFIG_R8169=m
|
||||||
|
#
|
||||||
|
# DSP/firmware
|
||||||
|
#
|
||||||
|
CONFIG_CIX_DSP=m
|
||||||
|
CONFIG_CIX_DSP_RPROC=m
|
||||||
|
CONFIG_DMABUF_HEAPS_DSP=m
|
||||||
|
#
|
||||||
|
# Device specific
|
||||||
|
#
|
||||||
CONFIG_BLK_DEV_NVME=y
|
CONFIG_BLK_DEV_NVME=y
|
||||||
CONFIG_CIX_MBOX=y
|
CONFIG_RTW89=m
|
||||||
|
CONFIG_RTW89_8852BE=m
|
||||||
Reference in new issue
Block a user