From cb3c8702d5f3eea7b0ec2052dcc3c7f260b06018 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Thu, 2 Jan 2025 09:51:26 +0100 Subject: [PATCH] small cleanups --- devices/openwrt-one/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/devices/openwrt-one/default.nix b/devices/openwrt-one/default.nix index 2c42e56d..114ac785 100644 --- a/devices/openwrt-one/default.nix +++ b/devices/openwrt-one/default.nix @@ -40,8 +40,7 @@ config = "aarch64-unknown-linux-musl"; gcc = { # https://openwrt.org/docs/techref/instructionset/aarch64_cortex-a53 - # openwrt target/linux/mediatek/filogic/target.mk - #abi = "32"; + # openwrt ./target/linux/mediatek/filogic/target.mk # https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html # https://en.wikipedia.org/wiki/Comparison_of_ARM_processors arch = "armv8-a"; @@ -546,9 +545,9 @@ ZSTD_COMPRESS="y"; ZSTD_DECOMPRESS="y"; # from DEVICE_PACKAGES in the openwrt_one section of - # target/linux/mediatek/image/filogic.mk: chop off the - # 'kmod-' prefix and search for 'KernelPackage/...' - # in package/kernel/linux/modules/*.mk, also add + # openwrt's ./target/linux/mediatek/image/filogic.mk: + # chop off the 'kmod-' prefix and search for 'KernelPackage/...' + # in ./package/kernel/linux/modules/*.mk, and remember to add # modules to kmodloader targets below AIR_EN8811H_PHY="m"; RTC_DRV_PCF8563="m"; @@ -566,7 +565,6 @@ conditionalConfig = { WLAN = { MT7915E = "m"; - #MT7996E = "m"; }; }; }; @@ -658,7 +656,6 @@ }; defaultOutput = "uimage"; - #defaultOutput = "tftpboot"; loadAddress = lim.parseInt "0x44000000"; entryPoint = lim.parseInt "0x44000000"; alignment = 2048; @@ -667,7 +664,6 @@ src = "${openwrt.src}/target/linux/mediatek/dts/mt7981b-openwrt-one.dts"; includePaths = [ "${openwrt.src}/target/linux/mediatek/dts" - #"${openwrt.src}/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/" "${config.system.outputs.kernel.modulesupport}/arch/arm64/boot/dts/mediatek/" ]; };