Thanks, but Im using OpenWRT and there is no rfkill here. Also it is a 7622 driver build into 7615.
Regular OpenWRT squashfs was not working so I mount ext4 rootfs. First I thought that it is a problem with filesystem but modules themselves are loaded.
Is Firmware loading need some specials like partition name or others unusual bits rather than just regular path to firmware files? I do have them in /lib/firmware/ and also /lib/firmware/mediatek just in case.
Yes Im using mt7615e.ko. Like I mention there is /lib/firmware/mediatek folder and can be accessed. I try to unload and load mt7615e but that did not help. I guess I need to trace module that race with mt7615e like you mention with rfkill.
@frank-w I read your wiki about R2 storage and emmc and also halh of this forum and I remember that I sow somewhere that you mention about writing fstab
on Openwrt mounts should looks like:
mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
but I do have:
mount
/dev/root on / type ext4 (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup on /sys/fs/cgroup type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,pids)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
so clearly first line with rootfs is missing.
Got that working finally. The issue with mt7615e module was that bluetooth module block firmware loading.It was build into kernel and loaded before rootfs so no chance to get firmware file. Making bluetooth as a module instead build into kernel solved the problem
So now I do have fully working OpenWRT from eMMC.
By the way. Problems with mt7622 WiFi TX power stuck at 6 dbm are because of missing wifi EEPROM. If it is provided TX power work correct.
Kerenel (5.4.38), device tree and ext4 rootfs are build with OpenWRT, ext4 are not default image so need to be turned on in menuconfig. Standard squashFs was not working.
Hi. I have also built OpenWRT from the HEAD of master and kernel version 4.19.115.
I get the same Failed to get patch semaphore message from mt7615e. In addition I am getting
sh: write error: No such file or directory
repeated three times. Here is the console output:
root@OpenWrt:/# lsmod |grep mt7615e
mac80211 536576 3 mt7615e,mt7615_common,mt76
mt76 45056 2 mt7615e,mt7615_common
mt7615_common 73728 1 mt7615e
mt7615e 20480 0
root@OpenWrt:/# rmmod mt7615e
root@OpenWrt:/# modprobe mt7615e
[ 874.364277] mt7622-wmac 18000000.wmac: Invalid MAC address, using random address 82:fb:f3:ef:43:be
[ 874.375060] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 874.402564] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[ 874.402564]
[ 874.425612] mt7622-wmac 18000000.wmac: N9 Firmware Version: 2.0, Build Time: 20200131180931
sh: write error: No such file or directory
sh: write error: No such file or directory
sh: write error: No such file or directory
I can’t understand why there is no path printed for indicating which file or directory was unwriteable