For wifi,you maybe can set mac in your wifi.sh after creating ap0 interface using ip link command
How can i test bluetooth in my kernel to check for problem you have with it? I can pair my smartphone…have not tried any connection/data exchange because i don’t know how to do with blutoothctl
Building images needs also creating partitions and complete bootheaders including uboot…i guess it’s more work
I have forked the main OpenWRT trunk git repository, applied a series of patches and built an image with ext4 and sysupgrade support running 5.4 kernel. OpenWRT fork repo is available here:
I prepared also a binary image which can be written to an SD-card ( rootfs size 256MB )
This image has the HW-NAT commits included. I did some tests with it disabled and enabled but I did not noticed any difference. Also I observed speed decreasing compared to another images I ran (got around 200 Mbps out of 500MBps). Maybe i’m missing some patches or I did not configured something properly.
If someone wants to test HW-NAT feature feel free and download the image or clone the repository and compile a new image.
This image does not include integrated WLAN mt6625l and bluetooth patches.
I could try and add the other patches but I’m not very experienced with this If i need to do debugging.
Can you summarize which patches from your 5.4 tree should I add ?
Thanks for keeping this device updated with openwrt img.
Update:
Is the WIFI and AP working on this image? If not I see @sinovoip have posted something today
Maybe @sinovoip can help in getting the wifi to work on openwrt?
UPDATE 2:
Tried the image and I am amazed with the 2020 UI and the board support specifically with the LED customisation which I tested.
DHCP worked. Good to see adblocker pre-installed.
Only thing missing is WIFI AP.
I will do further testing tomorrow as currently I only have 1 Lan cable.
Question:
Can I jump the power switch ? Does this kernel ignores the power switch jumped?
Flashing the img directly to the emmc should power on the device directly to OpenWRT right?
You mean r2 internal wifi? It’s mt6625l and not mt7615 like sinovoip posted…but smaller09 ported patches to openwrt 5.4 kernel,which needs to be included into this repo
There is no such module…strange where this reference came from
try builtin wifi and bluetooth module
are patches applied without errors?
@spikerguy what do you mean with power jump support? You need to press powerbutton 10s…this is a hardware-limitation and cannot be fixed by software…only with soldering a bridge over power switch or 5v on otg port
I managed to add wifi and bluetooth driver and compile with success by adding the 5.4 kernel config file from @smaller09 openwrt repo, but when I boot the image it goes into a reboot loop and I cannot see any kernel messages although I enabled earlyprintk and debug.
His 5.4 config has a lots of debug options and every time I compile it asks me a lot of questions for configs to be enabled which I need to answer them manually.
I will revert the configs back and try to check manually and adding options from his config to the openwrt one.
I compiled again the image with mt6625l wifi and bt included and the same reboot loop happens.
Below is partial output from the boot log with the kernel panic