Porting openwrt(kernel 5.4) for bpi-r2 status report

i guess path is wrong…as driver was designed for android the firmware has to be in /system/etc/firmware also WMT_SOC.cfg is needed

see this documentation:

I just checked now and WMT_SOC.cfg is there

BPI-R2> ls mmc 1:2 /system/etc/firmware
<DIR>       4096 .
<DIR>       4096 ..
              95 WMT_SOC.cfg

Do you suggest to move the firmware files also under system folder ? Int he README file it says

copy the following file to BPI-ROOT-partition of SD-Card:

  • config\WMT_SOC.cfg to system/etc/firmware/

  • content of folder firmware to etc/firmware/

  • src\stp_uart_launcher, src\wmt_loader and src\wmt_loopback to usr/bin/

no, should be right…my mistake…firmware should be in /etc/firmware

maybe @smaller09 or @abbradar has an idea…i think he used my version, and 5.4 works with debian…but maybe openwrt make some changes that break…

it’s bad, that call stack is not really explaining where the crash happens

hi. i tryied to compile and i always end with error.

/Include/toplevel.mk:255: recipe for target ‘world’ failed.

make: *** [world] Error 1

any ideas what is wrong ?

This is a generic error. Try to compile again with verbose mode enabled.

make -j1 V=s

This will output more information and you’ll be able to see where the compilation is failing.

Hello, Any update on the wifi fix?

As far as i understand it, crash seems to happen near here:

Have not seen it in my kernel…maybe because ENABLE_BTIF_TX_DMA is set in yours and not mine…

You can try adding printk-lines to trace exact position of crash with dumping values of pointers before accessing them…i guess p_vfifo->phy_addr is NULL