This topic exists to avoid duplicating work to support new kernel versions in LEDE. If for some reason you are working on this, please reply with a link to your work.
@stintel I'm trying to compile your 4.12 staging kernel for bcm53xx, however, I get errors below.
CC [M] net/ipv6/ip6_tunnel.o
net/ipv6/ip6_tunnel.c: In function 'ip6_tnl_netlink_parms':
net/ipv6/ip6_tunnel.c:2120:4: error: too few arguments to function 'nla_parse_nested'
nla_parse_nested(fmrd, IFLA_IPTUN_FMR_MAX,
^~~~~~~~~~~~~~~~
In file included from ./include/net/rtnetlink.h:5:0,
from ./include/net/sch_generic.h:12,
from ./include/linux/filter.h:20,
from ./include/net/sock.h:64,
from ./include/net/inet_sock.h:27,
from ./include/net/icmp.h:23,
from net/ipv6/ip6_tunnel.c:50:
./include/net/netlink.h:754:19: note: declared here
static inline int nla_parse_nested(struct nlattr *tb[], int maxtype,
^~~~~~~~~~~~~~~~
net/ipv6/ip6_tunnel.c: In function 'ip6_tnl_fill_info':
net/ipv6/ip6_tunnel.c:2333:57: error: expected expression before '||' token
nla_put_u32(skb, IFLA_IPTUN_FWMARK, parm->fwmark)) ||
^~
net/ipv6/ip6_tunnel.c:2334:52: error: expected statement before ')' token
!(fmrs = nla_nest_start(skb, IFLA_IPTUN_FMRS)))
^
scripts/Makefile.build:308: recipe for target 'net/ipv6/ip6_tunnel.o' failed
make[7]: *** [net/ipv6/ip6_tunnel.o] Error 1
scripts/Makefile.build:561: recipe for target 'net/ipv6' failed
make[6]: *** [net/ipv6] Error 2
Looks like a problem with target/linux/generic/patches-4.12/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch. Haven't seen this problem myself. You could try fixing the patch yourself, or simply remove that patch for now, until I can look into it. @npcomplete Should be fixed.
hi LynxChaus, I download the source ball but comipile failed with: package/Makefile:109: recipe for target 'package/kernel/mac80211/compile' failed
my Profile is MT7621 MQMaker WiTi.
Currently, mac80211 backport not compatible with 4.12.x kernel. Hauke Mehrtens prepared new backport patch but it not sufficient - mac80211 compiled, mt76 driver - is not.
[ 6380.480000] do_page_fault(): sending SIGSEGV to git for invalid read access from 0ff4c000
[ 6380.490000] epc = 0ff4c001 in libgcc_s.so.1[77ed0000+22000]
[ 6380.510000] ra = 00402e2c in git[400000+118000]
It not about tf card brand or class, with kernel 4.4.83 or lower, everything work perfect .
After upgrade to kernel 4.9.x or 12.4.8, tf card become bugged with MT7621 SD interface.
CC drivers/net/phy/swconfig.o
drivers/net/phy/swconfig.c:273:8: error: 'GENL_ID_GENERATE' undeclared here (not in a function)
.id = GENL_ID_GENERATE,
^~~~~~~~~~~~~~~~
drivers/net/phy/swconfig.c: In function 'swconfig_parse_ports':
drivers/net/phy/swconfig.c:600:7: error: too few arguments to function 'nla_parse_nested'
if (nla_parse_nested(tb, SWITCH_PORT_ATTR_MAX, nla,
^~~~~~~~~~~~~~~~
In file included from ./include/net/genetlink.h:5:0,
from ./include/linux/switch.h:19,
from drivers/net/phy/swconfig.c:25:
./include/net/netlink.h:754:19: note: declared here
static inline int nla_parse_nested(struct nlattr *tb[], int maxtype,
^~~~~~~~~~~~~~~~
drivers/net/phy/swconfig.c: In function 'swconfig_parse_link':
drivers/net/phy/swconfig.c:622:6: error: too few arguments to function 'nla_parse_nested'
if (nla_parse_nested(tb, SWITCH_LINK_ATTR_MAX, nla, link_policy))
^~~~~~~~~~~~~~~~
In file included from ./include/net/genetlink.h:5:0,
from ./include/linux/switch.h:19,
from drivers/net/phy/swconfig.c:25:
./include/net/netlink.h:754:19: note: declared here
static inline int nla_parse_nested(struct nlattr *tb[], int maxtype,
^~~~~~~~~~~~~~~~
drivers/net/phy/swconfig.c: In function 'swconfig_init':
drivers/net/phy/swconfig.c:1226:9: error: implicit declaration of function 'genl_register_family_with_ops' [-Werror=implicit-function-declaration]
return genl_register_family_with_ops(&switch_fam, swconfig_ops);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target 'drivers/net/phy/swconfig.o' failed
make[8]: *** [drivers/net/phy/swconfig.o] Error 1