tidy kconfig a bit

This commit is contained in:
Daniel Barlow 2022-10-16 15:31:10 +01:00
parent 4b513cdb98
commit 45d52a6c99
2 changed files with 15 additions and 7 deletions

View file

@ -401,3 +401,15 @@ openwrt-based device tree which ahs the mdio as a nested node inside
the ag71xx node - in mainline the driver seems to have all the mdio
stuff inline. So, could we build the openwrt driver without patching
the crap out of our kernel
Sun Oct 16 15:25:33 BST 2022
Executive decision: let's use the openwrt kernel (at least for
gl-ar750). Mainline kernel doesnt have devicetree support for this
device or the SoC its based on, and the OpenWrt dts for it doesnt
have the same "compatible"s, which makes me think that an indefinite
amount of patching will be necessary to make dts/modules for one of
them work with a kernel for the other
As a result: now we have eth0 appearing, but not eth1? Guessing we
need to add some kconfig for the switch

View file

@ -77,12 +77,13 @@
};
kernel = rec {
checkedConfig = {
"MIPS_ELF_APPENDED_DTB" = "y";
MIPS_ELF_APPENDED_DTB = "y";
OF = "y";
USE_OF = "y";
ATH79 = "y";
# SOC_QCA955X = "y"; # actually QCA9531, is this even right?
LIMINIX = "y";
SERIAL_8250_CONSOLE = "y";
SERIAL_8250 = "y";
SERIAL_CORE_CONSOLE = "y";
@ -109,17 +110,12 @@
ETHERNET = "y";
NET_VENDOR_ATHEROS = "y";
AG71XX = "y"; # ethernet (qca,qca9530-eth)
MFD_SYSCON = "y"; # ethernet (compatible "syscon")
};
config = {
CPU_LITTLE_ENDIAN= "n";
CPU_BIG_ENDIAN= "y";
ATH79 = "y";
MIPS_ELF_APPENDED_DTB = "y";
# INITRAMFS_SOURCE = "\"\"";
# this is all copied from nixwrt ath79 config. Clearly not all
# of it is device config, some of it is wifi config or