i want to use a tree not based on a rc so i changed existing branch to use the 4.16.1 and upgraded to 4.16.3, added config, build-script and swapped mmc (to make sure mmc0 is sd-card like in all r2-images)
I’m also trying out the 4.16.7 kernel but I’m havin issues with the devices on the USB bus. I have the following error message in the dmesg
[ 4.377387] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 4.382762] xhci-mtk 1a240000.usb: fail to get sys_ck
[ 4.693757] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 4.700020] xhci-mtk 1a240000.usb: fail to get sys_ck
[ 4.728951] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 4.740564] xhci-mtk 1a240000.usb: fail to get sys_ck
[ 4.784266] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 4.791475] xhci-mtk 1a240000.usb: fail to get sys_ck
[ 10.710643] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 10.711321] xhci-mtk 1a240000.usb: fail to get sys_ck
[ 10.713828] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 10.714440] xhci-mtk 1a240000.usb: fail to get sys_ck
[ 10.774766] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[ 10.775275] xhci-mtk 1a240000.usb: fail to get sys_ck
I noticed it because there the network devices (wan, lan) are not shown:
$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 7a:c1:92:fa:3d:78 brd ff:ff:ff:ff:ff:ff
3: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7a:c1:92:fa:3d:78 brd ff:ff:ff:ff:ff:ff
3: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd ::
As far as I know ip link shows all devices, no matter if they are up, down, connected or disconnected.
No, I tried the Vanilla Linux Kernel with the default config (mt7623n_evb_bpi_defconfig) from the BPI-R2-bsp archive). I now used your repository and the origin/4.16-main branch and it is working.
In the kernel configuration I used the clocks for mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys are not selected. I added those, recompiled and hooray, it’s working now
There is the same issue as I described above with the multi_v7_defconfig: the clock driver for mmsys, imgsys, vdecsys, hifsys, ethsys and bpdsys are not enabled by default in kernel v4.16.8.
[*] Clock driver for MediaTek MT2701
[ ] Clock driver for MediaTek MT2701 mmsys
[ ] Clock driver for MediaTek MT2701 imgsys
[ ] Clock driver for MediaTek MT2701 vdecsys
[ ] Clock driver for MediaTek MT2701 hifsys
[ ] Clock driver for MediaTek MT2701 ethsys
[ ] Clock driver for MediaTek MT2701 bdpsys