exec4 Posted October 12, 2020 Share Posted October 12, 2020 Helllo, has anybody here created a toolchain for the mk7 yet? I have build for my nano with the help of the github repository, but there is no source for the mk7 OpenWRT base system. Thank you Link to comment Share on other sites More sharing options...
deathcamel57 Posted October 12, 2020 Share Posted October 12, 2020 Hey exec4! I set up a build toolchain for it. it's based on OpenWRT 19.07.3, targeting ramips/mt76x8. The files for the prebuilt SDK is located here: https://downloads.openwrt.org/releases/19.07.3/targets/ramips/mt76x8/ Link to comment Share on other sites More sharing options...
exec4 Posted October 14, 2020 Author Share Posted October 14, 2020 Hello, Thank you. I tried that, but root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk Installing kmod-usb-net-cdc-ether (4.14.180-1) to root... Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-cdc-ether: * kernel (= 4.14.180-1-d92769dc5268e102503ae83fe968a56c) * opkg_install_cmd: Cannot install package kmod-usb-net-cdc-ether. root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --nodeps Installing kmod-usb-net-cdc-ether (4.14.180-1) to root... Configuring kmod-usb-net-cdc-ether. After that, the mk7 just reboots... Link to comment Share on other sites More sharing options...
deathcamel57 Posted October 14, 2020 Share Posted October 14, 2020 Hey exec4, I looked at the available packages on my pineapple from opkg. It looks like that package isn't available currently. This package was built by the SDK by default for me. Here's a link to my shared Google Drive for the Mk7: https://drive.google.com/drive/folders/1LQUDY6ZtsW90QZlQIUoLQ_nn6vjauhx0?usp=sharing Navigate to `targets` -> `ramips` -> `mt76x8` -> `packages` to find it. If your build environment built it (it likely did), you can navigate to the `bin` directory, and go to the same folders I said earlier. Feel free to contact me directly on Discord at DeathCamel57#5227 if you want to chat about OpenWRT packaging stuff. Link to comment Share on other sites More sharing options...
exec4 Posted October 14, 2020 Author Share Posted October 14, 2020 Thanks for your offer, looking forward to contact you tomorrow or maybe next week. I tried your package with the same result. Maybe I need to downgrad to firmware 1.0.0 from beta? I will try that now. Link to comment Share on other sites More sharing options...
deathcamel57 Posted October 14, 2020 Share Posted October 14, 2020 Hey exec4, Doing some more looking at it, it seems like the pineapple on the beta are running a slightly different kernel version. I'll probably wind up compiling against the kernel version they're running and get you a package for that kernel version (possibly a few days). Link to comment Share on other sites More sharing options...
exec4 Posted October 14, 2020 Author Share Posted October 14, 2020 That sounds awesome! Actually with firmware 1.0.0 I do have the same problem: root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk Installing kmod-usb-net-cdc-ether (4.14.180-1) to root... Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-cdc-ether: * kernel (= 4.14.180-1-d92769dc5268e102503ae83fe968a56c) * opkg_install_cmd: Cannot install package kmod-usb-net-cdc-ether. root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --nodeps Installing kmod-usb-net-cdc-ether (4.14.180-1) to root... Configuring kmod-usb-net-cdc-ether. Connection reset by 172.16.42.1 port 22 I Link to comment Share on other sites More sharing options...
Foxtrot Posted October 14, 2020 Share Posted October 14, 2020 You probably want to --force-deps, not --no-deps. For what it's worth, I'll publish every kmod to the package repositories when the 1.0.1 firmware is launched. Link to comment Share on other sites More sharing options...
exec4 Posted October 14, 2020 Author Share Posted October 14, 2020 Hello Foxtrot, that sounds nice. I don't understand the difference between the two options, but will try asap. Maybe this could be added as feed later? Link to comment Share on other sites More sharing options...
Foxtrot Posted October 14, 2020 Share Posted October 14, 2020 11 minutes ago, exec4 said: Maybe this could be added as feed later? 55 minutes ago, Foxtrot said: For what it's worth, I'll publish every kmod to the package repositories when the 1.0.1 firmware is launched. Link to comment Share on other sites More sharing options...
exec4 Posted October 15, 2020 Author Share Posted October 15, 2020 21 hours ago, Foxtrot said: You probably want to --force-deps, not --no-deps. For what it's worth, I'll publish every kmod to the package repositories when the 1.0.1 firmware is launched. Hello, I tried that with opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --force-depends opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --force-depends But it resets immediately. Link to comment Share on other sites More sharing options...
Zylla Posted November 2, 2020 Share Posted November 2, 2020 When installing a custom built kmod, make sure to not only iinstall for the correct kernel version, but also on a kernel that was built with the kmod you are installing. 🙂 Link to comment Share on other sites More sharing options...
Foxtrot Posted November 2, 2020 Share Posted November 2, 2020 For what it's worth, since the launch of 1.0.1 I've already compiled all the kmods and published them to the package repository. You should be able to use opkg to install them now. Link to comment Share on other sites More sharing options...
exec4 Posted November 4, 2020 Author Share Posted November 4, 2020 Hello, that sounds nice, I will try that asap. Link to comment Share on other sites More sharing options...
exec4 Posted November 25, 2020 Author Share Posted November 25, 2020 Hello Foxtrot, I was able to install the kmod for my AWUS036AC, and it looks good at first. I run "watch -n 0.1 dmesg" and connect it, everything seems fine, I can see some messages for wlan3. But when I use wlan3 to scan for networks, the Pineapple immediately reboots, I can't even see anything on dmesg output. is there a way to get my crash dump, or to see there is none and it might be a power fault? My Laptop's USB C schould at least support 2A, and I also think I already tried with an actively powered USB Hub. Thank you. Link to comment Share on other sites More sharing options...
chrizree Posted November 25, 2020 Share Posted November 25, 2020 Tried /sys/kernel/debug/crashlog ? Link to comment Share on other sites More sharing options...
exec4 Posted November 30, 2020 Author Share Posted November 30, 2020 Hello @chrizree Actually it worked after "echo c > /proc/sysrq-trigger", but not after it was crashing while using the AWUS! Strange. Don't have an actively powered usb hub at the moment, will try that later again. Link to comment Share on other sites More sharing options...
exec4 Posted December 31, 2020 Author Share Posted December 31, 2020 So I tried following, using beta 2 at the moment. Connect a powered hub to the Pineapples USB A port, with a "Charger doctor" in between to measure power consumption - there is none at any time in this test. When I connect the USB adapter, following happens: [ 470.704765] usb 1-1.3.4.4: new high-speed USB device number 7 using ehci-platform [ 471.220788] RTL871X: rtw_ndev_init(wlan3) [ 472.043740] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready Now I disconnect the adapter. The blue LED on the pineapple turns off, the power on the USB A port on the drops to 0v. It automatically reboots and is online after about 30 seconds, but there is no Quote /sys/kernel/debug/crashlog Any ideas? Thank you in advance. Link to comment Share on other sites More sharing options...
exec4 Posted August 21, 2021 Author Share Posted August 21, 2021 So now after installing firmware 1.1.0, i am able to use USB tethering. After running opkg install kmod-usb-net-rndis opkg install kmod-nls-base kmod-usb-core kmod-usb-net kmod-usb-net-cdc-ether kmod-usb2 according to the OpenWrt user guide it's working and not rebooting. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.