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
Again…it seems there are issues with linux-mmc driver for r64 emmc. It looks like this is caused by second initialization (first in uboot,second in linux) without reset between. Anybody disabled emmc in uboot and can access emmc-partitions in linux (sdboot)
Hi,
I have another issue with reboot and emmc/sd preloader.
I followed instructions here : https://wiki.fw-web.de/doku.php?id=en:bpi-r64:storage but it seems that emmc preloader boots only when power is switched on and then bootrom tries to sd after successive linux reboots or board toggle resets.
This is really inconvenient and defeats the purpose of emmc boot if you still need sd…
If i u derstand you correctly i have same behaviour on r2 (not tested on r64). Sd/emmc check is only done on poweron and bootdevice stays same on reboot (boot from sd and remove it on reboot still tries to boot from it and not emmc)
Openwrt with kernel 4.19 afaik does not support mt7622 wifi. Mt7615 should be in,but mt7622 was developed later,so i guess you need to include it by yourself
Have you set bootswitch to proper device? Btw.you can modify your sdcard uboot to always boot from emmc just set device/partition where kernel gets loaded and bootargs (cmdline for linux)
Yes, I use position 0 to boot from emmc, it works when power is switched on.
But reboots and resets always uses SD. In practice this means that you cannot remove SD and must have - at least - headers, preloader and u-boot flashed to it.
Ok,it behaves a bit different to r2 where it always boots device accessed on poweron (if emmc booted first,reboot also boots emmc,also if sd is inserted). This behaviour of r64 is odd…maybe @sinovoip can explain cause…i guess it can be sd-preloader which is also in emmc bootchain