MTK8516 开发过程中遇到了不少问题,记录下印象比较深刻的问题
/usr/bin/6620_launcher -p /lib/firmware 启动提示
代码语言:javascript复制[root@buildroot firmware]# /usr/bin/6620_launcher -p /lib/firmware
WARNING!!! Need a correct way to check driver ready!!!open device node succeed.(Node:/dev/stpwmt, fd:3)
chip id is 0x8167
chiId:0x8167
run SOC chip flow
create pwr on thread ok
enter power on connsys flowpatch name pre-fix:ROMv2_lm_patch
fwVersion:0x8a00
/lib/firmware/ROMv2_lm_patch_1_1_hdr.bin
fw Ver in patch: 0x8a00
read patch info:0x21,0x00,0x0a,0xf0
gpatchnum = [2]
gdwonseq = [1]
/lib/firmware/ROMv2_lm_patch_1_0_hdr.bin
fw Ver in patch: 0x8a00
read patch info:0x22,0x00,0x06,0x00
gdwonseq = [2]
cmd(srh_patch) resp(ok)
enter enable wifiPower on device node(/dev/wmtWifi) gWifiFd:4 Fail (-1) and retry
Power on device node(/dev/wmtWifi) gWifiFd:4 Fail (-1) and retry
原因在于 : vendor/firmware/WIFI_RAM_CODE_8167 这个固件没有拷贝过去