tidy kconfig a bit
This commit is contained in:
parent
4b513cdb98
commit
45d52a6c99
2 changed files with 15 additions and 7 deletions
12
THOUGHTS.txt
12
THOUGHTS.txt
|
@ -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
|
the ag71xx node - in mainline the driver seems to have all the mdio
|
||||||
stuff inline. So, could we build the openwrt driver without patching
|
stuff inline. So, could we build the openwrt driver without patching
|
||||||
the crap out of our kernel
|
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 doesn’t have devicetree support for this
|
||||||
|
device or the SoC it’s based on, and the OpenWrt dts for it doesn’t
|
||||||
|
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
|
||||||
|
|
|
@ -77,12 +77,13 @@
|
||||||
};
|
};
|
||||||
kernel = rec {
|
kernel = rec {
|
||||||
checkedConfig = {
|
checkedConfig = {
|
||||||
"MIPS_ELF_APPENDED_DTB" = "y";
|
MIPS_ELF_APPENDED_DTB = "y";
|
||||||
OF = "y";
|
OF = "y";
|
||||||
USE_OF = "y";
|
USE_OF = "y";
|
||||||
ATH79 = "y";
|
ATH79 = "y";
|
||||||
# SOC_QCA955X = "y"; # actually QCA9531, is this even right?
|
|
||||||
LIMINIX = "y";
|
LIMINIX = "y";
|
||||||
|
|
||||||
SERIAL_8250_CONSOLE = "y";
|
SERIAL_8250_CONSOLE = "y";
|
||||||
SERIAL_8250 = "y";
|
SERIAL_8250 = "y";
|
||||||
SERIAL_CORE_CONSOLE = "y";
|
SERIAL_CORE_CONSOLE = "y";
|
||||||
|
@ -109,17 +110,12 @@
|
||||||
ETHERNET = "y";
|
ETHERNET = "y";
|
||||||
NET_VENDOR_ATHEROS = "y";
|
NET_VENDOR_ATHEROS = "y";
|
||||||
AG71XX = "y"; # ethernet (qca,qca9530-eth)
|
AG71XX = "y"; # ethernet (qca,qca9530-eth)
|
||||||
|
|
||||||
MFD_SYSCON = "y"; # ethernet (compatible "syscon")
|
MFD_SYSCON = "y"; # ethernet (compatible "syscon")
|
||||||
|
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
CPU_LITTLE_ENDIAN= "n";
|
CPU_LITTLE_ENDIAN= "n";
|
||||||
CPU_BIG_ENDIAN= "y";
|
CPU_BIG_ENDIAN= "y";
|
||||||
ATH79 = "y";
|
|
||||||
MIPS_ELF_APPENDED_DTB = "y";
|
|
||||||
|
|
||||||
# INITRAMFS_SOURCE = "\"\"";
|
|
||||||
|
|
||||||
# this is all copied from nixwrt ath79 config. Clearly not all
|
# this is all copied from nixwrt ath79 config. Clearly not all
|
||||||
# of it is device config, some of it is wifi config or
|
# of it is device config, some of it is wifi config or
|
||||||
|
|
Loading…
Reference in a new issue