20231223使用Rockchip原厂的Android11调通Firefly的AIO-3399J开发板上的AP6356S

20231223使用Rockchip原厂的Android11调通Firefly的AIO-3399J开发板上的AP6356S
2023/12/23 14:14


开发板:Firefly的AIO-3399J【RK3399】
SDK:rk3399-android-11-r20211216.tar.xz【Android11】
Android11.0.tar.bz2.aa【ToyBrick】
Android11.0.tar.bz2.ab
Android11.0.tar.bz2.ac

https://wiki.t-firefly.com/AIO-3399J/prepare_compile_android.html
AIO-3399J产品规格书 立即购买
AIO-3399J 采用 RK3399 六核(A72x2+A53x4) 64 位处理器,主频高达1.8GHz,集成了四核 Mali-T860 GPU,性能优异。


1、简略步骤:
rootroot@rootroot-X99-Turbo:~/3TB$ cat Android11.0.tar.bz2.a* > Android11.0.tar.bz2
rootroot@rootroot-X99-Turbo:~/3TB$ tar jxvf Android11.0.tar.bz2 
rootroot@rootroot-X99-Turbo:~/3TB$ mv Android11.0 61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB$ cd 61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ cd u-boot
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ./make.sh rk3399
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ cd ..
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ cd kernel/
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ make ARCH=arm64 rockchip_defconfig android-11.config -j36
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-sapphire-excavator-edp-avb.img -j36
scripts/kconfig/conf  --syncconfig Kconfig
  WRAP    arch/arm64/include/generated/uapi/asm/errno.h
  WRAP    arch/arm64/include/generated/uapi/asm/ioctls.h
  WRAP    arch/arm64/include/generated/uapi/asm/ioctl.h
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ cd ..
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ source build/envsetup.sh 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ lunch
     42. rk3399_Android11-userdebug
Which would you like? [aosp_arm-eng] 42
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ make -j36
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ./build.sh -u


2、打不开AP6356S的LOG:

console:/sys/class/gpio/gpio32 # 
console:/sys/class/gpio/gpio32 # [  136.090985] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.104840] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.147841] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.307842] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.349272] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.367596] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.387525] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.404851] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.424039] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.425603] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.445650] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.461473] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.477978] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.478326] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.478398] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.496319] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.530938] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.531600] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[  136.539801] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.556604] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.558006] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[  136.558891] [dhd] dhd_open: Enter wlan0
[  136.558904] [dhd] dhd_open : no mutex held. set lock
[  136.558913] [dhd] 
[  136.558913] Dongle Host Driver, version 100.10.545.19 (r826445-20210310-3)
[  136.558928] [dhd][wlan0] wl_android_wifi_on : in g_wifi_on=0
[  136.558935] [dhd] wifi_platform_set_power = 1, delay: 200 msec
[  136.558944] [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[  136.558950] [WLAN_RFKILL]: rockchip_wifi_power: 1
[  136.558956] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  136.558963] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[  136.573108] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.587580] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.603863] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.621551] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.639379] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.640907] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.654650] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.671415] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.688088] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.695228] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.704787] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.721351] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.739018] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.747528] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.755303] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.771104] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.786230] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.807623] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.871138] sdio_reset_comm():
[  136.874255] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.886456] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  136.903679] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[  136.944417] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  136.978475] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[  136.985143] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[  136.992157] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[  137.004204] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[  137.019615] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[  137.030916] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.038763] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.056058] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.072121] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.084262] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.087996] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.105295] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.121632] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.138069] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.138198] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.155249] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.171683] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.188675] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.194222] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.250998] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.266992] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 100000000Hz, actual 100000000HZ div = 0)
[  137.272340] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.288364] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.304257] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.304700] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.322089] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.339230] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.356834] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.357611] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.372954] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.388915] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.410926] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.421367] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.458100] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 137
[  137.458333] [dhd] sdioh_start: set sd_f2_blocksize 256
[  137.459280] [dhd] dhd_bus_devreset: == Power ON ==
[  137.459649] [dhd] F1 signature read @0x18000000=0x17224356
[  137.463134] [dhd] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x2 pkg:0x2
[  137.463489] [dhd] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[  137.463552] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[  137.463597] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[  137.464222] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.467985] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[  137.468019] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm4356a2_ag.bin
[  137.468028] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram.txt
[  137.468035] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm4356a2_ag.blob
[  137.468042] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[  137.468527] [dhd] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm4356a2_ag.bin (593126 bytes) open success
[  137.515464] [dhd] dhdsdio_download_nvram: Open nvram file failed /vendor/etc/firmware/nvram.txt
[  137.515505] [dhd] _dhdsdio_download_firmware: dongle nvram file download failed

[  137.515535] [dhd] dhd_bus_devreset Failed to download binary to the dongle
[  137.515550] [dhd] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  137.515567] [dhd] dhd_dbg_detach_pkt_monitor, 2100
[  137.515578] [dhd] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  137.515614] [dhd] wifi_platform_set_power = 0, delay: 0 msec
[  137.515637] [dhd] ======== PULL WL_REG_ON(-1) LOW! ========
[  137.515657] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  137.515690] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  137.515709] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[  137.515728] [dhd][wlan0] wl_android_wifi_on : Failed
[  137.515748] [dhd] dhd_open : wl_android_wifi_on failed (-35)
[  137.515770] [dhd] dhd_stop: Enter wlan0
[  137.515793] [dhd][wlan0] wl_android_wifi_off : in g_wifi_on=0, on_failure=1
[  137.515800] [dhd] dhd_dbg_detach_pkt_monitor, 2100
[  137.515809] [dhd] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  137.515859] [dhd] sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92
[  137.515869] [dhd] wifi_platform_set_power = 0, delay: 0 msec
[  137.515878] [dhd] ======== PULL WL_REG_ON(-1) LOW! ========
[  137.515885] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  137.515894] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  137.515900] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[  137.515907] [dhd][wlan0] wl_android_wifi_off : out
[  137.517527] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.554264] [dhd] dhd_stop: Exit wlan0
[  137.554354] [dhd] dhd_open : the lock is released.
[  137.554385] [dhd] dhd_open: Exit wlan0 ret=-1
[  137.554415] [dhd] Failed to open primary dev ret -1
[  137.570974] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000
[  137.624308] rockchip-dmc dmc: Get wrong frequency, Request 600000000, Current 856000000


3、简单的解决方式:
既然缺少nvram.txt,看AIO-3399J开发板可以看到使用的WIFI/BT模块是AP6356S,直接原目录拷贝一份nvram_ap6356s.txt为nvram.txt即可!
Z:\3TB\61Android11.0\vendor\rockchip\common\wifi\firmware\nvram_ap6356s.txt
Z:\3TB\61Android11.0\vendor\rockchip\common\wifi\firmware\nvram.txt

#AP6356S_NVRAM_V1.4_20190820
#Modified from AP6356SDP_V1.0_NVRAM_20150216
NVRAMRev=$Rev: 373428 $
sromrev=11
boardrev=0x1121
boardtype=0x073e
boardflags=0x02400201
boardflags2=0x00802000
boardflags3=0x0000000a
macaddr=00:90:4c:1a:10:01
ccode=0x5855
regrev=1
antswitch=0
pdgain5g=4
pdgain2g=4
tworangetssi2g=0
tworangetssi5g=0
paprdis=0
femctrl=10
vendid=0x14e4
devid=0x43a3
manfid=0x2d0
nocrc=1
otpimagesize=502
xtalfreq=37400
rxgains2gelnagaina0=0
rxgains2gtrisoa0=7
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=11
rxgains5gtrelnabypa0=0
rxgains5gmelnagaina0=0
rxgains5gmtrisoa0=13
rxgains5gmtrelnabypa0=0
rxgains5ghelnagaina0=0
rxgains5ghtrisoa0=12
rxgains5ghtrelnabypa0=0
rxgains2gelnagaina1=0
rxgains2gtrisoa1=7
rxgains2gtrelnabypa1=0
rxgains5gelnagaina1=0
rxgains5gtrisoa1=10
rxgains5gtrelnabypa1=0
rxgains5gmelnagaina1=0
rxgains5gmtrisoa1=11
rxgains5gmtrelnabypa1=0
rxgains5ghelnagaina1=0
rxgains5ghtrisoa1=11
rxgains5ghtrelnabypa1=0
rxchain=3
txchain=3
aa2g=3
aa5g=3
agbg0=2
agbg1=2
aga0=2
aga1=2
tssipos2g=1
extpagain2g=2
tssipos5g=1
extpagain5g=2
tempthresh=255
tempoffset=255
rawtempsense=0x1ff
pa2ga0=-135,5769,-647   
pa2ga1=-143,6023,-677
pa5ga0=-183,5746,-697,-172,5801,-685,-176,5707,-680,-180,5445,-659
pa5ga1=-186,5543,-669,-193,5506,-675,-210,5282,-661,-199,5367,-665
subband5gver=0x4
pdoffsetcckma0=0x4
pdoffsetcckma1=0x4
pdoffset40ma0=0x0000
pdoffset80ma0=0x0000
pdoffset40ma1=0x0000
pdoffset80ma1=0x0000
maxp2ga0=72
maxp5ga0=69,70,69,68
maxp2ga1=71
maxp5ga1=67,67,67,67
cckbw202gpo=0x1222
cckbw20ul2gpo=0x0000
mcsbw202gpo=0x9E644422
mcsbw402gpo=0xE9744424
dot11agofdmhrbw202gpo=0x4444
ofdmlrbw202gpo=0x0022
mcsbw205glpo=0xEEA86661
mcsbw405glpo=0xEEB86663
mcsbw805glpo=0xEEB86663
mcsbw205gmpo=0xAAA86663
mcsbw405gmpo=0xECB86663
mcsbw805gmpo=0xEEA86663
mcsbw205ghpo=0xCC986663
mcsbw405ghpo=0xEEA86663
mcsbw805ghpo=0xEEA86663
mcslr5glpo=0x0000
mcslr5gmpo=0x0000
mcslr5ghpo=0x0000
sb20in40hrpo=0x0
sb20in80and160hr5glpo=0x0
sb40and80hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb40and80hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
sb40and80hr5ghpo=0x0
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb40and80lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb40and80lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
phycal_tempdelta=255
temps_period=15
temps_hysteresis=15
rssicorrnorm_c0=4,4
rssicorrnorm_c1=4,4
rssicorrnorm5g_c0=1,2,3,1,2,3,6,6,8,6,6,8
rssicorrnorm5g_c1=1,2,3,2,2,2,7,7,8,7,7,8
muxenab=0x10

swctrlmap_2g=0x00001141,0x00004212,0x00001040,0x211212,0x0ff
swctrlmap_5g=0x00000202,0x00000101,0x00000202,0x000000,0x047
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x003
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x003
btc_params33=5


4、成功了/打开AP6356S的WIFI之后的LOG:
console:/ $ 
console:/ $ 
console:/ $ [ 1745.436610] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[ 1745.446429] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[ 1745.446989] [dhd] dhd_open: Enter wlan0
[ 1745.447008] [dhd] dhd_open : no mutex held. set lock
[ 1745.447024] [dhd] 
[ 1745.447024] Dongle Host Driver, version 100.10.545.19 (r826445-20210310-3)
[ 1745.447040] [dhd][wlan0] wl_android_wifi_on : in g_wifi_on=0
[ 1745.447048] [dhd] wifi_platform_set_power = 1, delay: 200 msec
[ 1745.447057] [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 1745.447063] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 1745.447070] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 1745.447076] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[ 1745.759038] sdio_reset_comm():
[ 1745.774750] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1745.791858] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[ 1745.858497] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1745.865545] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1745.875750] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1745.887509] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1745.902019] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[ 1746.128694] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 100000000Hz, actual 100000000HZ div = 0)
[ 1746.321544] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 137
[ 1746.322040] [dhd] sdioh_start: set sd_f2_blocksize 256
[ 1746.323528] [dhd] dhd_bus_devreset: == Power ON ==
[ 1746.324135] [dhd] F1 signature read @0x18000000=0x17224356
[ 1746.336156] [dhd] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x2 pkg:0x2
[ 1746.337848] [dhd] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 1746.338086] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[ 1746.338287] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[ 1746.338825] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[ 1746.338895] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm4356a2_ag.bin
[ 1746.338914] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram.txt
[ 1746.338983] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm4356a2_ag.blob
[ 1746.339058] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[ 1746.340671] [dhd] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm4356a2_ag.bin (593126 bytes) open success
[ 1746.510134] [dhd] dhd_os_open_image1: /vendor/etc/firmware/nvram.txt (2891 bytes) open success
[ 1746.510263] [dhd] NVRAM version: AP6356S_NVRAM_V1.4_20190820 wenyuanbo 2023/12/23 12:35
[ 1746.511668] [dhd] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

[ 1746.565960] [dhd] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 1746.566690] [dhd] bcmsdh_oob_intr_register: HW_OOB irq=90 flags=0x4
[ 1746.567178] [dhd] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[ 1746.567250] [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[ 1746.574917] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 1
[ 1746.578789] [dhd] dhd_apply_default_clm: Ignore clm file /vendor/etc/firmware/clm_bcm4356a2_ag.blob
[ 1746.583875] [dhd] Firmware up: op_mode=0x0005, MAC=d4:12:43:a0:2d:6a
[ 1746.601173] [dhd] dhd_preinit_ioctls: event_log_max_sets: 26 ret: -23
[ 1746.622209] [dhd]   Driver: 100.10.545.19 (r826445-20210310-3)
[ 1746.622209]   Firmware: wl0: Mar  6 2020 10:50:21 version 7.36.79.7.35 (a1c40d1@shgit) (r) FWID 01-6d217742
[ 1746.622209]   CLM: 7.10.16 (2014-02-13 17:00:38) 
[ 1746.623205] [dhd] dhd_preinit_ioctls wlc_ver failed -23
[ 1746.623831] [dhd] dhd_txglom_enable: enable 1
[ 1746.623854] [dhd] dhd_conf_set_txglom_params : txglom_mode=multi-desc
[ 1746.623873] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[ 1746.623892] [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[ 1746.623951] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[ 1746.624026] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[ 1746.625837] [dhd] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[ 1746.628193] [dhd] dhd_pno_init: Support Android Location Service
[ 1746.656774] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[ 1746.666448] [dhd] dhd_rtt_init : FTM is not supported
[ 1746.667543] [dhd] dhd_rtt_ftm_config : failed to set config
[ 1746.698129] [dhd] dhd_preinit_ioctls: Failed to get preserve log # !
[ 1746.699701] [dhd] dhd_conf_map_country_list : CN/38
[ 1746.699747] [dhd] dhd_conf_set_country : set country CN, revision 38
[ 1746.704691] [dhd] dhd_conf_set_country : Country code: CN (CN/38)
[ 1746.721314] [dhd][wlan0] wl_android_wifi_on : Success
[ 1746.822819] [dhd] dhd_open : the lock is released.
[ 1746.822901] [dhd] dhd_open: Exit wlan0 ret=0
[ 1746.822920] [dhd] [wlan0] tx queue started
[ 1746.832727] init: Unable to set property 'vendor.wlan.driver.version' from uid:1010 gid:1010 pid:277: SELinux permission check failed
[ 1746.832873] type=1107 audit(1703311207.320:309): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.wlan.driver.version pid=277 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0'
[ 1746.913452] init: starting service 'wpa_supplicant'...
[ 1746.914015] init: Created socket '/dev/socket/wpa_wlan0', mode 660, user 1010, group 1010
[ 1746.918608] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi.supplicant@1.0::ISupplicant/default' from pid: 161 (/system/bin/hwservicemanager)
[ 1747.069762] [dhd] P2P interface registered
[ 1747.069783] [dhd] wl_cfgp2p_add_p2p_disc_if: wdev: 00000000efeea29b, wdev->net:           (null)
[ 1747.079401] [dhd] WLC_E_IF: NO_IF set, event Ignored
[ 1747.180561] init: processing action (vendor.wifi.direct.interface=p2p-dev-wlan0) from (/vendor/etc/init/hw/init.connectivity.rc:53)
[ 1747.180636] [dhd] dhd_dbg_attach_pkt_monitor, 1502
[ 1747.193724] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.194100] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.195899] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.197325] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.198715] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.202312] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.203001] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.203392] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.203864] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.204213] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.204619] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.205712] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.206146] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.219114] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.219978] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.221582] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.222409] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.222948] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.223419] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.224163] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.225260] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.226243] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.227159] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.230549] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.231796] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.233760] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -23
[ 1747.244586] [dhd] net_os_enable_packet_filter: val = 0
[ 1747.245035] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 2
[ 1747.246416] [dhd] net_os_enable_packet_filter: val = 1
[ 1747.247271] [dhd] net_os_enable_packet_filter: val = 0
[ 1747.250911] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 3
[ 1747.254138] [dhd] net_os_enable_packet_filter: val = 1
[ 1747.255023] [dhd] dhd_set_suspend: Remove extra suspend setting 
[ 1747.255477] [dhd] dhd_enable_packet_filter: enter, value = 0
[ 1747.315815] [dhd][wlan0] wl_run_escan : LEGACY_SCAN sync ID: 27, bssidx: 0
[ 1747.356013] type=1400 audit(1703311207.843:310): avc: denied { read } for comm="Binder:182_2" name="wakeup4" dev="sysfs" ino=20592 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 1747.360158] type=1400 audit(1703311207.846:311): avc: denied { read } for comm="Binder:182_2" name="wakeup9" dev="sysfs" ino=21890 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 1747.362532] type=1400 audit(1703311207.850:312): avc: denied { read } for comm="Binder:182_2" name="wakeup7" dev="sysfs" ino=21750 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 1747.362702] type=1400 audit(1703311207.850:313): avc: denied { read } for comm="Binder:182_2" name="wakeup5" dev="sysfs" ino=21161 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 1747.366966] audit: audit_lost=105 audit_rate_limit=5 audit_backlog_limit=64
[ 1747.367060] audit: rate limit exceeded

console:/ $ 


5、另外一个方法/思路:更新WIFI驱动
Z:\3TB\13rk3399-android-10\kernel\arch\arm64\configs\nanopi4_android_defconfig
Z:\3TB\61Android11.0\kernel\arch\arm64\configs\rockchip_defconfig
CONFIG_WL_ROCKCHIP=y
CONFIG_WIFI_BUILD_MODULE=y
CONFIG_AP6XXX_WIFI6=m

修改为:
CONFIG_WL_ROCKCHIP=y
CONFIG_WIFI_BUILD_MODULE=y
CONFIG_AP6XXX=m

Z:\3TB\61Android11.0\kernel\drivers\net\wireless\rockchip_wlan\rkwifi\bcmdhd\aiutils.c
Z:\3TB\61Android11.0\kernel\drivers\net\wireless\rockchip_wlan\rkwifi\bcmdhd_wifi6\aiutils.c


参考资料:
http://www.friendlyelec.com.cn/agent.asp
http://www.friendlyelec.com.cn/
https://download.friendlyelec.com/NanoPC-T4
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4/zh#.E4.B8.8B.E8.BD.BDAndroid10.E6.BA.90.E4.BB.A3.E7.A0.81


https://item.taobao.com/item.htm?spm=a1z09.2.0.0.37562e8dcotDm6&id=570312633249&_u=7ju3ku004a
友善NanoPC-T4瑞芯微RK3399开发板ROS双摄4K播放开源AI智能安卓10

WiKi维基教程(固件介绍,使用说明,操作步骤等)
http://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
系统固件下载
https://dl.friendlyelec.com/nanopct4
原理图(pdf格式)
http://wiki.friendlyelec.com/wiki/images/e/e0/NanoPC-T4-1902-Schematic.pdf
尺寸图(dxf格式)
http://wiki.friendlyelec.com/wiki/images/b/bc/NanoPC-T4_1802_Drawing%28dxf%29.zip


http://www.friendlyelec.com.cn/nanopi-m4.asp
NanoPi M4 | NanoPi M4V2

https://wiki.friendlyelec.com/wiki/index.php/NanoPi_M4/zh
15.3 编译Android10源代码
15.3.1 下载Android10源代码
有以下两种途径获取 Android10 的源代码,都需要联网:

使用网盘里的git repo压缩包
网盘下载地址: 点击进入

https://download.friendlyelec.com/NanoPiM4
https://pan.baidu.com/share/init?surl=oBLn9H31hILJKEPQXgrUog
提取码:yn6r


 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/268903.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

[Angular] 笔记 8:list/detail 页面以及@Input

1. list 页面 list/detail 是重要的 UI 设计模式。 vscode terminal 运行如下命令生成 detail 组件: PS D:\Angular\my-app> ng generate component pokemon-base/pokemon-detail --modulepokemon-base/pokemon-base.module.ts CREATE src/app/pokemon-base/p…

SQL进阶:子查询

一般情况下,我们都是直接对表进行查询,但有时候,想要的数据可能通过一次select 获取不到,需要嵌套select,这样就形成了子查询。 子查询可以位于查询语句的任意位置,主要的注意点在于用于不同的位置,和不同的关键字一起使用时,需要注意返回的列的数量和行的数量。 位于…

大一C语言查缺补漏 12.24

遗留问题&#xff1a; 6-1 1 在C语言中&#xff0c;如果要保留小数的话&#xff0c;一定要除以2.0&#xff0c;而不是2。 设整型变量m,n,a,b的值均为1&#xff0c;执行表达式&#xff08;m a>b&#xff09;||(n a<b)后&#xff0c;表达式的值以及变量m和n的值是&#…

redis怎么查看bigkey

通过docker-compose启动一个redis服务器 docker-compose.yml文件的内容如下&#xff1a; version: 3 services:redis:image: redisports:- 6379:6379docker-compose up -d 启动redis容器 在服务器上安装redis-cli工具 这里我是ubuntu服务器&#xff0c;centos用yum代替apt安…

[机器人-2]:开源MIT Min cheetah机械狗设计(二):机械结构设计

目录 1、四肢朝向的选择 2、电机布局形式的选择 3、电机的选型及测试&#xff08;非常重要&#xff09; 4、结构优化 5、尺寸效应 6、其他 1、四肢朝向的选择 机械狗的结构设计&#xff0c;第一个摆在我们面前的就说四肢的朝向问题&#xff0c;如下图&#xff0c;我们是…

C++类的继承

目录 什么是继承&#xff1f; 父类与子类对象的赋值转换 继承中的作用域问题 子类的默认成员函数问题 如何使一个类不能被继承&#xff1f; 父类的友元和静态成员变量 多重继承与菱形继承 继承和组合 什么是继承&#xff1f; 继承 (inheritance) 机制是面向对象程序设…

继承易错总结

1.继承会将所有的成员继承下来&#xff0c;但是继承方式限定的是继承下来成员的可见类型(如果是private继承&#xff0c;那么他不论哪里都是不可见的&#xff1b;如果是protected继承在类中是可见的&#xff0c;在类外是不可见的&#xff1b;如果是public继承&#xff0c;在任何…

redis 从0到1完整学习 (五):集合 IntSet 数据结构

文章目录 1. 引言2. redis 源码下载3. IntSet 数据结构4. 参考 1. 引言 前情提要&#xff1a; 《redis 从0到1完整学习 &#xff08;一&#xff09;&#xff1a;安装&初识 redis》 《redis 从0到1完整学习 &#xff08;二&#xff09;&#xff1a;redis 常用命令》 《redi…

将Go语言开发的Web程序部署到K8S

搭建K8S基础环境 如果已经有K8S环境的同学可以跳过&#xff0c;如果没有&#xff0c;推荐你看看我的《Ubuntu22加Minikue搭建K8S环境》&#xff0c;课程目录如下&#xff1a; Ubuntu22安装Vscode 下载&#xff1a;https://code.visualstudio.com/Download 安装命令&#…

Django之DRF框架三,序列化组件

一、序列化类的常用字段和字段参数 常用字段 字段名字段参数CharFieldmax_lengthNone, min_lengthNone, allow_blankFalse, trim_whitespaceTrueIntegerFieldmax_valueNone, min_valueNoneFloatFieldmax_valueNone, min_valueNoneBooleanFieldNullBooleanFieldFloatFieldmax_…

司铭宇老师:汽车销售培训-如何提升4S店获客能力

一、数据分析与客户画像 1.数据收集与分析 4S店应当充分利用现有资源&#xff0c;收集客户信息、车辆信息、消费行为等数据。通过数据清洗、整理和分析&#xff0c;挖掘客户需求、喜好和购车习惯等关键信息。此外&#xff0c;还可以通过合作伙伴、互联网渠道等途径&#xff0…

电子电器架构刷写方案——General Flash Bootloader

电子电器架构刷写方案——General Flash Bootloader 我是穿拖鞋的汉子&#xff0c;魔都中坚持长期主义的汽车电子工程师。 注&#xff1a;文章1万字左右&#xff0c;深度思考者入&#xff01;&#xff01;&#xff01; 老规矩&#xff0c;分享一段喜欢的文字&#xff0c;避免…

NLP论文阅读记录 - | 使用GPT对大型文档集合进行抽象总结

文章目录 前言0、论文摘要一、Introduction二.相关工作2.1Summarization2.2 神经网络抽象概括2.2.1训练和测试数据集。2.2.2 评估。 2.3 最先进的抽象摘要器 三.本文方法3.1 查询支持3.2 文档聚类3.3主题句提取3.4 语义分块3.5 GPT 零样本总结 四 实验效果4.1数据集4.2 对比模型…

基于Python的招聘网站信息爬取与数据分析

文末获取资源&#xff0c;收藏关注不迷路 文章目录 前言一、研究背景二、研究意义三、主要使用技术四、研究内容五、核心代码六、文章目录 前言 随着社会经济的快速发展&#xff0c;人们的生活水平得到了显著提高&#xff0c;但随之而来的社会问题也越来越多。其中最为显著的…

构建一个 AI Agent 只需要三步!

▼最近直播超级多&#xff0c;预约保你有收获 今晚直播&#xff1a;《GPTs 构建应用程序案例实现》 —1— 今晚20点直播手把手教你三步构建一个 AI Agent AI Agent 是 AGI 时代新的企业级应用形态&#xff0c;因此掌握好 AI Agent 的架构技术原理和应用开发就是每个程序员的必备…

SpaceDesk如何连接平板/PC(生产力副屏)

1、下载安装 分为安卓端和PC端&#xff0c;两个设备都需要安装对应的软件。 SpaceDesk官网 https://link.zhihu.com/?targethttp%3A//spacedesk.net/ 需要魔法上网。安装过程比较简单&#xff0c;无脑下一步即可。 我已经把安装包准备好了&#xff0c;如果不想自己找&#…

sklearn 逻辑回归Demo

逻辑回归案例 假设表示 基于上述情况&#xff0c;要使分类器的输出在[0,1]之间&#xff0c;可以采用假设表示的方法。 设 h θ ( x ) g ( θ T x ) h_θ (x)g(θ^T x) hθ​(x)g(θTx)&#xff0c; 其中 g ( z ) 1 ( 1 e − z ) g(z)\frac{1}{(1e^{−z} )} g(z)(1e−z)1​…

HUAWEI华为笔记本电脑MateBook D 14 2022款 i5 集显 非触屏(NbDE-WFH9)原装出厂Windows11系统21H2

链接&#xff1a;https://pan.baidu.com/s/1-tCCFwZ0RggXtbWYBVyhFg?pwdmcgv 提取码&#xff1a;mcgv 华为MageBookD14原厂WIN11系统自带所有驱动、出厂状态主题壁纸、Office办公软件、华为电脑管家、华为应用市场等预装软件程序 文件格式&#xff1a;esd/wim/swm 安装方式…

vue3项目 - 使用 pnpm 包管理器来创建项目

创建项目 npm install -g pnpm pnpm create vue 输入项目名称、包名称、选择要安装的依赖&#xff0c;最后 pnpm install pnpm format #规范格式 pnpm dev #启动项目

OLED显示原理7T1C基础分析(PWM与DC调光)

文章目录 一、7T1C设计要点分析1、先回顾一下上篇 发光过程三个阶段---复位、补偿、发光2、设计关键点一&#xff1a;复位、补偿、发光三阶段 控制信号严格分离3、基本亮度控制策略---DC调光 && PWM调光4、PWM调光频率 之 低频PWM/高频PWM---EM信号的控制细节5、功耗优…