您尚未登录。

#1 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 steup by step » 今天 17:48:17

linux 终端列出目录下所有.mp4文件:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h> // POSIX 目录遍历库


// 存储文件名的结构体
typedef struct {
    char *filename;
} FileEntry;

// 全局文件列表
FileEntry *file_list = NULL;
int file_count = 0;

// 扩展名匹配
int is_media_file(const char *filename) {
    const char *ext = strrchr(filename, '.');
    if (!ext) return 0;
    return (strcmp(ext, ".mp3") == 0 || strcmp(ext, ".mp4") == 0);
}

// 递归查找媒体文件
void find_media_files(const char *path) {
    DIR *dir = opendir(path);
    if (!dir) {
        fprintf(stderr, "无法打开目录: %s\n", path);
        return;
    }

    struct dirent *entry;
    while ((entry = readdir(dir)) != NULL) {
        // 跳过当前目录和父目录
        if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0)
            continue;

        // 构造完整路径
        char full_path[256];
        snprintf(full_path, sizeof(full_path), "%s/%s", path, entry->d_name);

        // 如果是目录,则递归处理
        if (entry->d_type == DT_DIR) {
            find_media_files(full_path);
        } else if (is_media_file(entry->d_name)) {
            // 分配内存并保存文件名
            file_list = realloc(file_list, (file_count + 1) * sizeof(FileEntry));
            file_list[file_count].filename = strdup(entry->d_name);
            file_count++;
        }
    }

    closedir(dir);
}

void display_file_list() {
    for (int i = 0; i < file_count; i++) {
		printf("%s\n", file_list[i].filename);
    }
}

int main() {
    // 查找文件
    find_media_files("/mnt/hgfs/D/1122/"); // 注意使用正斜杠路径

    // 显示文件列表
    display_file_list();

    // 清理资源
    for (int i = 0; i < file_count; i++) {
        free(file_list[i].filename);
    }
    free(file_list);

    return 0;
}

#2 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 steup by step » 今天 16:32:23

添加触摸声音:

lvgl/src/core/lv_obj.c

static void lv_obj_event(const lv_obj_class_t * class_p, lv_event_t * e)
{
    LV_UNUSED(class_p);

    lv_event_code_t code = lv_event_get_code(e);
    lv_obj_t * obj = lv_event_get_current_target(e);
    if(code == LV_EVENT_PRESSED) {
        lv_obj_add_state(obj, LV_STATE_PRESSED);
        //这里添加触摸声音输出
    }
    else if(code == LV_EVENT_RELEASED) 
...

#3 Re: 全志 SOC » 哪位成功配置了MIPI ILI9881的吗? » 2025-05-07 13:51:07

lanlanzhilian 说:

现在好多屏幕都是直接29 11就显示了

屏组装厂固化参数的才行,大部分厂家都没固化。

#6 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2025-04-30 21:19:16

运行 bloziplayer 日志:

WARNING: awplayer <log_set_level:30>: Set log level to 7
warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' success.
warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' success.
warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' success.
bloziplayer Version: 1.2.0
product_sn = AA:BB:CC:DD:EE:FF
, len = 18
sn = AA:BB:CC:DD:EE:FF
, g_product_sn = 5000003676
g_http_server_url:http://192.168.200.2:8189
/dev/urandom = 572566787
-------------------rand_num: 572566787 ----------------
-------------------wifi on start delay 16 S----------------
dd: writing '/dev/fb0': No space left on device
16001+0 records in
16000+0 records out
http_get(1) json data array size = 3
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=400
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=168942_818h1521068339_s5000003676_23382587.jpg
http_get(1) json img[0] file[0].md5=b064d460f95d4eace82e5f70c3e23abf
------------------img[1]--------------------
http_get(1) json img[1] time = 0
http_get(1) json img[1] data area left=0, top=880, weith=800, height=400
http_get(1) json img[1] file num = 1
http_get(1) json img[1] file[0].name=168531_818h1521068339_s5000003676_1526018229.jpg
http_get(1) json img[1] file[0].md5=ee2984e2ae69b2e077fba9c514598941
-------------video_player_read_conf ret=0-----------
video player read conf sucess!
http_get(1) json data array size = 3
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=400
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=168942_818h1521068339_s5000003676_23382587.jpg
http_get(1) json img[0] file[0].md5=b064d460f95d4eace82e5f70c3e23abf
------------------img[1]--------------------
http_get(1) json img[1] time = 0
http_get(1) json img[1] data area left=0, top=880, weith=800, height=400
http_get(1) json img[1] file num = 1
http_get(1) json img[1] file[0].name=168531_818h1521068339_s5000003676_1526018229.jpg
http_get(1) json img[1] file[0].md5=ee2984e2ae69b2e077fba9c514598941
player not init.
opt_alpha = 0, x_size = 800, y_size = 400, file=/mnt/UDISK/bloziplayer/168942_818h1521068339_s5000003676_23382587.jpg
display img[0]: /mnt/UDISK/bloziplayer/168942_818h1521068339_s5000003676_23382587.jpg 0 480
opt_alpha = 0, x_size = 800, y_size = 400, file=/mnt/UDISK/bloziplayer/168531_818h1521068339_s5000003676_1526018229.jpg
display img[1]: /mnt/UDISK/bloziplayer/168531_818h1521068339_s5000003676_1526018229.jpg 0 880
player_conf.video.num = 1

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag   : tina3.5
branch: tina-dev
date  : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
debug  : cedarc <VeSetSpeed:1559[  106.171619] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
>: *** set ve fr[  106.181229] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
eq to 300 Mhz **[  106.191082] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
*
debug  : ceda[  106.200899] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
rc <VeInitialize[  106.210812] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
:1198>: ve init ok

debug  : cedarc <VeRelease:1253>: ve release ok

debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0
debug  : cedarc <VeGetChipId:1385>: 00000000

debug  : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264'
debug  : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0
setDataSource end
TPLAYER_NOTIFY_PREPARED,has prepared.
prepare
prepared ok
debug  : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
debug  : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1

opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
[  115.275018] twi_start()387 - [i2c0] START can't sendout!
[  115.281320] twi_start()387 - [i2c0] START can't sendout!
[  115.287513] twi_start()387 - [i2c0] START can't sendout!
[  115.293541] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=19
[  115.309776] twi_start()387 - [i2c0] START can't sendout!
[  115.315973] twi_start()387 - [i2c0] START can't sendout!
[  115.322232] twi_start()387 - [i2c0] START can't sendout!
[  115.328320] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[  115.346879] twi_start()387 - [i2c0] START can't sendout!
[  115.353090] twi_start()387 - [i2c0] START can't sendout!
[  115.359292] twi_start()387 - [i2c0] START can't sendout!
[  115.365359] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=20
[  115.389389] twi_start()387 - [i2c0] START can't sendout!
[  115.395566] twi_start()387 - [i2c0] START can't sendout!
[  115.401882] twi_start()387 - [i2c0] START can't sendout!
[  115.408044] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
wifimanager Version: 18.10.31
wpa_supplicant :process exist
connect to wpa_supplicant ok!
do cmd STATUS
Wifi already connect to whycan
event_label:249285976
--->WMG_EVENT: WSE_STARTUP_AUTO_CONNECT
--->WMG_STATE: NETWORK_CONNECTED
event_label 0xedbcd58
Successful network connection(whycan)
aw wifi on success!
do cmd DISCONNECT
[  121.199999] [TXRX_WRN] drop=1440, fctl=0x00d0.
[  121.289493] wlan0: deauthenticating from c8:bf:4c:d5:43:88 by local choice (reason=3)
[  121.300733] [WSM_WRN] Issue unjoin command(TX).
[  121.330649] cfg80211: Calling CRDA for country: CN
Network disconnected!
event_label:249285977
--->WMG_EVENT: WSE_AUTO_DISCONNECTED
--->WMG_STATE: DISCONNECTED
event_label 0xedbcd59
Disconnected,the reason:WSE_AUTO_DISCONNECTED
do cmd LIST_NETWORKS
do cmd REMOVE_NETWORK 0
do cmd SAVE_CONFIG
clear data 2
do cmd SCAN
[  124.082107] [BH_WRN] miss interrupt!
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88       2417    -26     [WPA2-PSK+FT/PSK-CCMP][WPS][ESS]        whycan
fe:ba:6d:1a:ee:48       2472    -37     [WPA2-PSK-CCMP][ESS]    blozi-lcd-1
fa:f7:b9:9f:64:2c       2437    -56     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
fa:f7:b9:9f:86:d4       2412    -60     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
f8:f7:b9:af:54:1c       2462    -52     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
08:40:f3:21:52:f1       2417    -80     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      Tenda_ksK6J9
98:1e:89:3e:f0:a1       2437    -82     [WPA2-PSK-CCMP][WPS][ESS]       \xe6\x94\xb6\xe9\x93\xb6\xe7\xb3\xbb\xe7\xbb\x9f
ec:31:4a:2f:e1:b7       2437    -82     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      \xe5\x9c\xa3\xe5\x8b\xa4\xe6\x95\x99\xe8\x82\xb2\xe5\xa4\xa7\xe5\x8e\x85
98:1e:89:46:d4:b1       2437    -83     [WPA2-PSK-CCMP][WPS][ESS]       \xe6\x94\xb6\xe9\x93\xb6\xe7\xb3\xbb\xe7\xbb\x9f
d8:6d:17:d2:20:8d       2432    -77     [ESS]   aWiFi
b2:fd:77:84:3a:50       2412    -81     [ESS]   RHX-8W4m#123456
48:2f:d7:d1:f8:a8       2412    -80     [WPA2-PSK-CCMP][WPS][ESS]       DTB1602
fc:7c:02:61:eb:7b       2412    -82     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]    @PHICOMM_79
68:77:da:f7:e0:10       2452    -83     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      zhangwei
50:d2:f5:7d:46:cb       2457    -83     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Xiaomi_46CA
d8:6d:17:ae:a5:95       2412    -65     [ESS]   aWiFi
******************************
Wifi get_scan_results: Success!
******************************
find ssid blozi-lcd-1 in line 2  ssid= blozi-lcd-1, rssi= -37
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10
wifi_info[0]: ssid = blozi-lcd-1, psk= blozi567lcd, rssi = -37
Wifi connect wifi_info[0]:blozi-lcd-1
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_CONNECT
--->WMG_STATE: CONNECTING
event_label 0xedbcd5b
Connecting to the network(blozi-lcd-1)......
do cmd LIST_NETWORKS
do cmd ADD_NETWORK
do cmd SET_NETWORK 0 ssid "blozi-lcd-1"
do cmd SET_NETWORK 0 key_mgmt WPA-PSK
do cmd SET_NETWORK 0 psk "blozi567lcd"
do cmd SET_NETWORK 0 scan_ssid 1
do cmd LIST_NETWORKS
do cmd GET_NETWORK 0 priority
do cmd SET_NETWORK 0 priority 1
[  124.644984] [STA_WRN] Freq 2472 (wsm ch: 13) prev: 2.

net id connecting 0
start reading WPA EVENT!
[  124.654484] wlan0: authenticate with fe:ba:6d:1a:ee:48 (try 1)
[  124.804891] wlan0: authenticated
[  124.814415] wlan0: associate with fe:ba:6d:1a:ee:48 (try 1)
[  124.852000] wlan0: RX AssocResp from fe:ba:6d:1a:ee:48 (capab=0x411 status=0 aid=1)
[  124.860657] wlan0: associated
[  124.880790] [AP_WRN] [STA] ASSOC HTCAP 11N 58
read event 1
reading WPA EVENT is over!
do cmd SAVE_CONFIG
wifi connected in inner!
do cmd LIST_NETWORKS
do cmd ENABLE_NETWORK 0
do cmd SAVE_CONFIG
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_CONNECT
--->WMG_STATE: CONNECTED
event_label 0xedbcd5b
Connected to the AP(blozi-lcd-1)
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_OBTAINED_IP
--->WMG_STATE: OBTAINING_IP
event_label 0xedbcd5b
Getting ip address(blozi-lcd-1)......
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending select for 192.168.243.210
[  125.612291] [TXRX_WRN] drop=1440, fctl=0x00d0.
udhcpc: lease of 192.168.243.210 obtained, lease time 3599
vflag= 4
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_OBTAINED_IP
--->WMG_STATE: NETWORK_CONNECTED
event_label 0xedbcd5b
Successful network connection(blozi-lcd-1)
connected Successful  !!!!
Wifi connect ap : Success! ssid = blozi-lcd-1, psk= blozi567lcd, rssi = -37
do cmd STATUS
do cmd SIGNAL_POLL
get_connection_info: ip= 192.168.243.210 mac_addr= 34:e9:8b:e1:06:43 rssi=-30db
wifi_connect_state_check = 0
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi4.png
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
[  148.300999] twi_start()387 - [i2c0] START can't sendout!
[  148.307206] twi_start()387 - [i2c0] START can't sendout!
[  148.313451] twi_start()387 - [i2c0] START can't sendout!
[  148.319530] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=52
[  148.334995] twi_start()387 - [i2c0] START can't sendout!
[  148.341467] twi_start()387 - [i2c0] START can't sendout!
[  148.347636] twi_start()387 - [i2c0] START can't sendout!
[  148.353750] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..

 http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0

#7 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2025-04-30 21:09:38

memory 说:

/etc/blozi/network.conf

[server]
ip = 192.168.200.2
port = 8189

[wifi]
set = 0
ssid = blozi-lcd-
password = blozi567lcd

这个联网要怎么才能玩呢?

基站ssid和password套出来了:

root@TinaLinux:/# bloziplayer
WARNING: awplayer <log_set_level:30>: Set log level to 7
warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' success.
warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' success.
warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' success.
bloziplayer Version: 1.2.0
product_sn = 5000003737, len = 10
sn = 5000003737, g_product_sn = 5000003737
g_http_server_url:http://192.168.200.2:8189
/dev/urandom = 286908823
-------------------rand_num: 286908823 ----------------
-------------------wifi on start delay 3 S----------------
tr: write error: Broken pipe
head: standard output: Broken pipe
dd: writing '/dev/fb0': No space left on device
16001+0 records in
16000+0 records out
http_get(1) json data array size = 2
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=800
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=167975_926h884195844_s5000003737_1005396016.jpg
http_get(1) json img[0] file[0].md5=7b881fddce123f5732b422853de09db0
-------------video_player_read_conf ret=0-----------
video player read conf sucess!
http_get(1) json data array size = 2
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=800
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=167975_926h884195844_s5000003737_1005396016.jpg
http_get(1) json img[0] file[0].md5=7b881fddce123f5732b422853de09db0
player not init.
opt_alpha = 0, x_size = 800, y_size = 800, file=/mnt/UDISK/bloziplayer/167975_926h884195844_s5000003737_1005396016.jpg
display img[0]: /mnt/UDISK/bloziplayer/167975_926h884195844_s5000003737_1005396016.jpg 0 480
player_conf.video.num = 1

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag   : tina3.5
branch: tina-dev
date  : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : cedarc <VeRelease:1253>: ve release ok

debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0
debug  : cedarc <VeGetChipId:1385>: 00000000

debug  : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264'
debug  : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0
setDataSource end
TPLAYER_NOTIFY_PREPARED,has prepared.
prepare
prepared ok
debug  : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
debug  : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1

wifimanager Version: 18.10.31
wpa_supplicant :process exist
connect to wpa_supplicant ok!
do cmd STATUS
event_label:354508771
--->WMG_EVENT: WSE_STARTUP_AUTO_CONNECT
--->WMG_STATE: DISCONNECTED
event_label 0x15215fe3
Disconnected,the reason:WSE_STARTUP_AUTO_CONNECT
aw wifi on success!
The network has been disconnected
do cmd LIST_NETWORKS
do cmd SAVE_CONFIG
do cmd SCAN
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88       2417    -22     [WPA2-PSK+FT/PSK-CCMP][WPS][ESS]        whycan
96:5f:f5:86:51:21       2467    -41     [WPA2-PSK-CCMP][ESS]    bloziwifi
fa:f7:b9:9f:64:2c       2437    -50     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
f8:f7:b9:af:54:1c       2462    -56     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
fa:f7:b9:9f:86:d4       2412    -61     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
68:77:da:f7:e0:10       2452    -78     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      zhangwei
8c:74:a0:81:cf:30       2462    -82     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      CMCC-5jwS
d8:68:52:84:40:ed       2462    -79     [ESS]   aWiFi
d8:6d:17:ae:a5:94       2412    -74     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Nader
4e:10:d5:7d:5d:9d       2437    -84     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]
f6:84:8d:ed:7d:b9       2412    -81     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]
f4:84:8d:fd:7d:b9       2412    -82     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      1302room
d8:68:52:84:40:ec       2462    -81     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Z
fc:ab:90:d7:32:31       2437    -85     [WPA2-PSK-CCMP][ESS]    \x00\x00\x00\x00\x00\x00\x00\x00
d8:6d:17:ae:a5:95       2412    -77     [ESS]   aWiFi
d8:6d:17:d2:20:8d       2432    -82     [ESS]   aWiFi
d8:6d:17:d2:20:8c       2432    -82     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Nader
b2:fd:77:84:3a:50       2412    -79     [ESS]   RHX-8W4m#123456
******************************
Wifi get_scan_results: Success!
******************************
not find ssid blozi-lcd-1
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10
wifi_connect_state_check = 0
do cmd SCAN
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88       2417    -22     [WPA2-PSK+FT/PSK-CCMP][WPS][ESS]        whycan
96:5f:f5:86:51:21       2467    -41     [WPA2-PSK-CCMP][ESS]    bloziwifi
fa:f7:b9:9f:64:2c       2437    -50     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
f8:f7:b9:af:54:1c       2462    -56     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
fa:f7:b9:9f:86:d4       2412    -61     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
68:77:da:f7:e0:10       2452    -78     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      zhangwei
8c:74:a0:81:cf:30       2462    -80     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      CMCC-5jwS
d8:68:52:84:40:ed       2462    -79     [ESS]   aWiFi
d8:6d:17:ae:a5:94       2412    -75     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Nader
d8:68:52:84:40:ec       2462    -80     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Z
fc:ab:90:d7:32:31       2437    -84     [WPA2-PSK-CCMP][ESS]    \x00\x00\x00\x00\x00\x00\x00\x00
d8:6d:17:ae:a5:95       2412    -76     [ESS]   aWiFi
d8:6d:17:d2:20:8c       2432    -82     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Nader
b2:fd:77:84:3a:50       2412    -79     [ESS]   RHX-8W4m#123456
fc:7c:02:61:eb:7b       2412    -83     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]    @PHICOMM_79
******************************
Wifi get_scan_results: Success!
******************************
not find ssid blozi-lcd-1
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10
wifi_connect_state_check = 0
do cmd SCAN
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88       2417    -23     [WPA2-PSK+FT/PSK-CCMP][WPS][ESS]        whycan
96:5f:f5:86:51:21       2467    -41     [WPA2-PSK-CCMP][ESS]    bloziwifi
fa:f7:b9:9f:64:2c       2437    -50     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
f8:f7:b9:af:54:1c       2462    -56     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
fa:f7:b9:9f:86:d4       2412    -61     [WPA2-PSK-CCMP][WPS][ESS]       ChinaNet-SZZH
68:77:da:f7:e0:10       2452    -78     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      zhangwei
8c:74:a0:81:cf:30       2462    -80     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      CMCC-5jwS
d8:68:52:84:40:ed       2462    -79     [ESS]   aWiFi
d8:6d:17:ae:a5:94       2412    -75     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Nader
d8:68:52:84:40:ec       2462    -80     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Z
fc:ab:90:d7:32:31       2437    -84     [WPA2-PSK-CCMP][ESS]    \x00\x00\x00\x00\x00\x00\x00\x00
d8:6d:17:ae:a5:95       2412    -76     [ESS]   aWiFi
d8:6d:17:d2:20:8c       2432    -82     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Nader
b2:fd:77:84:3a:50       2412    -79     [ESS]   RHX-8W4m#123456
fc:7c:02:61:eb:7b       2412    -83     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]    @PHICOMM_79
f6:84:8d:ed:7d:b9       2412    -81     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]
f4:84:8d:fd:7d:b9       2412    -82     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      1302room
ec:31:4a:2f:e1:b7       2437    -83     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      \xe5\x9c\xa3\xe5\x8b\xa4\xe6\x95\x99\xe8\x82\xb2\xe5\xa4\xa7\xe5\x8e\x85
fc:ab:90:d7:32:2d       2437    -83     [WPA2-PSK-CCMP][ESS]    \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
******************************
Wifi get_scan_results: Success!
******************************
not find ssid blozi-lcd-1
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10

ssid: blozi-lcd-1
ssid: blozi-lcd-2
...
ssid: blozi-lcd-10
password: blozi567lcd

#8 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2025-04-30 20:52:37

/etc/blozi/network.conf

[server]
ip = 192.168.200.2
port = 8189

[wifi]
set = 0
ssid = blozi-lcd-
password = blozi567lcd

这个联网要怎么才能玩呢?

#9 Re: 全志 SOC » linux 下基于BLUEZ的C语言蓝牙编程 » 2025-04-28 10:52:32

sjal 说:
memory 说:

感谢楼主分享,方便传一个pdf版本吗,图片有点糊。

--------------------------
已在楼上上传pdf

谢谢楼主,虽然内容还是图片 wink

#11 Re: 全志 SOC » 终于找到 squashfs + overlayfs(jffs2) 不能删除lower文件的原因了 » 2025-04-27 22:16:49

原因: http://blog.chinaunix.net/uid-27057175-id-4913812.html

解决overlayfs删除文件遗留overlay-whiteout链接的问题
分类: LINUX2015-03-24 15:07:03

之前在openwrt上为了支持broadcom的一款芯片,替换掉了内核版本,这样overlayfs的补丁自己改的,openwrt overlayfs 2.6.36内核补丁
结果出来有问题,overlay的好处就是提供一个jffs2层把用户针对rootfs只读区的修改同步过去,包括删除和替换操作。
而我这个版本有个问题,就是删除只读层的文件时,提示删除失败,并且还留下一个非常难看的overlay-whiteout链接。

用strace跟踪,strace -f -F -o strace.log  rm /etc/config/ddns
确认是unlink系统调用返回错误
unlink("ddns")                    = -1 EOPNOTSUPP (Operation not supported)

就从overlayfs的ovl_unlink()入手,逐步跟踪到底,在__vfs_setxattr_noperm()中
inode->i_op->setxattr 回调指向为NULL,这个有点问题,于是把inode->i_op的回调地址打出来,查找system.map
i_op指向了

const struct inode_operations jffs2_file_inode_operations =
{
    .check_acl = jffs2_check_acl,
    .setattr = jffs2_setattr,
    .setxattr = jffs2_setxattr,
    .getxattr = jffs2_getxattr,
    .listxattr = jffs2_listxattr,
    .removexattr = jffs2_removexattr
};

再查代码,jffs2_setxattr被CONFIG_JFFS2_FS_XATTR宏给控制了,未定义时jffs2 xattr的接口全部被define为NULL。
这就是问题的根源了。

make kernel_menuconfig中把JFFS2_FS_XATTR 打开。
编译验证删除OK。多坑爹的问题,还是对fs不懂,只能靠这种土办法排查。

#12 全志 SOC » 终于找到 squashfs + overlayfs(jffs2) 不能删除lower文件的原因了 » 2025-04-27 22:15:43

memory
回复: 2

现象:

# rm test.pem
rm: can't remove 'test.pem': Not supported

驱动报错:

[  125.913143] overlayfs: ERROR - failed to whiteout 'AmazonRootCA1.pem'

#13 Re: 全志 SOC » linux 下基于BLUEZ的C语言蓝牙编程 » 2025-04-27 20:59:26

感谢楼主分享,方便传一个pdf版本吗,图片有点糊。

#14 Re: 全志 SOC » insmod r8723bs.ko 之后 ifconfig wlan0 up 出现 SIOCSIFFLAGS 错误,请问这是为什么? » 2025-04-27 15:46:48

帝国炮灰 说:

@起个名字好难
请问楼主解决了吗?

没有加载驱动吧

#15 Re: 全志 SOC » 发现 rtl8188eu 不支持 acs 自动信道设置,用aic8800dc 试一试 » 2025-04-26 17:44:46

$ lsusb
Bus 001 Device 003: ID a69c:88dc  

hostapd.conf

interface=wlx8800a1017a94
driver=nl80211
ssid=aaa_test
channel=0
hw_mode=g
macaddr_acl=0
ignore_broadcast_ssid=0
auth_algs=1
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

固件复制到:/lib/firmware/aic8800DC/

sudo insmod ./aic_load_fw/aic_load_fw.ko
sudo insmod ./aic8800_fdrv/aic8800_fdrv.ko
ubuntu@ubuntu:/opt/hostapd$  sudo ifconfig wlx8800a1017a94 192.168.88.1
ubuntu@ubuntu:/opt/hostapd$ 
ubuntu@ubuntu:/opt/hostapd$ sudo killall wpa_supplicant
ubuntu@ubuntu:/opt/hostapd$ 
ubuntu@ubuntu:/opt/hostapd$ sudo hostapd -d hostapd.conf 
random: Trying to read entropy from /dev/random
Configuration file: hostapd.conf
rfkill: initial event: idx=14 type=2 op=0 soft=1 hard=0
rfkill: initial event: idx=15 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-14-72:1
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5632
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5633
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5123
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4105
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4110
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5121
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5126
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5124
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5120
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5125
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5133
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=6144
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5130
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5131
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5132
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=6
nl80211: Supported vendor command: vendor_id=0x1018 subcmd=6
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: interface wlx8800a1017a94 in phy phy4
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Setup AP(wlx8800a1017a94) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x556d845470e0
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x556d845470e0 match=
nl80211: Add own interface ifindex 4
nl80211: if_indices[16]: 4
phy: phy4
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 10 seconds
wlx8800a1017a94: interface state UNINITIALIZED->ACS
wlx8800a1017a94: ACS-STARTED 
Interface initialization will be completed in a callback (ACS)
ctrl_iface not configured!
random: Got 20/20 bytes from /dev/random
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=32 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=29 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=29 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=36 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=18 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=6 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=5 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=48 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 2 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=12 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=24 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=13 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=25 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=19 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=12 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=30 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=19 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=19 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=4 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=21 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 3 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=28 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=28 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=6 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=5 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=14 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=5 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=34 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 4 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=11 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=30 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=21 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=24 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=4 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=21 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=17 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=31 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 5 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=49 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=8 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=47 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=18 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=12 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Trying survey-based ACS
ACS: Survey analysis for channel 1 (2412 MHz)
ACS: 1: min_nf=-89 interference_factor=0.64 nf=-89 time=50 busy=32 rx=0
ACS: 2: min_nf=-89 interference_factor=0.24 nf=-89 time=50 busy=12 rx=0
ACS: 3: min_nf=-89 interference_factor=0.06 nf=-89 time=50 busy=3 rx=0
ACS: 4: min_nf=-89 interference_factor=0.22 nf=-89 time=50 busy=11 rx=0
ACS: 5: min_nf=-89 interference_factor=0.98 nf=-89 time=50 busy=49 rx=0
ACS:  * interference factor average: 0.428
ACS: Survey analysis for channel 2 (2417 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=0.8 nf=-89 time=30 busy=24 rx=0
ACS: 3: min_nf=-89 interference_factor=0.1 nf=-89 time=30 busy=3 rx=0
ACS: 4: min_nf=-89 interference_factor=1 nf=-89 time=30 busy=30 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS:  * interference factor average: 0.38
ACS: Survey analysis for channel 3 (2422 MHz)
ACS: 1: min_nf=-89 interference_factor=0.1 nf=-89 time=30 busy=3 rx=0
ACS: 2: min_nf=-89 interference_factor=0.433333 nf=-89 time=30 busy=13 rx=0
ACS: 3: min_nf=-89 interference_factor=0.933333 nf=-89 time=30 busy=28 rx=0
ACS: 4: min_nf=-89 interference_factor=0.7 nf=-89 time=30 busy=21 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS:  * interference factor average: 0.433333
ACS: Survey analysis for channel 4 (2427 MHz)
ACS: 1: min_nf=-89 interference_factor=0.966667 nf=-89 time=30 busy=29 rx=0
ACS: 2: min_nf=-89 interference_factor=0.833333 nf=-89 time=30 busy=25 rx=0
ACS: 3: min_nf=-89 interference_factor=0.933333 nf=-89 time=30 busy=28 rx=0
ACS: 4: min_nf=-89 interference_factor=0.8 nf=-89 time=30 busy=24 rx=0
ACS: 5: min_nf=-89 interference_factor=0.266667 nf=-89 time=30 busy=8 rx=0
ACS:  * interference factor average: 0.76
ACS: Survey analysis for channel 5 (2432 MHz)
ACS: 1: min_nf=-89 interference_factor=0.966667 nf=-89 time=30 busy=29 rx=0
ACS: 2: min_nf=-89 interference_factor=0.633333 nf=-89 time=30 busy=19 rx=0
ACS: 3: min_nf=-89 interference_factor=0.2 nf=-89 time=30 busy=6 rx=0
ACS: 4: min_nf=-89 interference_factor=0.133333 nf=-89 time=30 busy=4 rx=0
ACS: 5: min_nf=-89 interference_factor=0.1 nf=-89 time=30 busy=3 rx=0
ACS:  * interference factor average: 0.406667
ACS: Survey analysis for channel 6 (2437 MHz)
ACS: 1: min_nf=-89 interference_factor=0.72 nf=-89 time=50 busy=36 rx=0
ACS: 2: min_nf=-89 interference_factor=0.24 nf=-89 time=50 busy=12 rx=0
ACS: 3: min_nf=-89 interference_factor=0.1 nf=-89 time=50 busy=5 rx=0
ACS: 4: min_nf=-89 interference_factor=0.42 nf=-89 time=50 busy=21 rx=0
ACS: 5: min_nf=-89 interference_factor=0.94 nf=-89 time=50 busy=47 rx=0
ACS:  * interference factor average: 0.484
ACS: Survey analysis for channel 7 (2442 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=1 nf=-89 time=30 busy=30 rx=0
ACS: 3: min_nf=-89 interference_factor=0.466667 nf=-89 time=30 busy=14 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=0.6 nf=-89 time=30 busy=18 rx=0
ACS:  * interference factor average: 0.413333
ACS: Survey analysis for channel 8 (2447 MHz)
ACS: 1: min_nf=-89 interference_factor=0.6 nf=-89 time=30 busy=18 rx=0
ACS: 2: min_nf=-89 interference_factor=0.633333 nf=-89 time=30 busy=19 rx=0
ACS: 3: min_nf=-89 interference_factor=0.166667 nf=-89 time=30 busy=5 rx=0
ACS: 4: min_nf=-89 interference_factor=0.566667 nf=-89 time=30 busy=17 rx=0
ACS: 5: min_nf=-89 interference_factor=0.4 nf=-89 time=30 busy=12 rx=0
ACS:  * interference factor average: 0.473333
ACS: Survey analysis for channel 9 (2452 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS:  * interference factor average: 1.58489e-18
ACS: Survey analysis for channel 10 (2457 MHz)
ACS: 1: min_nf=-89 interference_factor=0.2 nf=-89 time=30 busy=6 rx=0
ACS: 2: min_nf=-89 interference_factor=0.633333 nf=-89 time=30 busy=19 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS:  * interference factor average: 0.166667
ACS: Survey analysis for channel 11 (2462 MHz)
ACS: 1: min_nf=-89 interference_factor=0.1 nf=-89 time=50 busy=5 rx=0
ACS: 2: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=0.06 nf=-89 time=50 busy=3 rx=0
ACS:  * interference factor average: 0.032
ACS: Survey analysis for channel 12 (2467 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=0.133333 nf=-89 time=30 busy=4 rx=0
ACS: 3: min_nf=-89 interference_factor=1.13333 nf=-89 time=30 busy=34 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS:  * interference factor average: 0.253333
ACS: Survey analysis for channel 13 (2472 MHz)
ACS: 1: min_nf=-89 interference_factor=0.96 nf=-89 time=50 busy=48 rx=0
ACS: 2: min_nf=-89 interference_factor=0.42 nf=-89 time=50 busy=21 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS:  * interference factor average: 0.276
ACS: Survey analysis for channel 14 (2484 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.03333 nf=-89 time=30 busy=31 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS:  * interference factor average: 0.206667
ACS: Survey analysis for selected bandwidth 20 MHz
ACS:  * channel 1: total interference = 0.329778 (0.800000 bias)
ACS:  * channel 2: total interference = 0.47081
ACS:  * channel 3: total interference = 0.489842
ACS:  * channel 4: total interference = 0.512947
ACS:  * channel 5: total interference = 0.507825
ACS:  * channel 6: total interference = 0.391439 (0.800000 bias)
ACS:  * channel 7: total interference = 0.381772
ACS:  * channel 8: total interference = 0.311193
ACS:  * channel 9: total interference = 0.207614
ACS:  * channel 10: total interference = 0.156193
ACS:  * channel 11: total interference = 0.113853 (0.800000 bias)
ACS:  * channel 12: total interference = 0.186708
ACS:  * channel 13: total interference = 0.212056
ACS:  * channel 14: total interference = 0.206667
ACS: Ideal channel is 11 (2462 MHz) with total interference factor of 0.113853
wlx8800a1017a94: ACS-COMPLETED freq=2462 channel=11
Completing interface initialization
Mode: IEEE 802.11g  Channel: 11  Frequency: 2462 MHz
DFS 0 channels required radar detection
nl80211: Set freq 2462 (ht_enabled=0, vht_enabled=0, bandwidth=20 MHz, cf1=2462 MHz, cf2=0 MHz)
  * freq=2462
  * vht_enabled=0
  * ht_enabled=0
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
hostapd_setup_bss(hapd=0x556d84547900 (wlx8800a1017a94), first=1)
wlx8800a1017a94: Flushing old station entries
nl80211: flush -> DEL_STATION wlx8800a1017a94 (all)
wlx8800a1017a94: Deauthenticate all stations
nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2462
nl80211: send_frame -> send_frame_cmd
nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=2462 wait=0)
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlx8800a1017a94 with hwaddr 88:00:a1:01:7a:94 and ssid "aaa_test"
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=8):
     61 61 61 5f 74 65 73 74                           aaa_test        
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
GMK - hexdump(len=32): [REMOVED]
Key Counter - hexdump(len=32): [REMOVED]
WPA: Delay group state machine start until Beacon frames have been configured
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=59): 80 00 00 00 ff ff ff ff ff ff 88 00 a1 01 7a 94 88 00 a1 01 7a 94 00 00 00 00 00 00 00 00 00 00 64 00 11 04 00 08 61 61 61 5f 74 65 73 74 01 08 82 84 8b 96 0c 12 18 24 03 01 0b
nl80211: Beacon tail - hexdump(len=65): 2a 01 04 32 04 30 48 60 6c 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 7f 08 04 00 00 02 00 00 00 40
nl80211: ifindex=4
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=8):
     61 61 61 5f 74 65 73 74                           aaa_test        
  * beacon_int=100
nl80211: hidden SSID not in use
nl80211: privacy=1
nl80211: auth_algs=0x1
nl80211: wpa_version=0x3
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x18
nl80211: group_cipher=0x8
nl80211: SMPS mode - off
nl80211: beacon_ies - hexdump(len=10): 7f 08 04 00 00 02 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 04 00 00 02 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 04 00 00 02 00 00 00 40
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=2 addr=0x556d829c08db key_idx=1 set_tx=1 seq_len=0 key_len=32
nl80211: KEY_DATA - hexdump(len=32): [REMOVED]
   broadcast key
nl80211: Set wlx8800a1017a94 operstate 0->1 (UP)
netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
wlx8800a1017a94: interface state ACS->ENABLED
wlx8800a1017a94: AP-ENABLED 
wlx8800a1017a94: Setup of interface done.
RTM_NEWLINK: ifi_index=4 ifname= operstate=6 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
VLAN: RTM_NEWLINK: ifi_index=4 ifname=wlx8800a1017a94 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
VLAN: vlan_newlink(wlx8800a1017a94)
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-49 fc=0x40 seq_ctrl=0x1920 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-50 fc=0x40 seq_ctrl=0x1930 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-50 fc=0x40 seq_ctrl=0x1aa0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-51 fc=0x40 seq_ctrl=0x1ab0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-58 fc=0x40 seq_ctrl=0x1d10 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=10
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-45 fc=0x40 seq_ctrl=0x1d30 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x1d40 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-43 fc=0x40 seq_ctrl=0x1d60 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=12
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-43 fc=0x40 seq_ctrl=0x1d70 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=12
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=88:78:73:19:67:61 freq=2462 ssi_signal=-34 fc=0x40 seq_ctrl=0xd10 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=79
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=88:78:73:19:67:61 freq=2462 ssi_signal=-33 fc=0x40 seq_ctrl=0xd20 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=79
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x2180 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=10
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x2190 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=10
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-45 fc=0x40 seq_ctrl=0x21b0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-45 fc=0x40 seq_ctrl=0x21c0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x24e0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
ACS: Ideal channel is 11 (2462 MHz) with total interference factor of 0.113853
wlx8800a1017a94: ACS-COMPLETED freq=2462 channel=11
Completing interface initialization
Mode: IEEE 802.11g  Channel: 11  Frequency: 2462 MHz
DFS 0 channels required radar detection

选中了11信道

_20250426174500.jpg

#17 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-04-24 15:35:53

[3657]fes begin commit:1417090655
[3660]set pll start
[3662]fix vccio detect value:0xc0
[3669]periph0 has been enabled
[3672]set pll end
[3674][pmu]: bus read error
[3676]board init ok
[3678]beign to init dram
[3680]get_pmu_exist() = -1
[3683]ddr_efuse_type: 0x0
[3685]trefi:7.8ms
[3688][AUTO DEBUG] two rank and full DQ!
[3691]ddr_efuse_type: 0x0
[3694]trefi:7.8ms
[3696][AUTO DEBUG] rank 0 row = 15
[3699][AUTO DEBUG] rank 0 bank = 8
[3703][AUTO DEBUG] rank 0 page size = 2 KB
[3706][AUTO DEBUG] rank 1 row = 15
[3710][AUTO DEBUG] rank 1 bank = 8
[3713][AUTO DEBUG] rank 1 page size = 2 KB
[3717]rank1 config same as rank0
[3720]DRAM BOOT DRIVE INFO: V0.33
[3723]DRAM CLK = 792 MHz
[3725]DRAM Type = 3 (2:DDR2,3:DDR3)
[3728]DRAMC ZQ value: 0x7b7bfb
[3731]DRAM ODT value: 0x42.
[3734]ddr_efuse_type: 0x0
[3737]DRAM SIZE =1024 M
[3739]dram_tpr4:0x0
[3741]PLL_DDR_CTRL_REG:0xf8004100
[3744]DRAM_CLK_REG:0xc0000000
[3747][TIMING DEBUG] MR2= 0x18
[3751]DRAM simple test OK.
[3753]rtc standby flag is 0x0, super standby flag is 0x0
[3758]init dram ok


U-Boot 2018.07-gd9e6718-dirty (Apr 10 2025 - 18:07:08 +0800) Allwinner Technology

[06.291]CPU:   Allwinner Family
[06.294]Model: sun8iw20
[06.296]DRAM:  512 MiB
[06.300]Relocation Offset is: 1ceb2000
[06.328]secure enable bit: 0
[06.331]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[06.337]gic: normal mode
sunxi flash map init
SPI ALL:   ready
[06.344]flash init start
[06.346]workmode = 16,storage type = 0
try card 0
set card number 0
get card number 0
[06.354][mmc]: mmc driver ver uboot2018:2022-12-07 18:56:00
[06.359][mmc]: get sdc_type fail and use default host:tm1.
[06.365][mmc]: can't find node "mmc0",will add new node
[06.370][mmc]: fdt err returned <no error>
[06.374][mmc]: Using default timing para
[06.377][mmc]: SUNXI SDMMC Controller Version:0x50310
[06.391][mmc]: mmc 0 cmd timeout 100 status 100
[06.395][mmc]: smc 0 err, cmd 8,  RTO
[06.399][mmc]: mmc 0 close bus gating and reset
[06.404][mmc]: mmc 0 cmd timeout 100 status 100
[06.408][mmc]: smc 0 err, cmd 55,  RTO
[06.411][mmc]: mmc 0 close bus gating and reset
[06.420][mmc]: mmc 0 cmd timeout 100 status 100
[06.424][mmc]: smc 0 err, cmd 1,  RTO
[06.427][mmc]: mmc 0 close bus gating and reset
[06.432][mmc]: Card did not respond to voltage select!
[06.436][mmc]: mmc_init: -95, time 54
[06.440][mmc]: mmc_init: mmc init fail, err -95
MMC init failed
try emmc fail
[06.447]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
[06.453]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
[06.461]sunxi-spinand-phy: request spi0 gpio ok
[06.465]sunxi-spinand-phy: request general tx dma channel ok!
[06.470]sunxi-spinand-phy: request general rx dma channel ok!
[06.476]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[06.480]sunxi-spinand-phy: init spic0 clk ok
[06.484]sunxi-spinand-phy: detect munufacture from id table: Winbond
[06.490]sunxi-spinand-phy: detect spinand id: ff22aaef ffffffff
[06.496]sunxi-spinand-phy: ========== arch info ==========
[06.501]sunxi-spinand-phy: Model:               W25N02KVZEIR
[06.507]sunxi-spinand-phy: Munufacture:         Winbond
[06.511]sunxi-spinand-phy: DieCntPerChip:       1
[06.516]sunxi-spinand-phy: BlkCntPerDie:        2048
[06.521]sunxi-spinand-phy: PageCntPerBlk:       64
[06.525]sunxi-spinand-phy: SectCntPerPage:      4
[06.529]sunxi-spinand-phy: OobSizePerPage:      64
[06.534]sunxi-spinand-phy: BadBlockFlag:        0x0
[06.539]sunxi-spinand-phy: OperationOpt:        0xf
[06.543]sunxi-spinand-phy: MaxEraseTimes:       60000
[06.548]sunxi-spinand-phy: EccFlag:             0x0
[06.553]sunxi-spinand-phy: EccType:             4
[06.557]sunxi-spinand-phy: EccProtectedType:    2
[06.561]sunxi-spinand-phy: ========================================
[06.567]sunxi-spinand-phy:
[06.570]sunxi-spinand-phy: ========== physical info ==========
[06.575]sunxi-spinand-phy: TotalSize:    256 M
[06.580]sunxi-spinand-phy: SectorSize:   512 B
[06.584]sunxi-spinand-phy: PageSize:     2 K
[06.588]sunxi-spinand-phy: BlockSize:    128 K
[06.592]sunxi-spinand-phy: OOBSize:      64 B
[06.596]sunxi-spinand-phy: ========================================
[06.602]sunxi-spinand-phy:
[06.604]sunxi-spinand-phy: ========== logical info ==========
[06.610]sunxi-spinand-phy: TotalSize:    256 M
[06.614]sunxi-spinand-phy: SectorSize:   512 B
[06.618]sunxi-spinand-phy: PageSize:     4 K
[06.622]sunxi-spinand-phy: BlockSize:    256 K
[06.626]sunxi-spinand-phy: OOBSize:      128 B
[06.631]sunxi-spinand-phy: ========================================
[06.637]sunxi-spinand-phy: W25N02KVZEIR reset rx bit width to 1
[06.642]sunxi-spinand-phy: W25N02KVZEIR reset tx bit width to 1
[06.648]sunxi-spinand-phy: block lock register: 0x00
[06.653]sunxi-spinand-phy: feature register: 0x00
[06.657]sunxi-spinand-phy: sunxi physic nand init end
[07.662]sunxi-spinand: read single page failed: -110
[08.667]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[73.748]sunxi-spinand: read single page failed: -110
[74.754]sunxi-spinand: read single page failed: -110

SDK不支持 W25N02KVZEIR

#18 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-04-22 16:14:36

Linux源码位置:
kernel/linux-5.10-origin/

bsp位置:
kernel/linux-5.10-origin/bsp/

bsp实际存放位置:
bsp/

源码版本:
Linux 5.10.198


单独下载官方源码:
https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.198.tar.xz


build/bsp.sh 在这里合并SDK:

export LICHEE_BSP_DIR=${LICHEE_TOP_DIR}/bsp

BSP_DIR=${LICHEE_BSP_DIR}

function merge_bsp()
{
	LOGV "${FUNCNAME[0]}() BEGIN"
	LOGD "Remove BSP files"
	pushd ${KER_DIR} >/dev/null

	rm $VERBOSE -rf bsp
	cp $VERBOSE -ar ${BSP_DIR} ./

	popd >/dev/null
	LOGV "${FUNCNAME[0]}() END"
}
$ ./build.sh kernel
04-22 17:07:44.416   88561 D mkcommon  : ========ACTION List: build_kernel ;========
04-22 17:07:44.417   88561 D mkcommon  : options : 
04-22 17:07:44.418   88561 I mkcommon  : build kernel ...
04-22 17:07:44.419   88561 I mkcommon  : prepare_buildserver
04-22 17:07:44.428   88561 I mkcommon  : Prepare toolchain ...
04-22 17:07:44.464   88605 D bsp       : Setup BSP files
04-22 17:07:45.589   88617 D mkkernel  : 2 ,/opt/T113-Tina5.0-V1.2_linux5.10/kernel/linux-5.10-origin, /opt/T113-Tina5.0-V1.2_linux5.10/kernel/linux-5.10-origin
04-22 17:07:45.652   88617 D mkkernel  : sunxi power version is 1.0.1
04-22 17:07:46.710   88617 D mkkernel  : Building kernel
function setup_bsp()
{
	LOGV "${FUNCNAME[0]}() BEGIN"
	LOGD "Setup BSP files"
	pushd "${KER_DIR}" >/dev/null

	rm $VERBOSE -rf bsp
	ln $VERBOSE -sr ${BSP_DIR} bsp

	popd >/dev/null
	LOGV "${FUNCNAME[0]}() END"
}

#19 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-04-22 15:54:48

SDK 1.2 版本支持 linux5.10,这样顺便解决了2038千年虫问题

顺手测试一下:

# cat /proc/version
Linux version 5.10.198 (ubuntu@ubuntu) (arm-linux-gnueabihf-gcc (GCC) 11.3.1 20220604 [releases/gcc-11 revision 591c0f4b92548e3ae2e8173f4f93984b1c7f62bb], GNU ld (Linaro_Binutils-2022.06) 2.37.20220122) #1 SMP PREEMPT Tue Apr 22 13:16:51 CST 2025
#
#
#
# date -s '2039-1-1'
Sat Jan  1 00:00:00 UTC 2039
#
# date
Sat Jan  1 00:00:01 UTC 2039
#

#21 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-04-20 10:34:17

#
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0_5                   29864     29864         0 100% /
df: /dev/shm: No such file or directory
tmpfs                   116820        28    116792   0% /tmp
tmpfs                   116820        20    116800   0% /run
devtmpfs                106116         0    106116   0% /dev
/dev/by-name/UDISK       38156      4748     31420  13% /mnt/UDISK
#
#
# mount
ubi0_5 on / type ubifs (rw,relatime,assert=read-only,ubi=0,vol=5)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,size=106116k,nr_inodes=26529,mode=755)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
none on /sys/kernel/config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/by-name/UDISK on /mnt/UDISK type ubifs (rw,relatime,assert=read-only,ubi=0,vol=8)
none on /sys/kernel/debug type debugfs (rw,relatime)
#

默认没有实现 overlayfs 文件系统

#22 Re: 全志 SOC » F133 测试 SPI NAND » 2025-04-16 09:49:14

可惜了,ubifs 不支持swap:A failed attempt:ubifs+swap

# dd if=/dev/zero of=/mnt/swap/swapfile bs=1M count=32
32+0 records in
32+0 records out
33554432 bytes (32.0MB) copied, 0.341635 seconds, 93.7MB/s

# mkswap /mnt/swap/swapfile
Setting up swapspace version 1, size = 33550336 bytes
UUID=79052343-2d79-4423-925b-455c7e328917
# chmod 0600 //mnt/swap/swapfile
# swapon /mnt/swap/swapfile
[ 1984.581859] swapon: swapfile has holes
swapon: /root/swapfile: swapon failed: Invalid argument

能想到的方法都想到了,最后一招就只能是看内核的代码了。其中过程略过,只讲最后的发现。

本次遇到的"swapfile has holes"这个错误信息是由下述代码导致的!

int bmap(struct inode *inode, sector_t *block)
{
	if (!inode->i_mapping->a_ops->bmap)
		return -EINVAL;

	*block = inode->i_mapping->a_ops->bmap(inode->i_mapping, *block);
	return 0;
}
EXPORT_SYMBOL(bmap);

-EINVAL就是invalid argument!,看来是没有bmap操作!进一步阅读内核UBIFS的代码,得到如下:

const struct address_space_operations ubifs_file_address_operations = {
	.readpage       = ubifs_readpage,
	.writepage      = ubifs_writepage,
	.write_begin    = ubifs_write_begin,
	.write_end      = ubifs_write_end,
	.invalidatepage = ubifs_invalidatepage,
	.set_page_dirty = ubifs_set_page_dirty,
#ifdef CONFIG_MIGRATION
	.migratepage	= ubifs_migrate_page,
#endif
	.releasepage    = ubifs_releasepage,
};

可见,这里的确没有设置bmap操作,所以无论如何都会返回EINVAL。



UBIFS不支持文件方式的swap功能。同时,因为UBI本身(注意和UBIFS的区别)不是块设备(/dev/ubix是字符设备),因此也不能支持块设备的swap功能!

为了在使用UBI/UBIFS的系统里面支持swap功能,需要单独一个MTD分区(MTD有块设备支持),通过块设备的方式来支持swap功能!

#23 Re: 全志 SOC » F133 测试 SPI NAND » 2025-04-14 22:16:33

modprobe spinand

ubiattach -m 7

mount -t ubifs ubi0:my_volume /mnt/addon

#24 全志 SOC » F133 测试 SPI NAND » 2025-04-14 22:13:08

memory
回复: 2
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00180000 00010000 "uboot"
mtd1: 00020000 00010000 "boot-resource"
mtd2: 00020000 00010000 "env"
mtd3: 00020000 00010000 "env-redund"
mtd4: 00780000 00010000 "boot"
mtd5: 007e0000 00010000 "rootfs"
mtd6: 00ec0000 00010000 "UDISK"
mtd7: 08000000 00020000 "spi0.1"
#
#
# ubiformat /dev/mtd7
ubiformat: mtd7 (nand), size 134217728 bytes (128.0 MiB), 1024 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 byt                                 es
libscan: scanning eraseblock 1023 -- 100 % complete
ubiformat: 1024 eraseblocks are supposedly empty
ubiformat: formatting eraseblock 1023 -- 100 % complete
#
#
# ubiattach -m 7
ubi0: attaching mtd7
ubi0: scanning is finished
ubi0: attached mtd7 (name "spi0.1", size 128 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1024, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 1346078118
ubi0: available PEBs: 1000, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
ubi0: background thread "ubi_bgt0d" started, PID 1306
UBI device number 0, total 1024 LEBs (130023424 bytes, 124.0 MiB), available 1000 LEBs (126976000 bytes, 121.0 MiB), LEB size                                  126976 bytes (124.0 KiB)
#
#
# ubimkvol /dev/ubi0 -N my_volume -s 120MiB
Volume ID 0, size 991 LEBs (125833216 bytes, 120.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "my_volume", alignment 1
#
#
# mkdir /mnt/addon
#
# mount -t ubifs ubi0:my_volume /mnt/addon
UBIFS (ubi0:0): default file-system created
UBIFS (ubi0:0): Mounting in unauthenticated mode
UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1556
UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "my_volume"
UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS (ubi0:0): FS size: 124436480 bytes (118 MiB, 980 LEBs), journal size 6221824 bytes (5 MiB, 49 LEBs)
UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 9052DCCC-6CB7-46AC-8C19-D7589BB974F3, small LPT model
#
# dd if=/dev/urandom of=/mnt/addon/x1.bin bs=1M count=20
20+0 records in
20+0 records out
#
# dd if=/dev/urandom of=/mnt/addon/x2.bin bs=1M count=20
20+0 records in
20+0 records out
#
#
# dd if=/dev/urandom of=/mnt/addon/x3.bin bs=1M count=70
70+0 records in
70+0 records out
#
# md5sum /mnt/addon/*
e6b65f9c308d919a9fd15df47ce8f938  /mnt/addon/x1.bin
ec0d0d20e1ca4937638570313959467d  /mnt/addon/x2.bin
875826b16155aed227790c07d0bcee66  /mnt/addon/x3.bin
#

#25 Re: 全志 SOC » 编译A733 SDK » 2025-04-07 10:21:27

QQ20250407-101605.png

A733 三个型号差异:

A733MX-HN3
A733MX-N3X
A733MX-1XX

#26 Re: 全志 SOC » 编译A733 SDK » 2025-04-07 10:17:17

wupaul2001 说:

linux还是安桌?

Androi15和Linux都测试过,都是正常的。

#27 Re: 全志 SOC » V3s usb无法识别 » 2025-04-06 19:59:25

检查每组电源,检查Vrtc电压,检查Reset电平

#28 全志 SOC » F133 从uart0改成uart4之后,这个地方日志变成了这样 » 2025-04-05 10:59:24

memory
回复: 0
Detect comp none
[01.642]
Starting kernel ...

Linux version 5.4.61 (ubuntu@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #50 PREEMPT 2025-04-03 20:46:44
Zone ranges:
  DMA32    [mem 0x0000000040000000-0x0000000043ffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000040000000-0x0000000043ffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
On node 0 totalpages: 16384
Detect comp none
[00.525]
Starting kernel ...

▒** 9 printk messages dropped **
On node 0 totalpages: 16384

#29 Re: 全志 SOC » XR871算是全志的么? » 2025-04-04 10:45:58

是的,不是子公司,就是孙公司

#30 Re: 全志 SOC » 整理一些 D1 / D1s 的 DisplayEngine / LCD / HDMI 常用骚操作 » 2025-04-01 17:05:09

读取色温:
cat /sys/class/disp/disp/attr/color_temperature

调整色温:
echo 120 > /sys/class/disp/disp/attr/color_temperature

#31 Re: 全志 SOC » 整理一些 D1 / D1s 的 DisplayEngine / LCD / HDMI 常用骚操作 » 2025-04-01 09:13:10

截屏获取界面:

echo /tmp/screen2.bmp > /sys/class/disp/disp/attr/capture_dump

电脑获取界面:

adb pull /tmp/screen2.bmp

#32 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-27 16:49:41

T113 SDK V1.2  t113_i/evb1_auto_nor 修改调试串口就能在哪吒开发板跑起来:


/opt/T113-Tina5.0-V1.2/device/config/chips/t113_i/configs/evb1_auto_nor

ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2/device/config/chips/t113_i/configs/evb1_auto_nor$ git diff 
diff --git a/configs/evb1_auto_nor/linux-5.4/board.dts b/configs/evb1_auto_nor/linux-5.4/board.dts
index 581b30c..63417bb 100644
--- a/configs/evb1_auto_nor/linux-5.4/board.dts
+++ b/configs/evb1_auto_nor/linux-5.4/board.dts
@@ -382,17 +382,17 @@
        };
 
        uart0_pins_a: uart0_pins@0 {  /* For EVB1 board */
-               pins = "PG17", "PG18";
+               pins = "PB8", "PB9";
                function = "uart0";
                drive-strength = <10>;
                bias-pull-up;
        };
 
        uart0_pins_b: uart0_pins@1 {  /* For EVB1 board */
-               pins = "PG17", "PG18";
+               pins = "PB8", "PB9";
                function = "gpio_in";
        };
-
+       
        uart1_pins_a: uart1_pins@0 {  /* For EVB1 board */
                pins = "PG6", "PG7", "PG8", "PG9";
                function = "uart1";
diff --git a/configs/evb1_auto_nor/sys_config.fex b/configs/evb1_auto_nor/sys_config.fex
index 9a33241..b5dac6b 100755
--- a/configs/evb1_auto_nor/sys_config.fex
+++ b/configs/evb1_auto_nor/sys_config.fex
@@ -734,8 +734,8 @@ twi_sda  = port:PC1<3><1><default><default>
 ;----------------------------------------------------------------------------------
 [uart_para]
 uart_debug_port = 0
-uart_debug_tx   = port:PG17<7><1><default><default>
-uart_debug_rx   = port:PG18<7><1><default><default>
+uart_debug_tx   = port:PB8<6><1><default><default>
+uart_debug_rx   = port:PB9<6><1><default><default>
 
 
 ;----------------------------------------------------------------------------------
diff --git a/configs/evb1_auto_nor/sys_partition_nor.fex b/configs/evb1_auto_nor/sys_partition_nor.fex
index fa4114e..c560454 100755
--- a/configs/evb1_auto_nor/sys_partition_nor.fex
+++ b/configs/evb1_auto_nor/sys_partition_nor.fex
@@ -59,6 +59,6 @@ size = 16
 
 [partition]
     name         = rootfs
-    size         = 13312
+    size         = 14312
     downloadfile = "rootfs_nor.fex"
     user_type    = 0x8000

QQ20250327-164912.png

#33 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-27 11:43:11

nor flash的buildroot配置:
buildroot/buildroot-201902/configs/sun8iw20p1_t113_nor_defconfig

其他存储器的buildroot配置:
buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig







buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig 内容:

BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABI=y
BR2_SVN="svn"
BR2_JLEVEL=16
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_HOSTNAME="kunos"
BR2_TARGET_GENERIC_ISSUE="Welcome to Allwinner KunoOS Platform"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_BASH=y
# BR2_TARGET_GENERIC_GETTY is not set
BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/../config/buildroot/post_build.sh"
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_SDK_MEMORY_TEST=y
BR2_PACKAGE_ALPHA_TEST=y
BR2_PACKAGE_LCD_BRIGHT_TEST=y
BR2_PACKAGE_MEM_TEST_DE=y
BR2_PACKAGE_YUV_TEST=y
BR2_PACKAGE_SDK_G2D_TEST=y
BR2_PACKAGE_SDK_COMMON=y
BR2_PACKAGE_CSI_TEST=y
BR2_PACKAGE_FBINIT_TEST=y
BR2_PACKAGE_GPIO_TEST=y
BR2_PACKAGE_MULTISCREEN_TEST=y
BR2_PACKAGE_TPADC_TEST=y
BR2_PACKAGE_SDK_ENDEC=y
BR2_PACKAGE_SDK_DECODER_TEST=y
BR2_PACKAGE_SDK_ENCODER_TEST=y
BR2_PACKAGE_SDK_GIF2RGB_TEST=y
BR2_PACKAGE_SDK_CAMERA=y
BR2_PACKAGE_AUDIO_ENC_TEST=y
BR2_PACKAGE_DVR_TEST=y
BR2_PACKAGE_RECORD_TEST=y
BR2_PACKAGE_TVD_TEST=y
BR2_PACKAGE_USB_CAMERA_TEST=y
BR2_PACKAGE_SDK_PLAYER=y
BR2_PACKAGE_AUTPLAYER_TEST=y
BR2_PACKAGE_STREAM_LAYER_TEST=y
LUAPI_LAYER_ALLOC_LAY=y
BR2_PACKAGE_PQD=y
BR2_PACKAGE_TPLAYERDEMO=y
BR2_PACKAGE_TRECORDERDEMO=y
BR2_PACKAGE_BACKPLAYDEMO=y
BR2_PACKAGE_JPEGDECODEDEMO=y
BR2_PACKAGE_ENCODERTEST=y
BR2_PACKAGE_TPLAYER=y
BR2_PACKAGE_TRECORDER=y
BR2_PACKAGE_AEENC_COMP_DEMO=y
BR2_PACKAGE_RECORDER_DEMO=y
BR2_PACKAGE_VENC_COMP_DEMO=y
BR2_PACKAGE_LIBCEDARSE=y
BR2_PACKAGE_AMP_SHELL=y
BR2_PACKAGE_BUSYBOX_INIT_BASE_FILES=y
BR2_PACKAGE_OTA_BURNBOOT=y
BR2_PACKAGE_RPBUF=y
BR2_PACKAGE_RPBUF_DEMO=y
BR2_PACKAGE_RPBUF_TEST=y
BR2_PACKAGE_RPMSG=y
BR2_PACKAGE_RPMSG_DEMO=y
BR2_PACKAGE_RPMSG_TEST=y
BR2_PACKAGE_ADBD=y
BR2_PACKAGE_CPU_MONITOR=y
BR2_PACKAGE_MTOP=y
BR2_PACKAGE_BTMANAGER=y
BR2_PACKAGE_BTMG_DEMO=y
BR2_PACKAGE_WIFI_FIRMWARE=y
BR2_PACKAGE_XR829_FIRMWARE=y
BR2_PACKAGE_XR829_USE_40M=y
BR2_PACKAGE_WIFIMANAGER=y
BR2_PACKAGE_WIFIMANAGER_LIB=y
BR2_PACKAGE_WIFIMANAGER_DEMO=y
BR2_PACKAGE_LV_G2D_TEST=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_BLUEZ_ALSA_HCITOP=y
BR2_PACKAGE_BLUEZ_ALSA_RFCOMM=y
BR2_PACKAGE_FAAD2=y
BR2_PACKAGE_FLAC=y
BR2_PACKAGE_GSTREAMER1=y
BR2_PACKAGE_GST1_PLUGINS_GOOD=y
BR2_PACKAGE_GST1_PLUGINS_BAD=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y
BR2_PACKAGE_GST_OMX=y
BR2_PACKAGE_LAME=y
BR2_PACKAGE_MPG123=y
BR2_PACKAGE_MUSEPACK=y
BR2_PACKAGE_WAVPACK=y
BR2_PACKAGE_LIBTOOL=y
BR2_PACKAGE_DOSFSTOOLS=y
BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_EXFAT=y
BR2_PACKAGE_EXFAT_UTILS=y
BR2_PACKAGE_MTD=y
BR2_PACKAGE_NTFS_3G=y
BR2_PACKAGE_NTFS_3G_ENCRYPTED=y
BR2_PACKAGE_NTFS_3G_NTFSPROGS=y
BR2_PACKAGE_DIRECTFB=y
BR2_PACKAGE_FREERDP=y
# BR2_PACKAGE_FREERDP_CLIENT_WL is not set
BR2_PACKAGE_DTV_SCAN_TABLES=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_LIBUMP=y
BR2_PACKAGE_MEMTESTER=y
BR2_PACKAGE_MINICOM=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS_HAVEREDUNDENV=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_FDK_AAC=y
BR2_PACKAGE_LIBMAD=y
BR2_PACKAGE_LIBSAMPLERATE=y
BR2_PACKAGE_OPUS=y
BR2_PACKAGE_SPEEX=y
BR2_PACKAGE_TAGLIB=y
BR2_PACKAGE_TREMOR=y
BR2_PACKAGE_VO_AACENC=y
BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y
BR2_PACKAGE_MYSQL=y
BR2_PACKAGE_POSTGRESQL=y
BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBJPEG=y
BR2_PACKAGE_LIBRSVG=y
BR2_PACKAGE_LIBVA=y
BR2_PACKAGE_OPENJPEG=y
BR2_PACKAGE_WAYLAND=y
BR2_PACKAGE_WAYLAND_PROTOCOLS=y
BR2_PACKAGE_WEBP=y
BR2_PACKAGE_LIBINPUT=y
BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_LIBXKBCOMMON=y
BR2_PACKAGE_LIBASS=y
BR2_PACKAGE_LIBDVDREAD=y
BR2_PACKAGE_LIBMMS=y
BR2_PACKAGE_LIBMPEG2=y
BR2_PACKAGE_LIBOPENH264=y
BR2_PACKAGE_LIBTHEORA=y
BR2_PACKAGE_LIBVPX=y
BR2_PACKAGE_X264=y
BR2_PACKAGE_X265=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBRSYNC=y
BR2_PACKAGE_LIBSOCKETCAN=y
BR2_PACKAGE_LIBSOUP=y
BR2_PACKAGE_LIBSRTP=y
BR2_PACKAGE_NEON=y
BR2_PACKAGE_RTMPDUMP=y
BR2_PACKAGE_LIBICAL=y
BR2_PACKAGE_LIBUCI=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
BR2_PACKAGE_PCRE2=y
BR2_PACKAGE_PCRE2_16=y
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
BR2_PACKAGE_BLUEZ5_UTILS_MONITOR=y
BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y
BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED=y
# BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK is not set
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_DNSMASQ_DNSSEC=y
BR2_PACKAGE_DNSMASQ_IDN=y
BR2_PACKAGE_DNSMASQ_CONNTRACK=y
BR2_PACKAGE_HOSTAPD=y
BR2_PACKAGE_HOSTAPD_EAP=y
BR2_PACKAGE_HOSTAPD_WPS=y
BR2_PACKAGE_IPERF=y
BR2_PACKAGE_IPERF3=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_IPTABLES_BPF_NFSYNPROXY=y
BR2_PACKAGE_IPTABLES_NFTABLES=y
BR2_PACKAGE_IW=y
BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY=y
BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING=y
BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_ANDROID_TOOLS=y
BR2_PACKAGE_SWUPDATE=y
SWUPDATE_CONFIG_DOWNLOAD=y
BR2_PACKAGE_VIM=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="512M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_DTC=y
BR2_PACKAGE_HOST_GENEXT2FS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y





buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig  内容:

BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABI=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_HOSTNAME="kunos"
BR2_TARGET_GENERIC_ISSUE="Welcome to Allwinner KunoOS Platform"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
BR2_PACKAGE_SDK_MEMORY_TEST=y
BR2_PACKAGE_ALPHA_TEST=y
BR2_PACKAGE_LCD_BRIGHT_TEST=y
BR2_PACKAGE_MEM_TEST_DE=y
BR2_PACKAGE_TVD_TEST=y
BR2_PACKAGE_YUV_TEST=y
BR2_PACKAGE_SDK_G2D_TEST=y
BR2_PACKAGE_SDK_COMMON=y
BR2_PACKAGE_CSI_TEST=y
BR2_PACKAGE_FBINIT_TEST=y
BR2_PACKAGE_GPIO_TEST=y
BR2_PACKAGE_MULTISCREEN_TEST=y
BR2_PACKAGE_TPADC_TEST=y
BR2_PACKAGE_SDK_ENDEC=y
BR2_PACKAGE_SDK_DECODER_TEST=y
BR2_PACKAGE_SDK_ENCODER_TEST=y
BR2_PACKAGE_SDK_GIF2RGB_TEST=y
BR2_PACKAGE_SDK_CAMERA=y
BR2_PACKAGE_AUDIO_ENC_TEST=y
BR2_PACKAGE_DVR_TEST=y
BR2_PACKAGE_RECORD_TEST=y
BR2_PACKAGE_USB_CAMERA_TEST=y
BR2_PACKAGE_SDK_PLAYER=y
BR2_PACKAGE_AUTPLAYER_TEST=y
BR2_PACKAGE_STREAM_LAYER_TEST=y
BR2_PACKAGE_BUSYBOX_INIT_BASE_FILES=y
BR2_PACKAGE_OTA_BURNBOOT=y
BR2_PACKAGE_ADBD=y
# LVGL8_USE_SUNXIFB_DOUBLE_BUFFER is not set
# LVGL8_USE_SUNXIFB_CACHE is not set
BR2_PACKAGE_MTD=y
BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBLDNS=y
BR2_PACKAGE_LIBRSYNC=y
BR2_PACKAGE_NCURSES=y
BR2_PACKAGE_ANDROID_TOOLS=y

#34 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-27 10:53:38

ubuntu   106929 105940  0 11:14 pts/1    00:00:00 /bin/bash ./build.sh
ubuntu   106933 106929  0 11:14 pts/1    00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu   108878 106933  0 11:14 pts/1    00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu   108879 108878  0 11:14 pts/1    00:00:00 /bin/bash ./build.sh -p sun8iw20p1_auto_t113_i -b t113_i -o all
ubuntu   108880 108878  1 11:14 pts/1    00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
root     114896      1  0 08:11 ?        00:00:00 /usr/sbin/cupsd -l
root     114897      1  0 08:11 ?        00:00:00 /usr/sbin/cups-browsed
ubuntu   115002   1471  0 08:13 ?        00:00:00 /usr/lib/gvfs/gvfsd-network --spawner :1.22 /org/gtk/gvfs/exec_spaw/2
root     115068      2  0 08:14 ?        00:00:00 [kworker/6:3-eve]
ubuntu   115084   1471  0 08:14 ?        00:00:00 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.22 /org/gtk/gvfs/exec_spaw/13
root     115107      2  0 08:14 ?        00:00:01 [kworker/5:0-eve]
root     115117      2  0 08:15 ?        00:00:01 [kworker/0:0-eve]
ubuntu   120995 108879  0 11:14 pts/1    00:00:00 /bin/bash ./build.sh -p sun8iw20p1_auto_t113_i -b t113_i -o all
ubuntu   123803 120995  1 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/make_dir/make4.1/bin/make CROSS_COMPILE=/opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro
ubuntu   128124 123803  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/make_dir/make4.1/bin/make -f ./scripts/Makefile.build obj=drivers/mtd/spi
ubuntu   128145 128124  0 11:14 pts/1    00:00:00 /bin/sh -c set -e; ?   echo '  CC      drivers/mtd/spi/spi-nor-core.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-
ubuntu   128153 128145  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/mtd/s
ubuntu   128156 128153 56 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1 
ubuntu   128159 128153  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu   128612 123803  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/make_dir/make4.1/bin/make -f ./scripts/Makefile.build obj=drivers/serial
ubuntu   128627 128612  0 11:14 pts/1    00:00:00 /bin/sh -c set -e; ?   echo '  CC      drivers/serial/serial.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_
ubuntu   128629 128612  0 11:14 pts/1    00:00:00 /bin/sh -c set -e; ?   echo '  CC      drivers/serial/serial_ns16550.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11
ubuntu   128630 128627  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/seria
ubuntu   128633 128629  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/seria
ubuntu   128635 128612  0 11:14 pts/1    00:00:00 /bin/sh -c set -e; ?   echo '  CC      drivers/serial/ns16550.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64
ubuntu   128637 128630  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1 
ubuntu   128638 128630  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu   128639 128635  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/seria
ubuntu   128640 128633  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1 
ubuntu   128642 128633  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu   128643 128639  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1 
ubuntu   128645 128639  0 11:14 pts/1    00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu   128668   1819  0 11:14 pts/0    00:00:00 ps -Af
ubuntu    16907 105940  0 10:35 pts/1    00:00:00 /bin/bash ./build.sh
ubuntu    16911  16907  0 10:35 pts/1    00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
root      26876      2  0 07:43 ?        00:00:10 [kworker/7:0-mm_]
ubuntu    35550      1  0 10:41 tty1     00:00:00 /usr/bin/python3 /usr/share/apport/apport-gtk
root      72545      2  0 10:45 ?        00:00:00 [kworker/7:1-eve]
root      73898      2  0 10:45 ?        00:00:00 [kworker/u256:0-]
root      78794      2  0 10:49 ?        00:00:00 [kworker/4:0-mm_]
root      79887      2  0 10:49 ?        00:00:00 [kworker/1:0-eve]
ubuntu    88238  16911  0 10:38 pts/1    00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu    88239  88238  0 10:38 pts/1    00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu    88240  88239  0 10:38 pts/1    00:00:00 make O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902
ubuntu    88249  88240  1 10:38 pts/1    00:00:13 make -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902 --no-print-directory O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot
ubuntu    92898  88249  0 10:49 pts/1    00:00:00 /usr/bin/make -j9 -C /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/build/host-ncurses-6.1/progs tic
ubuntu    92903  92898  0 10:49 pts/1    00:00:00 /bin/bash -c cd ../ncurses; /usr/bin/make - -j --jobserver-fds=3,4 --no-print-directory
ubuntu    92906  92903  4 10:49 pts/1    00:00:00 /usr/bin/make - -j --jobserver-fds=3,4 --no-print-directory
ubuntu    93718  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93720  93718  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93751  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93754  93751  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93767  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93780  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93781  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93783  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93784  93781  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93785  93783  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93786  93780  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93788  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93790  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93791  92906  0 10:49 pts/1    00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE 
ubuntu    93792  93790  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93793  93788  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93794  93791  0 10:49 pts/1    00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu    93795   1819  0 10:49 pts/0    00:00:00 ps -Af

看下脚本调用关系

./build.sh

->

/opt/T113-Tina5.0-V1.2/build/mkcommon.sh

->

/opt/T113-Tina5.0-V1.2/build/mkcommon.sh

->

make O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902

->

make -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902 --no-print-directory O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot

#35 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-27 10:34:10

如何找到 buildroot 的配置文件:

device/config/chips/t113/configs/evb1_auto_nor/BoardConfig.mk

LICHEE_CHIP:=sun8iw20p1
LICHEE_ARCH:=arm
LICHEE_PRODUCT:=t113_evb1_auto_nor
LICHEE_BRANDY_VER:=2.0
LICHEE_FLASH:=nor
LICHEE_BRANDY_DEFCONF:=sun8iw20p1_auto_defconfig
LICHEE_KERN_VER:=5.4
LICHEE_KERN_DEFCONF:=config-5.4
LICHEE_COMPILER_TAR:=arm/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz
LICHEE_BUILDING_SYSTEM:=buildroot
LICHEE_BR_VER:=201902
LICHEE_BR_DEFCONF:=sun8iw20p1_t113_nor_defconfig
LICHEE_BR_RAMFS_CONF=sun8iw20p1_ramfs_defconfig
LICHEE_COMPRESS:=gzip
LICHEE_NO_RAMDISK_NEEDED:=y
LICHEE_REDUNDANT_ENV_SIZE:=0x20000

那么 LICHEE_BR_DEFCONF:=sun8iw20p1_t113_nor_defconfig

这个 sun8iw20p1_t113_nor_defconfig 就是 buildroot的配置文件了:

buildroot/buildroot-201902/configs/sun8iw20p1_t113_nor_defconfig

#36 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-26 21:21:01

build/mkcommon.sh

################ Parse other arguments ###################
while [ $# -gt 0 ]; do
	case "$1" in
	config*)
		opt=${1##*_};
		if [ "${opt}" == "all" ]; then
			export CONFIG_ALL=${FLAGS_TRUE};
		else
			export CONFIG_ALL=${FLAGS_FALSE};
		fi
		FLAGS_config=${FLAGS_TRUE};
		break;
		;;
	autoconfig)
		ACTION="mk_autoconfig;"
		FLAGS_config=${FLAGS_TRUE};
		break;
		;;
	loadconfig|menuconfig|saveconfig|mergeconfig)   # support t113 compile(linux5.4)
		ACTION="kernel_config $@;"
		module=""
		;;
	gen*)
		opt=${1##*_};
		if [ "${opt}" == "config" ]; then
			cd kernel/${LICHEE_KERN_VER}/
			printf "\033[47;41mPrepare to use script to generate the android defconfig.\033[0m\n"
			ARCH=${LICHEE_ARCH} ./scripts/kconfig/merge_config.sh \
				 arch/${LICHEE_ARCH}/configs/${LICHEE_CHIP}smp_defconfig \
				 kernel/configs/android-base.config  \
				 kernel/configs/android-recommended.config  \
				 kernel/configs/sunxi-recommended.config
			if [ -f .config ]; then
				printf "\033[47;41mComplete the build config,save to ${LICHEE_KERN_VER}/.config !!!\033[0m\n"
				cp .config arch/${LICHEE_ARCH}/configs/${LICHEE_CHIP}smp_android_defconfig
			fi
			cd ..
			exit 0
		else
			echo "Do not support this command!!"
			exit 1
		fi
		break;
		;;

	pack*)
		optlist=$(echo ${1#pack} | sed 's/_/ /g')
		mode=""
		for opt in $optlist; do
			case "$opt" in
				debug)
					mode="$mode -d card0"
					;;
				dump)
					mode="$mode -m dump"
					;;
				prvt)
					mode="$mode -f prvt"
					;;
				secure)
					mode="$mode -s secure"
					;;
				prev)
					mode="$mode -s prev_refurbish"
					;;
				crash)
					mode="$mode -m crashdump"
					;;
				vsp)
					mode="$mode -t vsp"
					;;
				raw)
					mode="$mode -w programmer"
					;;
				verity)
					mode="$mode --verity"
					;;
				signfel)
					mode="$mode --signfel"
					;;
				*)
					mk_error "Invalid pack option $opt"
					exit 1
					;;
			esac
		done

		######### Don't build other module, if pack firmware ########
		ACTION="mkpack ${mode};";
		module="";
		break;
		;;
	buildroot)
		ACTION="mkbr;";
		module=buildroot;
		break;
		;;
	ramfs)
		ACTION="mkramfs;";
		module=ramfs;
		break;
		;;
	clean|distclean|rootfs)
		ACTION="mk${1};";
		module="";
		break;
		;;
	bootloader)
		ACTION="mk${1};";
		module="bootloader";
		break;
		;;
	brandy)
		ACTION="mk${1};";
		module="brandy";
		break;
		;;
	kernel)
		ACTION="mkkernel;";
		module="kernel";
		break;
		;;
	recovery)
		ACTION="mkrecovery;";
		module="recovery";
		break;
		;;
    dts)
        ACTION="mkdts;";
		module="";
        break
        ;;
	*) ;;
	esac;
	shift;
done

编译buildroot:
./build.sh buildroot

编译uboot:
./build.sh brandy
./build.sh bootloader

编译Linux:
./build.sh kernel


编译dts:
./build.sh dts

打包文件系统:
./build.sh rootfs
./build.sh buildroot_rootfs

配置buildroot package:
./build.sh buildroot_menuconfig

配置Linux:
./build.sh menuconfig

#37 Re: 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-26 21:12:44

build/mkcmd.sh

function make_ext4()
{
}


function pack_rootfs()
{
...
    case ${LICHEE_BOARD} in
        *nor*)
            make_squashfs ${ROOTFS}
            ;;
        *nand*)
            make_ubifs ${ROOTFS}
            ;;
        *)
            if [ "x${LICHEE_FLASH}" = "xnor" ]; then
                echo "build spi nor flash rootfs"
                make_squashfs ${ROOTFS}
            elif [ "x${LICHEE_FLASH}" = "xnand" ];then
                echo "build spi nand flash rootfs"
                make_ubifs ${ROOTFS}
            else
                echo "build emmc rootfs"
                make_ext4  ${ROOTFS}
            fi
            ;;
    esac
...
}


function mkrootfs()
{
...
    pack_rootfs $1
...
}

function mklichee()
{
...
mkrootfs $1
...
}

#38 全志 SOC » 全志 T113 SDK V1.2 学习记录 » 2025-03-26 11:57:42

memory
回复: 13

全志 T113 SDK V1.2 学习记录

#40 Re: 全志 SOC » 编译A733 SDK » 2025-03-24 17:57:05

longan 如何检查端口复用:

mount -t debugfs none /sys/kernel/debug;

看 PB/PC/PD/PE/PF/PG/PH/PI/PJ/PK:
cat /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins

看PL/PM组:
cat /sys/kernel/debug/pinctrl/7025000.pinctrl/pinmux-pins

root@dragonboard:~# cat /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins
Pinmux settings per pin
Format: pin (name): mux_owner|gpio_owner (strict) hog?
pin 32 (PB0): GPIO 2000000.pinctrl:32
pin 33 (PB1): GPIO 2000000.pinctrl:33
pin 34 (PB2): UNCLAIMED
pin 35 (PB3): UNCLAIMED
pin 36 (PB4): device 2532000.i2s0_plat function i2s0_mclk group PB4
pin 37 (PB5): device 2532000.i2s0_plat function i2s0_bclk group PB5
pin 38 (PB6): device 2532000.i2s0_plat function i2s0_lrck group PB6
pin 39 (PB7): device 2532000.i2s0_plat function i2s0_dout0 group PB7
pin 40 (PB8): device 2532000.i2s0_plat function i2s0_din0 group PB8
pin 41 (PB9): UNCLAIMED
pin 42 (PB10): UNCLAIMED
pin 64 (PC0): UNCLAIMED
pin 65 (PC1): UNCLAIMED
pin 66 (PC2): UNCLAIMED
pin 67 (PC3): UNCLAIMED
pin 68 (PC4): UNCLAIMED
pin 69 (PC5): UNCLAIMED
pin 70 (PC6): UNCLAIMED
pin 71 (PC7): UNCLAIMED
pin 72 (PC8): UNCLAIMED
pin 73 (PC9): UNCLAIMED
pin 74 (PC10): UNCLAIMED
pin 75 (PC11): UNCLAIMED
pin 76 (PC12): UNCLAIMED
pin 77 (PC13): UNCLAIMED
pin 78 (PC14): UNCLAIMED
pin 79 (PC15): UNCLAIMED
pin 80 (PC16): UNCLAIMED
pin 96 (PD0): UNCLAIMED
pin 97 (PD1): UNCLAIMED
pin 98 (PD2): UNCLAIMED
pin 99 (PD3): UNCLAIMED
pin 100 (PD4): UNCLAIMED
pin 101 (PD5): UNCLAIMED
pin 102 (PD6): UNCLAIMED
pin 103 (PD7): UNCLAIMED
pin 104 (PD8): UNCLAIMED
pin 105 (PD9): UNCLAIMED
pin 106 (PD10): UNCLAIMED
pin 107 (PD11): UNCLAIMED
pin 108 (PD12): UNCLAIMED
pin 109 (PD13): UNCLAIMED
pin 110 (PD14): UNCLAIMED
pin 111 (PD15): UNCLAIMED
pin 112 (PD16): UNCLAIMED
pin 113 (PD17): UNCLAIMED
pin 114 (PD18): UNCLAIMED
pin 115 (PD19): UNCLAIMED
pin 116 (PD20): UNCLAIMED
pin 117 (PD21): UNCLAIMED
pin 118 (PD22): UNCLAIMED
pin 119 (PD23): UNCLAIMED
pin 128 (PE0): UNCLAIMED
pin 129 (PE1): UNCLAIMED
pin 130 (PE2): GPIO 2000000.pinctrl:130
pin 131 (PE3): UNCLAIMED
pin 132 (PE4): UNCLAIMED
pin 133 (PE5): UNCLAIMED
pin 134 (PE6): GPIO 2000000.pinctrl:134
pin 135 (PE7): GPIO 2000000.pinctrl:135
pin 136 (PE8): GPIO 2000000.pinctrl:136
pin 137 (PE9): GPIO 2000000.pinctrl:137
pin 138 (PE10): UNCLAIMED
pin 139 (PE11): UNCLAIMED
pin 140 (PE12): UNCLAIMED
pin 141 (PE13): UNCLAIMED
pin 142 (PE14): UNCLAIMED
pin 143 (PE15): GPIO 2000000.pinctrl:143
pin 160 (PF0): device 4020000.sdmmc function jtag group PF0
pin 161 (PF1): device 4020000.sdmmc function jtag group PF1
pin 162 (PF2): device 4020000.sdmmc function uart0 group PF2
pin 163 (PF3): device 4020000.sdmmc function jtag group PF3
pin 164 (PF4): device 4020000.sdmmc function uart0 group PF4
pin 165 (PF5): device 4020000.sdmmc function jtag group PF5
pin 166 (PF6): GPIO 2000000.pinctrl:166
pin 192 (PG0): device 4021000.sdmmc function gpio_in group PG0
pin 193 (PG1): device 4021000.sdmmc function gpio_in group PG1
pin 194 (PG2): device 4021000.sdmmc function gpio_in group PG2
pin 195 (PG3): device 4021000.sdmmc function gpio_in group PG3
pin 196 (PG4): device 4021000.sdmmc function gpio_in group PG4
pin 197 (PG5): device 4021000.sdmmc function gpio_in group PG5
pin 198 (PG6): device 2501000.uart function uart1 group PG6
pin 199 (PG7): device 2501000.uart function uart1 group PG7
pin 200 (PG8): device 2501000.uart function uart1 group PG8
pin 201 (PG9): device 2501000.uart function uart1 group PG9
pin 202 (PG10): UNCLAIMED
pin 203 (PG11): device 2533000.i2s1_plat function io_disabled group PG11
pin 204 (PG12): device 2533000.i2s1_plat function io_disabled group PG12
pin 205 (PG13): device 2533000.i2s1_plat function io_disabled group PG13
pin 206 (PG14): device 2533000.i2s1_plat function io_disabled group PG14
pin 224 (PH0): UNCLAIMED
pin 225 (PH1): UNCLAIMED
pin 226 (PH2): UNCLAIMED
pin 227 (PH3): UNCLAIMED
pin 228 (PH4): UNCLAIMED
pin 229 (PH5): UNCLAIMED
pin 230 (PH6): UNCLAIMED
pin 231 (PH7): UNCLAIMED
pin 232 (PH8): UNCLAIMED
pin 233 (PH9): UNCLAIMED
pin 234 (PH10): UNCLAIMED
pin 235 (PH11): UNCLAIMED
pin 236 (PH12): UNCLAIMED
pin 237 (PH13): UNCLAIMED
pin 238 (PH14): GPIO 2000000.pinctrl:238
pin 239 (PH15): UNCLAIMED
pin 240 (PH16): UNCLAIMED
pin 241 (PH17): UNCLAIMED
pin 242 (PH18): UNCLAIMED
pin 243 (PH19): UNCLAIMED
pin 256 (PI0): UNCLAIMED
pin 257 (PI1): UNCLAIMED
pin 258 (PI2): UNCLAIMED
pin 259 (PI3): UNCLAIMED
pin 260 (PI4): UNCLAIMED
pin 261 (PI5): UNCLAIMED
pin 262 (PI6): UNCLAIMED
pin 263 (PI7): UNCLAIMED
pin 264 (PI8): UNCLAIMED
pin 265 (PI9): UNCLAIMED
pin 266 (PI10): UNCLAIMED
pin 267 (PI11): UNCLAIMED
pin 268 (PI12): UNCLAIMED
pin 269 (PI13): UNCLAIMED
pin 270 (PI14): UNCLAIMED
pin 271 (PI15): UNCLAIMED
pin 272 (PI16): UNCLAIMED
pin 288 (PJ0): UNCLAIMED
pin 289 (PJ1): UNCLAIMED
pin 290 (PJ2): UNCLAIMED
pin 291 (PJ3): UNCLAIMED
pin 292 (PJ4): UNCLAIMED
pin 293 (PJ5): UNCLAIMED
pin 294 (PJ6): UNCLAIMED
pin 295 (PJ7): UNCLAIMED
pin 296 (PJ8): UNCLAIMED
pin 297 (PJ9): UNCLAIMED
pin 298 (PJ10): UNCLAIMED
pin 299 (PJ11): UNCLAIMED
pin 300 (PJ12): UNCLAIMED
pin 301 (PJ13): UNCLAIMED
pin 302 (PJ14): UNCLAIMED
pin 303 (PJ15): UNCLAIMED
pin 304 (PJ16): UNCLAIMED
pin 305 (PJ17): UNCLAIMED
pin 306 (PJ18): UNCLAIMED
pin 307 (PJ19): UNCLAIMED
pin 308 (PJ20): UNCLAIMED
pin 309 (PJ21): UNCLAIMED
pin 310 (PJ22): UNCLAIMED
pin 311 (PJ23): UNCLAIMED
pin 312 (PJ24): UNCLAIMED
pin 313 (PJ25): UNCLAIMED
pin 314 (PJ26): UNCLAIMED
pin 315 (PJ27): UNCLAIMED
pin 320 (PK0): UNCLAIMED
pin 321 (PK1): UNCLAIMED
pin 322 (PK2): UNCLAIMED
pin 323 (PK3): UNCLAIMED
pin 324 (PK4): UNCLAIMED
pin 325 (PK5): UNCLAIMED
pin 326 (PK6): UNCLAIMED
pin 327 (PK7): UNCLAIMED
pin 328 (PK8): UNCLAIMED
pin 329 (PK9): UNCLAIMED
pin 330 (PK10): UNCLAIMED
pin 331 (PK11): UNCLAIMED
pin 332 (PK12): UNCLAIMED
pin 333 (PK13): UNCLAIMED
pin 334 (PK14): UNCLAIMED
pin 335 (PK15): UNCLAIMED
pin 336 (PK16): UNCLAIMED
pin 337 (PK17): UNCLAIMED
pin 338 (PK18): UNCLAIMED
pin 339 (PK19): UNCLAIMED
pin 340 (PK20): UNCLAIMED
pin 341 (PK21): UNCLAIMED
pin 342 (PK22): UNCLAIMED
pin 343 (PK23): UNCLAIMED
pin 344 (PK24): UNCLAIMED
pin 345 (PK25): UNCLAIMED
root@dragonboard:~# cat /sys/kernel/debug/pinctrl/7025000.pinctrl/pinmux-pins
Pinmux settings per pin
Format: pin (name): mux_owner|gpio_owner (strict) hog?
pin 352 (PL0): device 7083000.twi function s_twi0 group PL0
pin 353 (PL1): device 7083000.twi function s_twi0 group PL1
pin 354 (PL2): UNCLAIMED
pin 355 (PL3): UNCLAIMED
pin 356 (PL4): UNCLAIMED
pin 357 (PL5): UNCLAIMED
pin 358 (PL6): UNCLAIMED
pin 359 (PL7): GPIO 7025000.pinctrl:359
pin 360 (PL8): UNCLAIMED
pin 361 (PL9): UNCLAIMED
pin 362 (PL10): UNCLAIMED
pin 363 (PL11): UNCLAIMED
pin 364 (PL12): UNCLAIMED
pin 365 (PL13): UNCLAIMED
pin 384 (PM0): GPIO 7025000.pinctrl:384
pin 385 (PM1): GPIO 7025000.pinctrl:385
pin 386 (PM2): GPIO 7025000.pinctrl:386
pin 387 (PM3): UNCLAIMED
pin 388 (PM4): UNCLAIMED
pin 389 (PM5): UNCLAIMED

#41 Re: 全志 SOC » T113S3内存实际上可能大于128MB » 2025-03-24 09:17:00

不是,因为T113-S3/S4里面SIP了几个die,完全可以采购128M/256M的DDR die,除非价格一样或倒挂才会干这种事。

ST这么干是因为他只有一个die ???

#42 Re: 全志 SOC » A733烧录Android15后不能启动 » 2025-03-16 10:18:38

手动切换 otg 为 device,为了进入adb:

find / -name usb_device |xargs cat


scrcpy 3.1 也控制不了A733:

scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  7c00161172038721ecc             device  A733_AG863109VCB
E:\downloads\scrcpy-win64-v3.1\scrcpy-server: 1 file pushed, 0 skipped. 44.3 MB/s (90640 bytes in 0.002s)
[server] INFO: Device: [Allwinner] Allwinner A733 AG863109VCB (Android 15)
[server] ERROR: Attempt to invoke virtual method 'android.view.InputDevice android.hardware.input.InputManagerGlobal.getInputDevice(int)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.InputDevice android.hardware.input.InputManagerGlobal.getInputDevice(int)' on a null object reference
        at android.view.KeyCharacterMap.load(KeyCharacterMap.java:364)
        at com.genymobile.scrcpy.control.Controller.<init>(Controller.java:86)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:115)
        at com.genymobile.scrcpy.Server.internalMain(Server.java:251)
        at com.genymobile.scrcpy.Server.main(Server.java:201)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
ERROR: Could not retrieve device information
ERROR: Server connection failed
Press Enter to continue...

#43 Re: 全志 SOC » A733烧录Android15后不能启动 » 2025-03-16 10:15:06

cd /opt/A733_Android15_GMS_Tablet_V0.99/android15/longan/

./build.sh config

重新配置之后

编译打包解决

#44 Re: 全志 SOC » A733烧录Android15后不能启动 » 2025-03-16 09:44:49

build/pack

boot_resource_list=(
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource:${LICHEE_PACK_OUT_DIR}
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource.ini:${LICHEE_PACK_OUT_DIR}
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/*.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/bootlogo.bmp:${LICHEE_PACK_OUT_DIR}/bootlogo.bmp
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/wavefile/*:${LICHEE_PACK_OUT_DIR}/boot-resource/wavefile/
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/${PACK_TYPE}/*.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource/bat/bempty.bmp:${LICHEE_PACK_OUT_DIR}/bempty.bmp
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource/bat/battery_charge.bmp:${LICHEE_PACK_OUT_DIR}/battery_charge.bmp
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/bat0.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/bat/bat0.bmp
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/battery_charge.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/bat/battery_charge.bmp
)
	LOGD "copying boot resource"
	for file in ${boot_resource_list[@]} ; do
		cp -rf $(echo $file | sed -e 's/:/ /g') 2>/dev/null
	done

#45 Re: 全志 SOC » A733烧录Android15后不能启动 » 2025-03-16 09:42:52

out/a733/ag863109vcb/pack_out/sys_partition.fex

;---------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------

;---------------------------------------------------------------------------------------------------
;                                   固件下载参数配置
;---------------------------------------------------------------------------------------------------
;***************************************************************************************************
;    mbr的大小, 以Kbyte为单位
;***************************************************************************************************
[mbr]
    size = 16384

;***************************************************************************************************
;                                              分区配置
;
;
;  partition 定义范例:
;  [partition]                  ; //表示是一个分区
;    name        = USERFS2      ; //分区名称
;    size        = 16384        ; //分区大小,单位:默认为扇区,可支持B/K/M/G容量单位
;    downloadfile= "123.fex"    ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
;    keydata     = 1            ; //私有数据分区,重新量产数据将不丢失
;    encrypt     = 1            ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
;    user_type   = ?            ; //私有用法
;    verify      = 1            ; //要求量产完成后校验是否正确
;
; 注:1、name唯一, 不允许同名
;     2、name最大12个字符
;     3、size = 0, 将创建一个无大小的空分区
;     4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
;***************************************************************************************************
[partition_start]

;------------------------------>bootloader resource
[partition]
    name         = bootloader_a
    size         = 65536
    downloadfile = "boot-resource.fex"
    user_type    = 0x8000

[partition]
    name         = bootloader_b
    size         = 65536
    user_type    = 0x8000

;------------------------------>uboot env
[partition]
    name         = env_a
    size         = 512
    downloadfile = "env.fex"
    user_type    = 0x8000

[partition]
    name         = env_b
    size         = 512
    user_type    = 0x8000

;------------------------------>boot
[partition]
    name         = boot_a
    size         = 131072
    downloadfile = "boot.fex"
    user_type    = 0x8000

[partition]
    name         = boot_b
    size         = 131072
    user_type    = 0x8000

[partition]
    name         = vendor_boot_a
    size         = 65536
    downloadfile = "vendor_boot.fex"
    user_type    = 0x8000

[partition]
    name         = vendor_boot_b
    size         = 65536
    user_type    = 0x8000

[partition]
    name         = init_boot_a
    size         = 16384
    downloadfile = "init_boot.fex"
    user_type    = 0x8000

[partition]
    name         = init_boot_b
    size         = 16384
    user_type    = 0x8000

;------------------------------>super
[partition]
    name         = super
    size         = 9437184
    downloadfile = "super.fex"
    user_type    = 0x8000

;------------------------------>misc
[partition]
    name         = misc
    size         = 32768
    downloadfile = "misc.fex"
    user_type    = 0x8000

;------------------------------>store encryptable
[partition]
    name         = vbmeta_a
    size         = 256
    downloadfile = "vbmeta.fex"
    user_type    = 0x8000

[partition]
    name         = vbmeta_b
    size         = 256
    user_type    = 0x8000

[partition]
    name         = vbmeta_system_a
    size         = 128
    downloadfile = "vbmeta_system.fex"
    user_type    = 0x8000

[partition]
    name         = vbmeta_system_b
    size         = 128
    user_type    = 0x8000

[partition]
    name         = vbmeta_vendor_a
    size         = 128
    downloadfile = "vbmeta_vendor.fex"
    user_type    = 0x8000

[partition]
    name         = vbmeta_vendor_b
    size         = 128
    user_type    = 0x8000

;------------------------------>frp + empty
[partition]
    name         = frp
    size         = 1024
    ro           = 0
    user_type    = 0x8000
    keydata      = 0x8000

[partition]
    name         = empty
    size         = 30720
    ro           = 0
    user_type    = 0x8000

;------------------------------>metadata
[partition]
    name         = metadata
    size         = 32768
    user_type    = 0x8000

;------------------------------>treadahead
[partition]
    name         = treadahead
    size         = 196608
    user_type    = 0x8000

;------------------------------>data image private
[partition]
    name         = private
    size         = 32768
    ro           = 0
    user_type    = 0x8000

;------------------------------>device tree overlay
[partition]
    name         = dtbo_a
    size         = 4096
    downloadfile = "dtbo.fex"
    user_type    = 0x8000

[partition]
    name         = dtbo_b
    size         = 4096
    user_type    = 0x8000

;------------------------------>media_data
[partition]
    name         = media_data
    size         = 32768
    user_type    = 0x8000

;------------------------------>pstore
[partition]
    name         = pstore
    size         = 65536
    user_type    = 0x8000

;------------------------------>UDISK
[partition]
    name         = UDISK
    user_type    = 0x8100

从这里看:bootloader_a 对应 "boot-resource.fex"

#46 全志 SOC » A733烧录Android15后不能启动 » 2025-03-16 09:37:42

memory
回复: 5
......


[458]HELLO! BOOT0 is starting!
[461]BOOT0 commit : {a2135868}
[467]PMU: AXP8191
[468]pmu_chip_id = 14
[471]set pll start
[473]cpul clk 0xf8802700!
[476]cpub clk 0xf8802700!
[479]dsu clk 0xf8801e00!
[483]set pll end
[484]dram return write ok
[487]board init ok
[489]rtc[3] value = 0xb00f
[491]rtc[7] value = 0x1
[494]enable_jtag
[495]Driver version 0.0.9 2024.11.20 10:19
[515]Cal words efuse addr 0x60 value 0x915a0000, addr 0x64 value 0x4f1f8496
[573]Device  up at:[574][RX, TX]: gear=[4, 4], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[582]sc st 2
[583]Read blk size 4096,capacity 31240191
[587]DRAM BOOT DRIVE INFO: V0.581
[592]DRAM_VCC set to 560 mv
[595]DRAM CLK =1800 MHZ
[597]DRAM Type =9 (8:LPDDR4,9:LPDDR5)
[744]Training result is = 7
[747]DRAM Pstate 1 training, frequency is 1200 Mhz
[924]Training result is = 7
[927]DRAM Pstate 2 training, frequency is 800 Mhz
[1271]Training result is = 7
[1273]DRAM Pstate 3 training, frequency is 400 Mhz
[1376]Training result is = 7
[1379]DRAM Pstate 0 training, frequency is 1800 Mhz
[1388]Actual DRAM SIZE =6144 M
[1391]DRAM SIZE =6144 MBytes, para1 = a10a, para2 = 18001001, dram_tpr13 = 10065
[1406]DRAM simple test OK.
[1408]dram size = 6144
[1454]Loading boot-pkg Succeed(index=0).
[1458]Entry_name        = u-boot
[1468]Entry_name        = monitor
[1471]Entry_name        = scp
[1474]error: dtb not found for scp
[1479]Jump to ATF: monitor_base = 0x48000000, uboot_base = 0x4a000000, optee_base = 0x0
NOTICE:  BL31: OP-TEE 32bit detected
NOTICE:  BL31: U-BOOT 32bit detected
NOTICE:  BL31: v2.5(debug):b08f3ffb2
NOTICE:  BL31: Built : 17:44:29, Nov 22 2024
NOTICE:  hardware check error1
BACKTRACE: START: bl31_platform_setup
0: EL3: 0x48003c9c
1: EL3: 0x4800407c
2: EL3: 0x48003f78
3: EL3: 0x480001f0
BACKTRACE: END: bl31_platform_setup
PANIC in EL3.
x30            = 0x0000000048004088
x0             = 0x0000000002500000
x1             = 0x0000000000000060
x2             = 0x0000000000000060
x3             = 0x00000000ffffffc8
x4             = 0x0000000000000034
x5             = 0x0000000000000034
x6             = 0x0000000000000004
x7             = 0x0000000000000000
x8             = 0x000000023fffffff
x9             = 0x0000000048013000
x10            = 0x0000000000000000
x11            = 0x0000000000000000
x12            = 0x0000000000000000
x13            = 0x0000000000000000
x14            = 0x0000000000000000
x15            = 0x0000000000000000
x16            = 0x0000000000000000
x17            = 0x0000000000048c00
x18            = 0x0000000000000020
x19            = 0x000000004800f4b4
x20            = 0x0000000000000000
x21            = 0x0000000000001903
x22            = 0x0000000000000000
x23            = 0x0000000000000000
x24            = 0x0000000000000000
x25            = 0x0000000000000000
x26            = 0x0000000000000000
x27            = 0x0000000000000000
x28            = 0x0000000000000000
x29            = 0x00000000480142c0
scr_el3        = 0x0000000000000238
sctlr_el3      = 0x0000000030cd183f
cptr_el3       = 0x0000000000000000
tcr_el3        = 0x000000008081351e
daif           = 0x00000000000002c0
mair_el3       = 0x00000000004404ff
spsr_el3       = 0x00000000000001cd
elr_el3        = 0x0000000000000000
ttbr0_el3      = 0x0000000048041081
esr_el3        = 0x00000000ef6cffff
far_el3        = 0x08888c7dffffffcc
spsr_el1       = 0x00000000000001cd
elr_el1        = 0x0000000000000000
spsr_abt       = 0x00000000200e3d4d
spsr_und       = 0x00000000128d3e4d
spsr_irq       = 0x0000000002073c4d
spsr_fiq       = 0x0000000002013c5d
sctlr_el1      = 0x0000000000c50838
actlr_el1      = 0x0000000000000000
cpacr_el1      = 0x0000000000000000
csselr_el1     = 0x0000000000000000
sp_el1         = 0x0000000000000000
esr_el1        = 0x00000000fffffdff
ttbr0_el1      = 0x0000c0fcf2fefff8
ttbr1_el1      = 0x0000ff5ced00c0a0
mair_el1       = 0x44e048e000098aa4
amair_el1      = 0x0000000000000000
tcr_el1        = 0x0000000000000000
tpidr_el1      = 0x807fff7ffcfffffb
tpidr_el0      = 0xff8cffff7ffffeff
tpidrro_el0    = 0xff4c18fffe66feff
par_el1        = 0xff00000048000980
mpidr_el1      = 0x0000000081000000
afsr0_el1      = 0x0000000000000000
afsr1_el1      = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1       = 0x0000000000000000
cntp_ctl_el0   = 0x0000000000000000
cntp_cval_el0  = 0xff7f7fffffff7fff
cntv_ctl_el0   = 0x0000000000000000
cntv_cval_el0  = 0xffffff3fff3f7fff
cntkctl_el1    = 0x0000000000000000
sp_el0         = 0x00000000480142c0
isr_el1        = 0x0000000000000000
cpuectlr_el1   = 0x000000002808bc00
icc_hppir0_el1 = 0x00000000000003ff
icc_hppir1_el1 = 0x00000000000003ff
icc_ctlr_el3   = 0x0000000000028400
gicd_ispendr regs (Offsets 0x200-0x278)
Offset                  Value
0x200:           0x0000000000000000
0x208:           0x0000000000000000
0x210:           0x0000000000000000
0x218:           0x0000000000000000
0x220:           0x0000000000000000
0x228:           0x0000000000000000
0x230:           0x0000000000000000
0x238:           0x0000000000000000
0x240:           0x0000000000000000
0x248:           0x0000000000000000
0x250:           0x0000000000000000
0x258:           0x0000000000000000
0x260:           0x0000000000000000
0x268:           0x0000000000000000
0x270:           0x0000000000000000
0x278:           0x0000000000000000

换了一个正常的固件,只烧BOOTLOADER_A后能正常启动:

QQ20250316-093710.png

#47 Re: 全志 SOC » 解决ubuntu24.04虚拟机vmware tools无法共享剪贴板问题 » 2025-03-15 21:31:08

发现我的Ubuntu24.04无故退出到登录界面,

打开日志看看 /var/log/syslog

Mar 15 21:20:09 ubuntu rsyslogd: [origin software="rsyslogd" swVersion="8.2112.0" x-pid="922" x-info="https://www.rsyslog.com"] exiting on signal 15.
Mar 15 21:20:09 ubuntu systemd[1]: rsyslog.service: Deactivated successfully.
Mar 15 21:20:09 ubuntu systemd[1]: Stopped System Logging Service.
Mar 15 21:20:09 ubuntu systemd[1]: Starting System Logging Service...
Mar 15 21:20:09 ubuntu rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.2112.0]
Mar 15 21:20:09 ubuntu systemd[1]: Started System Logging Service.
Mar 15 21:20:09 ubuntu rsyslogd: rsyslogd's groupid changed to 111
Mar 15 21:20:09 ubuntu rsyslogd: rsyslogd's userid changed to 104
Mar 15 21:20:09 ubuntu rsyslogd: [origin software="rsyslogd" swVersion="8.2112.0" x-pid="247145" x-info="https://www.rsyslog.com"] start
Mar 15 21:20:24 ubuntu geoclue[246080]: Service not used for 60 seconds. Shutting down..
Mar 15 21:20:24 ubuntu systemd[1]: geoclue.service: Deactivated successfully.
Mar 15 21:20:35 ubuntu systemd[246313]: Started Application launched by gnome-session-binary.
Mar 15 21:20:36 ubuntu kernel: [107318.951396] workqueue: vmballoon_work [vmw_balloon] hogged CPU for >10000us 128 times, consider switching to WQ_UNBOUND
Mar 15 21:20:38 ubuntu kernel: [107321.282685] workqueue: hub_event hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
Mar 15 21:20:35 ubuntu systemd[246313]: Started Application launched by gnome-session-binary.
Mar 15 21:20:45 ubuntu ubuntu-appindicators@ubuntu.com[246541]: unable to update icon for software-update-available
Mar 15 21:20:45 ubuntu ubuntu-appindicators@ubuntu.com[246541]: unable to update icon for livepatch
Mar 15 21:21:36 ubuntu systemd[246313]: Started Application launched by gnome-session-binary.
Mar 15 21:21:53 ubuntu kernel: [107396.174829] workqueue: blk_mq_run_work_fn hogged CPU for >10000us 256 times, consider switching to WQ_UNBOUND
Mar 15 21:21:59 ubuntu gnome-shell[246541]: libinput error: event2  - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 64ms, your system is too slow
Mar 15 21:22:29 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-329ms), your system is too slow
Mar 15 21:22:29 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-318ms), your system is too slow
Mar 15 21:22:30 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-342ms), your system is too slow
Mar 15 21:22:30 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-313ms), your system is too slow
Mar 15 21:22:30 ubuntu gnome-shell[246541]: libinput error: event2  - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 330ms, your system is too slow
Mar 15 21:22:53 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-1166ms), your system is too slow
Mar 15 21:22:55 ubuntu gnome-shell[246541]: libinput error: WARNING: log rate limit exceeded (5 msgs per 3600000ms). Discarding future messages.
Mar 15 21:24:12 ubuntu gnome-shell[246541]: libinput error: event2  - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 4001ms, your system is too slow
Mar 15 21:24:38 ubuntu systemd[1]: snapd.service: Watchdog timeout (limit 5min)!
Mar 15 21:24:40 ubuntu systemd[1]: snapd.service: Killing process 934 (snapd) with signal SIGABRT.
Mar 15 21:24:50 ubuntu snapd[934]: SIGABRT: abort
Mar 15 21:25:12 ubuntu snapd[934]: PC=0x643ab792c9a1 m=0 sigcode=0
Mar 15 21:25:22 ubuntu gnome-shell[246541]: libinput error: event3  - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 1306ms, your system is too slow
Mar 15 21:25:23 ubuntu systemd[246313]: app-gnome-org.gnome.DejaDup.Monitor-262372.scope: Consumed 24.209s CPU time.
Mar 15 21:25:28 ubuntu snapd[934]: goroutine 0 [idle]:
Mar 15 21:25:50 ubuntu kernel: [107631.332422] cc1 invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
Mar 15 21:25:50 ubuntu kernel: [107631.332430] CPU: 1 PID: 262940 Comm: cc1 Not tainted 6.8.0-51-generic #52~22.04.1-Ubuntu
Mar 15 21:25:50 ubuntu kernel: [107631.332433] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
Mar 15 21:25:50 ubuntu kernel: [107631.332435] Call Trace:
Mar 15 21:25:50 ubuntu kernel: [107631.332437]  <TASK>
Mar 15 21:25:50 ubuntu kernel: [107631.332439]  dump_stack_lvl+0x76/0xa0
Mar 15 21:25:50 ubuntu kernel: [107631.332445]  dump_stack+0x10/0x20
Mar 15 21:25:50 ubuntu kernel: [107631.332447]  dump_header+0x47/0x1f0
Mar 15 21:25:50 ubuntu kernel: [107631.332451]  oom_kill_process+0x118/0x280
Mar 15 21:25:50 ubuntu kernel: [107631.332453]  ? oom_evaluate_task+0x143/0x1e0
Mar 15 21:25:50 ubuntu kernel: [107631.332456]  out_of_memory+0x103/0x340
Mar 15 21:25:50 ubuntu kernel: [107631.332459]  __alloc_pages_may_oom+0x112/0x1e0
Mar 15 21:25:50 ubuntu kernel: [107631.332463]  __alloc_pages_slowpath.constprop.0+0x41f/0x9e0
Mar 15 21:25:50 ubuntu kernel: [107631.791543]  __alloc_pages+0x31d/0x350
Mar 15 21:25:50 ubuntu kernel: [107631.791549]  alloc_pages_mpol+0x91/0x210
Mar 15 21:25:50 ubuntu kernel: [107631.791554]  ? filemap_get_entry+0xf0/0x180
Mar 15 21:25:50 ubuntu kernel: [107631.791561]  folio_alloc+0x64/0x120
Mar 15 21:25:50 ubuntu kernel: [107631.791564]  filemap_alloc_folio+0x31/0x40

是内存不足? 打开vmware设置一看,原来只给了2G内存,一脸懵逼问号???

#48 全志 SOC » 编译A733 SDK » 2025-03-13 21:14:38

memory
回复: 4

https://ftp.gnu.org/gnu/make/make-3.81.tar.gz

gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I.  -I./glob    -g -O2 -c vpath.c
source='hash.c' object='hash.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./config/depcomp \
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I.  -I./glob    -g -O2 -c hash.c
gcc  -g -O2   -o make  ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o implicit.o job.o main.o misc.o read.o remake.o remote-stub.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o glob/libglob.a  
glob/libglob.a(glob.o): In function `glob_in_dir':
/opt/make/make-3.81/glob/glob.c:1361: undefined reference to `__alloca'
/opt/make/make-3.81/glob/glob.c:1336: undefined reference to `__alloca'
/opt/make/make-3.81/glob/glob.c:1277: undefined reference to `__alloca'
/opt/make/make-3.81/glob/glob.c:1250: undefined reference to `__alloca'
glob/libglob.a(glob.o): In function `glob':
/opt/make/make-3.81/glob/glob.c:575: undefined reference to `__alloca'
glob/libglob.a(glob.o):/opt/make/make-3.81/glob/glob.c:726: more undefined references to `__alloca' follow
collect2: error: ld returned 1 exit status
Makefile:410: recipe for target 'make' failed
make[2]: *** [make] Error 1
make[2]: Leaving directory '/opt/make/make-3.81'
Makefile:603: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/make/make-3.81'
Makefile:326: recipe for target 'all' failed
make: *** [all] Error 2

glob/glob.c

# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
#  define ELIDE_CODE
# endif
#endif

修改为:

# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
#  define ELIDE_CODE
# endif
#endif

sudo apt-get install \
libtool openssh-server samba git-core g++ make diffstat subversion gawk chrpath libsm6 libxrender1 \
gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev \
lib32z1 lib32ncurses5 x11proto-core-dev libx11-dev libreadline-gplv2-dev lib32z1-dev libelf-dev -y


另外我分区这里我发现这个ubi0_5分区剩余空间过小会造成机器重新启动,比如只有剩余空间1MB什么

#49 Re: 全志 SOC » 解决ubuntu24.04虚拟机vmware tools无法共享剪贴板问题 » 2025-03-13 15:24:01

QQ图片20250313152212.png

ubuntu右上角如果没有显示网卡,可以通过 dhclient -i ens33 命令获取ip上网

#50 Re: 全志 SOC » 客户反映melis系统有个视频显示打开错误,我把原视频拿过来播放,果然出错 » 2025-03-08 11:09:32

tem Page Pool Info............................................................................................
.       Pages number = 7dc0
.       Pages free   = 6104
rat_open: pDir=f: media_type=3 OnceCnt=0
hxf:gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535  new frame
hxf:player_phy.mode:0  1280 720
rat_open: pDir=f: media_type=3 OnceCnt=0
..lcd_height:720,lcd_width:1280 fmt.type:0 mode:0
..src_win.height:720,src_win.width:1024
..scn_win.height:720,scn_win.width:1280
..scn_win.x:0,scn_win.y:0
Open cedar module!
************************************
****                            ****
*** CEDAR-VERSION:V2.0-202210201125 ***
****                            ****
************************************
.Memory info.........................................................................................................
.   System Page Pool Info............................................................................................
.       Pages number = 7dc0
.       Pages free   = 60d4
=================
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar module access CEDAR_CMD_STOP command!
stop done!
Play file:f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4
*** AVS-DRV-VERSION:V2.0-202210201552 ***
*** VPSR-VERSION:V2.0-202210201552 ***
[YG] g_cedar_encrytp_mod:0
debug  : Cedarx <CdxParserPrepare:426>: source uri 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
debug  : Cedarx <__FileStreamCreate:500>: local file 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
fopen line 11, filename - f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4.
OSAL_CEDAR_fopen line 200,wraning.video_encrypt config information error
debug  : Cedarx <__FileStreamConnect:411>: impl->size1:253a0da

debug  : Cedarx <__FileStreamConnect:412>: impl->size2:0

debug  : Cedarx <__FileStreamConnect:417>: impl->filePath=file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4 impl->fddebug  : CdxMovParser <__CdxMovParserProbe:1275>:  --- probe: it is mov parser
debug  : Cedarx <CdxParserCreate:357>: Good, it's 'mov'
debug  : CdxMovParser <__CdxMovParserOpen:1212>: --- c->bSeekAble = 1
debug  : Cedarx <CdxParserCreate:366>: parser type(0)
debug  : Cedarx <MovTop:5763>: ---- compatible = isomiso2avc1mp41
debug  : Cedarx <MovParseTkhd:3185>: tkhd width = 640, height = 480
debug  : Cedarx <MovParseMdhd:3336>: -- language = und
debug  : Cedarx <MovParseStsd:4134>: stsd width = 640, height = 480
debug  : Cedarx <MovParseCtts:4580>: track[0].ctts.entries = 30897
debug  : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug  : Cedarx <MovParseTkhd:3185>: tkhd width = 0, height = 0
debug  : Cedarx <MovParseMdhd:3336>: -- language = und
debug  : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug  : Cedarx <MovParseStbl:4810>: ============ sbgp
debug  : CdxMovParser <__CdxMovParserInit:1155>: ***** mov open success!!
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:783>:  pMediaInfo->psr_audio_id3_info = [0]

debug  : CdxMovParser <__CdxMovParserGetMediaInfo:798>: --- codecformat = 115
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:804>: ---- frame rate = 62500, st->time_scale: 90000, st->sample_duration: 144debug  : CdxMovParser <__CdxMovParserGetMediaInfo:813>: width = 640, height = 480
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:816>: extradataSize = 43
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:845>: ********* audio 0************
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:846>: ****eCodecFormat:    4
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:847>: ****eSubCodecFormat: 0
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:848>: ****nChannelNum:     2
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:849>: ****nBitsPerSample:  16
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:850>: ****nSampleRate:     32000
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:851>: ****nAvgBitrate:     0
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:852>: ****nMaxBitRate:     0
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:853>: ****extradataSize    5
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:854>: ***************************
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:895>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0
debug  : Cedarx <CdxMovSetStream:6546>: == stss_size: 132
debug  : Cedarx <CdxMovSetStream:6633>: mvhd = 527968,
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:910>: -- mov duration = 527968
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2
parser type:4104
programNum: 1 videoNum: 1 audio Num:1 subtitle Num:0
out OpenMediaFile:687
enter PsrVideo_MIoctrl:2403 cmd:2e aux:0
enter set:0 1
Set MediaTpe=0x1
enter SetFFRRSpeed:2192,nSpeed:64
enter GetLbsFormat:764
enter PsrVideo_MIoctrl:2403 cmd:53 aux:0
*** ADEC-COMM-PLG-VERSION:V2.0-202210201552 ***
*** ADRV-VERSION:V2.0-202210201552 ***
enter SetProcMode:912 nMode:3 uParam:0
ABsInf,samplerate:32000 channels:2
*** AAC-DRV-VERSION:V2.0-202210201552 ***
VBPS:591476, cedar max limit:0
frmrate is 62500 and limite is 65100
video height:480, sel max ref:0
audio channel:2, max channel number:0
*** VDEC-COMM-PLG-VERSION:V2.0-202210201552 ***
*** VDRV-VERSION:V2.0-202210201552 ***
enter SetFFRRPicShowTime:2206,nTime:30
Decode info:4 5 0 640 480 62500 0debug  : Cedarv <vdecoder_set_video_bitstream_info:1710>: Video Stream Information:
debug  : Cedarv <vdecoder_set_video_bitstream_info:1711>:      codec          = H264
debug  : Cedarv <vdecoder_set_video_bitstream_info:1712>:      width          = 640 pixels
debug  : Cedarv <vdecoder_set_video_bitstream_info:1713>:      height         = 480 pixels
debug  : Cedarv <vdecoder_set_video_bitstream_info:1714>:      frame rate     = 62500
debug  : Cedarv <vdecoder_set_video_bitstream_info:1715>:      frame duration = 0 us
debug  : Cedarv <vdecoder_set_video_bitstream_info:1716>:      aspect ratio   = 1000
debug  : Cedarv <vdecoder_set_video_bitstream_info:1717>:      is 3D stream   = no
debug  : Cedarv <vdecoder_set_video_bitstream_info:1718>:      csd data len   = 43
debug  : Cedarv <vdecoder_set_video_bitstream_info:1719>:      container      = MOV
vdeclib frame buf = [18860032]bytes, reserved[524288]bytes
debug  : Cedarv <vdecoder_open:304>: veVersion: 0x1663
buffersize:6 MByte
debug  : Cedarv <vdecoder_open:310>: nMaxMemoryAvailable: 12568576
debug  : Cedarv <H264DecoderInit:223>: H264 VDECLIB_GIT_VERSION: b2aa05625a7db42b1141ccdf1d490311b7e052c6.
debug  : Cedarv <H264DecodePictureScanType:2698>: here3:hCtx->bProgressice=1
debug  : fbm.c <FbmCreateBuffer:144>: FbmCreate, total fbm number: 9, decoder needed: 5,   nWidth=640, nHeight=480
*** VPLY-PLG-VERSION:V2.0-202210201552 ***
*** ARDR-PLG-VERSION:V2.0-202210201552 ***
*** APLY-PLG-VERSION:V2.0-202210201552 ***
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535  new frame
player_phy.mode:1  400 40

#51 Re: 全志 SOC » 客户反映melis系统有个视频显示打开错误,我把原视频拿过来播放,果然出错 » 2025-03-08 11:08:56

MAX_SUPPORT_FRAMERATE

60100 改为 65100 搞定。

[ miscellaneous ]
DelayBeforePlay = 200
AUDIO_RUN_ONLY_BUF_SIZE = 128
AUDIO_WITH_VIDEO_BUF_SIZE = 128
AACSBR = 0
MAX_SUPPORT_HEIGHT = 1088
MAX_SUPPORT_FRAMERATE = 65100
MAX_0_TO_480_SUPPORT_NUM_REF_FRAMES = 0
MAX_480_TO_720_SUPPORT_NUM_REF_FRAMES = 0
MAX_720_TO_1080_SUPPORT_NUM_REF_FRAMES = 0
MAX_1080_TO_ALL_SUPPORT_NUM_REF_FRAMES = 0
MAX_SUPPORT_VBS_FOR_AVC = 0
MAX_SUPPORT_VBS_FOR_OTH = 0
MAX_SUPPORT_AUD_CHAN_NUM = 0
ARDR_SW_AUX_BUF = 900
AUDIO_SEAMLESS_SWITCH_CACHE = 2097152

#52 全志 SOC » 客户反映melis系统有个视频显示打开错误,我把原视频拿过来播放,果然出错 » 2025-03-08 10:57:58

memory
回复: 2
rat_open: pDir=f: media_type=3 OnceCnt=0
..lcd_height:720,lcd_width:1280 fmt.type:0 mode:0
..src_win.height:720,src_win.width:1024
..scn_win.height:720,scn_win.width:1280
..scn_win.x:0,scn_win.y:0
Open cedar module!
************************************
****                            ****
*** CEDAR-VERSION:V2.0-202210201125 ***
****                            ****
************************************
.Memory info.........................................................................................................
.   System Page Pool Info............................................................................................
.       Pages number = 7dc0
.       Pages free   = 5fd1
=================
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar module access CEDAR_CMD_STOP command!
stop done!
Play file:f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4
*** AVS-DRV-VERSION:V2.0-202210201552 ***
*** VPSR-VERSION:V2.0-202210201552 ***
[YG] g_cedar_encrytp_mod:0
debug  : Cedarx <CdxParserPrepare:426>: source uri 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
debug  : Cedarx <__FileStreamCreate:500>: local file 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
fopen line 11, filename - f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4.
OSAL_CEDAR_fopen line 200,wraning.video_encrypt config information error
debug  : Cedarx <__FileStreamConnect:411>: impl->size1:253a0da

debug  : Cedarx <__FileStreamConnect:412>: impl->size2:0

debug  : Cedarx <__FileStreamConnect:417>: impl->filePath=file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4 impl->fddebug  : CdxMovParser <__CdxMovParserProbe:1275>:  --- probe: it is mov parser
debug  : Cedarx <CdxParserCreate:357>: Good, it's 'mov'
debug  : CdxMovParser <__CdxMovParserOpen:1212>: --- c->bSeekAble = 1
debug  : Cedarx <CdxParserCreate:366>: parser type(0)
debug  : Cedarx <MovTop:5763>: ---- compatible = isomiso2avc1mp41
debug  : Cedarx <MovParseTkhd:3185>: tkhd width = 640, height = 480
debug  : Cedarx <MovParseMdhd:3336>: -- language = und
debug  : Cedarx <MovParseStsd:4134>: stsd width = 640, height = 480
debug  : Cedarx <MovParseCtts:4580>: track[0].ctts.entries = 30897
debug  : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug  : Cedarx <MovParseTkhd:3185>: tkhd width = 0, height = 0
debug  : Cedarx <MovParseMdhd:3336>: -- language = und
debug  : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug  : Cedarx <MovParseStbl:4810>: ============ sbgp
debug  : CdxMovParser <__CdxMovParserInit:1155>: ***** mov open success!!
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:783>:  pMediaInfo->psr_audio_id3_info = [0]

debug  : CdxMovParser <__CdxMovParserGetMediaInfo:798>: --- codecformat = 115
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:804>: ---- frame rate = 62500, st->time_scale: 90000, st->sample_duration: 144debug  : CdxMovParser <__CdxMovParserGetMediaInfo:813>: width = 640, height = 480
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:816>: extradataSize = 43
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:845>: ********* audio 0************
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:846>: ****eCodecFormat:    4
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:847>: ****eSubCodecFormat: 0
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:848>: ****nChannelNum:     2
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:849>: ****nBitsPerSample:  16
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:850>: ****nSampleRate:     32000
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:851>: ****nAvgBitrate:     0
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:852>: ****nMaxBitRate:     0
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:853>: ****extradataSize    5
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:854>: ***************************
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:895>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0
debug  : Cedarx <CdxMovSetStream:6546>: == stss_size: 132
debug  : Cedarx <CdxMovSetStream:6633>: mvhd = 527968,
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:910>: -- mov duration = 527968
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2
debug  : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2
parser type:4104
programNum: 1 videoNum: 1 audio Num:1 subtitle Num:0
out OpenMediaFile:687
enter PsrVideo_MIoctrl:2403 cmd:2e aux:0
enter set:0 1
Set MediaTpe=0x1
enter SetFFRRSpeed:2192,nSpeed:64
enter GetLbsFormat:764
enter PsrVideo_MIoctrl:2403 cmd:53 aux:0
*** ADEC-COMM-PLG-VERSION:V2.0-202210201552 ***
*** ADRV-VERSION:V2.0-202210201552 ***
enter SetProcMode:912 nMode:3 uParam:0
ABsInf,samplerate:32000 channels:2
*** AAC-DRV-VERSION:V2.0-202210201552 ***
VBPS:591476, cedar max limit:0
frmrate is 62500 and limite is 60100
[>_<]ERROR PLAYFILE!!![-40]enter CloseMediaFile:695
debug  : Cedarx <CdxMovClose:6208>: mov close stream = 0xc406c030
out CloseMediaFile:727
Cedar: try play media file failed!
SYN_OP_RET_CEDAR_FEEDBACK_ERR
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535  new frame
player_phy.mode:1  400 40
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535  new frame
player_phy.mode:0  191 101
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar:mclose:cedar module close complete!
.Memory info.........................................................................................................
.   System Page Pool Info............................................................................................
.       Pages number = 7dc0
.       Pages free   = 6001
rat_open: pDir=f: media_type=3 OnceCnt=0
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535  new frame
player_phy.mode:0  1280 720

#53 Re: 全志 SOC » F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢? » 2025-03-04 15:02:56

3e1a1ebc1a874867bee22c68dd9829c.jpg

实践证明,V3S也是一样的问题。
实践证明,V3S也是一样的问题。
实践证明,V3S也是一样的问题。

#54 Re: 全志 SOC » AW896A/AW896B/AW869C 等aic8800模块的驱动资料 » 2025-03-02 19:55:15

F1C100s 安装 AIC8800D80 USB aic_load_fw.ko驱动出错:

root@TinaLinux:/# insmod aic_load_fw.ko
[   66.469670] aic_bluetooth_mod_init
[   66.473733] RELEASE DATE:2024_0712_e2a932c1
[   66.478577] AICWFDBG(LOGINFO)        aicwf_prealloc_init enter
[   66.585161] AICWFDBG(LOGINFO)        pre alloc rxbuff list len: 1000
[   66.591842] AICWFDBG(LOGINFO)        aicwf_usb_probe vid:0xA69C pid:0x8D80 icl:0x0 isc:0x0 ipr:0x0
[   66.601445] AICWFDBG(LOGINFO)        aicloadfw_chipmatch USE AIC8800D80
[   66.608302] Aic high speed USB device detected
[   66.615508] chip_id=7, chip_mcu_id = 0
[   66.619773] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fw_patch_table_8800d80_u02.bin
[   66.636235] file md5:2a860bc9f2ec72ed45ed20c464ec66ba
[   66.641964] ### Upload fw_patch_table_8800d80_u02.bin fw_patch_table, size=1240
[   66.652703] addr_adid 0x201940, addr_patch 0x1e0000
[   66.658156] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fw_adid_8800d80_u02.bin
[   66.672282] file md5:f546881a81b960d89a672578eb45a809
[   66.678141] ### Upload fw_adid_8800d80_u02.bin firmware, @ = 201940  size=1708
[   66.688323] fw download complete
[   66.688323]
[   66.693744] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fw_patch_8800d80_u02.bin
[   66.744028] file md5:6ef0dc3eb798477555461169a77ed4f8
[   66.749759] ### Upload fw_patch_8800d80_u02.bin firmware, @ = 1e0000  size=31044
[   66.772886] fw download complete
[   66.772886]
[   66.794956] aicbt_patch_table_load bt btmode[4]:5
[   66.800397] aicbt_patch_table_load bt uart_baud[4]:1500000
[   66.806824] aicbt_patch_table_load bt uart_flowctrl[4]:1
[   66.812977] aicbt_patch_table_load bt lpm_enable[4]:0
[   66.818772] aicbt_patch_table_load bt tx_pwr[4]:28463
[   66.839865] patch version - Nov 18 2024 16:37:52 - git 1a301b6
[   66.847191] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fmacfw_8800d80_u02.bin
[   67.269298] file md5:7de19f9eeee36c4d48f0a060caf433d3
[   67.275171] ### Upload fmacfw_8800d80_u02.bin firmware, @ = 120000  size=350820
[   67.432097] fw download complete
[   67.432097]
[   67.437528] AICWFDBG(LOGERROR)       Read FW mem: 00120198
[   67.445549] AICWFDBG(LOGERROR)       120198=175504
[   67.450696] AICWFDBG(LOGERROR)       1201a0=176000
[   67.456905] AICWFDBG(LOGINFO)        rd_version_val=06090101
[   67.463825] AICWFDBG(LOGINFO)        1201a4=17ed7c
[   67.471273] Unable to handle kernel NULL pointer dereference at virtual address 00000c04
[   67.480438] pgd = c33a0000
[   67.483505] [00000c04] *pgd=833d2831, *pte=00000000, *ppte=00000000
[   67.490565] Internal error: Oops: 817 [#1] ARM
[   67.495493] Modules linked in: aic_load_fw(+) snd_pcm_oss snd_mixer_oss snd_seq_device
[   67.504312] CPU: 0 PID: 152 Comm: insmod Not tainted 3.10.65 #155
[   67.511076] task: c32eb340 ti: c33e2000 task.ti: c33e2000
[   67.517172] PC is at aicwf_usb_probe+0x9bc/0xb58 [aic_load_fw]
[   67.523647] LR is at 0x1
[   67.526465] pc : [<bf01a508>]    lr : [<00000001>]    psr: 60000013
[   67.526465] sp : c33e3cb0  ip : c06a3030  fp : c33e3d04
[   67.539195] r10: c32e1bec  r9 : 00000000  r8 : c32e1084
[   67.544990] r7 : c2406100  r6 : 0020b43c  r5 : 00000000  r4 : 00000001
[   67.552227] r3 : 00000001  r2 : bf020260  r1 : 00000001  r0 : 00000000
[   67.559467] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   67.567382] Control: 0005317f  Table: 833a0000  DAC: 00000015
[   67.573750]
[   67.573750] SP: 0xc33e3c30:
[   67.578484] 3c30  c32e1000 c483d000 c33e3c9c c33e3c48 bf01c454 bf01bbac bf01a508 60000013
[   67.587598] 3c50  ffffffff c33e3c9c c33e3d04 c33e3c68 c000f4b8 c000a1a0 00000000 00000001
[   67.596710] 3c70  bf020260 00000001 00000001 00000000 0020b43c c2406100 c32e1084 00000000
[   67.605819] 3c90  c32e1bec c33e3d04 c06a3030 c33e3cb0 00000001 bf01a508 60000013 ffffffff
[   67.614930] 3cb0  00000000 00000000 00000000 c33e3cc8 c3162080 c33e0600 c32fe468 bf020260
[   67.624037] 3cd0  c03bb908 c03bc64c c311c800 c33e0620 c32fe468 bf01fea0 c32fe400 bf01fe2c
[   67.633150] 3cf0  00000000 c33e0600 c33e3d34 c33e3d08 c021f994 bf019b5c c021f820 c33e0620
[   67.642260] 3d10  c05f77a4 00000000 bf01fe2c 00000002 00000001 c337cfe4 c33e3d5c c33e3d38
[   67.651373]
[   67.651373] IP: 0xc06a2fb0:
[   67.656108] 2fb0  9c01665d 7b044d95 2be21d25 4e40075d 4e3168b0 259f674e 0596723e 434d677c
[   67.665216] 2fd0  651c2102 1d7f601c 015e84f0 056c6ce5 5c70005d 41ad2200 d0184df8 6c221b4c
[   67.674327] 2ff0  20046edf 121c5c21 223031c1 1a00878f c30007e0 00000042 c0671000 00000000
[   67.683437] 3010  c3191100 00000043 c0674220 00000000 c33bcba0 00006390 c0678780 00000000
[   67.692544] 3030  c2406880 00006228 c06590c0 c0677f80 c3300ba0 000007aa c0677000 c06743e0
[   67.701653] 3050  c33f0480 00000405 c0678e00 00000000 c33a4600 00000b41 c0678480 c06742a0
[   67.710765] 3070  c3220a00 00000741 c0675400 00000000 c33e0e00 00000c7f c0678c00 c06781e0
[   67.719875] 3090  c32fec00 000007f1 c0676fc0 00000000 c2ba0000 000005b4 c0668400 00000000
[   67.728985]
[   67.728985] FP: 0xc33e3c84:
[   67.733718] 3c84  c2406100 c32e1084 00000000 c32e1bec c33e3d04 c06a3030 c33e3cb0 00000001
[   67.742827] 3ca4  bf01a508 60000013 ffffffff 00000000 00000000 00000000 c33e3cc8 c3162080
[   67.751937] 3cc4  c33e0600 c32fe468 bf020260 c03bb908 c03bc64c c311c800 c33e0620 c32fe468
[   67.761047] 3ce4  bf01fea0 c32fe400 bf01fe2c 00000000 c33e0600 c33e3d34 c33e3d08 c021f994
[   67.770160] 3d04  bf019b5c c021f820 c33e0620 c05f77a4 00000000 bf01fe2c 00000002 00000001
[   67.779267] 3d24  c337cfe4 c33e3d5c c33e3d38 c01e4a28 c021f830 c33e0620 c33e0654 bf01fe2c
[   67.788380] 3d44  00000000 00000000 00000001 c33e3d7c c33e3d60 c01e4b7c c01e48f4 00000000
[   67.797488] 3d64  bf01fe2c c01e4b28 00000000 c33e3da4 c33e3d80 c01e3078 c01e4b38 c307670c
[   67.806604]
[   67.806604] R7: 0xc2406080:
[   67.811337] 6080  00000003 00000000 c308b900 c33bc620 c3160450 00000000 00000000 00000000
[   67.820443] 60a0  00000000 57834f41 c3300c00 00000000 c2406050 41ed0001 00001765 00000000
[   67.829551] 60c0  00000001 00000000 c31aa900 c33bc660 c33e6c90 00000000 00000000 00000000
[   67.838659] 60e0  00000000 3ccb37e1 c2406080 00000000 00000000 a1ff0008 00001767 00000000
[   67.847764] 6100  c32e1000 c32fe468 bf01fce4 00000001 c319b800 00000000 c2a17f00 c2a17f00
[   67.856873] 6120  00000000 c3713f08 c3713f08 c32ebb80 c3082dc0 00000000 00000000 00000000
[   67.865983] 6140  c4837000 c483b000 00000004 c33a7ecd c240624c c337cc4c c2406258 c337cc58
[   67.875093] 6160  00081b1c 0000f4d4 c33bc680 0000f4d8 00078902 0000f4f0 0008df1c 0000f524
[   67.884200]
[   67.884200] R8: 0xc32e1004:
[   67.888933] 1004  00000207 00000000 00000008 c32e1000 c32e1014 c32e1014 bf01b5dc 00000000
[   67.898042] 1024  bf01b370 bf01b2b0 bf01b1f4 00000000 00000000 00000000 00000000 00000000
[   67.907149] 1044  c2406100 c32fe400 c32fe468 c33a49c0 00000001 c322291c c322289c c32e1060
[   67.916260] 1064  c32e1060 00000000 00000000 c32e1070 c32e1070 bf019174 c32e107c c32e107c
[   67.925370] 1084  c32e10ac c32e19f4 c32e108c c32e108c c0010280 c0008200 00000000 00000000
[   67.934482] 10a4  00000064 00000000 c32e10c4 c32e1084 c32e1000 c3222980 00000000 00000000
[   67.943587] 10c4  c32e10dc c32e10ac c32e1000 c3222180 00000000 00000000 c32e10f4 c32e10c4
[   67.952698] 10e4  c32e1000 c3222200 00000000 00000000 c32e110c c32e10dc c32e1000 c3222e80
[   67.961811]
[   67.961811] R10: 0xc32e1b6c:
[   67.966642] 1b6c  c33a4480 00000000 c32e1b74 c32e1b74 c32e1000 c3222080 c33a43c0 00000000
[   67.975753] 1b8c  c32e1b8c c32e1b8c c32e1000 c3222000 c33a4300 00000000 c32e1ba4 c32e1ba4
[   67.984862] 1bac  c32e1000 c3222100 c33a4180 00000000 c32e1bbc c32e1bbc c32e1000 c3222880
[   67.993971] 1bcc  c33a46c0 00000000 c32e1bd4 c32e1bd4 c32e1000 c3222900 c3195a80 00000000
[   68.003079] 1bec  00000001 c32e1bf0 c32e1bf0 00000000 c33f0400 00000004 06090101 00000000
[   68.012184] 1c0c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.021287] 1c2c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.030392] 1c4c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.039510] Process insmod (pid: 152, stack limit = 0xc33e21b8)
[   68.046074] Stack: (0xc33e3cb0 to 0xc33e4000)
[   68.051385] 3ca0:                                     00000000 00000000 00000000 c33e3cc8
[   68.060661] 3cc0: c3162080 c33e0600 c32fe468 bf020260 c03bb908 c03bc64c c311c800 c33e0620
[   68.069873] 3ce0: c32fe468 bf01fea0 c32fe400 bf01fe2c 00000000 c33e0600 c33e3d34 c33e3d08
[   68.079024] 3d00: c021f994 bf019b5c c021f820 c33e0620 c05f77a4 00000000 bf01fe2c 00000002
[   68.088190] 3d20: 00000001 c337cfe4 c33e3d5c c33e3d38 c01e4a28 c021f830 c33e0620 c33e0654
[   68.097419] 3d40: bf01fe2c 00000000 00000000 00000001 c33e3d7c c33e3d60 c01e4b7c c01e48f4
[   68.106579] 3d60: 00000000 bf01fe2c c01e4b28 00000000 c33e3da4 c33e3d80 c01e3078 c01e4b38
[   68.115737] 3d80: c307670c c3300990 c3300c34 bf01fe2c c3300c00 c05cec00 c33e3db4 c33e3da8
[   68.124880] 3da0: c01e44d8 c01e3000 c33e3de4 c33e3db8 c01e4108 c01e44c8 bf01efea bf01ffd0
[   68.134038] 3dc0: c33e3de4 bf01fe2c bf01fe2c c05cec00 bf01ffd0 00000000 c33e3e0c c33e3de8
[   68.143176] 3de0: c01e512c c01e3fd0 bf01fdfc bf01fe2c c05cec00 bf01ffd0 00000000 00000001
[   68.152334] 3e00: c33e3e34 c33e3e10 c021f05c c01e5094 c33e2000 bf023000 c05e1d80 bf020018
[   68.161419] 3e20: 00000000 00000001 c33e3e44 c33e3e38 bf01a6c0 c021f000 c33e3e54 c33e3e48
[   68.170568] 3e40: bf02302c bf01a6b4 c33e3e94 c33e3e58 c000a4d4 bf023010 c33e3e84 bf01ffd0
[   68.179698] 3e60: c33e3f48 00000001 bf020018 bf01ffd0 c33e3f48 00000001 bf020018 c337cfc0
[   68.188849] 3e80: 00000001 c337cfe4 c33e3f44 c33e3e98 c0054e5c c000a3c8 bf01ffdc 00007fff
[   68.197982] 3ea0: c0051fc8 00000000 c33e3ecc b6f5dab0 bf020110 c483565c c00529c0 00000028
[   68.207137] 3ec0: c33e2000 bf01ffdc c008ada8 c008a4e0 ff000000 000000d2 c0055498 bf01da28
[   68.216283] 3ee0: 0000000c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.225419] 3f00: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 00fa1010
[   68.234568] 3f20: b6f5dab0 0000f6ac 00000080 c000fa28 c33e2000 00000000 c33e3fa4 c33e3f48
[   68.243699] 3f40: c0055518 c0053a1c c4826000 0000f6ac c483524c c4835150 c4831944 000092d4
[   68.252848] 3f60: 0000a194 00000000 00000000 00000000 0000001a 0000001b 00000013 00000000
[   68.261929] 3f80: 0000000c 00000000 00000000 00000000 00000000 00000003 00000000 c33e3fa8
[   68.271080] 3fa0: c000f8a0 c0055458 00000000 00000000 00fa1010 0000f6ac b6f5dab0 00001f08
[   68.280211] 3fc0: 00000000 00000000 00000003 00000080 0000f6ac 00000000 00000020 00000000
[   68.289363] 3fe0: be933c4c be933c30 00011ae8 b6fb04cc 60000010 00fa1010 00000000 00000000
[   68.298464] Backtrace:
[   68.301367] [<bf019b4c>] (aicwf_usb_probe+0x0/0xb58 [aic_load_fw]) from [<c021f994>] (usb_probe_interface+0x174/0x1a4)
[   68.313340] [<c021f820>] (usb_probe_interface+0x0/0x1a4) from [<c01e4a28>] (driver_probe_device+0x144/0x1f8)
[   68.324337] [<c01e48e4>] (driver_probe_device+0x0/0x1f8) from [<c01e4b7c>] (__driver_attach+0x54/0x94)
[   68.334716]  r9:00000001 r8:00000000 r7:00000000 r6:bf01fe2c r5:c33e0654
r4:c33e0620
[   68.343529] [<c01e4b28>] (__driver_attach+0x0/0x94) from [<c01e3078>] (bus_for_each_dev+0x88/0x98)
[   68.353530]  r7:00000000 r6:c01e4b28 r5:bf01fe2c r4:00000000
[   68.359869] [<c01e2ff0>] (bus_for_each_dev+0x0/0x98) from [<c01e44d8>] (driver_attach+0x20/0x28)
[   68.369678]  r6:c05cec00 r5:c3300c00 r4:bf01fe2c
[   68.374900] [<c01e44b8>] (driver_attach+0x0/0x28) from [<c01e4108>] (bus_add_driver+0x148/0x220)
[   68.384741] [<c01e3fc0>] (bus_add_driver+0x0/0x220) from [<c01e512c>] (driver_register+0xa8/0x124)
[   68.394720]  r8:00000000 r7:bf01ffd0 r6:c05cec00 r5:bf01fe2c r4:bf01fe2c
[   68.402229] [<c01e5084>] (driver_register+0x0/0x124) from [<c021f05c>] (usb_register_driver+0x6c/0x118)
[   68.412692]  r9:00000001 r8:00000000 r7:bf01ffd0 r6:c05cec00 r5:bf01fe2c
r4:bf01fdfc
[   68.421549] [<c021eff0>] (usb_register_driver+0x0/0x118) from [<bf01a6c0>] (aicwf_usb_register+0x1c/0x50 [aic_load_fw])
[   68.433643]  r9:00000001 r8:00000000 r7:bf020018 r6:c05e1d80 r5:bf023000
r4:c33e2000
[   68.442572] [<bf01a6a4>] (aicwf_usb_register+0x0/0x50 [aic_load_fw]) from [<bf02302c>] (aic_bluetooth_mod_init+0x2c/0x44 [aic_load_fw])
[   68.456249] [<bf023000>] (aic_bluetooth_mod_init+0x0/0x44 [aic_load_fw]) from [<c000a4d4>] (do_one_initcall+0x11c/0x148)
[   68.468426] [<c000a3b8>] (do_one_initcall+0x0/0x148) from [<c0054e5c>] (load_module+0x1450/0x1a3c)
[   68.478439] [<c0053a0c>] (load_module+0x0/0x1a3c) from [<c0055518>] (SyS_init_module+0xd0/0xd4)
[   68.488190] [<c0055448>] (SyS_init_module+0x0/0xd4) from [<c000f8a0>] (ret_fast_syscall+0x0/0x2c)
[   68.498072]  r6:00000003 r5:00000000 r4:00000000
[   68.503374] Code: e2505000 1affff43 e3a03001 e51b2038 (e5c43c03)
[   68.510141] ---[ end trace aec3e9bd3f9d8f80 ]---
Segmentation fault
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#

#55 Re: 全志 SOC » F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢? » 2025-03-01 11:56:20

直接按reset按键,FLASH没有退出4-BYTES模式,导致BROM读不到FLASH DEVICE ID,所以进入了FEL也不能烧录。

据说全志新芯片BROM开机加了 FLASH rst 软复位命令,已经解决了这个问题,用T113-S3/H133的朋友们可以试一试。

#56 Re: 全志 SOC » F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢? » 2025-03-01 11:51:06

4BYTES模式不退出,不支持RDSFDP,RES,REMS这三个命令,后面三个命令是读device id的。

f0aa1a41fda2eea4c2703b0601489f4.png

4BYTES模式不退出,不支持RDSFDP,RES,REMS这三个命令,后面三个命令是读device id的。

#58 Re: 全志 SOC » F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢? » 2025-03-01 11:37:25

跟踪代码lichee/linux-3.10/drivers/mtd/devices/m25p80.c,发现 > 16M 地址,MX和Winbond就进入了4Bytes地址模式

/*
 * Enable/disable 4-byte addressing mode.
 */
static inline int set_4byte(struct m25p *flash, u32 jedec_id, int enable)
{
	printk("jedec_id=%x,JEDEC_MFR(jedec_id)=%x,CFI_MFR_MACRONIX=%x\n", jedec_id, JEDEC_MFR(jedec_id), CFI_MFR_MACRONIX);
	switch (JEDEC_MFR(jedec_id)) {
	case CFI_MFR_MACRONIX:
	case 0xEF /* winbond */:
		if(enable) {
			printk("mx enter 4bytes mode\n");
		} else {
			printk("mx exit 4bytes mode\n");
		}
		flash->command[0] = enable ? OPCODE_EN4B : OPCODE_EX4B;
		return spi_write(flash->spi, flash->command, 1);
	default:
		/* Spansion style */
		flash->command[0] = OPCODE_BRWR;
		flash->command[1] = enable << 7;
		return spi_write(flash->spi, flash->command, 2);
	}
}
static int m25p_probe(struct spi_device *spi)
{
....
	if (info->addr_width)
		flash->addr_width = info->addr_width;
	else {
		/* enable 4-byte addressing if the device exceeds 16MiB */
		if (flash->mtd.size > 0x1000000) {
			flash->addr_width = 4;
			set_4byte(flash, info->jedec_id, 1);
		} else
			flash->addr_width = 3;
	}
....
}
static void m25p_shutdown(struct spi_device *spi)
{
	struct m25p *flash = dev_get_drvdata(&spi->dev);
	pr_info("m25p: spinor shutdown\n");

	if (flash->addr_width == 4) {
		const struct spi_device_id  *id = spi_get_device_id(spi);
		struct flash_info *info = (void *)id->driver_data;

		if (info->jedec_id) {
			const struct spi_device_id *jid;

			jid = jedec_probe(spi);
			if (IS_ERR(jid)) {
				pr_debug("IS_ERR(jid)\n");
				return;
			} else if (jid != id) {
				id = jid;
				info = (void *)id->driver_data;
			}
		}
		set_4byte(flash, info->jedec_id, 0);
	}
}

#59 Re: 全志 SOC » F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢? » 2025-03-01 11:34:11

reboot命令都可以重启,按reset按键都不能重启(直接进入FEL烧录状态),MX25L256,W25Q256都一样的现象。

MX25L128 reboot命令和reset按键都能正常重启。

#60 全志 SOC » F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢? » 2025-03-01 09:11:58

memory
回复: 6

F1C200s MX25L256、W25Q256按复位键系统不启动,可能是因为FLASH指针指向了后面那16M区域,这个问题怎么解决呢?

#61 Re: 全志 SOC » AW896A/AW896B/AW869C 等aic8800模块的驱动资料 » 2025-02-28 12:08:08

Ubuntu18.04 可以编译并安装ko成功,

sudo modprobe aic_load_fw && sleep 2 && sudo modprobe aic8800_fdrv && sleep 2 && sudo modprobe aic_btusb

sudo rmmod aic_btusb && sudo rmmod aic8800_fdrv && sudo rmmod aic_load_fw

蓝牙wifi均OK

#63 Re: 全志 SOC » f1c200s 可以驱动lvds的屏吗 » 2025-02-28 09:19:58

这种简单的asic芯片为了成本根本就没考虑可编程,就是一个简单的时序转换而已。

#65 Re: 全志 SOC » T113I ubuntu下 裸机开发 » 2025-02-23 19:16:27

uboot就是裸机了,主线的uboot或者全志官方的uboot都行。

#66 Re: 全志 SOC » T113开发板RTL8723DS btstack测试 » 2025-02-22 20:30:00

旧版本btstack克隆代码:

git clone https://github.com/bluekitchen/btstack && (cd btstack && git checkout 3c07636cece7e6169032e080b1d76e9475bb59d7)

需要修改的代码:

port/posix-h5$ git diff .
diff --git a/port/posix-h5/Makefile b/port/posix-h5/Makefile
index 30cef9888..cd3e2cf5b 100644
--- a/port/posix-h5/Makefile
+++ b/port/posix-h5/Makefile
@@ -29,7 +29,7 @@ include ${BTSTACK_ROOT}/example/Makefile.inc
 # fetch and convert TI init scripts
 include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
 
-CFLAGS  += -g -Wall -Werror \
+CFLAGS  += -g -Wall -Wall \
        -I$(BTSTACK_ROOT)/platform/embedded \
        -I$(BTSTACK_ROOT)/platform/posix \
        -I$(BTSTACK_ROOT)/chipset/cc256x \
diff --git a/port/posix-h5/main.c b/port/posix-h5/main.c
index 9bfe63f63..cd64d7132 100644
--- a/port/posix-h5/main.c
+++ b/port/posix-h5/main.c
@@ -86,7 +86,7 @@ static bool shutdown_triggered;
 
 static hci_transport_config_uart_t config = {
     HCI_TRANSPORT_CONFIG_UART,
-    115200,
+    1500000,
     0,  // main baudrate
     1,  // flow control
     NULL,

编译指令:

$cd port/posix-h5
$STAGING_DIR=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/out/t113_s4/sw113_uart4_pb2_pb3/openwrt/staging_dir CC=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc make -j32

运行:

root@TinaLinux:/#
root@TinaLinux:/# /tmp/gatt_counter -u /dev/ttyAS1
Packet Log: /tmp/hci_dump.pklg
H5 device: /dev/ttyAS1
BTstack counter 0001
Local version information:
- HCI Version  0x0007
- HCI Revision 0xbab7
- LMP Version  0x0007
- LMP Revision 0x6f72
- Manufacturer 0x005d
Unknown manufacturer / manufacturer not supported yet.
Local name: RTK_BT_4.1
BTstack up and running on 00:BF:AF:61:1A:09.

连手机测试 gatt_counter :
a9a2906909a713604ad90432e7aacf4.jpg

#67 Re: 全志 SOC » T113开发板RTL8723DS btstack测试 » 2025-02-22 20:28:46

旧版本btstack克隆代码:

git clone https://github.com/bluekitchen/btstack && (cd btstack && git checkout 62abb699839330d8f329e6c9ff2d317460d5555a)

需要修改的代码:

$ git diff port/posix-h5
diff --git a/port/posix-h5/Makefile b/port/posix-h5/Makefile
index 24d30a97..1470a5d6 100644
--- a/port/posix-h5/Makefile
+++ b/port/posix-h5/Makefile
@@ -26,7 +26,7 @@ include ${BTSTACK_ROOT}/example/Makefile.inc
 # fetch and convert TI init scripts
 include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
 
-CFLAGS  += -g -Wall -Werror \
+CFLAGS  += -g -Wall  \
        -I$(BTSTACK_ROOT)/platform/embedded \
        -I$(BTSTACK_ROOT)/platform/posix \
        -I$(BTSTACK_ROOT)/chipset/cc256x \
diff --git a/port/posix-h5/main.c b/port/posix-h5/main.c
index 527846fd..c653ea7b 100644
--- a/port/posix-h5/main.c
+++ b/port/posix-h5/main.c
@@ -73,7 +73,7 @@ int btstack_main(int argc, const char * argv[]);
 
 static hci_transport_config_uart_t config = {
     HCI_TRANSPORT_CONFIG_UART,
-    115200,
+    1500000,
     0,  // main baudrate
     1,  // flow control
     NULL,
@@ -184,13 +184,14 @@ int main(int argc, const char * argv[]){
     // use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
     const char * pklg_path = "/tmp/hci_dump.pklg";
     hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
+//     hci_dump_open(NULL, HCI_DUMP_STDOUT);
     printf("Packet Log: %s\n", pklg_path);
 
     // pick serial port
     // config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT
     // config.device_name = "/dev/tty.usbserial-A50285BI"; // BOOST-CC2564MODA New
     // config.device_name = "/dev/tty.usbserial-A9OVNX5P"; // RedBear IoT pHAT breakout board
-    config.device_name = "/dev/tty.usbserial-A900K0VK"; // CSR8811 breakout board
+    config.device_name = "/dev/ttyAS1"; // CSR8811 breakout board
 
     // init HCI
     const btstack_uart_block_t * uart_driver = btstack_uart_block_posix_instance();
@@ -200,7 +201,7 @@ int main(int argc, const char * argv[]){
     hci_set_link_key_db(link_key_db);
 
     // enable BCSP mode for CSR chipsets - auto detect might not work
-    // hci_transport_h5_enable_bcsp_mode();
+    hci_transport_h5_enable_bcsp_mode();
 
     // set BD_ADDR for CSR without Flash/unique address
     // bd_addr_t own_address = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66};

旧版本btstack编译指令:

$cd port/posix-h5
$
$
$STAGING_DIR=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/out/t113_s4/sw113_uart4_pb2_pb3/openwrt/staging_dir CC=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc make -j32

日志:

$ STAGING_DIR=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/out/t113_s4/sw113_uart4_pb2_pb3/openwrt/staging_dir CC=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc make -j32
Extracting cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
Extracting cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir   -c -o main.o main.c
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/att_delayed_read_response.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o att_delayed_read_response
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o avdtp_util.o avdtp.o avdtp_initiator.o avdtp_acceptor.o avdtp_source.o avdtp_sink.o a2dp_source.o a2dp_sink.o btstack_ring_buffer.o avrcp.o avrcp_controller.o ../../example/a2dp_sink_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o a2dp_sink_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o avdtp_util.o avdtp.o avdtp_initiator.o avdtp_acceptor.o avdtp_source.o avdtp_sink.o a2dp_source.o a2dp_sink.o btstack_ring_buffer.o ../../3rd-party/hxcmod-player/hxcmod.o ../../3rd-party/hxcmod-player/mods/nao-deceased_by_disease.o avrcp.o avrcp_target.o ../../example/a2dp_source_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o a2dp_source_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o gatt_client.o sm.o ../../src/ble/ancs_client.c ../../example/ancs_client_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o ancs_client_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/dut_mode_classic.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o dut_mode_classic
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/gap_dedicated_bonding.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_dedicated_bonding
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/gap_inquiry.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_inquiry
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o sm.o ../../example/gap_le_advertisements.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_le_advertisements
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/gap_link_keys.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_link_keys
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o att_db.o att_server.o sm.o ../../example/gatt_battery_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gatt_battery_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o att_db.o att_server.o sm.o ../../example/gatt_browser.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gatt_browser
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o sm.o ../../example/gatt_heart_rate_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gatt_heart_rate_client
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hfp.o hfp_gsm_model.o hfp_ag.o ../../example/hfp_ag_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hfp_ag_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hfp.o hfp_hf.o ../../example/hfp_hf_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hfp_hf_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o btstack_hid_parser.o hid_host_demo.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hid_host_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o btstack_ring_buffer.o hid_device.o hid_keyboard_demo.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hid_keyboard_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o btstack_ring_buffer.o hid_device.o hid_mouse_demo.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hid_mouse_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o battery_service_server.o device_information_service_server.o hids_device.o btstack_ring_buffer.o ../../example/hog_keyboard_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hog_keyboard_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o battery_service_server.o device_information_service_server.o hids_device.o ../../example/hog_mouse_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hog_mouse_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hsp_ag.o ../../example/hsp_ag_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hsp_ag_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hsp_hs.o ../../example/hsp_hs_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hsp_hs_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o battery_service_server.o ../../example/le_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o sm.o ../../example/le_data_channel_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_data_channel_client
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/le_data_channel_server.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_data_channel_server
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/le_streamer.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_streamer
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o sm.o ../../example/le_streamer_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_streamer_client
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o ../../example/led_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o led_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../src/classic/obex_iterator.c ../../src/classic/goep_client.c ../../src/classic/pbap_client.c ../../example/pbap_client_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o pbap_client_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../example/sdp_bnep_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sdp_bnep_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../example/sdp_general_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sdp_general_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o pan.o sdp_client.o sdp_client_rfcomm.o ../../example/sdp_rfcomm_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sdp_rfcomm_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o sm_pairing_central.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sm_pairing_central
../../example/att_delayed_read_response.c:119:13: warning: 'att_invalidate_value' defined but not used [-Wunused-function]
 static void att_invalidate_value(struct btstack_timer_source *ts){
             ^~~~~~~~~~~~~~~~~~~~
../../example/att_delayed_read_response.c:73:25: warning: 'con_handle' defined but not used [-Wunused-variable]
 static hci_con_handle_t con_handle;
                         ^~~~~~~~~~
../../example/att_delayed_read_response.c:72:31: warning: 'att_timer' defined but not used [-Wunused-variable]
 static btstack_timer_source_t att_timer;
                               ^~~~~~~~~
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/sm_pairing_peripheral.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sm_pairing_peripheral
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o att_dispatch.o att_db.o att_server.o sm.o ../../example/spp_and_le_counter.c  -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_and_le_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o att_dispatch.o att_db.o att_server.o sm.o ../../example/spp_and_le_streamer.c  -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_and_le_streamer
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/spp_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../example/spp_streamer.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_streamer
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/spp_streamer_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_streamer_client

#68 全志 SOC » T113开发板RTL8723DS btstack测试 » 2025-02-22 20:02:00

memory
回复: 2

小智的T113-S4开发板

首先运行命令初始化RTL8723DS,初始化之后就干掉rtk_hciattach :

(killall -q rtk_hciattach ; killall -q dbus-daemon ; killall -q bluetoothd) || true \
sleep 1 && \
echo 0 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
echo 1 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
(rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 2 && \
(killall -q rtk_hciattach)

直接运行 btstack 的 le_counter demo:

root@TinaLinux:/# (killall -q rtk_hciattach ; killall -q dbus-daemon ; killall -
q bluetoothd) || true \
> sleep 1 && \
> echo 0 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
> echo 1 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
> (rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 2 && \
> (killall -q rtk_hciattach)
[  806.614463] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
[  806.620778] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[  807.636635] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[  807.652968] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5
Realtek Bluetooth :Realtek hciattach version 3.1

Realtek Bluetooth :Use epoll
Realtek Bluetooth :[SYNC] Get SYNC Resp Pkt
Realtek Bluetooth :[CONFIG] Get SYNC pkt
Realtek Bluetooth :[CONFIG] Get CONFG pkt
Realtek Bluetooth :[CONFIG] Get CONFG resp pkt
Realtek Bluetooth :dic is 1, cfg field 0x14
Realtek Bluetooth :H5 init finished

Realtek Bluetooth :Realtek H5 IC
Realtek Bluetooth :Receive cmd complete event of command: 1001
Realtek Bluetooth :HCI Version 0x08
Realtek Bluetooth :HCI Revision 0x000d
Realtek Bluetooth :LMP Subversion 0x8723
Realtek Bluetooth :Receive cmd complete event of command: fc6d
Realtek Bluetooth :Read ROM version 02
Realtek Bluetooth :LMP Subversion 0x8723
Realtek Bluetooth :EVersion 2
Realtek Bluetooth :IC: RTL8723DS
Realtek Bluetooth :Firmware/config: rtl8723d_fw, rtl8723d_config
Realtek Bluetooth :Couldnt open extra config /opt/rtk_btconfig.txt, No such file or directory
Realtek Bluetooth :Couldnt access customer BT MAC file /opt/bdaddr
Realtek Bluetooth :Origin cfg len 41
Realtek Bluetooth :55 ab 23 87 23 00 0c 00 10 02 80 92 04 50 c5 ea
Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
Realtek Bluetooth :08 8d 00 01 fa 8f 00 01 bf
Realtek Bluetooth :Config baudrate: 04928002
Realtek Bluetooth :uart flow ctrl: 1
Realtek Bluetooth :Vendor baud from Config file: 04928002
Realtek Bluetooth :New cfg len 41
Realtek Bluetooth :55 ab 23 87 23 00 0c 00 10 02 80 92 04 50 c5 ea
Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
Realtek Bluetooth :08 8d 00 01 fa 8f 00 01 bf
Realtek Bluetooth :Load FW /lib/firmware/rtlbt/rtl8723d_fw OK, size 58800
Realtek Bluetooth :rtb_get_fw_project_id: opcode 0, len 1, data 9
Realtek Bluetooth :FW version 0xbab76f72, Patch num 3
Realtek Bluetooth :Chip id 0x0001
Realtek Bluetooth :Chip id 0x0002
Realtek Bluetooth :Chip id 0x0003
Realtek Bluetooth :Patch length 0x9be8
Realtek Bluetooth :Start offset 0x00004980
Realtek Bluetooth :Svn version: 316555887
Realtek Bluetooth :Coexistence: BTCOEX_20210106-3b3b

Realtek Bluetooth :FW  exists, Config file  exists
Realtek Bluetooth :Total len 39953 for fwc
Realtek Bluetooth :baudrate in change speed command: 0x02 0x80 0x92 0x04
Realtek Bluetooth :Receive cmd complete event of command: fc17
Realtek Bluetooth :Received cc of vendor change baud
Realtek Bluetooth :Final speed 1500000
Realtek Bluetooth :end_idx: 158, lp_len: 137, additional pkts: 5

Realtek Bluetooth :Start downloading...
Realtek Bluetooth :Send additional packet 32
Realtek Bluetooth :Send additional packet 33
Realtek Bluetooth :Send additional packet 34
Realtek Bluetooth :Send additional packet 35
Realtek Bluetooth :Last packet 164
Realtek Bluetooth :Send last pkt
Realtek Bluetooth :Enable host hw flow control
Realtek Bluetooth :h5_hci_reset: Issue hci reset cmd
Realtek Bluetooth :Receive cmd complete event of command: 0c03
Realtek Bluetooth :Received cc of hci reset cmd
Realtek Bluetooth :Init Process finished
[  809.381273] Bluetooth: h5_open
Realtek Bluetooth :Realtek Bluetooth post process
Realtek Bluetooth :Device setup complete
Realtek Bluetooth :signal term.
Realtek Bluetooth :Got EINTR.
Realtek Bluetooth :err -1, p->revents 0000
Realtek Bluetooth :Restore TTY line discipline
root@TinaLinux:/# [  810.751960] Bluetooth: h5_close

root@TinaLinux:/#
root@TinaLinux:/# chmod +x /tmp/le_counter
root@TinaLinux:/#
root@TinaLinux:/# /tmp/le_counter
Packet Log: /tmp/hci_dump.pklg
BTstack counter 0001
Local name: RTK_BT_4.1
BTstack up and running at 00:BF:AF:61:1A:09
battery = 63
battery = 62
battery = 61
battery = 60
battery = 5f
battery = 5e
battery = 5d
battery = 5c
battery = 5b
battery = 5a
battery = 59
battery = 58

dd0ca59c0ed91f60041fcbdb2add2e0.jpg

a79782a8c7e3edcaf43cf28413fb077.jpg

#69 全志 SOC » T113 开发板 BLE配网功能测试 » 2025-02-22 10:56:28

memory
回复: 2

小智的T113-S4开发板固件:t113_s4_linux_sw113_uart4_pb2_pb3_uart0_20250222A.7z (仅可以蓝牙BLE通讯获取配网数据,不能真用此命令联网)

测试apk:Blink.apk.7z(Android8.0测试可以用,高版本可能不能用)

首先运行命令:

(killall -q rtk_hciattach ; killall -q dbus-daemon ; killall -q bluetoothd) || true \
echo 0 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
echo 1 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
(rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 1 && \
(mkdir -p /var/run/dbus/ && dbus-daemon --system &) && sleep 1 && \
(bluetoothd -n &) && sleep 1 && \
hciconfig hci0 up && hcitool lescan

ctrl + c 后运行blink_test命令(blink_test有bug,只能connect一次,disconnect之后就不能被scan到了):

root@TinaLinux:/# /usr/bin/blink_test
blink example start...
[blink_bt_app_init]
1740192401.153998: [BTMGbt_manager_enable:423]:  bt manager version:Version:3.0.1.202107161945,builed time:Jul 16 2021-11:51:03
Bluetooth init has been completed!!
Bluetooth init has been completed!!
Bluetooth init has been completed!!
the ble random_address has been set.
1740192402.283109: [BTMGbt_adv_set_adv_parameters:381]:  advertising channel map: 0x7
1740192402.284967: BTMG[bt_adv_enable:573]:  set adv enable:1
attrib_char_write_cb:test id:1
  5A 6E 3C 6F 10 01 0B 01 FF 04 74 65 73 74 08 31 32 33 34 35
  36 37 38
ssdi = 'test';password = '12345678'
[ 1406.567865] deinit:macaddr:94,3b,85,dc,95,e9
[ 1406.572831] reord_mac:94,3b,85,dc,95,e9
connect_cmd=networkd_client -c -s "test" -p "12345678"root@TinaLinux:/# [ 1408.282891] debugfs: Directory '76:90:65:67:7a:14' with parent 'rc' already present!
[ 1408.291707] usb 3-1: Error while (un)registering debug entry for sta 6
[ 1409.292818] need cfm ethertype:    8e88,user_idx=13, skb=a6dcbd35
[ 1409.300320] aicwf_usb_host_tx_cfm_handler enter
[ 1409.306378] need cfm ethertype:    8e88,user_idx=14, skb=72527cf9
[ 1409.313822] aicwf_usb_host_tx_cfm_handler enter
[ 1409.575114] DHCP disc/req
[ 1409.592693] DHCP offset/ack
[ 1409.675129] DHCP disc/req
[ 1409.689194] DHCP offset/ack
[ 1409.692393] paired=fac04, should=fac04
[ 1411.932314] reord_init_sta:94:3b:85:dc:95:e9

root@TinaLinux:/#
root@TinaLinux:/#

手机安装 blink.apk(好不容易找到运行Android8.0的小米5手机),打开执行:

e3805a216765dd5e50dfe031cccada7f.jpg

ca74e88516590b67c9cbfae1546645c6.jpg

0a00a78b6bcc0d3fc3fc2215c6520c5a.jpg

21f285466887409a0611bc9452dd658c.jpg

#70 Re: 全志 SOC » T113开发板 BLE功能测试 » 2025-02-21 17:22:33

root@TinaLinux:/#
root@TinaLinux:/# bt_test -p gatt-server
root@TinaLinux:/# [ACT D][ring_buff_init,27]enter

[ACT D][ring_buff_start,173]ring buffer start enter

[ACT D][ring_buff_start,187]ring buffer start quit

[ACT D][ring_buff_init,27]enter

[ACT D][ring_buff_start,173]ring buffer start enter

[ACT D][ring_buff_start,187]ring buffer start quit

Bluetooth init has been completed!!
[  676.659974] Bluetooth: hu 9e07aaa3 retransmitting 1 pkts
add service,uuid:1112
add service handle: 11, handle max number: 10
add char,uuid: 2223,chr handle is 0x000d
desc handle is 0x000e
add char,uuid: 3334,chr handle is 0x0010
desc handle is 0x0011
add char,uuid: 5555,chr handle is 0x0013
add service,uuid:6e400001-b5a3-f393-e0a9-e50e24dcca9e
add service handle: 21, handle max number: 10
add char,uuid: 6e400002-b5a3-f393-e0a9-e50e24dcca9e,chr handle is 0x0017
add char,uuid: 6e400003-b5a3-f393-e0a9-e50e24dcca9e,chr handle is 0x0019
desc handle is 0x001a
1970-01-01 06:05:15:147: BTMG[bt_le_set_advertising_params:150]:  advertising channel map: 0x7
1970-01-01 06:05:15:150: BTMG[bt_le_set_random_address:297]:  *************************************************
1970-01-01 06:05:15:150: BTMG[bt_le_set_random_address:298]:  [RandomAddress 3F:17:7F:BB:A1:6D ]
1970-01-01 06:05:15:150: BTMG[bt_le_set_random_address:299]:  *************************************************
1970-01-01 06:05:15:150: BTMG[le_set_adv_data:262]:  ble name = [aw-ble-test-007]
1970-01-01 06:05:15:153: BTMG[bt_le_advertising_enable:341]:  set adv enable:1
1970-01-01 06:06:08:110: BTMG[l2cap_le_att_accept:127]:  Connect from 5E:B0:64:18:CB:5E
1970-01-01 06:06:08:111: BTMG[server_listen_cb:182]:  gatt connected
gatt server Connected: 5E:B0:64:18:CB:5E.
1970-01-01 06:06:33:460: BTMG[bt_test_gatt_char_write_request_cb:158]:  write need rsp: 1
1970-01-01 06:06:33:460: BTMG[bt_test_gatt_char_write_request_cb:160]:  attr_handle: 0x0017, tran_id: 1, len: 10
  30 31 32 33 34 35 36 37 38 39
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# 1970-01-01 06:07:18:260: BTMG[bt_test_gatt_char_write_request_cb:158]:  write need rsp: 1
1970-01-01 06:07:18:260: BTMG[bt_test_gatt_char_write_request_cb:160]:  attr_handle: 0x0017, tran_id: 2, len: 10
  30 31 32 33 34 35 36 37 38 39

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# 1970-01-01 06:08:17:539: BTMG[bt_test_gatt_char_write_request_cb:158]:  write need rsp: 0
1970-01-01 06:08:17:539: BTMG[bt_test_gatt_char_write_request_cb:160]:  attr_handle: 0x0017, tran_id: 25, len: 396
  30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37
  38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35
  36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34
  35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32
  33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30
  31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38
  39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36
  37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35
  35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33
  34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31
  32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39
  30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37
  38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35
  36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34
  35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32
  33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30
  31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38
  39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36
  37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35
  35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!

#71 全志 SOC » T113开发板 BLE功能测试 » 2025-02-21 17:21:50

memory
回复: 1
#RTL8723DS蓝牙测试
#开启蓝牙电源
killall rtk_hciattach || killall dbus-daemon || killall bluetoothd || \
echo 0 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
echo 1 >  /sys/class/rfkill/rfkill0/state && sleep 1 && \
(rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 1 && \
(mkdir -p /var/run/dbus/ && dbus-daemon --system &) && sleep 1 && \
(bluetoothd -n &) && sleep 1 && \
hciconfig hci0 up && hcitool lescan



bt_test -p gatt-server

手机测试软件是 nRF Connect


124d3675101284c9cb1b30b84fb2970.jpg

257806de68ee59ddfe28b3ed93eaa5e.png

afe74c5cfc01d3b86364178a203ae95.jpg

#72 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 闲鱼买的流云投屏器研究 » 2025-02-20 18:03:50

出现这个就连不上了:

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 B7 2C D7 32 89 7F 00 00 00 00 00
  00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
  3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 13 05 01 06 00 01 00

#73 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 闲鱼买的流云投屏器研究 » 2025-02-20 17:50:34

再试一试:

root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 45 91 4B D9 97 59 00 00 00 00 00
  00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
  3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
> 02 06 20 18 00 1A 00 04 00 12 05 00 31 31 31 31 33 38 30 30
  31 33 38 30 30 30 77 68 79
> 02 06 10 06 00 63 61 6E 5F 35 47
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
[  101.430410] usb 3-1 wlan1: AP Stopped
[  108.869608] need cfm ethertype:    8e88,user_idx=1, skb=64b9f36a
[  108.876985] aicwf_usb_host_tx_cfm_handler enter
[  108.893899] need cfm ethertype:    8e88,user_idx=2, skb=2d2eda91
[  108.901357] aicwf_usb_host_tx_cfm_handler enter
[  109.259383] DHCP disc/req
[  109.324028] DHCP offset/ack
[  109.359368] DHCP disc/req
[  109.528115] DHCP offset/ack
[  109.531354] paired=fac04, should=fac04
[  110.096633] reord_init_sta:94:3b:85:dc:95:e9
< 02 06 00 2B 00 27 00 04 00 1D 05 00 7B 22 73 73 69 64 22 3A
  22 77 68 79 63 61 6E 5F 35 47 22 2C 22 77 69 66 69 5F 73 74
  61 74 75 73 22 3A 31 7D
> 04 13 05 01 06 00 01 00
> 02 06 20 05 00 01 00 04 00 1E
[  113.259264] DHCP disc/req
[  116.879326] DHCP disc/req
[  116.900773] DHCP offset/ack
[  116.939337] DHCP disc/req
[  117.105644] DHCP offset/ack
> 02 06 20 0B 00 07 00 04 00 10 [  117.108994] paired=fac04, should=fac04
01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 05 04 00 06 00 13
< 01 0A 20 01 00
> 04 0E 04 05 0A 20 0C
< 01 1A 0C 01 00
> 04 0E 04 05 1A 0C 00
< 01 05 20 06 03 BE 9F 6F A4 D0
> 04 0E 04 05 05 20 00
< 01 06 20 0F 20 00 E0 01 00 01 00 00 00 00 00 00 00 07 00
> 04 0E 04 05 06 20 00
< 01 05 20 06 08 C6 7D C1 94 3B
> 04 0E 04 05 05 20 00
< 01 08 20 20 18 02 01 1A 10 09 43 49 54 49 66 75 74 75 72 65
  2D 39 35 45 39 03 03 01 FF 00 00 00 00 00 00 00
> 04 0E 04 05 08 20 00
< 01 0A 20 01 01
> 04 0E 04 05 0A 20 00

#74 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 闲鱼买的流云投屏器研究 » 2025-02-20 17:47:27

再试一次:

root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 45 91 4B D9 97 59 00 00 00 00 00
  00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
  3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
> 02 06 20 18 00 1A 00 04 00 12 05 00 31 31 31 31 33 38 30 30
  31 33 38 30 30 30 77 68 79
> 02 06 10 06 00 63 61 6E 32 32 32
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
[   58.920144] usb 3-1 wlan1: AP Stopped
[   65.648675] need cfm ethertype:    8e88,user_idx=1, skb=6547133d
[   65.656030] aicwf_usb_host_tx_cfm_handler enter
[   65.670709] need cfm ethertype:    8e88,user_idx=2, skb=55a95211
[   65.678067] aicwf_usb_host_tx_cfm_handler enter
[   66.039422] DHCP disc/req
[   66.061528] reord_init_sta:94:3b:85:dc:95:e9
[   66.066740] DHCP offset/ack
[   66.119410] DHCP disc/req
[   66.135064] DHCP offset/ack
[   66.139433] paired=fac04, should=fac04
< 02 06 00 2B 00 27 00 04 00 1D 05 00 7B 22 73 73 69 64 22 3A
  22 77 68 79 63 61 6E 32 32 32 22 2C 22 77 69 66 69 5F 73 74
  61 74 75 73 22 3A 31 7D
> 04 13 05 01 06 00 01 00
> 02 06 20 05 00 01 00 04 00 1E
[   70.059296] DHCP disc/req
[   70.074060] DHCP offset/ack
[   70.159302] DHCP disc/req
[   70.171063] DHCP offset/ack
[   70.174283] paired=fac04, should=fac04
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 05 04 00 06 00 13
< 01 0A 20 01 00
> 04 0E 04 05 0A 20 0C
< 01 1A 0C 01 00
> 04 0E 04 05 1A 0C 00
< 01 05 20 06 03 BE 9F 6F A4 D0
> 04 0E 04 05 05 20 00
< 01 06 20 0F 20 00 E0 01 00 01 00 00 00 00 00 00 00 07 00
> 04 0E 04 05 06 20 00
< 01 05 20 06 8A 50 AD 7B BF 23
> 04 0E 04 05 05 20 00
< 01 08 20 20 18 02 01 1A 10 09 43 49 54 49 66 75 74 75 72 65
  2D 39 35 45 39 03 03 01 FF 00 00 00 00 00 00 00
> 04 0E 04 05 08 20 00
< 01 0A 20 01 01
> 04 0E 04 05 0A 20 00

#75 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 闲鱼买的流云投屏器研究 » 2025-02-20 17:32:22

hcidump --raw -i hci0命令抓微信小程序蓝牙配网包:

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 FC A4 9D F0 93 63 00 00 00 00 00
  00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
  3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
> 02 06 20 18 00 1A 00 04 00 12 05 00 31 31 31 31 33 38 30 30
  31 33 38 30 30 30 77 68 79
> 02 06 10 06 00 63 61 6E 32 32 32
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
[   33.342063] usb 3-1 wlan1: AP Stopped
[   40.085939] need cfm ethertype:    8e88,user_idx=1, skb=f3b6ca47
[   40.093438] aicwf_usb_host_tx_cfm_handler enter
[   40.100209] need cfm ethertype:    8e88,user_idx=2, skb=d289fb56
[   40.107618] aicwf_usb_host_tx_cfm_handler enter
[   40.461464] DHCP disc/req
[   40.482601] reord_init_sta:94:3b:85:dc:95:e9
[   40.487565] DHCP offset/ack
[   40.541471] DHCP disc/req
[   40.557980] DHCP offset/ack
[   40.561848] paired=fac04, should=fac04
< 02 06 00 2B 00 27 00 04 00 1D 05 00 7B 22 73 73 69 64 22 3A
  22 77 68 79 63 61 6E 32 32 32 22 2C 22 77 69 66 69 5F 73 74
  61 74 75 73 22 3A 31 7D
> 04 13 05 01 06 00 01 00
> 02 06 20 05 00 01 00 04 00 1E
[   44.491380] DHCP disc/req
[   44.505200] DHCP offset/ack
[   44.571415] DHCP disc/req
[   44.585322] DHCP offset/ack
[   44.588490] paired=fac04, should=fac04
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 05 04 00 06 00 13
< 01 0A 20 01 00
> 04 0E 04 05 0A 20 0C
< 01 1A 0C 01 00
> 04 0E 04 05 1A 0C 00
< 01 05 20 06 03 BE 9F 6F A4 D0
> 04 0E 04 05 05 20 00
< 01 06 20 0F 20 00 E0 01 00 01 00 00 00 00 00 00 00 07 00
> 04 0E 04 05 06 20 00
< 01 05 20 06 37 69 D7 20 E8 10
> 04 0E 04 05 05 20 00
< 01 08 20 20 18 02 01 1A 10 09 43 49 54 49 66 75 74 75 72 65
  2D 39 35 45 39 03 03 01 FF 00 00 00 00 00 00 00
> 04 0E 04 05 08 20 00
< 01 0A 20 01 01
> 04 0E 04 05 0A 20 00

#78 Re: Xilinx/Altera/FPGA/CPLD/Verilog » ALTERA MAX II EPM240T100C5N 开发板入门 » 2025-02-13 11:04:08

ex2_key_添加了一个led_一个key.7z

`timescale 1ns / 1ps
////////////////////////////////////////////////////////////////////////////////
// Company: 
// Engineer:		 特权
//
// Create Date:  
// Design Name:    
// Module Name: 
// Project Name:   
// Target Device:  
// Tool versions:  
// Description:
//
// Dependencies:
// 
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
// 
////////////////////////////////////////////////////////////////////////////////

//说明:当三个独立按键的某一个被按下后,相应的LED被点亮;
//		再次按下后,LED熄灭,按键控制LED亮灭

module sw_debounce(
    		clk,rst_n,
			sw1_n,sw2_n,sw3_n,sw4_n,
	   		led_d1,led_d2,led_d3,led_d4,
    		);

input   clk;	//主时钟信号,50MHz
input   rst_n;	//复位信号,低有效
input   sw1_n,sw2_n,sw3_n,sw4_n; 	//三个独立按键,低表示按下
output  led_d1,led_d2,led_d3,led_d4;	//发光二极管,分别由按键控制

//---------------------------------------------------------------------------
reg[3:0] key_rst;  

always @(posedge clk  or negedge rst_n)
    if (!rst_n) key_rst <= 3'b111;
    else key_rst <= {sw4_n,sw3_n,sw2_n,sw1_n};

reg[3:0] key_rst_r;       //每个时钟周期的上升沿将low_sw信号锁存到low_sw_r中

always @ ( posedge clk  or negedge rst_n )
    if (!rst_n) key_rst_r <= 3'b111;
    else key_rst_r <= key_rst;
   
//当寄存器key_rst由1变为0时,led_an的值变为高,维持一个时钟周期 
wire[3:0] key_an = key_rst_r & ( ~key_rst);

//---------------------------------------------------------------------------
reg[19:0]  cnt;	//计数寄存器

always @ (posedge clk  or negedge rst_n)
    if (!rst_n) cnt <= 20'd0;	//异步复位
	else if(key_an) cnt <=20'd0;
    else cnt <= cnt + 1'b1;
  
reg[3:0] low_sw;

always @(posedge clk  or negedge rst_n)
    if (!rst_n) low_sw <= 3'b111;
    else if (cnt == 20'hfffff) 	//满20ms,将按键值锁存到寄存器low_sw中	 cnt == 20'hfffff
      low_sw <= {sw4_n,sw3_n,sw2_n,sw1_n};
      
//---------------------------------------------------------------------------
reg  [3:0] low_sw_r;       //每个时钟周期的上升沿将low_sw信号锁存到low_sw_r中

always @ ( posedge clk  or negedge rst_n )
    if (!rst_n) low_sw_r <= 3'b111;
    else low_sw_r <= low_sw;
   
//当寄存器low_sw由1变为0时,led_ctrl的值变为高,维持一个时钟周期 
wire[3:0] led_ctrl = low_sw_r[3:0] & ( ~low_sw[3:0]);

reg d1;
reg d2;
reg d3;
reg d4;
  
always @ (posedge clk or negedge rst_n)
    if (!rst_n) begin
        d1 <= 1'b0;
        d2 <= 1'b0;
        d3 <= 1'b0;
        d4 <= 1'b0;
      end
    else begin		//某个按键值变化时,LED将做亮灭翻转
        if ( led_ctrl[0] ) d1 <= ~d1;	
        if ( led_ctrl[1] ) d2 <= ~d2;
        if ( led_ctrl[2] ) d3 <= ~d3;
        if ( led_ctrl[3] ) d4 <= ~d4;
      end

assign led_d4 = d4 ? 1'b1 : 1'b0;
assign led_d3 = d1 ? 1'b1 : 1'b0;		//LED翻转输出
assign led_d2 = d2 ? 1'b1 : 1'b0;
assign led_d1 = d3 ? 1'b1 : 1'b0;
  
endmodule

#80 Re: Xilinx/Altera/FPGA/CPLD/Verilog » ALTERA MAX II EPM240T100C5N 开发板入门 » 2025-02-13 10:42:24

f6eca31739d9b32adcc37eb7a08cec1.png

5c046240109be075fad4cd2d06368c8.png

破解包复制到 C:\altera\13.0sp1\quartus\bin64,然后执行应用,把 netid填写到 license.dat

#84 Re: RK3288/RK3399/RK1108 » 为什么瑞芯微公开资料这么少呢 » 2025-02-07 10:29:39

double33 说:

另外恕我直喷,瑞芯微的有些FAE很垃圾,客户问的问题都不看清楚,先把你喷烦,然后导致根本不想问他们。

这个问题就好比为什么成绩不好的才去考师范院校

#86 Re: 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 十年前的GTX1060笔记本电脑也能跑DeepSeek-R1 1.5B小模型 » 2025-02-04 09:45:44

7b 模型也可以运行,ollama run deepseek-r1:7b

496549c1c6c8fd3c0c96063a46de7fba.png

7b 模型也可以运行,ollama run deepseek-r1:7b

#87 Re: 全志 SOC » F1C200S能不能扩展RAM? » 2025-02-03 09:21:56

不能扩展,引脚封在芯片内部没有伸出来。

如果需要扩展DRAM,考虑用T113-i

#89 Re: 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 十年前的GTX1060笔记本电脑也能跑DeepSeek-R1 1.5B小模型 » 2025-02-02 10:35:02

如果电脑没有Nvidia显卡,那么就可能会这样:

PS C:\Users\> ollama run deepseek-r1:1.5b
pulling manifest
pulling aabd4debf0c8... 100% ▕████████████████████████████████████████████████████████▏ 1.1 GB
pulling 369ca498f347... 100% ▕████████████████████████████████████████████████████████▏  387 B
pulling 6e4c38e1172f... 100% ▕████████████████████████████████████████████████████████▏ 1.1 KB
pulling f4d24e9138dd... 100% ▕████████████████████████████████████████████████████████▏  148 B
Error: Post "http://127.0.0.1:11434/api/show": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it.
PS C:\Users\>
PS C:\Users\>
PS C:\Users\>

server.log

2025/02/02 10:20:44 routes.go:1187: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:C:\\Users\\86135\\.ollama\\models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES:]"
time=2025-02-02T10:20:44.486+08:00 level=INFO source=images.go:432 msg="total blobs: 4"
time=2025-02-02T10:20:44.561+08:00 level=INFO source=images.go:439 msg="total unused blobs removed: 4"
time=2025-02-02T10:20:44.561+08:00 level=INFO source=routes.go:1238 msg="Listening on 127.0.0.1:11434 (version 0.5.7)"
time=2025-02-02T10:20:44.562+08:00 level=INFO source=routes.go:1267 msg="Dynamic LLM libraries" runners="[cpu cpu_avx cpu_avx2 cuda_v11_avx cuda_v12_avx rocm_avx]"
time=2025-02-02T10:20:44.562+08:00 level=INFO source=gpu.go:226 msg="looking for compatible GPUs"
time=2025-02-02T10:20:44.562+08:00 level=INFO source=gpu_windows.go:167 msg=packages count=1
time=2025-02-02T10:20:44.562+08:00 level=INFO source=gpu_windows.go:214 msg="" package=0 cores=8 efficiency=0 threads=16
time=2025-02-02T10:20:44.572+08:00 level=INFO source=gpu.go:392 msg="no compatible GPUs were discovered"
time=2025-02-02T10:20:44.572+08:00 level=INFO source=types.go:131 msg="inference compute" id=0 library=cpu variant=avx2 compute="" driver=0.0 name="" total="63.8 GiB" available="36.5 GiB"

#90 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 十年前的GTX1060笔记本电脑也能跑DeepSeek-R1 1.5B小模型 » 2025-02-02 10:29:06

memory
回复: 7

① 打开 ollama download 下载对应的版本,直接安装到电脑

② Windows打开PowerShell,输入 ollama run deepseek-r1:1.5b,等待模型下载完,就可以直接在PowerShell提问了!


就是这么简单!

#92 Re: 全志 SOC » 8.8元的 ML307R-DL 4G CAT.1 模块 » 2025-01-16 18:04:53

nikoladi 说:
ubuntu 说:
dgtg 说:

请问下,这模块可以搭配C100或君正 使用吗?使用usb接口

F1C100s据说因为USB端点数量不够,可能不行。如果不行的话,可以走UART。

请教大佬,这是什么意思?第一次听说端点数量不足的?

https://cn.bing.com/search?q=usb%20%E7%AB%AF%E7%82%B9%20site:whycan.com

#93 Re: Openwrt/LEDE/AR9331/MT7688/RT5350 » Linux 平台 华邦(Winbond) spi flash OTP & UID 驱动 » 2025-01-14 13:13:49

https://www.openwrt.pro/post-672.html

diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
old mode 100644
new mode 100755
--- a/drivers/mtd/nand/spi/core.c
+++ b/drivers/mtd/nand/spi/core.c
@@ -48,6 +48,33 @@ static int spinand_read_status(struct spinand_device *spinand, u8 *status)
     return spinand_read_reg_op(spinand, REG_STATUS, status);
 }
  
+static int spinand_read_status_reg2(struct spinand_device *spinand, u8 *status)
+{
+    return spinand_read_reg_op(spinand, REG_CFG, status);
+}
+
+static int spinand_read_write_status_reg2(struct spinand_device *spinand, int otp_en_flag)
+{
+    u8 val = 0;
+
+    spinand_read_status_reg2(spinand, &val);
+
+    if (otp_en_flag == 0)
+        val &= CFG_OTP_DISABLE;
+    else
+        val |= CFG_OTP_ENABLE;
+
+    spinand_write_reg_op(spinand, REG_CFG, val);
+
+    // reset val
+    val = 0;
+    spinand_read_status_reg2(spinand, &val);
+
+    return 0;
+}
+
 static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg)
 {
     struct nand_device *nand = spinand_to_nand(spinand);
@@ -1048,6 +1075,105 @@ static const struct mtd_ooblayout_ops spinand_noecc_ooblayout = {
     .free = spinand_noecc_ooblayout_free,
 };
  
+static int spinand_unique_id_read(void *priv, u8 *buf, int readlen) {
+    int ret;
+    u8 status;
+    struct spinand_device *spinand = (struct spinand_device *)priv;
+    struct device *dev = &spinand->spimem->spi->dev;
+    u32 addr[5]= {0x00,0x00,0x00,0x00,0x00};
+    int addrlen = 5;
+
+    typedef struct nand_pos my_pos;
+    my_pos pos;
+    typedef struct nand_page_io_req my_req;
+    my_req req;
+
+    if(addrlen != sizeof(struct nand_addr)/sizeof(unsigned int)) {
+        dev_err(dev, "Must provide correct addr(length) for spinand calibration\n");
+        return -EINVAL;
+    }
+
+
+    if (ret)
+        return ret;
+
+    /* We should store our golden data in first target because
+     * we can't switch target at this moment.
+     */
+    pos = (my_pos){
+        .target = 0,
+        .lun = *addr,
+        .plane = *(addr+1),
+        .eraseblock = *(addr+2),
+        .page = *(addr+3),
+    };
+
+    req = (my_req){
+        .type = NAND_PAGE_READ,
+        .pos = pos,
+        .dataoffs = *(addr+4),
+        .datalen = readlen,
+        .databuf.in = buf,
+        .mode = MTD_OPS_AUTO_OOB,
+    };
+
+    ret = spinand_load_page_op(spinand, &req);
+    if (ret)
+        return ret;
+
+    ret = spinand_wait(spinand, &status);
+    if (ret < 0)
+        return ret;
+
+    {
+        //struct spi_mem_op op = SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, buf, readlen);
+        struct spi_mem_op op = SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, buf, readlen);
+        ret = spi_mem_exec_op(spinand->spimem, &op);
+    }
+
+    return 0;
+}
+
+static int spi_nand_unique_id(struct spinand_device *spinand)
+{
+    int ret = 0;
+    u8 *buf;
+    int readlen = 32;
+
+    buf = kzalloc(readlen, GFP_KERNEL);
+    if(!buf){
+        printk("%s-%d; ERROR - kzalloc func: Insufficient memory allocation failed;\n", __func__, __LINE__);
+        return -ENOMEM;
+    }
+
+    // set Status Register-2, open OTP mode
+    spinand_read_write_status_reg2(spinand, 1);
+
+    spinand_unique_id_read(spinand, buf, readlen);
+
+    // copy spinand->uid from buf
+    memcpy(spinand->uid, buf, sizeof(spinand->uid));
+
+    // reset Status Register-2, close OTP mode
+    spinand_read_write_status_reg2(spinand, 0);
+
+    kfree(buf);
+
+    return 0;
+}
+
 static int spinand_init(struct spinand_device *spinand)
 {
     struct device *dev = &spinand->spimem->spi->dev;
@@ -1094,6 +1220,16 @@ static int spinand_init(struct spinand_device *spinand)
     if (ret)
         goto err_free_bufs;
  
+    // init spinand->uid
+    memset(spinand->uid, 0, sizeof(spinand->uid));
+    // try read flash-chip unique ID
+    if(spi_nand_unique_id(spinand) == 0){
+        // sync uniqiue id
+        mtd->chip_uid = spinand->uid;
+    }
+
     ret = spinand_upd_cfg(spinand, CFG_OTP_ENABLE, 0);
     if (ret)
         goto err_free_bufs;
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h
old mode 100644
new mode 100755
index fabd98fe69ad2eeeed2e0b4bec0c5f39a7534320..61531db9ae2c4cd886a1e5863ed7146b8ed48337
--- a/include/linux/mtd/spinand.h
+++ b/include/linux/mtd/spinand.h
@@ -155,6 +155,7 @@
 #define CFG_OTP_ENABLE        BIT(6)
 #define CFG_ECC_ENABLE        BIT(4)
 #define CFG_QUAD_ENABLE        BIT(0)
+#define CFG_OTP_DISABLE        (~(BIT(6)))
  
 /* status register */
 #define REG_STATUS        0xc0
@@ -361,6 +362,14 @@ struct spinand_dirmap {
     struct spi_mem_dirmap_desc *rdesc;
 };
  
+/*
+ * SPINAND unique ID length and number of repetitions. The full unique ID is the
+ * manufacturer ID (1B) plus the unique device ID (16B). Also count the '-'
+ * between both IDs and the '\0' at the end in the 'STRING_LEN'.
+ */
+#define SPINAND_UNIQUEID_LEN       16
+
 /**
  * struct spinand_device - SPI NAND device instance
  * @base: NAND device instance
@@ -386,6 +395,7 @@ struct spinand_dirmap {
  *        the stack
  * @manufacturer: SPI NAND manufacturer information
  * @priv: manufacturer private data
+ * @uid: Unique ID of the flash chip (add by IKUAI)
  */
 struct spinand_device {
     struct nand_device base;
@@ -414,6 +424,9 @@ struct spinand_device {
     u8 *scratchbuf;
     const struct spinand_manufacturer *manufacturer;
     void *priv;
+    u8 uid[SPINAND_UNIQUEID_LEN];
 };
  
 /**

#94 Re: Openwrt/LEDE/AR9331/MT7688/RT5350 » Linux 平台 华邦(Winbond) spi flash OTP & UID 驱动 » 2025-01-14 13:12:05

驱动代码我按楼主的加上去了,现在怎么在应用层访问呢?

#97 Re: 全志 SOC » 45块买到的10.1寸汉朔hanshow价签F1C200S (三) » 2025-01-01 21:14:06

开机自动运行脚本 cat /etc/init.d/rc.final

#!/bin/sh

echo "-- run rc.final --"

wifi_connect1()
{
        #example for setting mac address,The actual production needs to be revised.
        #cp /etc/xr_wifi.conf /tmp/
        #echo 4 > /proc/sys/kernel/printk
        echo "insmod wifi kernel module --------------------"
        insmod /lib/modules/3.10.65/xradio_wlan.ko
        echo "start wpa_supplicant ------------------------"
        wpa_supplicant  -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -B
        sleep 1
        echo "start udhcpc ----------------"
        udhcpc -iwlan0 &
}
wifi_connect2()
{
        #example for setting mac address,The actual production needs to be revised.
        #cp /etc/xr_wifi.conf /tmp/
    count=0
        #echo 4 > /proc/sys/kernel/printk
        echo "insmod wifi kernel module --------------------"
        insmod /lib/modules/3.10.65/xradio_wlan.ko
        echo "start wpa_supplicant ------------------------"
        wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wpa_supplicant.conf > /tmp/wifi.log &

        sleep 1

        while true
        do
                usleep 500
                let count++
                grep "CTRL-EVENT-CONNECTED" /tmp/wifi.log && {
                        echo "start udhcpc ----------------"
                        /sbin/udhcpc -i wlan0 &
                        return
                }
                if [ $count -eq 500 ]; then
                        echo "wifi connect fail!!!!!!!!!!!!!!!!!!!!!!"
                        return
                fi
    done
}

echo "insmod F1C200s-board"
if [ -f "/usr/bin/F1C200s-board" ]; then
        /usr/bin/F1C200s-board > /dev/null 2>&1 &
        sleep 3
        echo "app start..."
fi

echo "-- wifi connect --"
wifi_connect1

#[ ! -f "/mnt/UDISK/etc/focus.conf" ] && ( mkdir -p /mnt/focus; mkdir -p /mnt/UDISK/etc; cp /etc/focus.conf /mnt/UDISK/etc )
mkdir /mnt/focus
[ -d "/mnt/focus" ] && ( umount /mnt/UDISK; mount -t ext4 /dev/nandh /mnt/focus)

# for update app
[ -f "/usr/bin/focus.new" ] && ( mv /usr/bin/focus.new /usr/bin/focus; chmod +x /usr/bin/focus )
[ -f "/usr/bin/hanshow_player.new" ] && ( mv /usr/bin/hanshow_player.new /usr/bin/hanshow_player; chmod +x /usr/bin/hanshow_player )

sysctl -w vm.panic_on_oom=1
sysctl -w kernel.panic=10


#export FOCUS_HOME=/mnt/focus
#/usr/bin/focus > /dev/null 2>&1 &

/usr/bin/hanshow_auto_focus &

echo "-- end --"

#98 Re: 全志 SOC » 45块买到的10.1寸汉朔hanshow价签F1C200S (三) » 2025-01-01 21:07:19

mac地址来源:

root@TinaLinux:/#
root@TinaLinux:/# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 98:6D:35:71:0A:D4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# cat /mnt/private/ULI/factory/SN.txt
213010089003800139root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# cat /mnt/private/ULI/factory/mac.txt
98:6D:35:71:0A:D4root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#

#99 Re: 全志 SOC » 45块买到的10.1寸汉朔hanshow价签F1C200S (三) » 2025-01-01 21:06:59

全部启动日志:

[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959

[60]dram size =64
[62](GPIO_BASE_ADDR + 0x48): 0x00002222
[65](GPIO_BASE_ADDR + 0x5c): 0x00000055
[69](GPIO_BASE_ADDR + 0x64): 0x00000004
[72]CCMU_BASE_ADDR + 0x2c0 0x00104040
[76]CCMU_BASE_ADDR + 0x60 0x00104040
[79]SPIC0_BASE_ADDR+0x24: 0x00001004
[82]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 58
[87]block from 8 to 58
[568]Check is correct.
[579]Ready to disable icache.
[582]Jump to secend Boot.


U-Boot 2014.07 (Feb 21 2020 - 18:27:46) Allwinner Technology

uboot commit : 8
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed.
i2c_init ok
[0.627]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.633]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
key value = 4294967295, fel_key = [256,426]
DRAM:  64 MiB
Relocation Offset is: 03521000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 0
[0.710]NAND: NAND_UbootInit
[0.713]NAND_UbootInit start
[0.715]NB1: enter NAND_LogicInit
[0.720]nand0: get node offset error
[0.724]init nctri NAND PIORequest error!
[0.727]nand_physic_init, init nctri error
[0.731]nand_physic_init init_parameter error
[0.735]nand_physic_init error -1
[0.738]SpiNandHwInit: Start Nand Hardware initializing .....
[0.744]uboot: nand version: 3 6013 20180906 1300
int sunxi_dma_init---
irq enable
[0.763]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db88c8
[0.771]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db88e8
_change_spic_clk: 0x01c05024=0x1009
_change_spic_clk_v1: mclk=0xc8
_change_spic_clk: 0x01c05024=0x1004
_change_spic_clk_v1: mclk=0xc8
_change_spic_clk: 0x01c05024=0x1001
_change_spic_clk_v1: mclk=0xc8
_get_spic_clk_v1: sclk0=0x32
[0.824]not burn nand partition table!
[0.828]NB1: nftl num: 1
[0.830]init nftl: 0
[1.189]NB1: NAND_LogicInit ok, result = 0x0
[1.193]NAND_UbootInit end: 0x0
used mbr [0], count = 8
sunxi secure storage is not supported
find key burned flag
env size is 256
env partition is too small!
can't enabled backup env functions
logo addr = 0x83f00000
sunxi_read_bootlogo: read bootlogo partition successful
do not find fastboot status flag
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-
bootlogo    : 400000        80000
env         : 480000        20000
boot        : 4a0000        400000
rootfs      : 8a0000        1e00000
rootfs_data : 26a0000       1400000
misc        : 3aa0000       40000
private     : 3ae0000       40000
UDISK       : 3b20000       0
-----------------------------------
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   ARM OpenWrt Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2881272 Bytes = 2.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
   reserving fdt memory region: addr=81000000 size=10000
   Using Device Tree in place at 81000000, end 8100f23f

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (hs@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #27 Fri Aug 28 02:48:57 UTC 2020
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: reserved 32 MiB at 82000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c05d2824, node_mem_map c0602000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/nandd init=/pseudo_init rdinit=/rdinit partitions=bootlogo@nanda:env@nandb:boot@nandc:rootfs@nandd:rootfs_data@nande:misc@nandf:private@nandg:UDISK@nandh cma=32M fb_base=0x83f00000 androidboot.serialno=0000000000000000000 boot_type=5
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 25836k/25836k available, 39700k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04c5f84   (4856 kB)
[    0.000000]       .init : 0xc04c6000 - 0xc04e46dc   ( 122 kB)
[    0.000000]       .data : 0xc04e6000 - 0xc05d3148   ( 949 kB)
[    0.000000]        .bss : 0xc05d3148 - 0xc0601d80   ( 188 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=552000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005314] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075249] pid_max: default: 32768 minimum: 301
[    0.080429] Mount-cache hash table entries: 512
[    0.086385] CPU: Testing write buffer coherency: ok
[    0.092156] Setting up static identity map for 0xc03ac478 - 0xc03ac4d0
[    0.101385] devtmpfs: initialized
[    0.107016] pinctrl core: initialized pinctrl subsystem
[    0.119385] NET: Registered protocol family 16
[    0.127388] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.135051] dump_class_init,844, success
[    0.143891] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.167846] bio: create slab <bio-0> at 0
[    0.173294] pwm module init!
[    0.178049] SCSI subsystem initialized
[    0.182255] usbcore: registered new interface driver usbfs
[    0.188143] usbcore: registered new interface driver hub
[    0.194019] usbcore: registered new device driver usb
[    0.205249] Linux video capture interface: v2.00
[    0.210582] Advanced Linux Sound Architecture Driver Initialized.
[    0.218573] cfg80211: Calling CRDA to update world regulatory domain
[    0.226134] Switching to clocksource sun3i high-res couter
[    0.251380] get det_vbus is fail, 84
[    0.256855] NET: Registered protocol family 2
[    0.263486] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.270598] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.277258] TCP: Hash tables configured (established 512 bind 512)
[    0.283828] TCP: reno registered
[    0.287225] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.293336] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.300423] NET: Registered protocol family 1
[    0.320699] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.327420] msgmni has been set to 114
[    0.334721] io scheduler noop registered
[    0.338893] io scheduler cfq registered (default)
[    0.343870] [pm]aw_pm_init!
[    0.347151] [pm]valid
[    0.349554] [pm]valid
[    0.352364] [DISP]disp_module_init
[    0.411945] pll_freq=297000000HZ, lcd_dclk_freq=48000000HZ, clk_div=6
[    0.419249] *******************************
[    0.423676] ***
[    0.425551] *** LCD Panel Parameter Check
[    0.429705] ***
[    0.431572] ***             by guozhenjie
[    0.435766] ***
[    0.437637] ********************************
[    0.442086] ***
[    0.443956] *** Interface:
[    0.446528] *** Parallel HV Panel
[    0.450253] *** Lcd Frm to RGB666
[    0.453734] ***
[    0.455602] *** Timing:
[    0.458175] *** lcd_x:      800
[    0.461452] *** lcd_y:      1280
[    0.464845] *** lcd_ht:     1000
[    0.468211] *** lcd_hbp:    100
[    0.471488] *** lcd_vt:     1480
[    0.474878] *** lcd_vbp:    100
[    0.478155] *** lcd_hspw:   50
[    0.481343] *** lcd_vspw:   50
[    0.484559] *** lcd_frame_frq:  32Hz
[    0.488274] ***
[    0.490144] *** WRN03: Recommend "lcd_dclk_frq = 88"
[    0.495293] ***
[    0.497164] *** LCD Panel Parameter Check End
[    0.501671] *******************************
[    0.506155] num_screens=1
[    0.508913] screen_id=0
[    0.511487] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.516499] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.521453] disp tv init
[    0.524155] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.529288] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.535069] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.540636] disp al tv init
[    0.546363] fetch script datadisp.screen2_output_type fail
[    0.552134] invalid screen0_output_type 0
[    0.556622] fetch script datadisp.screen2_output_mode fail
[    0.564997] fetch script datadisp.fb2_format fail
[    0.570173] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.576479] fetch script datadisp.fb2_width fail
[    0.581568] fetch script datadisp.fb2_height fail
[    0.615960] [DISP]disp_module_init finish
[    0.634309] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.640632] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.648907] console [ttyS1] enabled, bootconsole disabled
[    0.648907] console [ttyS1] enabled, bootconsole disabled
[    0.661482] misc dump reg init
[    0.666882] [NAND]SPIC0_BASE_ADDR f1c05000
[    0.672214] Failed to get dragonboard_flag
[    0.676763] [NAND]nand init start
[    0.680443] SpiNandHwInit: Start Nand Hardware initializing Sep  6 2018 07:23:33.....
[    0.689201] kernel: nand version: 3 6013 20180906 1300
[    0.694945] print_level is no used
[    0.698726] request spi gpio  ok!
[    0.702435] request tx DMA
[    0.705444] request general tx dma channel ok!
[    0.710366] request rx DMA
[    0.713400] request general rx dma channel ok!
[    0.718324] NAND_ClkRequest
[    0.721464] NAND_ClkRequest: get pll6 rate 200000000HZ
[    0.727290] SPI nand ID: 12c212c2 12c212c2
[    0.731917] [SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
[    0.739834] id_number_ctl is no used
[    0.743839] _UpdateExtAccessFreqPara: no para.
[    0.749451] PHY_Scan_DelayMode: right delay mode 0x0
[    0.755525] PHY_Scan_DelayMode: right delay mode 0x800
[    0.761278] _get_spic_clk_v1: sclk0=0x32
[    0.765709] PHY_Scan_DelayMode: right delay mode,clk 50 MHz, bit[13]=0,bit[11]=0
[    0.773953] physic_info_read start!!
[    0.777947] physic_info_get_offset start!!
[    0.787058] physic_info_get_one_copy start!!
[    0.792773] block 13 page 48
[    0.796456] block 13 page 49
[    0.800140] block 13 page 50
[    0.803894] block 13 page 51
[    0.807575] block 13 page 52
[    0.811256] block 13 page 53
[    0.815006] block 13 page 54
[    0.818691] block 13 page 55
[    0.822451] block 13 page 56
[    0.826136] block 13 page 57
[    0.829816] block 13 page 58
[    0.833577] block 13 page 59
[    0.837260] block 13 page 60
[    0.840945] block 13 page 61
[    0.844704] block 13 page 62
[    0.848384] block 13 page 63
[    0.852736] physic info copy is ok
[    0.856529]
[    0.856529]
[    0.859826] [SCAN_DBG] ==============Nand Architecture Parameter==============
[    0.867914] [SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[    0.875099] [SCAN_DBG]    Nand Chip Count:      0x1
[    0.880507] [SCAN_DBG]    Nand Chip Connect:    0x1
[    0.885944] [SCAN_DBG]    Sector Count Of Page: 0x4
[    0.891352] [SCAN_DBG]    Page Count Of Block:  0x40
[    0.896884] [SCAN_DBG]    Block Count Of Die:   0x400
[    0.902510] [SCAN_DBG]    Plane Count Of Die:   0x2
[    0.907918] [SCAN_DBG]    Die Count Of Chip:    0x1
[    0.913352] [SCAN_DBG]    Bank Count Of Chip:   0x1
[    0.918759] [SCAN_DBG]    Optional Operation:   0x6d
[    0.924289] [SCAN_DBG]    Access Frequence:     0x32
[    0.929791] [SCAN_DBG] =======================================================
[    0.929791]
[    0.970263] secure storage updata ok!
[    0.974423] nand secure storage ok: 58,59
[    0.978898] start block:60
[    0.981948] [ND]boot start
[    0.985049] [ND]boot :0xc1940000
[    0.988626] [ND]boot->magic :0xaa55a5a5
[    0.992910] [ND]boot->len :0x8000
[    0.996585] [ND]boot->no_use_block :0x21
[    1.000931] [ND]boot->uboot_start_block :0x8
[    1.005700] [ND]boot->uboot_next_block :0x3a
[    1.010434] [ND]boot->logic_start_block :0x21
[    1.015298] [ND]mbr len :4096
[    1.018588] [ND]_PARTITION len :2560
[    1.022577] [ND]_NAND_STORAGE_INFO len :512
[    1.027214] [ND]_FACTORY_BLOCK len :2048
[    1.031645] [NE]partition_num: 0,size :0x36c00,cross_talk 0
[    1.037873] [NE]part mbr size: 0x2000 type: 0
[    1.042741] [NE]part bootlogo size: 0x400 type: 0
[    1.047956] [NE]part env size: 0x100 type: 0
[    1.052722] [NE]part boot size: 0x2000 type: 0
[    1.057650] [NE]part rootfs size: 0xf000 type: 0
[    1.062802] [NE]part rootfs_data size: 0xa000 type: 0
[    1.068404] [NE]part misc size: 0x200 type: 0
[    1.073263] [NE]part private size: 0x200 type: 0
[    1.078383] [NE]part UDISK size: 0x19300 type: 0
[    1.083660] [ND]factory bad block:0,436 PartitionNO:0
[    1.089281] [ND]partition->size :224256
[    1.093568] [ND]partition->cross_talk :0
[    1.097916] [ND]partition->attribute :0
[    1.102195] [ND]partition->start.Chip_NO :0
[    1.106833] [ND]partition->start.Block_NO :33
[    1.111659] [ND]partition->end.Chip_NO :0
[    1.116131] [ND]partition->end.Block_NO :511
[    1.120864] [ND]partition->nand_disk[0].size :8192
[    1.126203] [ND]partition->nand_disk[0].type :0
[    1.131227] [ND]partition->nand_disk[1].size :1024
[    1.136565] [ND]partition->nand_disk[1].type :0
[    1.141588] [ND]partition->nand_disk[2].size :256
[    1.146828] [ND]partition->nand_disk[2].type :0
[    1.151879] [ND]partition->nand_disk[3].size :8192
[    1.157190] [ND]partition->nand_disk[3].type :0
[    1.162240] [ND]partition->nand_disk[4].size :61440
[    1.167647] [ND]partition->nand_disk[4].type :0
[    1.172696] [ND]partition->nand_disk[5].size :40960
[    1.178102] [ND]partition->nand_disk[5].type :0
[    1.183150] [ND]partition->nand_disk[6].size :512
[    1.188365] [ND]partition->nand_disk[6].type :0
[    1.193414] [ND]partition->nand_disk[7].size :512
[    1.198628] [ND]partition->nand_disk[7].type :0
[    1.203676] [ND]partition->nand_disk[8].size :103168
[    1.209179] [ND]partition->nand_disk[8].type :0
[    1.214229] [ND]partition->nand_disk[9].size :-1
[    1.219348] [ND]partition->nand_disk[9].type :-1
[    1.224492] [ND]partition->nand_disk[10].size :-1
[    1.229707] [ND]partition->nand_disk[10].type :-1
[    1.234947] [ND]partition->nand_disk[11].size :-1
[    1.240162] [ND]partition->nand_disk[11].type :-1
[    1.245404] [ND]partition->nand_disk[12].size :-1
[    1.250618] [ND]partition->nand_disk[12].type :-1
[    1.255860] [ND]partition->nand_disk[13].size :-1
[    1.261075] [ND]partition->nand_disk[13].type :-1
[    1.266316] [ND]partition->nand_disk[14].size :-1
[    1.271531] [ND]partition->nand_disk[14].type :-1
[    1.276781] [ND]partition->nand_disk[15].size :-1
[    1.282025] [ND]partition->nand_disk[15].type :-1
[    1.287241] [ND]partition->nand_disk[16].size :-1
[    1.292482] [ND]partition->nand_disk[16].type :-1
[    1.297698] [ND]partition->nand_disk[17].size :-1
[    1.302940] [ND]partition->nand_disk[17].type :-1
[    1.308156] [ND]partition->nand_disk[18].size :-1
[    1.313397] [ND]partition->nand_disk[18].type :-1
[    1.318613] [ND]partition->nand_disk[19].size :-1
[    1.323854] [ND]partition->nand_disk[19].type :-1
[    1.329068] [ND]partition->nand_disk[20].size :-1
[    1.334311] [ND]partition->nand_disk[20].type :-1
[    1.339527] [ND]partition->nand_disk[21].size :-1
[    1.344767] [ND]partition->nand_disk[21].type :-1
[    1.349982] [ND]partition->nand_disk[22].size :-1
[    1.355222] [ND]partition->nand_disk[22].type :-1
[    1.360437] [ND]partition->nand_disk[23].size :-1
[    1.365680] [ND]partition->nand_disk[23].type :-1
[    1.370897] [ND]phy_partition->PartitionNO :0
[    1.375753] [ND]phy_partition->SectorNumsPerPage :8
[    1.381160] [ND]phy_partition->PageNumsPerBlk :64
[    1.386400] [ND]phy_partition->TotalBlkNum :479
[    1.391422] [ND]phy_partition->FullBitmapPerPage :8
[    1.396853] [ND]phy_partition->FreeBlock :0
[    1.401489] [ND]phy_partition->TotalSectors :224256
[    1.406921] [ND]phy_partition->StartBlock.Chip_NO :0
[    1.412450] [ND]phy_partition->StartBlock.Block_NO :33
[    1.418145] [ND]phy_partition->EndBlock.Chip_NO :0
[    1.423483] [ND]phy_partition->EndBlock.Block_NO :511
[    1.429082] [ND]phy_partition->next_phy_partition :0
[    1.434613] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    1.441272] [ND]BAD Chip:0;Block:436.
[    1.445361] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    1.451636] [ND]build 1 phy_partition !
[    1.455918] [ND]nand_info->type :0
[    1.459689] [ND]nand_info->SectorNumsPerPage :8
[    1.464740] [ND]nand_info->BytesUserData :16
[    1.469473] [ND]nand_info->PageNumsPerBlk :64
[    1.474331] [ND]nand_info->BlkPerChip :512
[    1.478871] [ND]nand_info->FirstBuild :0
[    1.483244] [ND]nand_info->FullBitmap :0
[    1.487592] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.493123] [ND]nand_info->bad_block_addr.Block_NO :0
[    1.498723] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.504255] [ND]nand_info->mbr_block_addr.Block_NO :0
[    1.509854] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.515772] [ND]nand_info->no_used_block_addr.Block_NO :33
[    1.521881] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.527769] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    1.533782] [ND]nand_info->new_bad_page_addr :65535
[    1.539188] [ND]nand_info->partition_nums :1
[    1.543947] [ND]sizeof partition:2384
[    1.548007] [ND]nand_info->partition:0:
[    1.552286] [ND]size:0x36c00
[    1.555479] [ND]cross_talk:0x0
[    1.558861] [ND]attribute:0x0
[    1.562177] [ND]start: chip:0 block:33
[    1.566332] [ND]end  : chip:0 block:511
[    1.570583] [ND]boot :0xc1940000
[    1.574188] [ND]boot->magic :0xaa55a5a5
[    1.578440] [ND]boot->len :0x8000
[    1.582139] [ND]boot->no_use_block :0x21
[    1.586486] [ND]boot->uboot_start_block :0x8
[    1.591217] [ND]boot->uboot_next_block :0x3a
[    1.595977] [ND]boot->logic_start_block :0x21
[    1.600805] [ND]mbr len :4096
[    1.604119] [ND]_PARTITION len :2560
[    1.608083] [ND]_NAND_STORAGE_INFO len :512
[    1.612746] [ND]_FACTORY_BLOCK len :2048
[    1.617438] [ND]nand_partition0
[    1.621104] [ND]nftl start:479,41
[    1.625104] [ND]first
[    1.743499] [ND]bad block: 403
[    1.772418] [ND]before second 478 438.
[    2.288316] [NE]recover_phy_page_mapping no used page 56!!
[    2.294493] [ND]recover 50 56
[    2.297834] [ND]free block nums is 19 !
[    2.302138] [NE]not power on gc 19!
[    2.306005] [ND]nftl ok!
[    2.308889] [ND]max_erase_times = 65000
[    2.315763]  nanda: unknown partition table
[    2.323192]  nandb: unknown partition table
[    2.330451]  nandc: unknown partition table
[    2.337787]  nandd: unknown partition table
[    2.345089]  nande: unknown partition table
[    2.351246]  nandf: unknown partition table
[    2.358617]  nandg:
[    2.363717]  nandh: unknown partition table
[    2.369246] [NAND]nand init end
[    2.373465] sunxi-wlan wlan: wlan_busnum (0)
[    2.378229] sunxi-wlan wlan: wlan_power_num (0)
[    2.383362] sunxi-wlan wlan: Missing wlan_io_regulator.
[    2.389169] sunxi-wlan wlan: io_regulator_name ((null))
[    2.395056] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    2.402995] sunxi-wlan wlan: wlan_regon gpio=130  mul-sel=1  pull=3  drv_level=1  data=1
[    2.412147] sunxi-wlan wlan: wlan_hostwake gpio=131  mul-sel=6  pull=-1  drv_level=-1  data=1
[    2.421650] sunxi-wlan wlan: Missing clocks.
[    2.426457] sunxi-wlan wlan: clk_name ((null))
[    2.431426] sunxi-wlan wlan: clk not config
[    2.436502] lradc_battery_probe:lradc_battery_probe ++++++
[    2.442677] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    2.449569] key base: f1c23400
[    2.453142] irq num: 115 !
[    2.456152] battery_data_hw_init:battery_data_hw_init ++++++
[    2.462542] lradc_battery_probe:lradc_battery_probe ------
[    2.469303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.477170] usbcore: registered new interface driver usb-storage
[    2.484074] usbcore: registered new interface driver usbtest
[    2.491336] /soc/usbc0@0: could not find phandle
[    2.496588] get regulator_io is no nocare
[    2.501194] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    2.509214] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    2.520972] hub 1-0:1.0: USB hub found
[    2.525313] hub 1-0:1.0: 1 port detected
[    2.530136] wrn: hcd is not enable, need not stop hcd
[    2.536486] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    2.543671] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    2.552930] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    2.560098] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    2.567750] sunxi cedar version 0.1
[    2.572008] VE: install start!!!
[    2.572008]
[    2.577393] cedar_ve: cedar-ve the get irq is 103
[    2.583303] VE: install end!!!
[    2.583303]
[    2.589857] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.600195] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Aug  6 2020 at 14:27:00
[    2.612682] sunxi-mmc sdc0: Can't get vmmc regulator string
[    2.618882] sunxi-mmc sdc0: Can't get vqmmc regulator string
[    2.625269] sunxi-mmc sdc0: Can't get vdmmc regulator string
[    2.631558] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    2.638786] sunxi-mmc sdc0: ***set host ocr***
[    2.644299] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.671945] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.702105] sunxi-mmc sdc0: base:0xf1c0f000 irq:107
[    2.707564] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    2.714415] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    2.720413] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.731671] usbcore: registered new interface driver usbhid
[    2.737970] usbhid: USB HID core driver
[    2.745637] failed to get gpio-spk and gpio_num
[    2.754540] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.766189] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    2.774238] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    2.782218] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    2.789950] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    2.797721] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    2.807997] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[    2.817594] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.826688] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    2.836653] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    2.845354] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.851196] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    2.862244] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.871036] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    2.881025] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.889853] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    2.900699] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.908429] ipip: IPv4 over IPv4 tunneling driver
[    2.915013] gre: GRE over IPv4 demultiplexor driver
[    2.920446] ip_gre: GRE over IPv4 tunneling driver
[    2.928268] TCP: cubic registered
[    2.932076] Initializing XFRM netlink socket
[    2.936885] NET: Registered protocol family 17
[    2.941973] NET: Registered protocol family 15
[    2.947456] VFP support v0.3: not present
[    2.952932] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.959219] [LCD]lcd_module_init
[    2.962953] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.969767] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.976669] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.983524] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.989844] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.002225] enhance_en=1
[    3.005098] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    3.010171] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    3.016364] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    3.022529] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    3.028684] pll_freq=297000000HZ, lcd_dclk_freq=48000000HZ, clk_div=6
[    3.035905] clk_div=6
[    3.039774] sunxi-mmc sdc0: smc 0 p0 err, cmd 1, RTO !!
[    3.046035] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.056596] [LCD]open, step 0 finish
[    3.091922] [LCD]open, step 1 finish
[    3.151901] [LCD]open, step 2 finish
[    3.262352] close lcd backlight!
[    3.266079] [LCD]open, step 3 finish
[    3.272374] [LCD]lcd_module_init finish
[    3.277176] usb_serial_number:20080411
[    3.282185] file system registered
[    3.288859] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    3.296643] android_usb gadget: Number of LUNs=3
[    3.301865]  lun0: LUN: removable file: (no medium)
[    3.307284]  lun1: LUN: removable file: (no medium)
[    3.312763]  lun2: LUN: removable file: (no medium)
[    3.319110] android_usb gadget: android_usb ready
[    3.324892] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    3.334181] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    3.340859] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    3.348772] ALSA device list:
[    3.352166]   #0: audiocodec
[    3.362991] VFS: Mounted root (squashfs filesystem) readonly on device 93:48.
[    3.375825] devtmpfs: mounted
[    3.380286] Freeing unused kernel memory: 120K (c04c6000 - c04e4000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
[    4.271994]
[    4.271994] insmod_device_driver
[    4.271994]
[    4.279138] device_chose finished 77!
[    4.345483] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: (null)
-- run rc.preboot --
-- run hanshow config --
/
copy mac.txt to /tmp/xr_wifi.conf success!
copy SN.txt to /usr/product_id success!
-- end --
[    4.980236] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: (null)
[    5.721997] sunxi-wlan wlan: bus_index: 0
[    5.740747] ======== XRADIO WIFI OPEN ========
[    5.745891] [XRADIO] Driver Label:XR_V02.15.40  Aug  5 2020 01:58:31
[    5.762084] [XRADIO] Allocated hw_priv @ c1916fa0
[    5.767494] [XRADIO_ERR] MACADDR=98:6d:35:71:0a:d4
[    5.892044] [XRADIO] Detect SDIO card 0
[    5.906658] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.931986] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.962717] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.976981] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.990544] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    6.012291] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    6.023874] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    6.035970] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    6.048990] mmc0: new high speed SDIO card at address 0001
[    6.063315] [SBUS] XRadio Device:sdio clk=50000000
[    6.093496] [XRADIO] XRADIO_HW_REV 1.0 detected.
[    6.220667] [XRADIO] Bootloader complete
[    6.319094] [XRADIO] Firmware completed.
[    6.342007] [WSM] Firmware Label:XR_C01.08.52.11 Jan 24 2017 10:15:58
[    6.349325] [XRADIO] Firmware Startup Done.
[    6.402417] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
-- run rc.final --
insmod F1C200s-board
-- wifi connect --
insmod wifi kernel module --------------------
insmod: can't insert '/lib/modules/3.10.65/xradio_wlan.ko': File exists
start wpa_supplicant ------------------------
[    6.876975] android_usb: already disabled
[    7.010137] adb_open
[    7.015855] adb_bind_config
Successfully initialized wpa_supplicant
[    7.282968] android_work: sent uevent USB_STATE=CONNECTED
[    7.303179] android_usb gadget: high-speed config #1: android
[    7.313770] android_work: sent uevent USB_STATE=CONFIGURED
rfkill: Cannot open RFKILL control device
[    7.834642] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)
start udhcpc ----------------
mkdir: can't create directory '/mnt/focus': File exists
udhcpc: started, v1.27.2
[    9.127895] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: (null)
udhcpc: sending discover
vm.panic_on_oom = 1
kernel.panic = 10
-- end --


BusyBox v1.27.2 () built-in shell (ash)

 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ----------------------------------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@TinaLinux:/# [    9.662510] [STA_WRN] Freq 2437 (wsm ch: 6) prev: 3.
[    9.668826] wlan0: authenticate with 72:3d:d6:25:ac:3b (try 1)
[    9.732324] wlan0: authenticated
[    9.738048] wlan0: associate with 72:3d:d6:25:ac:3b (try 1)
[    9.785057] wlan0: RX AssocResp from 72:3d:d6:25:ac:3b (capab=0x1031 status=0 aid=26)
[    9.793942] wlan0: associated
[    9.808514] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[    9.842624] wlan0: deauthenticating from 72:3d:d6:25:ac:3b by local choice (reason=3)
[    9.851925] [WSM_WRN] Issue unjoin command(TX).
[    9.878660] cfg80211: Calling CRDA to update world regulatory domain
udhcpc: sending discover
udhcpc: sending discover
creat test file ok
read len  test_len:70
ssid_str:hanshow
pwd_str:12345678
/mnt/focus/etc/focus.conf is exist, use ssid:hanshow & pwd:12345678 to connect ap!
==================================
==============TEST WIFI=========Connecting to the network(hanshow)......
[   20.498302] wlan0: authenticate with 72:3d:d6:25:ac:3b (try 1)
[   20.544013] wlan0: authenticated
[   20.549450] wlan0: associate with 72:3d:d6:25:ac:3b (try 1)
[   20.597111] wlan0: RX AssocResp from 72:3d:d6:25:ac:3b (capab=0x1031 status=0 aid=9)
[   20.605853] wlan0: associated
[   20.620389] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[   20.657714] wlan0: deauthenticating from 72:3d:d6:25:ac:3b by local choice (reason=3)
[   20.668770] [WSM_WRN] Issue unjoin command(TX).
[   20.675168] [WSM_WRN] STA mode, send_deauth_to_self
[   20.680615] [TXRX_WRN] Issue unjoin command(TX) by self.
[   20.690874] cfg80211: Calling CRDA to update world regulatory domain
Disconnected,the reason:WSE_NETWORK_NOT_EXIST
Wifi connect ap : Failure!
step2: run focus!

root@TinaLinux:/#
root@TinaLinux:/# ifconfig
[   44.830688] [NE]gc_one ok!
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 98:6D:35:71:0A:D4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:403 (403.0 B)  TX bytes:308 (308.0 B)

root@TinaLinux:/# [   49.242617] wlan0: authenticate with 72:3d:d6:25:ac:3b (try 1)
[   49.282580] wlan0: authenticated
[   49.288391] wlan0: associate with 72:3d:d6:25:ac:3b (try 1)
[   49.337798] wlan0: RX AssocResp from 72:3d:d6:25:ac:3b (capab=0x1031 status=0 aid=15)
[   49.346689] wlan0: associated
[   49.373311] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[   49.404939] wlan0: deauthenticating from 72:3d:d6:25:ac:3b by local choice (reason=3)
[   49.417097] [WSM_WRN] Issue unjoin command(TX).
[   49.439137] cfg80211: Calling CRDA to update world regulatory domain
[   51.209049] [NE]gc_one ok!
[   51.335095] [NE]gc_one ok!
[   51.464408] [NE]gc_one ok!
[   52.063651] [NE]gc_one ok!
[   60.005530] Open the lcd backlight!
[   60.386106] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.395490] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.404695] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.413958] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.423233] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   70.005221] Open the lcd backlight!

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 98:6D:35:71:0A:D4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:516 (516.0 B)  TX bytes:461 (461.0 B)

root@TinaLinux:/#

#101 全志 SOC » 45块买到的10.1寸汉朔hanshow价签F1C200S (三) » 2025-01-01 21:06:39

memory
回复: 7

上电(12V)↓:
0a289bbd1b2634c4916f056018594fb.jpg

背面↓:
b6c82f2c2f7c53107fec6ff8cce1e94.jpg

开始自己DIY 12V电源线↓:
fd6164e54c4e325d097d27643c68cfe.jpg

DIY线已成↓:
ec7c206665b2280163520386b79c8da.jpg

第一次拆,没有经验,应该用热风枪+真空吸盘的↓:
2e8a8025798cf0c6a5f73394c03e94f.jpg

太难拆了↓:
fd5891b20f00e8e22e0fc946eb8aade.jpg

623f937b2ae318d428cd82fcb05ff51.jpg

3339a5e79bfef49ff427bc9937b1611.jpg

d7ab65a17b9ef1103f5c824f80fa179.jpg

7fbb2ca3a896dad27a2aecb1d312896.jpg

bc2141b3c131d7246be7f78c9d55ec8.jpg

#103 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-31 15:50:01

3d7a4bbd538c19c12ba9ea249a3f4859.jpg

从公司垃圾堆翻出来的T113-i 1200x1920板子,直接可以驱动价签屏。

#104 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-31 15:22:44

yishuizi 说:
memory 说:

请问如何用命令行调整背光亮度?
https://bbs.aw-ol.com/topic/906/share/2

用这个测试调节背光,并没有卵用。

我也使用了大神的dws,效果不错,就是亮度目前不能调。晚上太亮了

238356bc6bfc0347b6aa2d945ae6adb5.jpg

R74 和 R75 短路上,就能用这个程序 backlight.bin.7z (二进制文件)调光了 0 - 255

使用方法 /usr/bin/backlight 135

#105 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-31 14:52:46

QQ20241231-145202.png

开机自动检测,不知道如何实现的。

#106 Re: 全志 SOC » 45块顺丰包邮买到的10.1寸保资LCD价签F1C200S 值不值 » 2024-12-31 12:53:29

买了2个,试了一下,可以进入adb,可以连接wifi,但是测试cat /dev/random > /dev/fb0没有反应,看应用的日志感觉应该是操作的fb0。还得研究一下,这个外壳确实难拆。

sh 里面把 bloziplayer 屏蔽后启动,就可以测试雪花了。

可能是 bloziplayer 开启了layer功能。

#107 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-31 08:42:40

lanlanzhilian 说:

背光电阻根本就没焊吧

请问在哪个位置呢?

#108 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-30 21:49:20

请问如何用命令行调整背光亮度?
https://bbs.aw-ol.com/topic/906/share/2

用这个测试调节背光,并没有卵用。

#110 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-30 21:06:49

ps 命令:

root@TinaLinux:/# ps
  PID USER       VSZ STAT COMMAND
    1 root      1164 S    /sbin/init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u2:0]
    7 root         0 SW<  [khelper]
    8 root         0 SW   [kdevtmpfs]
    9 root         0 SW   [kworker/0:1]
   10 root         0 SW<  [writeback]
   11 root         0 SW<  [bioset]
   12 root         0 SW<  [crypto]
   13 root         0 SW<  [kblockd]
   14 root         0 SW   [khubd]
   15 root         0 SW   [kworker/u2:1]
   26 root         0 SW<  [cfg80211]
   28 root         0 SW   [khungtaskd]
   29 root         0 SW   [kswapd0]
   30 root         0 SW   [fsnotify_mark]
   41 root         0 SW   [nand]
   42 root         0 SW   [nftld]
   43 root         0 SW   [nand_rcd]
   44 root         0 SW<  [spi1]
   47 root         0 SW<  [uether]
   48 root         0 SW   [irq/108-sunxi-m]
   49 root         0 SW   [system]
   50 root         0 SW   [kworker/u2:2]
   51 root         0 SW<  [deferwq]
   52 root         0 SW<  [f_mtp]
   53 root         0 SW   [file-storage]
   78 root         0 SW   [jbd2/nande-8]
   79 root         0 SW<  [ext4-dio-unwrit]
  103 root      1164 S    /sbin/syslogd -n -m 0
  104 root      1164 S    /sbin/klogd -n
  108 root         0 SW   [jbd2/nandi-8]
  109 root         0 SW<  [ext4-dio-unwrit]
  120 root         0 SW   [xradio_etf]
  122 root         0 SW<  [xradio_wq]
  123 root         0 SW<  [xradio_spare_wq]
  131 root         0 SW   [xradio_bh]
  133 root         0 SW<  [kworker/0:1H]
  152 root      1172 S    -/bin/sh
  153 root      1108 S    /bin/adbd -D
  155 root      1500 S    wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wifi/wpa_sup
  172 root     19416 S    bloziplayer
  177 root      1168 S    -/bin/sh
  434 root      1164 S    sleep 5
  435 root      1164 R    ps
root@TinaLinux:/#

killall bloziplayer

之后必然重启,可能因为主程序喂狗中断了

#112 Re: 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-30 20:40:25

串口日志:

[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959

[60]dram size =64
[62](GPIO_BASE_ADDR + 0x48): 0x00002222
[65](GPIO_BASE_ADDR + 0x5c): 0x00000055
[69](GPIO_BASE_ADDR + 0x64): 0x00000004
[72]CCMU_BASE_ADDR + 0x2c0 0x00104040
[76]CCMU_BASE_ADDR + 0x60 0x00104040
[79]SPIC0_BASE_ADDR+0x24: 0x00001004
[82]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 58
[87]block from 8 to 58
[568]Check is correct.
[579]Ready to disable icache.
[582]Jump to secend Boot.


U-Boot 2014.07 (Jul 29 2021 - 16:47:52) Allwinner Technology

uboot commit : dfc3875a5628fed71dd73c10becab31d46b6569c

i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed.
i2c_init ok
[0.631]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.637]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
key value = 4294967295, fel_key = [256,426]
DRAM:  64 MiB
Relocation Offset is: 03521000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 0
[0.714]NAND: NAND_UbootInit
[0.717]NAND_UbootInit start
[0.719]NB1: enter NAND_LogicInit
[0.724]nand0: get node offset error
[0.727]init nctri NAND PIORequest error!
[0.731]nand_physic_init, init nctri error
[0.735]nand_physic_init init_parameter error
[0.739]nand_physic_init error -1
[0.742]SpiNandHwInit: Start Nand Hardware initializing .....
[0.747]uboot: nand version: 3 6013 20180906 1300
int sunxi_dma_init---
irq enable
[0.767]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db891c
[0.774]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db893c
_change_spic_clk: 0x01c05024=0x1009
_change_spic_clk_v1: mclk=0xc8
_change_spic_clk: 0x01c05024=0x1004
_change_spic_clk_v1: mclk=0xc8
_change_spic_clk: 0x01c05024=0x1001
_change_spic_clk_v1: mclk=0xc8
_get_spic_clk_v1: sclk0=0x32
[0.828]not burn nand partition table!
[0.831]NB1: nftl num: 1
[0.833]init nftl: 0
[1.168]NB1: NAND_LogicInit ok, result = 0x0
[1.172]NAND_UbootInit end: 0x0
used mbr [0], count = 9
sunxi secure storage is not supported
[1.183]usb burn from boot
delay time 0
sunxi_dma_install_int ok
[1.249]usb prepare ok
usset address 0x1a
b sof ok
[1.493]usb probe ok
[1.494]usb setup ok
set address 0x33
try to update
start to recv by dma
recv done
usb update probe
usb command = 0
SUNXI_USB_SEND_DATA=32
usb update probe
usb command = 1
ready to boot normal
[12.029]exit usb burn from boot
next work 0
SUNXI_UPDATE_NEXT_ACTION_NULL
logo addr = 0x83f00000
sunxi_read_bootlogo: read bootlogo partition successful
do not find fastboot status flag
root_partition is rootfs
--------fastboot partitions--------
-total partitions:9-
-name-        -start-       -size-
bootlogo    : 400000        80000
env         : 480000        40000
boot        : 4c0000        600000
rootfs      : ac0000        f00000
rootfs_data : 19c0000       f00000
recovery    : 28c0000       800000
misc        : 30c0000       40000
private     : 3100000       40000
UDISK       : 3140000       0
-----------------------------------
set root to /dev/nandd
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   ARM OpenWrt Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1618568 Bytes = 1.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
   reserving fdt memory region: addr=81000000 size=10000
   Using Device Tree in place at 81000000, end 8100eeff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (jason@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #526 Tue Mar 1 04:28:42 UTC 2022
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[    0.000000] cma: CMA: reserved 32 MiB at 82000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c0535004, node_mem_map c0565000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/nandd init=/pseudo_init rdinit=/rdinit partitions=bootlogo@nanda:env@nandb:boot@nandc:rootfs@nandd:rootfs_data@nande:recovery@nandf:misc@nandg:private@nandh:UDISK@nandi cma=32M fb_base=0x83f00000 androidboot.serialno=0000000000000000000 boot_type=5
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 26468k/26468k available, 39068k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0429fb4   (4232 kB)
[    0.000000]       .init : 0xc042a000 - 0xc0446fa0   ( 116 kB)
[    0.000000]       .data : 0xc0448000 - 0xc0535928   ( 951 kB)
[    0.000000]        .bss : 0xc0535928 - 0xc0564740   ( 188 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=552000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000644] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.070005] pid_max: default: 32768 minimum: 301
[    0.070365] Mount-cache hash table entries: 512
[    0.071573] CPU: Testing write buffer coherency: ok
[    0.072314] Setting up static identity map for 0xc0395960 - 0xc03959b8
[    0.074659] devtmpfs: initialized
[    0.076697] pinctrl core: initialized pinctrl subsystem
[    0.083694] NET: Registered protocol family 16
[    0.086979] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.087481] dump_class_init,844, success
[    0.092210] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.110634] bio: create slab <bio-0> at 0
[    0.111748] pwm module init!
[    0.113482] SCSI subsystem initialized
[    0.113800] usbcore: registered new interface driver usbfs
[    0.113951] usbcore: registered new interface driver hub
[    0.114310] usbcore: registered new device driver usb
[    0.120538] Advanced Linux Sound Architecture Driver Initialized.
[    0.122109] cfg80211: Calling CRDA to update world regulatory domain
[    0.123050] Switching to clocksource sun3i high-res couter
[    0.142508] get det_vbus is fail, 84
[    0.144244] NET: Registered protocol family 2
[    0.146239] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.146303] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.146336] TCP: Hash tables configured (established 512 bind 512)
[    0.146480] TCP: reno registered
[    0.146516] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.146563] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.147134] NET: Registered protocol family 1
[    0.162592] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.163279] msgmni has been set to 115
[    0.166434] io scheduler noop registered
[    0.166544] io scheduler cfq registered (default)
[    0.166561] [pm]aw_pm_init!
[    0.166909] [pm]valid
[    0.166927] [pm]valid
[    0.167371] [DISP]disp_module_init
[    0.223210] pll_freq=297000000HZ, lcd_dclk_freq=62000000HZ, clk_div=4
[    0.223874] *******************************
[    0.223893] ***
[    0.223903] *** LCD Panel Parameter Check
[    0.223913] ***
[    0.223924] ***             by guozhenjie
[    0.223933] ***
[    0.223943] ********************************
[    0.223953] ***
[    0.223964] *** Interface:
[    0.223975] *** Parallel HV Panel
[    0.223986] *** Lcd Frm to RGB666
[    0.223995] ***
[    0.224004] *** Timing:
[    0.224016] *** lcd_x:      800
[    0.224027] *** lcd_y:      1280
[    0.224038] *** lcd_ht:     1220
[    0.224050] *** lcd_hbp:    70
[    0.224061] *** lcd_vt:     1315
[    0.224072] *** lcd_vbp:    22
[    0.224083] *** lcd_hspw:   20
[    0.224094] *** lcd_vspw:   6
[    0.224105] *** lcd_frame_frq:  38Hz
[    0.224115] ***
[    0.224127] *** WRN03: Recommend "lcd_dclk_frq = 96"
[    0.224137] ***
[    0.224147] *** LCD Panel Parameter Check End
[    0.224158] *******************************
[    0.224294] num_screens=1
[    0.224315] screen_id=0
[    0.224329] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.224342] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.224355] disp tv init
[    0.224370] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.224388] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.224404] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.224416] disp al tv init
[    0.227037] fetch script datadisp.screen2_output_type fail
[    0.227356] fetch script datadisp.screen2_output_mode fail
[    0.229872] fetch script datadisp.fb2_format fail
[    0.230181] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.230483] fetch script datadisp.fb2_width fail
[    0.230788] fetch script datadisp.fb2_height fail
[    0.278368] [DISP]disp_module_init finish
[    0.291813] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.291878] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.967198] console [ttyS1] enabled
[    0.972189] misc dump reg init
[    0.977547] [NAND]SPIC0_BASE_ADDR f1c05000
[    0.982786] Failed to get dragonboard_flag
[    0.987441] [NAND]nand init start
[    0.991133] SpiNandHwInit: Start Nand Hardware initializing Sep  6 2018 07:23:33.....
[    0.999871] kernel: nand version: 3 6013 20180906 1300
[    1.005617] print_level is no used
[    1.009396] request spi gpio  ok!
[    1.013070] request tx DMA
[    1.016120] request general tx dma channel ok!
[    1.021047] request rx DMA
[    1.024091] request general rx dma channel ok!
[    1.029018] NAND_ClkRequest
[    1.032160] NAND_ClkRequest: get pll6 rate 200000000HZ
[    1.037984] SPI nand ID: 12c212c2 12c212c2
[    1.042562] [SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
[    1.050539] id_number_ctl is no used
[    1.054549] _UpdateExtAccessFreqPara: no para.
[    1.060160] PHY_Scan_DelayMode: right delay mode 0x0
[    1.066219] PHY_Scan_DelayMode: right delay mode 0x800
[    1.071971] _get_spic_clk_v1: sclk0=0x32
[    1.076405] PHY_Scan_DelayMode: right delay mode,clk 50 MHz, bit[13]=0,bit[11]=0
[    1.084648] physic_info_read start!!
[    1.088640] physic_info_get_offset start!!
[    1.097655] physic_info_get_one_copy start!!
[    1.103408] block 13 page 48
[    1.107089] block 13 page 49
[    1.110759] block 13 page 50
[    1.114498] block 13 page 51
[    1.118167] block 13 page 52
[    1.121843] block 13 page 53
[    1.125585] block 13 page 54
[    1.129261] block 13 page 55
[    1.132923] block 13 page 56
[    1.136676] block 13 page 57
[    1.140348] block 13 page 58
[    1.144083] block 13 page 59
[    1.147753] block 13 page 60
[    1.151424] block 13 page 61
[    1.155163] block 13 page 62
[    1.158832] block 13 page 63
[    1.163231] physic info copy is ok
[    1.167024]
[    1.167024]
[    1.170321] [SCAN_DBG] ==============Nand Architecture Parameter==============
[    1.178391] [SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[    1.185575] [SCAN_DBG]    Nand Chip Count:      0x1
[    1.190982] [SCAN_DBG]    Nand Chip Connect:    0x1
[    1.196421] [SCAN_DBG]    Sector Count Of Page: 0x4
[    1.201829] [SCAN_DBG]    Page Count Of Block:  0x40
[    1.207362] [SCAN_DBG]    Block Count Of Die:   0x400
[    1.212961] [SCAN_DBG]    Plane Count Of Die:   0x2
[    1.218396] [SCAN_DBG]    Die Count Of Chip:    0x1
[    1.223832] [SCAN_DBG]    Bank Count Of Chip:   0x1
[    1.229240] [SCAN_DBG]    Optional Operation:   0x6d
[    1.234770] [SCAN_DBG]    Access Frequence:     0x32
[    1.240275] [SCAN_DBG] =======================================================
[    1.240275]
[    1.279859] secure storage updata ok!
[    1.284008] nand secure storage ok: 58,59
[    1.288481] start block:60
[    1.291488] [ND]boot start
[    1.294632] [ND]boot :0xc1940000
[    1.298213] [ND]boot->magic :0xaa55a5a5
[    1.302463] [ND]boot->len :0x8000
[    1.306172] [ND]boot->no_use_block :0x21
[    1.310522] [ND]boot->uboot_start_block :0x8
[    1.315288] [ND]boot->uboot_next_block :0x3a
[    1.320021] [ND]boot->logic_start_block :0x21
[    1.324882] [ND]mbr len :4096
[    1.328169] [ND]_PARTITION len :2560
[    1.332131] [ND]_NAND_STORAGE_INFO len :512
[    1.336806] [ND]_FACTORY_BLOCK len :2048
[    1.341235] [NE]partition_num: 0,size :0x36e00,cross_talk 0
[    1.347464] [NE]part mbr size: 0x2000 type: 0
[    1.352298] [NE]part bootlogo size: 0x400 type: 0
[    1.357549] [NE]part env size: 0x200 type: 0
[    1.362287] [NE]part boot size: 0x3000 type: 0
[    1.367245] [NE]part rootfs size: 0x7800 type: 0
[    1.372366] [NE]part rootfs_data size: 0x7800 type: 0
[    1.377998] [NE]part recovery size: 0x4000 type: 0
[    1.383339] [NE]part misc size: 0x200 type: 0
[    1.388170] [NE]part private size: 0x200 type: 0
[    1.393320] [NE]part UDISK size: 0x1e400 type: 0
[    1.398570] [ND]partition->size :224768
[    1.402821] [ND]partition->cross_talk :0
[    1.407206] [ND]partition->attribute :0
[    1.411459] [ND]partition->start.Chip_NO :0
[    1.416129] [ND]partition->start.Block_NO :33
[    1.420956] [ND]partition->end.Chip_NO :0
[    1.425433] [ND]partition->end.Block_NO :511
[    1.430167] [ND]partition->nand_disk[0].size :8192
[    1.435507] [ND]partition->nand_disk[0].type :0
[    1.440528] [ND]partition->nand_disk[1].size :1024
[    1.445869] [ND]partition->nand_disk[1].type :0
[    1.450893] [ND]partition->nand_disk[2].size :512
[    1.456137] [ND]partition->nand_disk[2].type :0
[    1.461160] [ND]partition->nand_disk[3].size :12288
[    1.466597] [ND]partition->nand_disk[3].type :0
[    1.471620] [ND]partition->nand_disk[4].size :30720
[    1.477054] [ND]partition->nand_disk[4].type :0
[    1.482077] [ND]partition->nand_disk[5].size :30720
[    1.487515] [ND]partition->nand_disk[5].type :0
[    1.492530] [ND]partition->nand_disk[6].size :16384
[    1.497966] [ND]partition->nand_disk[6].type :0
[    1.502988] [ND]partition->nand_disk[7].size :512
[    1.508232] [ND]partition->nand_disk[7].type :0
[    1.513283] [ND]partition->nand_disk[8].size :512
[    1.518497] [ND]partition->nand_disk[8].type :0
[    1.523549] [ND]partition->nand_disk[9].size :123904
[    1.529051] [ND]partition->nand_disk[9].type :0
[    1.534103] [ND]partition->nand_disk[10].size :-1
[    1.539317] [ND]partition->nand_disk[10].type :-1
[    1.544562] [ND]partition->nand_disk[11].size :-1
[    1.549777] [ND]partition->nand_disk[11].type :-1
[    1.555021] [ND]partition->nand_disk[12].size :-1
[    1.560235] [ND]partition->nand_disk[12].type :-1
[    1.565478] [ND]partition->nand_disk[13].size :-1
[    1.570694] [ND]partition->nand_disk[13].type :-1
[    1.575940] [ND]partition->nand_disk[14].size :-1
[    1.581154] [ND]partition->nand_disk[14].type :-1
[    1.586401] [ND]partition->nand_disk[15].size :-1
[    1.591615] [ND]partition->nand_disk[15].type :-1
[    1.596858] [ND]partition->nand_disk[16].size :-1
[    1.602073] [ND]partition->nand_disk[16].type :-1
[    1.607316] [ND]partition->nand_disk[17].size :-1
[    1.612531] [ND]partition->nand_disk[17].type :-1
[    1.617774] [ND]partition->nand_disk[18].size :-1
[    1.622989] [ND]partition->nand_disk[18].type :-1
[    1.628234] [ND]partition->nand_disk[19].size :-1
[    1.633478] [ND]partition->nand_disk[19].type :-1
[    1.638693] [ND]partition->nand_disk[20].size :-1
[    1.643934] [ND]partition->nand_disk[20].type :-1
[    1.649150] [ND]partition->nand_disk[21].size :-1
[    1.654394] [ND]partition->nand_disk[21].type :-1
[    1.659610] [ND]partition->nand_disk[22].size :-1
[    1.664857] [ND]partition->nand_disk[22].type :-1
[    1.670071] [ND]partition->nand_disk[23].size :-1
[    1.675313] [ND]partition->nand_disk[23].type :-1
[    1.680530] [ND]phy_partition->PartitionNO :0
[    1.685389] [ND]phy_partition->SectorNumsPerPage :8
[    1.690796] [ND]phy_partition->PageNumsPerBlk :64
[    1.696037] [ND]phy_partition->TotalBlkNum :479
[    1.701059] [ND]phy_partition->FullBitmapPerPage :8
[    1.706495] [ND]phy_partition->FreeBlock :0
[    1.711134] [ND]phy_partition->TotalSectors :224768
[    1.716570] [ND]phy_partition->StartBlock.Chip_NO :0
[    1.722071] [ND]phy_partition->StartBlock.Block_NO :33
[    1.727794] [ND]phy_partition->EndBlock.Chip_NO :0
[    1.733135] [ND]phy_partition->EndBlock.Block_NO :511
[    1.738734] [ND]phy_partition->next_phy_partition :0
[    1.744266] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    1.750923] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    1.757229] [ND]build 1 phy_partition !
[    1.761481] [ND]nand_info->type :0
[    1.765283] [ND]nand_info->SectorNumsPerPage :8
[    1.770305] [ND]nand_info->BytesUserData :16
[    1.775067] [ND]nand_info->PageNumsPerBlk :64
[    1.779896] [ND]nand_info->BlkPerChip :512
[    1.784465] [ND]nand_info->FirstBuild :0
[    1.788813] [ND]nand_info->FullBitmap :0
[    1.793192] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.798695] [ND]nand_info->bad_block_addr.Block_NO :0
[    1.804326] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.809830] [ND]nand_info->mbr_block_addr.Block_NO :0
[    1.815460] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.821348] [ND]nand_info->no_used_block_addr.Block_NO :33
[    1.827457] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.833374] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    1.839357] [ND]nand_info->new_bad_page_addr :65535
[    1.844793] [ND]nand_info->partition_nums :1
[    1.849525] [ND]sizeof partition:2384
[    1.853613] [ND]nand_info->partition:0:
[    1.857865] [ND]size:0x36e00
[    1.861055] [ND]cross_talk:0x0
[    1.864470] [ND]attribute:0x0
[    1.867762] [ND]start: chip:0 block:33
[    1.871919] [ND]end  : chip:0 block:511
[    1.876202] [ND]boot :0xc1940000
[    1.879782] [ND]boot->magic :0xaa55a5a5
[    1.884063] [ND]boot->len :0x8000
[    1.887738] [ND]boot->no_use_block :0x21
[    1.892083] [ND]boot->uboot_start_block :0x8
[    1.896847] [ND]boot->uboot_next_block :0x3a
[    1.901579] [ND]boot->logic_start_block :0x21
[    1.906437] [ND]mbr len :4096
[    1.909726] [ND]_PARTITION len :2560
[    1.913716] [ND]_NAND_STORAGE_INFO len :512
[    1.918352] [ND]_FACTORY_BLOCK len :2048
[    1.923035] [ND]nand_partition0
[    1.926791] [ND]nftl start:479,40
[    1.930706] [ND]first
[    2.075702] [ND]before second 479 439.
[    2.540305] [NE]recover_phy_page_mapping no used page 9!!
[    2.546387] [ND]recover 174 9
[    2.549709] [ND]free block nums is 26 !
[    2.554017] [NE]not power on gc 26!
[    2.557886] [ND]nftl ok!
[    2.560774] [ND]max_erase_times = 65000
[    2.567581]  nanda: unknown partition table
[    2.575037]  nandb: unknown partition table
[    2.582189]  nandc: unknown partition table
[    2.589486]  nandd: unknown partition table
[    2.596735]  nande: unknown partition table
[    2.603983]  nandf: unknown partition table
[    2.611152]  nandg: unknown partition table
[    2.618433]  nandh:
[    2.623411]  nandi: unknown partition table
[    2.628937] [NAND]nand init end
[    2.633040] sunxi-wlan wlan: wlan_busnum (0)
[    2.637921] sunxi-wlan wlan: wlan_power_num (0)
[    2.642965] sunxi-wlan wlan: Missing wlan_io_regulator.
[    2.648817] sunxi-wlan wlan: io_regulator_name ((null))
[    2.654697] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    2.662580] sunxi-wlan wlan: wlan_regon gpio=130  mul-sel=1  pull=3  drv_level=1  data=0
[    2.671720] sunxi-wlan wlan: wlan_hostwake gpio=131  mul-sel=6  pull=-1  drv_level=-1  data=1
[    2.681295] sunxi-wlan wlan: Missing clocks.
[    2.686098] sunxi-wlan wlan: clk_name ((null))
[    2.691065] sunxi-wlan wlan: clk not config
[    2.696159] lradc_battery_probe:lradc_battery_probe ++++++
[    2.702258] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    2.709234] key base: f1c23400
[    2.712760] irq num: 116 !
[    2.715834] battery_data_hw_init:battery_data_hw_init ++++++
[    2.722171] lradc_battery_probe:lradc_battery_probe ------
[    2.730298] spi spi1: master is unqueued, this is deprecated
[    3.297565] ssd2828 spi1.0: ssd2828_probe
[    3.302308] ssd2828 spi1.0: reg_value = 0x2828
[    3.307329] ssd2828 spi1.0: ssd2828_init START
[    3.665985] ssd2828 spi1.0: ssd2828_init SUCCESS!
[    3.671566] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.679454] usbcore: registered new interface driver usb-storage
[    3.686312] usbcore: registered new interface driver ums-alauda
[    3.692963] usbcore: registered new interface driver ums-cypress
[    3.699783] usbcore: registered new interface driver ums-datafab
[    3.706599] usbcore: registered new interface driver ums_eneub6250
[    3.713601] usbcore: registered new interface driver ums-freecom
[    3.720345] usbcore: registered new interface driver ums-isd200
[    3.727100] usbcore: registered new interface driver ums-jumpshot
[    3.734021] usbcore: registered new interface driver ums-karma
[    3.740582] usbcore: registered new interface driver ums-onetouch
[    3.747541] usbcore: registered new interface driver ums-realtek
[    3.754363] usbcore: registered new interface driver ums-sddr09
[    3.761015] usbcore: registered new interface driver ums-sddr55
[    3.767737] usbcore: registered new interface driver ums-usbat
[    3.775222] /soc/usbc0@0: could not find phandle
[    3.780369] get regulator_io is no nocare
[    3.785073] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    3.793019] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    3.804897] hub 1-0:1.0: USB hub found
[    3.809118] hub 1-0:1.0: 1 port detected
[    3.814078] wrn: hcd is not enable, need not stop hcd
[    3.820457] sunxi_keyboard_startup: keyboard has no clk.
[    3.827066] input: sunxi-keyboard as /devices/virtual/input/input0
[    3.835084] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    3.841988] twi_start()387 - [i2c0] START can't sendout!
[    3.848204] twi_start()387 - [i2c0] START can't sendout!
[    3.854368] twi_start()387 - [i2c0] START can't sendout!
[    3.860365] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    3.867807] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    3.875467] sunxi cedar version 0.1
[    3.879598] VE: install start!!!
[    3.879598]
[    3.885089] cedar_ve: cedar-ve the get irq is 103
[    3.890929] VE: install end!!!
[    3.890929]
[    3.897577] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=1)
[    3.907846] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Feb 25 2021 at 05:49:58
[    3.920487] sunxi-mmc sdc0: Can't get vmmc regulator string
[    3.926804] sunxi-mmc sdc0: Can't get vqmmc regulator string
[    3.933146] sunxi-mmc sdc0: Can't get vdmmc regulator string
[    3.939431] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    3.946494] sunxi-mmc sdc0: ***set host ocr***
[    3.951864] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.973213] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.003365] sunxi-mmc sdc0: base:0xf1c0f000 irq:108
[    4.008826] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    4.015736] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    4.021831] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.033199] usbcore: registered new interface driver usbhid
[    4.039390] usbhid: USB HID core driver
[    4.046368] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.060136] failed to get gpio-spk and gpio_num
[    4.067500] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    4.075578] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    4.083562] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    4.091290] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    4.099073] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    4.109350] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[    4.118887] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    4.127911] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    4.137887] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    4.146581] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    4.152428] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    4.163501] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    4.172295] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    4.182275] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    4.191110] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    4.201953] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    4.209659] ipip: IPv4 over IPv4 tunneling driver
[    4.216255] gre: GRE over IPv4 demultiplexor driver
[    4.221689] ip_gre: GRE over IPv4 tunneling driver
[    4.229286] TCP: cubic registered
[    4.232984] Initializing XFRM netlink socket
[    4.237897] NET: Registered protocol family 17
[    4.242908] NET: Registered protocol family 15
[    4.248456] VFP support v0.3: not present
[    4.253868] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    4.260178] [LCD]lcd_module_init
[    4.263914] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    4.270730] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    4.278207] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    4.285337] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    4.291343] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.302910] enhance_en=1
[    4.305875] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    4.310955] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    4.317139] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    4.323290] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    4.329447] pll_freq=297000000HZ, lcd_dclk_freq=62000000HZ, clk_div=4
[    4.336682] clk_div=4
[    4.339249]
[    4.339249] insmod_device_driver
[    4.339249]
[    4.347906] [LCD]open, step 0 finish
[    4.352226] device_chose finished 77!
[    4.356438] sunxi-mmc sdc0: smc 0 p0 err, cmd 1, RTO !!
[    4.362362] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    4.383167] [LCD]open, step 1 finish
[    4.443167] [LCD]open, step 2 finish
[    4.563263] [LCD]open, step 3 finish
[    4.573653] [LCD]lcd_module_init finish
[    4.578518] usb_serial_number:20080411
[    4.583431] file system registered
[    4.590174] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    4.598022] android_usb gadget: Number of LUNs=3
[    4.603226]  lun0: LUN: removable file: (no medium)
[    4.608644]  lun1: LUN: removable file: (no medium)
[    4.614102]  lun2: LUN: removable file: (no medium)
[    4.620461] android_usb gadget: android_usb ready
[    4.626071] twi_start()387 - [i2c0] START can't sendout!
[    4.632197] twi_start()387 - [i2c0] START can't sendout!
[    4.638411] twi_start()387 - [i2c0] START can't sendout!
[    4.644479] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    4.651152] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    4.659077] ALSA device list:
[    4.662437]   #0: audiocodec
[    4.674472] VFS: Mounted root (squashfs filesystem) readonly on device 93:48.
[    4.687626] devtmpfs: mounted
[    4.692677] Freeing unused kernel memory: 112K (c042a000 - c0446000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
[    5.839100] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: (null)
-- run rc.preboot --
-- blozi init --
------- start blozi init -------
/
-- end --
copy SN.txt to /usr/product_id success!
-- end --
[    6.468897] EXT4-fs (nandi): mounted filesystem with ordered data mode. Opts: (null)
[    7.266067] sunxi-wlan wlan: bus_index: 0
[    7.285768] ======== XRADIO WIFI OPEN ========
[    7.290799] [XRADIO] Driver Label:XR_V02.15.40  Jun  5 2021 08:58:58
[    7.309166] [XRADIO] Allocated hw_priv @ c1916fa0
[    7.315736] product_sn to macaddr:18:54:c9:43:85:17
[    7.443309] [XRADIO] Detect SDIO card 0
[    7.458668] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.483267] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.513968] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.528300] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.541967] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    7.563773] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    7.575507] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    7.587711] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    7.600914] mmc0: new high speed SDIO card at address 0001
[    7.621799] [SBUS] XRadio Device:sdio clk=50000000
[    7.650901] [XRADIO] XRADIO_HW_REV 1.0 detected.
[    7.820985] [XRADIO] Bootloader complete
[    7.920769] [XRADIO] Firmware completed.
[    7.943271] [WSM] Firmware Label:XR_C01.08.52.11 Jan 24 2017 10:15:58
[    7.950680] [XRADIO] Firmware Startup Done.
[    8.005530] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
-- run rc.final --
insmod F1C200s-board
-- bloziplayer init --
video_dir exist
-- upgrade app --


BusyBox v1.27.2 () built-in shell (ash)

[    8.306227] android_usb: already disabled
 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ---------------------------[    8.384843] adb_open
----------------[    8.387948] adb_bind_config
---
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
[    8.402496] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
-- wpa supplicant init --
[    8.647847] android_work: sent uevent USB_STATE=CONNECTED
[    8.894630] android_work: sent uevent USB_STATE=DISCONNECTED
[    8.922558] android_usb gadget: high-speed config #1: android
[    8.930220] android_work: sent uevent USB_STATE=CONNECTED
[    8.939412] android_work: sent uevent USB_STATE=CONFIGURED
starting...
start success
root@TinaLinux:/# [   13.990739] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   13.999983] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   14.009196] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   14.018333] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   14.027527] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   43.152253] [NE]gc_one ok!

root@TinaLinux:/#
root@TinaLinux:/#







修改mac地址:
297ecb8b32c89002ad3a3fb25873de92.png


没有efuse???:

root@TinaLinux:/#
root@TinaLinux:/# cat /sys/class/sunxi_info/key_info
[ 1514.128823] sunxi_efuse_readn()621 - Invalid parameter. name: c054b320, read_buf: c4901000, size: 256
00000000
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# cat /sys/class/sunxi_info/sys_info
sunxi_platform    : Sun3iw1p1
sunxi_secure      : normal
sunxi_serial      : 00000000000000000000000000000000
sunxi_chiptype    : 00000000
sunxi_batchno     : 0x0
root@TinaLinux:/#

#115 全志 SOC » 45块买到的10.1寸保资LCD价签F1C200S (二) » 2024-12-30 20:39:36

memory
回复: 33

参考链接:45块顺丰包邮买到的10.1寸保资LCD价签F1C200S 值不值


下载 xfdr0805大佬的 dws

电脑用adb把dws推送到价签:

adb push dws /usr/bin/

添加执行属性:

chmod +x /usr/bin/dws

修改: /etc/profile.d/bloziplayer.sh

改成这样,连接热点,同步ntp时间,开启时钟app:

    #bloziplayer
    wifi_connect_ap_test wifi 13800138000
    ntpd -p pool.ntp.org
    /usr/bin/dws &



----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
调光方法在 #13 楼
R74 和 R75 短路上,就能用这个程序 backlight.bin.7z (二进制文件)调光了 0 - 255

使用方法 /usr/bin/backlight 135







----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------


看到一个好玩的:
天眼查: https://www.tianyancha.com/company/3149053673
企查查: https://www.qcc.com/firm/52365fe875af00802f4a62d1ef97c942.html
上海保资智能科技有限公司 法人代表被限高了,对外投资的公司都注销了。

#116 Re: 全志 SOC » 45块顺丰包邮买到的10.1寸保资LCD价签F1C200S 值不值 » 2024-12-30 16:38:09

hameyou 说:
liefyuan 说:

有大佬知道怎么拆机的吗?手残党我这边外壳都没有拆开。有大佬拆外壳的图片吗?可以发出来参考一下吗?

买了两个吸盘,用吹风机对着屏幕边缘吹一圈后,一拉就开了

a578dfb4c7e8357bdc1906b10b89dac4.jpg

看我的

突然发现 #46 xboot也加入了战斗

#117 Re: 全志 SOC » 淘宝上买了一个 GT911 触摸屏, 但是发现 无论用 evtest 还是 ts_print_raw 读出来的最大宽高都是800 x 480 » 2024-12-28 10:03:39

lovelovex 说:

汇顶的配置文件和调试工具不知道哪里能下载

下单买了一个 汇顶 GT911/GT9xx 电容触摸屏产测工具
https://whycan.com/t_2366.html

#119 Re: 全志 SOC » 昨天有朋友在 Q群问如何读spi nor flash(W25Q128/MX25L256)的唯一Id(UID), 刚好最近要用到,放狗搜了一圈 » 2024-12-27 15:35:26

w25q 系列有唯一id,用0x4B 命令可以读出,

其他家的不知道有没有这个功能,mx25l 的手册找了一下没找到。

#122 Re: 全志 SOC » 8.8元的 ML307R-DL 4G CAT.1 模块 » 2024-12-24 11:17:10

AT+MHTTPCREATE="http://www.baidu.com/"

↑上面的命令会返回连接号,每次+1,把连接号填到下面粗体字:

AT+MHTTPREQUEST=0,1,0,"/get"

删除HTTP实例:

AT+MHTTPDEL=0

#123 Re: 全志 SOC » 8.8元的 ML307R-DL 4G CAT.1 模块 » 2024-12-24 11:15:49

c2e4a025ac91247845051109ddc48eba.jpg

需要用USB口上网,参考这个文件:

4_ML307R_拨号上网用户手册_V1.0.0.pdf


每次重新上电都要执行 AT+MDIALUP=1,1 重新拨号

#125 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 好文共享:《加密芯片那些事儿.pdf》 » 2024-12-22 10:03:47

memory
回复: 1

本站打开:加密芯片那些事儿.pdf

这篇文章总结出三种加密工作模式,我觉得很到位,全志这种外置flash只适合第三种:

1. 真值点判断工作模式
2. 数据加解密工作模式
3. 功能运算工作模式

#126 Re: 全志 SOC » Android10 主界面禁用下拉菜单,关闭主菜单,这样app就无法跳出到桌面了 » 2024-12-20 21:10:19

看来得自己做一个对照表,

进度条是 [0..1023] <===> pwm值 [12..255]

#127 Re: 全志 SOC » Android10 主界面禁用下拉菜单,关闭主菜单,这样app就无法跳出到桌面了 » 2024-12-20 21:04:38

请问安卓SDK如何控制屏幕亮度最小值,防止被用户设置全黑
https://whycan.com/t_11679.html


安卓SDK如何控制屏幕亮度最小值,防止被用户设置全黑

修改 device/softwinner/xxx-yyy/overlay/frameworks/base/core/res/res/values/config.xml

    <integer name="config_screenBrightnessSettingMinimum">8</integer>

改成

    <integer name="config_screenBrightnessSettingMinimum">12</integer>


---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------

客户反应 A133背光调节不够线性

frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/BrightnessUtils.java

源代码:

    public static final int convertGammaToLinear(int val, int min, int max) {
        final float normalizedVal = MathUtils.norm(0, GAMMA_SPACE_MAX, val);
        final float ret;
        if (normalizedVal <= R) {
            ret = MathUtils.sq(normalizedVal / R);
        } else {
            ret = MathUtils.exp((normalizedVal - C) / A) + B;
        }

        // HLG is normalized to the range [0, 12], so we need to re-normalize to the range [0, 1]
        // in order to derive the correct setting value.
        return Math.round(MathUtils.lerp(min, max, ret / 12));
    }

添加调试后:

    public static final int convertGammaToLinear(int val, int min, int max) {
        final float normalizedVal = MathUtils.norm(0, GAMMA_SPACE_MAX, val);
        final float ret;
        if (normalizedVal <= R) {
            ret = MathUtils.sq(normalizedVal / R);
        } else {
            ret = MathUtils.exp((normalizedVal - C) / A) + B;
        }

	int x = Math.round(MathUtils.lerp(min, max, ret / 12));

	String message = String.format("----> linear min->%d, max=%d, val=%04d, x=%03d", min, max, val, x);
	Log.e("AAAA", message);

        // HLG is normalized to the range [0, 12], so we need to re-normalize to the range [0, 1]
        // in order to derive the correct setting value.
        return x;
    }

从左拖到右:

12-20 21:04:52.384  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=000, x=012
12-20 21:04:52.386  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=081, x=013
12-20 21:04:52.561  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=095, x=013
12-20 21:04:52.577  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=194, x=015
12-20 21:04:52.595  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=289, x=018
12-20 21:04:52.612  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=384, x=023
12-20 21:04:52.627  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=440, x=027
12-20 21:04:52.645  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=507, x=032
12-20 21:04:52.661  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=564, x=037
12-20 21:04:52.679  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=620, x=044
12-20 21:04:52.695  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=677, x=054
12-20 21:04:52.711  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=729, x=065
12-20 21:04:52.727  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=781, x=081
12-20 21:04:52.745  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=838, x=104
12-20 21:04:52.761  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=876, x=124
12-20 21:04:52.777  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=909, x=145
12-20 21:04:52.796  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=938, x=167
12-20 21:04:52.811  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=980, x=205
12-20 21:04:52.828  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=1014, x=244
12-20 21:04:52.844  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=1023, x=255
12-20 21:04:53.085  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=1023, x=255
12-20 21:04:53.097  2237  2237 E AAAA    : AAAA ----> linear min->12, max=255, val=1023, x=255

#128 Re: 全志 SOC » Android10 主界面禁用下拉菜单,关闭主菜单,这样app就无法跳出到桌面了 » 2024-12-20 19:38:44

命令行调整背光亮度:

input keyevent BRIGHTNESS_DOWN
input keyevent BRIGHTNESS_UP

#129 Re: 全志 SOC » Android10 主界面禁用下拉菜单,关闭主菜单,这样app就无法跳出到桌面了 » 2024-12-18 22:06:24

关闭主菜单

device/softwinner/xxx-yyy/overlay/frameworks/base/core/res/res/values/config.xml

    <bool name="config_showNavigationBar">true</bool>

改为:

    <bool name="config_showNavigationBar">false</bool>

#130 全志 SOC » Android10 主界面禁用下拉菜单,关闭主菜单,这样app就无法跳出到桌面了 » 2024-12-18 21:26:06

memory
回复: 5

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java

    public boolean panelsEnabled() {
        final int disabled1 = getDisabled1(DEFAULT_DISPLAY);
        final int disabled2 = getDisabled2(DEFAULT_DISPLAY);
        return (disabled1 & StatusBarManager.DISABLE_EXPAND) == 0
                && (disabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0
                && !ONLY_CORE_APPS;
    }
    public boolean panelsEnabled() {
    return false;
    }

#133 Re: 全志 SOC » 请问安卓SDK如何控制屏幕亮度最小值,防止被用户设置全黑 » 2024-12-17 11:03:37

搞定了

修改 device/softwinner/xxx-yyy/overlay/frameworks/base/core/res/res/values/config.xml

    <integer name="config_screenBrightnessSettingMinimum">8</integer>

改成

    <integer name="config_screenBrightnessSettingMinimum">15</integer>

#134 Re: 全志 SOC » 小白对xfel和XBOOT的疑问 » 2024-12-17 11:00:04

可以,xfel/sunxi-fel 本来就是用来烧录的,xfel功能会更全一些。

#135 Re: 全志 SOC » 小白对xfel和XBOOT的疑问 » 2024-12-17 10:42:46

Gaga 说:
memory 说:

xfel 是 xboot 写的全志芯片烧录软件

裸机开发时使用了xfel还需要XBOOT吗?

xfel 只是烧录工具,和sunxi-fel功能相近。
xboot是sdk,相当于uboot/linux

#136 全志 SOC » 请问安卓SDK如何控制屏幕亮度最小值,防止被用户设置全黑 » 2024-12-17 10:25:51

memory
回复: 1

请问安卓SDK如何控制屏幕亮度最小值,防止被用户设置全黑

#138 Re: 全志 SOC » 小白对xfel和XBOOT的疑问 » 2024-12-17 10:24:17

xfel 是 xboot 写的全志芯片烧录软件

#139 Re: 全志 SOC » 初学者小白的第一点疑问 » 2024-12-16 12:46:55

初始步骤:我编译XBOOT,然后把xboot.bin固件烧录到SPI FLASH首地址开始处,之后处理器上电会先执行BROM内置代码(芯片出厂自带固件),然后将SPI FLASH中的XBOOT代码加载到处理器SRAM中运行,XBOOT再将SPI FLASH其他地址里的裸机程序加载到SDRAM中并开始运行用户程序是吗?

#141 全志 SOC » 闲鱼淘了一块大彩串口屏,F1C600,7寸,GT911电容触摸 » 2024-12-14 20:53:40

memory
回复: 2

闲鱼淘了一块大彩串口屏,F1C600,7寸,GT911电容触摸

固件备份:dacai_read_a.bin.7z (首先排除melis系统,因为里面找不到MINFS关键字)

#144 Re: 全志 SOC » 有办法可以把EPDKV100.img的melis100.fex解包? » 2024-12-12 22:13:43

TF卡插入不能识别的原因可能是没有加载 sdmmc.drv 驱动。

#145 Re: 全志 SOC » 有办法可以把EPDKV100.img的melis100.fex解包? » 2024-12-12 22:12:15

ramfs 和 rootfs 这两个什么区别?

ramfs 应该是常驻内存,rootfs在flash,需要的时候才会加载到内存

#146 Re: 全志 SOC » 有办法可以把EPDKV100.img的melis100.fex解包? » 2024-12-09 12:00:53

用 dd 命令提取ramfs.iso文件:

dd bs=1 if=input.bin of=ramfs.iso skip=$((0x4d134)) count=$((0x00019000))
dd bs=1 if=input.bin of=rootfs.iso skip=$((0x00024400)) count=$((0x3bbc00))

用 extminfs 释放文件系统:

extminfs.exe "D:\ramfs.iso"
D:\work\sf-cabinet>tree MINFS_00 /F
卷 addon 的文件夹 PATH 列表
卷序列号为 000000C3 846D:812C
D:\WORK\SF-CABINET\MINFS_00
│  MINFS_analysis.txt
│
└─$Root
    │  ramfs_ini.tmp
    │  shell.zgj
    │  shell.zgj.LZMA
    │  startup.esh
    │
    ├─drv
    │      ir.drv
    │      ir.drv.LZMA
    │      key.drv
    │      key.drv.LZMA
    │      matrixkey.drv
    │      matrixkey.drv.LZMA
    │      monitor.drv
    │      monitor.drv.LZMA
    │      power.drv
    │      power.drv.LZMA
    │      power_cfg.ini
    │      rtc.drv
    │      rtc.drv.LZMA
    │      spi.drv
    │      spi.drv.LZMA
    │      spinor.drv
    │      spinor.drv.LZMA
    │      twi.drv
    │      twi.drv.LZMA
    │
    └─mod
            slib.mod
            slib.mod.LZMA

#147 Re: 全志 SOC » 有办法可以把EPDKV100.img的melis100.fex解包? » 2024-12-09 11:49:47

打开 melis100.fex 文件:

QQ截图20241209114319.png

rootfs.iso minifs 文件系统
起始地址: 0x24400
大小:       0x003BBC00

QQ截图20241209114921.png

开始地址 0x4d134
长度       0x00019000

#148 Re: 全志 SOC » 有办法可以把EPDKV100.img的melis100.fex解包? » 2024-12-09 10:23:32

memory 说:

melis100.fex 是最终的flash烧录镜像,解包有难度。

但是还是让我找到了一个提取 rootfs.iso minfs 文件的办法

https://github.com/wrongbaud/sf-cabinet

仓库本站下载:sf-cabinet_20241209_git.7z

extminfs.exe "D:\work\F1C200S_Melis_V1.7_mdk\melis2.0-sdk-release\workspace\suniv\beetles\rootfs.iso"
D:\work\sf-cabinet>extminfs.exe "D:\work\F1C200S_Melis_V1.7_mdk\melis2.0-sdk-release\workspace\suniv\beetles\rootfs.iso"

MINFS tree will be saved to MINFS_00
MINFS image analysis will be saved to MINFS_00\MINFS_analysis.txt

QQ截图20241209101813.png

#149 Re: 全志 SOC » 有办法可以把EPDKV100.img的melis100.fex解包? » 2024-12-09 09:48:15

melis100.fex 是最终的flash烧录镜像,解包有难度。

#150 Re: 全志 SOC » 试一试用MDK ARMCC 编译全志官方f1c100s sdk --- melis » 2024-12-06 20:09:39

这样修改调试串口改到 UART2 (PE7,PE8)
F1C200S_Melis_V1.7_mdk\melis2.0-sdk-release\workspace\suniv\eFex\sys_config.fex

[uart_para]
uart_debug_port = 2
uart_debug_tx   = port:PE7<3>
uart_debug_rx   = port:PE8<3>

747f7dcbed99b879c333722d6ec9d386.png

#151 Re: 全志 SOC » A133 AW869C 蓝牙开启失败,请问是什么原因呢? » 2024-12-04 17:49:53

这是A133 + AW869A 正常的日志

130|ceres-c3:/ #
130|ceres-c3:/ # logcat |grep bluetooth
08-23 21:00:06.855  2131  2131 I ServiceManagement: Registered android.hardware.bluetooth@1.0::IBluetoothHci/default (start delay of 390ms)
08-23 21:00:06.856  2131  2131 I ServiceManagement: Removing namespace from process name android.hardware.bluetooth@1.0-service to bluetooth@1.0-service.
08-23 21:00:06.857  2131  2131 I android.hardware.bluetooth@1.0-service: Registration complete for android.hardware.bluetooth@1.0::IBluetoothHci/default.
08-23 21:00:06.890  1988  1988 I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default in either framework or device manifest.
08-23 21:00:06.891  2130  2130 E audiohalservice: Could not get passthrough implementation for android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default.
08-23 21:00:06.892  1988  1988 I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default in either framework or device manifest.
08-23 21:00:06.892  2130  2130 E audiohalservice: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.
08-23 21:00:07.477  2138  2138 E light   : light_open lights bluetooth failed: -22
08-23 21:00:10.683  2323  2323 I getprop : type=1400 audit(0.0:19): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=2245 scontext=u:r:shell:s0 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
08-23 21:00:10.683  2323  2323 I getprop : type=1400 audit(0.0:20): avc: denied { getattr } for path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=2245 scontext=u:r:shell:s0 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
08-23 21:00:10.683  2323  2323 I getprop : type=1400 audit(0.0:21): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=2246 scontext=u:r:shell:s0 tcontext=u:object_r:bluetooth_audio_hal_prop:s0 tclass=file permissive=1
08-23 21:00:10.683  2323  2323 I getprop : type=1400 audit(0.0:22): avc: denied { getattr } for path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=2246 scontext=u:r:shell:s0 tcontext=u:object_r:bluetooth_audio_hal_prop:s0 tclass=file permissive=1
08-23 21:00:10.683  2323  2323 I getprop : type=1400 audit(0.0:23): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=2247 scontext=u:r:shell:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
08-23 21:00:10.683  2323  2323 I getprop : type=1400 audit(0.0:24): avc: denied { getattr } for path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=2247 scontext=u:r:shell:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
08-23 21:00:10.690  2323  2323 I getprop : type=1400 audit(0.0:79): avc: denied { open } for path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=2297 scontext=u:r:shell:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
08-23 21:00:10.690  2323  2323 I getprop : type=1400 audit(0.0:80): avc: denied { getattr } for path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=2297 scontext=u:r:shell:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
08-23 21:00:12.052  2124  2124 W Zygote  : Class not found for preloading: android.bluetooth.BluetoothA2dp$2
08-23 21:00:16.150  2428  2560 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.READ_CONTACTS in package: com.android.bluetooth at: Binary XML file line #67
11-23 11:34:04.215  2126  2126 W Zygote  : Class not found for preloading: android.bluetooth.BluetoothA2dp$2
11-23 11:34:04.264  2428  2428 D BluetoothManagerService: Stored bluetooth Name=QUAD-CORE A133 c3,Address=01:42:D9:21:DE:89
11-23 11:34:05.973  2428  2484 I ActivityManager: app.processName = com.android.bluetooth
11-23 11:34:05.973  2428  2484 I ActivityManager: Start proc 2815:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
11-23 11:34:06.715  2815  2815 I         : [1123/113406.715271:INFO:com_android_bluetooth_btservice_AdapterService.cpp(628)] hal_util_load_bt_library loaded HAL: btinterface=0x7c0cae5440, handle=0xe161d939f04fe2f3
11-23 11:34:06.793  2815  3020 I bt_btif_core: btif_init_bluetooth entered
11-23 11:34:06.794  2815  3020 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
11-23 11:34:06.797  2815  3020 I bt_btif_core: btif_init_bluetooth finished
11-23 11:34:06.905  2815  2815 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:07.597  2428  2428 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
11-23 11:34:07.601  2428  2473 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@337c8b
11-23 11:34:07.608  2815  2836 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@d1c55c0
11-23 11:34:07.677  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:07.690  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:07.768  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:07.790  2131  2172 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
11-23 11:34:07.800  2131  2172 E libbt_vendor: aicbt_load_stack_conf unable to open file '/vendor/etc/bluetooth/aicbt.conf': No such file or directory
11-23 11:34:07.800  2131  2172 E libbt_vendor: no config find from file '/vendor/etc/bluetooth/aicbt.conf'
11-23 11:34:07.804  2131  2172 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
11-23 11:34:07.800  2131  2131 I HwBinder:2131_1: type=1400 audit(0.0:130): avc: denied { create } for scontext=u:r:hal_bluetooth_default:s0 tcontext=u:r:hal_bluetooth_default:s0 tclass=udp_socket permissive=1
11-23 11:34:07.810  2131  2131 I HwBinder:2131_1: type=1400 audit(0.0:131): avc: denied { read } for name="/" dev="tmpfs" ino=7445 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
11-23 11:34:07.987  2131  3256 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured result: 0
11-23 11:34:07.987  2131  3256 I android.hardware.bluetooth@1.0-impl: Firmware configured in 0.083s
11-23 11:34:07.987  2131  3256 I android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured: lpm_timeout_ms 3000
11-23 11:34:07.987  2131  3256 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0
11-23 11:34:07.987  2131  3256 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured Calling StartLowPowerWatchdog()
11-23 11:34:08.123  2131  3250 E aic_heartbeat: load_aicbt_heartbeat_conf unable to open file '/vendor/etc/bluetooth/aicbt_heartbeat.conf': No such file or directory
11-23 11:34:08.202  2815  3028 I bt_btif_core: btif_enable_bluetooth_evt entered: status 0
11-23 11:34:08.207  2815  3028 I bt_btif_core: btif_enable_bluetooth_evt finished
11-23 11:34:08.233  2428  2428 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.gatt.GattService
11-23 11:34:08.277  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.308  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.390  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.395  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.448  2815  3269 I chatty  : uid=1002(bluetooth) identical 2 lines
11-23 11:34:08.461  2815  2815 D A2dpService: setA2dpService(): set to: com.android.bluetooth.a2dp.A2dpService@938178f
11-23 11:34:08.468  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.478  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.492  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.504  2815  2815 D BluetoothMapAccountLoader: Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_PROVIDER
11-23 11:34:08.507  2815  2815 D BluetoothMapAccountLoader: Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_IM_PROVIDER
11-23 11:34:08.510  2815  2815 D BluetoothMapService: setBluetoothMapService(): set to: com.android.bluetooth.map.BluetoothMapService@d2994dd
11-23 11:34:08.512  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.529  2428  2639 D MediaSessionService: The callback android.media.session.ICallback$Stub$Proxy@901abf1 is set by com.android.bluetooth
11-23 11:34:08.532  2815  3269 I bt_stack: [INFO:connection_handler.cc(206)] virtual bool bluetooth::avrcp::ConnectionHandler::AvrcpConnect(bool, const RawAddress &): handle=0000 status= 000000
11-23 11:34:08.546  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.559  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.571  2815  2815 D BtOppService: setBluetoothOppService(): set to: com.android.bluetooth.opp.BluetoothOppService@b8a3ee4
11-23 11:34:08.575  2815  2815 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@dba49b6
11-23 11:34:08.587  2815  2815 D BluetoothPbapService: setBluetoothPbapService(): set to: com.android.bluetooth.pbap.BluetoothPbapService@d8c867c
11-23 11:34:12.107  3674  3674 D music_MediaPlaybackSer: OnGetRoot: clientPackageName=com.android.bluetooth; clientUid=1002 ; rootHints=null
11-23 11:34:12.172  3674  3674 D music_MediaPlaybackSer: OnGetRoot: clientPackageName=com.android.bluetooth; clientUid=1002 ; rootHints=null
11-23 11:36:11.909  2428  2639 D BluetoothManagerService: disable(): mBluetooth = android.bluetooth.IBluetooth$Stub$Proxy@337c8b mBinding = false
11-23 11:36:11.910  2428  2473 D BluetoothManagerService: MESSAGE_DISABLE: mBluetooth = android.bluetooth.IBluetooth$Stub$Proxy@337c8b
11-23 11:36:11.910  2428  2428 V SettingsProvider: Notifying for 0: content://settings/global/bluetooth_on
11-23 11:36:11.966  2428  3127 D MediaSessionService: The callback null is set by com.android.bluetooth
11-23 11:36:11.977  2815  2815 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@57dc280, channel: 5, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@6cf00b9, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@71dcfemSocket: android.net.LocalSocket@c44ac5f impl:android.net.LocalSocketImpl@63c86ac fd:java.io.FileDescriptor@dd5ef75, mSocketState: LISTENING
11-23 11:36:11.979  2815  2815 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@c8acb0a, channel: 4099, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@4b1af7b, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@7416198mSocket: android.net.LocalSocket@6230df1 impl:android.net.LocalSocketImpl@4928dd6 fd:java.io.FileDescriptor@321c857, mSocketState: LISTENING
11-23 11:36:11.988  2815  3412 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@ab6ff44, channel: 4, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@449982d, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@f81b162mSocket: android.net.LocalSocket@21092f3 impl:android.net.LocalSocketImpl@8c6cbb0 fd:java.io.FileDescriptor@8d48a29, mSocketState: LISTENING
11-23 11:36:11.991  2815  3412 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@94d81ae, channel: 4097, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@e176b4f, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@c4f2dcmSocket: android.net.LocalSocket@8029fe5 impl:android.net.LocalSocketImpl@5f40aba fd:java.io.FileDescriptor@a096d6b, mSocketState: LISTENING
11-23 11:36:11.999  2815  2815 W BtOppService: unregisterReceivers java.lang.IllegalArgumentException: Receiver not registered: com.android.bluetooth.opp.BluetoothOppService$3@15e6f4d
11-23 11:36:12.017  2815  3020 I bt_btif_core: btif_disable_bluetooth entered
11-23 11:36:12.019  2815  3020 I bt_btif_core: btif_disable_bluetooth finished
11-23 11:36:13.011  2428  2473 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@337c8b
11-23 11:36:13.013  2916  3587 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@1832417
11-23 11:36:13.013  2428  2473 D BluetoothManagerService: unbindAndFinish(): android.bluetooth.IBluetooth$Stub$Proxy@337c8b mBinding = false mUnbinding = false
11-23 11:36:13.013  2815  3380 D BluetoothAdapter: onBluetoothServiceDown: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@d1c55c0
11-23 11:36:13.013  2788  2808 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@23f4100
11-23 11:36:13.022  2815  3028 I bt_btif_core: btif_disable_bluetooth_evt entered
11-23 11:36:13.024  2131  2172 I android.hardware.bluetooth@1.0-impl: BluetoothHci::close()
11-23 11:36:13.024  2131  2172 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0
11-23 11:36:13.508  2815  3028 I bt_btif_core: btif_disable_bluetooth_evt finished
11-23 11:36:13.510  2815  3020 I bt_btif_core: btif_cleanup_bluetooth entered
11-23 11:36:13.512  2815  3020 I bt_btif_core: btif_cleanup_bluetooth finished
11-23 11:36:13.593  2428  4425 I ActivityManager: Process com.android.bluetooth (pid 2815) has died: fore SVC
11-23 11:36:22.299  2428  2484 I ActivityManager: app.processName = com.android.bluetooth
11-23 11:36:22.299  2428  2484 I ActivityManager: Start proc 4719:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
11-23 11:36:22.524  4719  4719 I         : [1123/113622.524548:INFO:com_android_bluetooth_btservice_AdapterService.cpp(628)] hal_util_load_bt_library loaded HAL: btinterface=0x7c0cba4440, handle=0x18f04452a7b9dec5
11-23 11:36:22.547  4719  4755 I bt_btif_core: btif_init_bluetooth entered
11-23 11:36:22.548  4719  4755 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
11-23 11:36:22.552  4719  4755 I bt_btif_core: btif_init_bluetooth finished
11-23 11:36:22.608  4719  4719 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.616  2428  2428 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
11-23 11:36:22.617  2428  2473 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@766fd53
11-23 11:36:22.618  2916  3587 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@a9f9004
11-23 11:36:22.621  2788  2809 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@9e43e3f
11-23 11:36:22.623  4719  4740 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@31cbb43
11-23 11:36:22.674  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.680  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.712  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.722  2131  2172 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
11-23 11:36:22.724  2131  2172 E libbt_vendor: aicbt_load_stack_conf unable to open file '/vendor/etc/bluetooth/aicbt.conf': No such file or directory
11-23 11:36:22.724  2131  2172 E libbt_vendor: no config find from file '/vendor/etc/bluetooth/aicbt.conf'
11-23 11:36:22.727  2131  2172 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
11-23 11:36:22.736  2131  4797 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured result: 0
11-23 11:36:22.736  2131  4797 I android.hardware.bluetooth@1.0-impl: Firmware configured in 0.007s
11-23 11:36:22.746  2131  4797 I android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured: lpm_timeout_ms 3000
11-23 11:36:22.746  2131  4797 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0
11-23 11:36:22.746  2131  4797 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured Calling StartLowPowerWatchdog()
11-23 11:36:22.723  2131  2131 I HwBinder:2131_1: type=1400 audit(0.0:139): avc: denied { create } for scontext=u:r:hal_bluetooth_default:s0 tcontext=u:r:hal_bluetooth_default:s0 tclass=udp_socket permissive=1
11-23 11:36:22.743  2131  2131 I HwBinder:2131_1: type=1400 audit(0.0:140): avc: denied { read } for name="/" dev="tmpfs" ino=7445 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
11-23 11:36:22.872  2131  4791 E aic_heartbeat: load_aicbt_heartbeat_conf unable to open file '/vendor/etc/bluetooth/aicbt_heartbeat.conf': No such file or directory
11-23 11:36:22.904  4719  4762 I bt_btif_core: btif_enable_bluetooth_evt entered: status 0
11-23 11:36:22.914  4719  4762 I bt_btif_core: btif_enable_bluetooth_evt finished
11-23 11:36:22.935  2428  2428 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.gatt.GattService
11-23 11:36:22.940  2428  2428 V SettingsProvider: Notifying for 0: content://settings/global/bluetooth_on
11-23 11:36:22.953  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.958  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.982  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:22.991  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.042  4719  4802 I chatty  : uid=1002(bluetooth) identical 3 lines
11-23 11:36:23.055  4719  4719 D A2dpService: setA2dpService(): set to: com.android.bluetooth.a2dp.A2dpService@ba9ca1c
11-23 11:36:23.060  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.065  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.077  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.099  4719  4719 D BluetoothMapAccountLoader: Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_PROVIDER
11-23 11:36:23.103  4719  4719 D BluetoothMapAccountLoader: Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_IM_PROVIDER
11-23 11:36:23.108  4719  4719 D BluetoothMapService: setBluetoothMapService(): set to: com.android.bluetooth.map.BluetoothMapService@5fde852
11-23 11:36:23.114  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.129  2428  4425 D MediaSessionService: The callback android.media.session.ICallback$Stub$Proxy@9ed147c is set by com.android.bluetooth
11-23 11:36:23.130  4719  4802 I bt_stack: [INFO:connection_handler.cc(206)] virtual bool bluetooth::avrcp::ConnectionHandler::AvrcpConnect(bool, const RawAddress &): handle=0000 status= 000000
11-23 11:36:23.147  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.162  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.177  4719  4719 D BtOppService: setBluetoothOppService(): set to: com.android.bluetooth.opp.BluetoothOppService@dad0a02
11-23 11:36:23.180  4719  4719 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:36:23.197  4719  4719 D BluetoothPbapService: setBluetoothPbapService(): set to: com.android.bluetooth.pbap.BluetoothPbapService@dddd75a
11-23 11:36:23.470  4846  4846 D music_MediaPlaybackSer: OnGetRoot: clientPackageName=com.android.bluetooth; clientUid=1002 ; rootHints=null
11-23 11:36:23.496  4846  4846 D music_MediaPlaybackSer: OnGetRoot: clientPackageName=com.android.bluetooth; clientUid=1002 ; rootHints=null
11-23 11:36:26.267  2428  2473 W BluetoothManagerService: Unable to bind with intent: Intent { act=android.bluetooth.IBluetoothHeadset cmp=com.android.bluetooth/.hfp.HeadsetService }
11-23 11:36:30.464  2961  2961 D SettingsActivity: Switching to fragment com.android.settings.bluetooth.BluetoothPairingDetail
11-23 11:36:30.464  2961  2961 D SubSettings: Launching fragment com.android.settings.bluetooth.BluetoothPairingDetail
11-23 11:36:30.472  2961  2961 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.bluetooth.BluetoothDeviceRenamePreferenceController
11-23 11:39:36.865  2428  4314 D BluetoothManagerService: disable(): mBluetooth = android.bluetooth.IBluetooth$Stub$Proxy@766fd53 mBinding = false
11-23 11:39:36.868  2428  2428 V SettingsProvider: Notifying for 0: content://settings/global/bluetooth_on
11-23 11:39:36.873  2428  2473 D BluetoothManagerService: MESSAGE_DISABLE: mBluetooth = android.bluetooth.IBluetooth$Stub$Proxy@766fd53
11-23 11:39:36.948  4719  4719 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@6cf00b9, channel: 5, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@71dcfe, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@c44ac5fmSocket: android.net.LocalSocket@63c86ac impl:android.net.LocalSocketImpl@dd5ef75 fd:java.io.FileDescriptor@c8acb0a, mSocketState: LISTENING
11-23 11:39:36.954  4719  4719 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@4b1af7b, channel: 4099, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@7416198, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@6230df1mSocket: android.net.LocalSocket@4928dd6 impl:android.net.LocalSocketImpl@321c857 fd:java.io.FileDescriptor@ab6ff44, mSocketState: LISTENING
11-23 11:39:36.997  2428  4425 D MediaSessionService: The callback null is set by com.android.bluetooth
11-23 11:39:37.031  4719  4838 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@f81b162, channel: 4, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@21092f3, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@8c6cbb0mSocket: android.net.LocalSocket@8d48a29 impl:android.net.LocalSocketImpl@94d81ae fd:java.io.FileDescriptor@e176b4f, mSocketState: LISTENING
11-23 11:39:37.032  4719  4838 D BluetoothSocket: close() this: android.bluetooth.BluetoothSocket@c4f2dc, channel: 4097, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@8029fe5, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@5f40abamSocket: android.net.LocalSocket@a096d6b impl:android.net.LocalSocketImpl@11c60c8 fd:java.io.FileDescriptor@1425561, mSocketState: LISTENING
11-23 11:39:37.060  4719  4719 W BtOppService: unregisterReceivers java.lang.IllegalArgumentException: Receiver not registered: com.android.bluetooth.opp.BluetoothOppService$3@b460f13
11-23 11:39:37.093  4719  4755 I bt_btif_core: btif_disable_bluetooth entered
11-23 11:39:37.099  4719  4755 I bt_btif_core: btif_disable_bluetooth finished
11-23 11:39:38.075  2428  2473 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@766fd53
11-23 11:39:38.075  2961  3536 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@4fdcc7c
11-23 11:39:38.075  2788  4856 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@9e43e3f
11-23 11:39:38.075  2428  2473 D BluetoothManagerService: unbindAndFinish(): android.bluetooth.IBluetooth$Stub$Proxy@766fd53 mBinding = false mUnbinding = false
11-23 11:39:38.075  2916  3587 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@a9f9004
11-23 11:39:38.075  4719  4859 D BluetoothAdapter: onBluetoothServiceDown: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@31cbb43
11-23 11:39:38.099  4719  4762 E BluetoothAdapterService: Repeated wake lock release; aborting release: bluetooth_timer
11-23 11:39:38.100  4719  4762 I bt_btif_core: btif_disable_bluetooth_evt entered
11-23 11:39:38.101  2131  4812 I android.hardware.bluetooth@1.0-impl: BluetoothHci::close()
11-23 11:39:38.101  2131  4812 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0
11-23 11:39:38.973  4719  4762 I bt_btif_core: btif_disable_bluetooth_evt finished
11-23 11:39:38.976  4719  4755 I bt_btif_core: btif_cleanup_bluetooth entered
11-23 11:39:38.978  4719  4755 I bt_btif_core: btif_cleanup_bluetooth finished
11-23 11:39:39.085  2428  3014 I ActivityManager: Process com.android.bluetooth (pid 4719) has died: psvc PER
11-23 11:39:39.087  2428  3014 W ActivityManager: Scheduling restart of crashed service com.android.bluetooth/.btservice.AdapterService in 1000ms
11-23 11:39:40.117  2428  2484 I ActivityManager: app.processName = com.android.bluetooth
11-23 11:39:40.117  2428  2484 I ActivityManager: Start proc 14877:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
11-23 11:39:40.331 14877 14877 I         : [1123/113940.330742:INFO:com_android_bluetooth_btservice_AdapterService.cpp(628)] hal_util_load_bt_library loaded HAL: btinterface=0x7c0baa4440, handle=0xc80620b44be4bbf3
11-23 11:39:40.368 14877 14913 I bt_btif_core: btif_init_bluetooth entered
11-23 11:39:40.368 14877 14913 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
11-23 11:39:40.376 14877 14913 I bt_btif_core: btif_init_bluetooth finished
11-23 11:39:40.448 14877 14877 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:40.457  2428  2428 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
11-23 11:39:40.464 14877 14899 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@31cbb43
11-23 11:39:40.464  2961  2986 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@fd9219c
11-23 11:39:40.465  2428  2473 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@2e4718a
11-23 11:39:40.465  2916  3587 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@ae9b9ed
11-23 11:39:40.466  2788  4856 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@229397
11-23 11:39:40.512 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:40.519 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:40.564 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:40.586  2131  2131 I HwBinder:2131_2: type=1400 audit(0.0:142): avc: denied { create } for scontext=u:r:hal_bluetooth_default:s0 tcontext=u:r:hal_bluetooth_default:s0 tclass=udp_socket permissive=1
11-23 11:39:40.586  2131  2131 I HwBinder:2131_2: type=1400 audit(0.0:143): avc: denied { read } for name="/" dev="tmpfs" ino=7445 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
11-23 11:39:40.585  2131  4812 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
11-23 11:39:40.588  2131  4812 E libbt_vendor: aicbt_load_stack_conf unable to open file '/vendor/etc/bluetooth/aicbt.conf': No such file or directory
11-23 11:39:40.588  2131  4812 E libbt_vendor: no config find from file '/vendor/etc/bluetooth/aicbt.conf'
11-23 11:39:40.591  2131  4812 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
11-23 11:39:40.764  2131 14965 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured result: 0
11-23 11:39:40.764  2131 14965 I android.hardware.bluetooth@1.0-impl: Firmware configured in 0.039s
11-23 11:39:40.764  2131 14965 I android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured: lpm_timeout_ms 3000
11-23 11:39:40.764  2131 14965 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0
11-23 11:39:40.764  2131 14965 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured Calling StartLowPowerWatchdog()
11-23 11:39:40.830  2131 14959 E aic_heartbeat: load_aicbt_heartbeat_conf unable to open file '/vendor/etc/bluetooth/aicbt_heartbeat.conf': No such file or directory
11-23 11:39:40.895 14877 14920 I bt_btif_core: btif_enable_bluetooth_evt entered: status 0
11-23 11:39:40.901 14877 14920 I bt_btif_core: btif_enable_bluetooth_evt finished
11-23 11:39:40.961  2428  2428 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.gatt.GattService
11-23 11:39:40.967  2428  2428 V SettingsProvider: Notifying for 0: content://settings/global/bluetooth_on
11-23 11:39:40.977 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:40.982 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.005 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.009 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.034 14877 14970 I chatty  : uid=1002(bluetooth) bt_main_thread identical 3 lines
11-23 11:39:41.040 14877 14877 D A2dpService: setA2dpService(): set to: com.android.bluetooth.a2dp.A2dpService@ba9ca1c
11-23 11:39:41.043 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.047 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.055 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.063 14877 14877 D BluetoothMapAccountLoader: Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_PROVIDER
11-23 11:39:41.064 14877 14877 D BluetoothMapAccountLoader: Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_IM_PROVIDER
11-23 11:39:41.066 14877 14877 D BluetoothMapService: setBluetoothMapService(): set to: com.android.bluetooth.map.BluetoothMapService@5fde852
11-23 11:39:41.071 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.079  2428  3214 D MediaSessionService: The callback android.media.session.ICallback$Stub$Proxy@b4e5a7c is set by com.android.bluetooth
11-23 11:39:41.080 14877 14970 I bt_stack: [INFO:connection_handler.cc(206)] virtual bool bluetooth::avrcp::ConnectionHandler::AvrcpConnect(bool, const RawAddress &): handle=0000 status= 000000
11-23 11:39:41.088 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.096 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.103 14877 14877 D BtOppService: setBluetoothOppService(): set to: com.android.bluetooth.opp.BluetoothOppService@dad0a02
11-23 11:39:41.107 14877 14877 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@38b06b7
11-23 11:39:41.114 14877 14877 D BluetoothPbapService: setBluetoothPbapService(): set to: com.android.bluetooth.pbap.BluetoothPbapService@dddd75a
11-23 11:39:41.160  4846  4846 D music_MediaPlaybackSer: OnGetRoot: clientPackageName=com.android.bluetooth; clientUid=1002 ; rootHints=null
11-23 11:39:41.230  4846  4846 D music_MediaPlaybackSer: OnGetRoot: clientPackageName=com.android.bluetooth; clientUid=1002 ; rootHints=null
11-23 11:39:42.411  2961  2961 D SettingsActivity: Switching to fragment com.android.settings.bluetooth.BluetoothPairingDetail
11-23 11:39:42.411  2961  2961 D SubSettings: Launching fragment com.android.settings.bluetooth.BluetoothPairingDetail
11-23 11:39:42.414  2961  2961 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.bluetooth.BluetoothDeviceRenamePreferenceController

#152 Re: 全志 SOC » A133 AW869C 蓝牙开启失败,请问是什么原因呢? » 2024-12-04 17:38:41

logcat 日志:

[   90.891162] logd: logdr: UID=0 GID=0 PID=4606 b tail=0 logMask=19 pid=0 start=0ns timeout=0ns
--------- beginning of main
12-04 17:37:54.388  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:37:54.447  2765  2765 W StatusBarIconController: setIconVisibility index: 27
12-04 17:37:55.891  2125  2308 I netd    : trafficSwapActiveStatsMap() <18.41ms>
12-04 17:37:55.898  2125  2308 I netd    : tetherGetStats() <5.08ms>
12-04 17:37:55.925  2125  2308 I netd    : bandwidthSetGlobalAlert(2097152) <1.53ms>
12-04 17:37:56.396  2444  4583 I system_server: The ClassLoaderContext is a special shared library.
12-04 17:37:56.680  2444  4583 I chatty  : uid=1000 system_server identical 5 lines
12-04 17:37:56.690  2444  4583 I system_server: The ClassLoaderContext is a special shared library.
12-04 17:37:56.726  2444  4583 I BackgroundDexOptService: Pinning optimized code {}
12-04 17:37:57.450  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:37:57.522  2765  2765 W StatusBarIconController: setIconVisibility index: 27
12-04 17:37:58.920  2444  2470 D WificondControl: Scan result ready event
12-04 17:37:58.961  3999  3999 I wpa_supplicant: wlan0: GAS-QUERY-START addr=dc:d8:7c:4c:10:3a dialog_token=6 freq=2437
12-04 17:37:58.963  2444  2664 D HS20    : ANQP initiated on dc:d8:7c:4c:10:3a
12-04 17:37:58.964  2444  2664 D PasspointManager: ANQP entry not found for: dc:d8:7c:4c:10:3a:<1613>
12-04 17:37:59.015  3999  3999 I wpa_supplicant: wlan0: GAS-QUERY-START addr=de:d8:7c:3c:10:3a dialog_token=7 freq=5180
12-04 17:37:59.016  2444  2664 D HS20    : ANQP initiated on de:d8:7c:3c:10:3a
12-04 17:37:59.017  2444  2664 D PasspointManager: ANQP entry not found for: de:d8:7c:3c:10:3a:<1613>
12-04 17:37:59.029  2444  2664 D ANQPRequestManager: Not allowed to send ANQP request to 242822356406330 for another 39 seconds
12-04 17:37:59.030  2444  2664 D PasspointManager: ANQP entry not found for: dc:d8:7c:4c:10:3a:<1613>
12-04 17:37:59.030  2444  2664 D ANQPRequestManager: Not allowed to send ANQP request to 245021378613306 for another 39 seconds
12-04 17:37:59.030  2444  2664 D PasspointManager: ANQP entry not found for: de:d8:7c:3c:10:3a:<1613>
12-04 17:37:59.817  3999  3999 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=dc:d8:7c:4c:10:3a dialog_token=6 freq=2437 status_code=0 result=TIMEOUT
12-04 17:37:59.817  3999  3999 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=dc:d8:7c:4c:10:3a result=FAILURE
12-04 17:38:00.004  2765  2765 D KeyguardClockSwitch: Updating clock: 538
12-04 17:38:00.528  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:38:00.672  3999  3999 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=de:d8:7c:3c:10:3a dialog_token=7 freq=5180 status_code=0 result=TIMEOUT
12-04 17:38:00.673  3999  3999 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=de:d8:7c:3c:10:3a result=FAILURE
12-04 17:38:03.593  2444  2664 E WifiVendorH[   91.163172] AICWFDBG(LOGTRACE)   rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
al: getWifiLinkLayerStats_1_3_In[   91.177842] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
ternal(l.926) failed {.code = ER[   91.189652] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
ROR_NOT_AVAILABLE, .description [   91.198591] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
= }
12-04 17:38:03.651  2765  2[   91.209258] AICWFDBG(LOGDEBUG)    rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-32
765 W StatusBarIconController: setIconVisibility index: 27
12-04 17:38:06.657  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
[   94.237181] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   94.248927] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   94.258344] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
[   94.265270] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   94.273339] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-31
12-04 17:38:09.731  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:38:09.789  2765  2765 W StatusBarIconController: setIconVisibility index: 27
12-04 17:38:12.782  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:12.790  2444  2636 I[   97.303788] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
 chatty  : uid=1000(system) Inpu[   97.318662] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
tDispatcher identical 3 lines
1[   97.327833] AICWFDBG(LOGDEBUG)      rwnx_rx_handle_msg msg->id:0x76
2-04 17:38:12.794  2444  2636 V [   97.337082] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
InputDispatcher: Asynchronous in[   97.347727] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-31
put event injection succeeded.
12-04 17:38:12.797  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:38:12.798  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:12.852  2444  2636 I chatty  : uid=1000(system) InputDispatcher identical 16 lines
12-04 17:38:12.860  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:12.863  2765  2765 W StatusBarIconController: setIconVisibility index: 27
12-04 17:38:12.865  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:13.967  2444  2636 I chatty  : uid=1000(system) InputDispatcher identical 3 lines
12-04 17:38:13.971  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:13.979  2444  4545 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: com.google.android.simappdialog.gts
12-04 17:38:13.979  2444  4545 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: android.net.cts
12-04 17:38:13.980  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.007  2444  2636 I chatty  : uid=1000(system) InputDispatcher identical 7 lines
12-04 17:38:14.009  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.011  2765  2765 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
12-04 17:38:14.014  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.015  2765  2765 W StatusBarIconController: setIconVisibility index: 18
12-04 17:38:14.024  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.033  2444  2636 I chatty  : uid=1000(system) InputDispatcher identical 4 lines
12-04 17:38:14.037  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.038  3000  3000 I AwReadingModeTileService: onBind
12-04 17:38:14.047  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.074  2444  2636 I chatty  : uid=1000(system) InputDispatcher identical 6 lines
12-04 17:38:14.077  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:14.105  2765  2765 I ScreenshotTileService: onBind
12-04 17:38:14.110  2765  2765 I ScreenrecordTileService: onBind
12-04 17:38:14.219  3000  3000 I AwReadingModeTileService: onStartListening
12-04 17:38:14.227  3000  3000 I awdisplay: init service
12-04 17:38:14.244  3000  3000 I awdisplay: AWDisplay remoteVersion: 10000 clientVersion: 10000
12-04 17:38:14.330  2765  2765 I ScreenshotTileService: onStartListening
12-04 17:38:14.334  2765  2765 I ScreenrecordTileService: onStartListening
12-04 17:38:14.402  2124  2124 D Zygote  : Forked child process 4647
--------- beginning of system
12-04 17:38:14.407  2444  2497 I ActivityManager: app.processName = com.android.systemui:screenrecord
12-04 17:38:14.407  2444  2497 I ActivityManager: Start proc 4647:com.android.systemui:screenrecord/u0a87 for service {com.android.systemui/com.softwinner.screenrecord.TakeScreenrecordService}
12-04 17:38:14.408  4647  4647 I Zygote  : seccomp disabled by setenforce 0
12-04 17:38:14.473  4647  4647 I ui:screenrecor: The ClassLoaderContext is a special shared library.
12-04 17:38:14.914  2210  2287 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:15.312  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:15.399  2210  4507 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 17:38:15.407  2444  2636 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 17:38:15.432  2444  4545 D BluetoothManagerService: enable(com.android.systemui):  mBluetooth =null mBinding = false mState = OFF
12-04 17:38:15.432  2444  2489 D BluetoothManagerService: MESSAGE_ENABLE(0): mBluetooth = null
12-04 17:38:15.432  2444  4545 D BluetoothManagerService: enable returning
12-04 17:38:15.444  2146  2263 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000004) and output flags (00000002)
12-04 17:38:15.461  2146  2263 D AF::TrackHandle: OpPlayAudio: track:55 usage:13 not muted
12-04 17:38:15.465  2444  2694 W AudioTrack: createTrack_l(7143525): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 8994
12-04 17:38:15.473  2124  2124 D Zygote  : Forked child process 4688
12-04 17:38:15.476  2444  2497 I ActivityManager: app.processName = com.android.bluetooth
12-04 17:38:15.476  2444  2497 I ActivityManager: Start proc 4688:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
12-04 17:38:15.482  4688  4688 I Zygote  : seccomp disabled by setenforce 0
12-04 17:38:15.549  4688  4688 I droid.bluetoot: The ClassLoaderContext is a special shared library.
12-04 17:38:15.567  2130  4714 D audio_hw_primary: start_output_stream
12-04 17:38:15.567  2130  4714 V audio_platform: disable backend pcm(direction:PCM_OUT)
12-04 17:38:15.567  2130  4714 D audio_route: Apply path: out-reset
12-04 17:38:15.570  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.570  2130  4714 D audio_route: Apply path: media-speaker
12-04 17:38:15.570  2130  4714 D audio_hw_primary: select device(out):pdev:OUT_DULSPK, path:media-speaker
12-04 17:38:15.571  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.572  2130  4714 D audio_hw_primary: +++++++++++++++ start_output_stream: pcm sample_rate: 48000,pcm fmt: 0x00000000,pcm channels: 2
12-04 17:38:15.572  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.608  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:15.619  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.622  4688  4688 D BluetoothOppFileProvider: Initialized
12-04 17:38:15.630  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.649  2146  2271 D AudioFlinger: mixer(0x79e922d800) throttle end: throttle time(11)
12-04 17:38:15.650  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.652  4688  4688 V AdapterServiceConfig: Adding HeadsetService
12-04 17:38:15.653  4688  4688 V AdapterServiceConfig: Adding A2dpService
12-04 17:38:15.653  4688  4688 V AdapterServiceConfig: Adding HidHostService
12-04 17:38:15.654  4688  4688 V AdapterServiceConfig: Adding PanService
12-04 17:38:15.654  4688  4688 V AdapterServiceConfig: Adding GattService
12-04 17:38:15.655  4688  4688 V AdapterServiceConfig: Adding BluetoothMapService
12-04 17:38:15.655  4688  4688 V AdapterServiceConfig: Adding AvrcpTargetService
12-04 17:38:15.655  4688  4688 V AdapterServiceConfig: Adding HidDeviceService
12-04 17:38:15.655  4688  4688 V AdapterServiceConfig: Adding BluetoothOppService
12-04 17:38:15.655  4688  4688 V AdapterServiceConfig: Adding BluetoothPbapService
12-04 17:38:15.671  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.693  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.700  4688  4688 I         : [1204/173815.700228:INFO:com_android_bluetooth_btservice_AdapterService.cpp(628)] hal_util_load_bt_library loaded HAL: btinterface=0x7c0a9e3440, handle=0xd5abacc6474cf439
12-04 17:38:15.701  4688  4688 D BluetoothAdapterService: onCreate()
12-04 17:38:15.709  4688  4688 D AdapterState: make() - Creating AdapterState
12-04 17:38:15.714  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.715  4688  4723 I AdapterState: OFF : entered
12-04 17:38:15.715  4688  4723 D AdapterProperties: Setting state to OFF
12-04 17:38:15.716  4688  4688 I bt_btif : init: start restricted = 0 ; single user = 0
12-04 17:38:15.716  4688  4688 D bt_osi_allocation_tracker: canary initialized
12-04 17:38:15.716  4688  4724 I         : [1204/173815.716866:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_stack_manager_thread
12-04 17:38:15.717  4688  4724 I bt_stack_manager: event_init_stack is initializing the stack
12-04 17:38:15.718  4688[  100.371638] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
  4724 I         : [1204/173815.[  100.385767] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
718303:INFO:btif_config.cc(647)][  100.397670] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
 hash_file: Disabled for multi-u[  100.406447] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
ser
12-04 17:38:15.718  4688  4[  100.417108] AICWFDBG(LOGDEBUG)    rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-30
724 I         : [1204/173815.718452:INFO:btif_config.cc(675)] re[  100.437696] bluetooth_set_power: start_block=1
ad_checksum_file: Disabled for m[  100.443939] aicbsp: aicbsp_set_subsys, subsys: AIC_BLUETOOTH, state to: 0
ulti-user
12-04 17:38:15.718  4[  100.454125] aicbsp: aicbsp_set_subsys, power state no need to change, current: 1
688  4724 E bt_btif_config: Conf[  100.465203] bluetooth_set_power: end_block=1
ig is missing adapter section
1[  100.473932] bluetooth_set_power: start_block=0
2-04 17:38:15.718  4688  4724 W [  100.480556] aicbsp: aicbsp_set_subsys, subsys: AIC_BLUETOOTH, state to: 1
bt_btif_config: init unable to l[  100.490875] aicbsp: aicbsp_set_subsys, power state no need to change, current: 1
oad config file: /data/misc/blue[  100.501970] bluetooth_set_power: end_block=0
droid/bt_config.conf; using back[  100.511287] [BT_LPM] bluesleep_outgoing_data: tx was sleeping, wakeup it
up.
12-04 17:38:15.718  4688  4[  100.519800] [BT_LPM] hsuart_power: bsi->uport = NULL, has_lpm_enabled = 0
724 I         : [1204/173815.718778:INFO:btif_config.cc(647)] hash_file: Disabled for multi-user
12-04 17:38:15.718  4688  4724 I         : [1204/173815.718835:INFO:btif_config.cc(675)] read_checksum_file: Disabled for multi-user
12-04 17:38:15.718  4688  4724 E bt_btif_config: Config is missing adapter section
12-04 17:38:15.718  4688  4724 W bt_btif_config: init unable to load backup; attempting to transcode legacy file.
12-04 17:38:15.719  4688  4724 E bt_btif_config_transcode: btif_config_transcode unable to load XML file '/data/misc/bluedroid/bt_config.xml': 3
12-04 17:38:15.719  4688  4724 E bt_btif_config: init unable to transcode legacy file; creating empty config.
12-04 17:38:15.719  4688  4724 W         : [1204/173815.719178:WARNING:btif_config.cc(151)] read_or_set_metrics_salt: Failed to read metrics salt from config
12-04 17:38:15.719  4688  4724 I         : [1204/173815.719241:INFO:btif_config.cc(162)] read_or_set_metrics_salt: Metrics salt is not invalid, creating new one
12-04 17:38:15.720  4688  4724 E bt_osi_alarm: timer_create_internal unable to [  100.622537] type=1400 audit(1733305052.693:106): avc: denied { dac_override } for comm="irqbalance" capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=1
create timer with clock 9: Unknown error 524
12-04 17:38:15.720  4688  4724 E bt_osi_alarm: The[  100.628621] logd: logdr: UID=1002 GID=1002 PID=4765 n tail=50 logMask=8 pid=2131 start=0ns timeout=0ns
 kernel might not have support f[  100.629830] logd: logdr: UID=1002 GID=1002 PID=4765 n tail=50 logMask=1 pid=2131 start=0ns timeout=0ns
or timer_create(CLOCK_BOOTTIME_ALARM): https://lwn.net/Articles/[  100.649992] logd: logdr: UID=1002 GID=1002 PID=4765 n tail=0 logMask=8 pid=2131 start=0ns timeout=0ns
429925/
12-04 17:38:15.720  468[  100.651862] logd: logdr: UID=1002 GID=1002 PID=4765 n tail=0 logMask=1 pid=2131 start=0ns timeout=0ns
8  4724 E bt_osi_alarm: See foll[  100.658544] init: Untracked pid 4765 exited with status 0
owing patches: https://git.kerne[  100.670447] init: Service 'vendor.bluetooth-1-0' (pid 2131) received signal 6
l.org/cgit/linux/kernel/git/torv[  100.670482] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 2131) process group...
alds/linux.git/log/?qt=grep&q=CL[  100.671058] libprocessgroup: Successfully killed process cgroup uid 1002 pid 2131 in 0ms
OCK_BOOTTIME_ALARM
12-04 17:38:[  100.672011] init: Untracked pid 4768 exited with status 0
15.720  4688  4728 I bt_osi_thread: run_thread: thread id 4728, [  100.675533] init: starting service 'vendor.bluetooth-1-0'...
thread name alarm_default_ca sta[  100.769781] type=1400 audit(1733305096.116:107): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=390 scontext=u:r:crash_dump:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
rted
12-04 17:38:15.722  4688  [  100.799106] type=1400 audit(1733305096.116:107): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=390 scontext=u:r:crash_dump:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
4729 I bt_osi_thread: run_thread[  100.829017] type=1400 audit(1733305096.116:108): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=390 scontext=u:r:crash_dump:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
: thread id 4729, thread name al[  100.860657] type=1400 audit(1733305096.116:108): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=390 scontext=u:r:crash_dump:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
arm_dispatcher started
12-04 17[  100.889832] type=1400 audit(1733305096.116:109): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=411 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
:38:15.724  4688  4724 I bt_btif_core: btif_init_bluetooth entered
12-04 17:38:15.725  4688  4724 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
12-04 17:38:15.728  4688  4731 I         : [1204/173815.727976:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_jni_thread
12-04 17:38:15.728  4688  4724 I bt_btif_core: btif_init_bluetooth finished
12-04 17:38:15.728  4688  4724 I bt_stack_manager: event_init_stack finished
12-04 17:38:15.728  4688  4688 I bt_osi_wakelock: wakelock_set_os_callouts set to non-native
12-04 17:38:15.729  4688  4688 I bt_btif : get_profile_interface: id = socket
12-04 17:38:15.732  4688  4731 E bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
12-04 17:38:15.732  4688  [  100.988909] audit_log_lost: 104 callbacks suppressed
4731 E BluetoothServiceJni: adap[  100.988916] audit: audit_lost=39 audit_rate_limit=5 audit_backlog_limit=64
ter_properties_callback: Status [  101.007579] audit: rate limit exceeded
1 is incorrect
12-04 17:38:15.732  4688  4688 I bt_btif : get_profile_interface: id = sdp
12-04 17:38:15.735  4688  4731 D AdapterProperties: Name is: QUAD-CORE A133 c3
12-04 17:38:15.735  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.736  4688  4731 D AdapterProperties: BT Class:1a011c
12-04 17:38:15.737  2444  2444 D BluetoothManagerService: Bluetooth Adapter name changed to QUAD-CORE A133 c3
12-04 17:38:15.737  2444  2444 D BluetoothManagerService: Stored Bluetooth name: QUAD-CORE A133 c3
12-04 17:38:15.738  4688  4688 I BluetoothAdapterService: Phone policy enabled
12-04 17:38:15.746  4688  4688 D BluetoothActiveDeviceManager: start()
12-04 17:38:15.753  4688  4733 D BluetoothActiveDeviceManager: onAudioDevicesAdded
12-04 17:38:15.753  4688  4733 D BluetoothActiveDeviceManager: Audio device added: QUAD-CORE A133 c3 type: 2
12-04 17:38:15.753  4688  4733 D BluetoothActiveDeviceManager: Audio device added: QUAD-CORE A133 c3 type: 15
12-04 17:38:15.756  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.769  4688  4688 D BluetoothDatabase: start()
12-04 17:38:15.772  4688  4688 D BluetoothDatabase: Load Database
12-04 17:38:15.777  4688  4688 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:15.786  4688  4688 D BluetoothAdapterService: onBind()
12-04 17:38:15.787  2444  2444 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
12-04 17:38:15.787  2444  2489 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
12-04 17:38:15.788  2444  2489 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 4 receivers.
12-04 17:38:15.789  4688  4709 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@fbeb629
12-04 17:38:15.790  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.791  2444  2489 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@302e680
12-04 17:38:15.791  2891  3169 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@b9a1092
12-04 17:38:15.791  2765  2782 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@4e7737b
12-04 17:38:15.806  4688  4712 D BluetoothAdapterService: enable() - Enable called with quiet mode status =  false
12-04 17:38:15.807  2444  2489 D BluetoothManagerService: MESSAGE_GET_NAME_AND_ADDRESS
12-04 17:38:15.807  4688  4723 I AdapterState: BLE_TURNING_ON : entered
12-04 17:38:15.807  4688  4723 D AdapterProperties: Setting state to BLE_TURNING_ON
12-04 17:38:15.807  4688  4723 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_ON to 1 receivers.
12-04 17:38:15.810  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.816  4688  4723 D BluetoothAdapterService: bleOnProcessStart()
12-04 17:38:15.817  4688  4723 I AdapterProperties: init(), maxConnectedAudioDevices, default=5, propertyOverlayed=5, finalValue=5
12-04 17:38:15.817  4688  4736 I BluetoothDatabase: cacheMetadata
12-04 17:38:15.818  2444  2489 D BluetoothManagerService: Stored Bluetooth name: QUAD-CORE A133 c3
12-04 17:38:15.818  2444  2489 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
12-04 17:38:15.818  2444  2489 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
12-04 17:38:15.819  4688  4723 D BluetoothAdapterService: bleOnProcessStart() - Make Bond State Machine
12-04 17:38:15.820  4688  4723 D BluetoothBondStateMachine: make
12-04 17:38:15.823  4688  4743 I BluetoothBondStateMachine: StableState(): Entering Off State
12-04 17:38:15.834  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.837  4688  4688 I BtGatt.JNI: classInitNative(L876): classInitNative: Success!
12-04 17:38:15.845  4688  4688 D BtGatt.DebugUtils: handleDebugAction() action=null
12-04 17:38:15.846  4688  4688 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:15.849  4688  4688 I bt_btif : get_profile_interface: id = gatt
12-04 17:38:15.851  4688  4688 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:15.853  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.866  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:38:15.874  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.884  4688  4688 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:15.887  4688  4724 I bt_stack_manager: event_start_up_stack is bringing up the stack
12-04 17:38:15.887  4688  4724 I bt_core_module: module_start_up Starting module "btif_config_module"
12-04 17:38:15.887  4688  4724 I bt_core_module: module_start_up Started module "btif_config_module"
12-04 17:38:15.887  4688  4724 I bt_core_module: module_start_up Starting module "btsnoop_module"
12-04 17:38:15.887  4688  4724 I         : [1204/173815.887791:INFO:btsnoop.cc(207)] start_up: Snoop Logs disabled
12-04 17:38:15.887  4688  4724 I         : [1204/173815.887912:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 1
12-04 17:38:15.888  4688  4724 I         : [1204/173815.888094:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 0
12-04 17:38:15.888  4688  4724 I bt_core_module: module_start_up Started module "btsnoop_module"
12-04 17:38:15.888  4688  4724 I bt_core_module: module_start_up Starting module "hci_module"
12-04 17:38:15.888  4688  4724 I bt_hci  : hci_module_start_up
12-04 17:38:15.888  4688  4752 I         : [1204/173815.888727:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_hci_thread
12-04 17:38:15.889  4688  4724 D bt_hci  : hci_module_start_up starting async portion
12-04 17:38:15.889  4688  4752 I bt_hci  : hci_initialize
12-04 17:38:15.892  4688  4752 I bt_hci  : hci_initialize: IBluetoothHci::getService() returned 0x7c5d8b4220 (remote)
12-04 17:38:15.903  2131  2150 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
12-04 17:38:15.906  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.917  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.932  2131  2150 D         : get_local_address: Trying /sys/class/addr_mgt/addr_bt
12-04 17:38:15.933  2131  2150 D         : get_local_address: Got Factory BDA 52:24:EB:E7:63:5D
12-04 17:38:15.933  2131  2150 I bt_vendor: init
12-04 17:38:15.933  2131  2150 W bt_vendor: *****************************************************************
12-04 17:38:15.933  2131  2150 W bt_vendor: *****************************************************************
12-04 17:38:15.933  2131  2150 W bt_vendor: ** Warning - BT Vendor Lib is loaded in debug tuning mode!
12-04 17:38:15.933  2131  2150 W bt_vendor: **
12-04 17:38:15.933  2131  2150 W bt_vendor: ** If this is not intentional, rebuild libbt-vendor.so
12-04 17:38:15.933  2131  2150 W bt_vendor: ** with VENDOR_LIB_RUNTIME_TUNING_ENABLED=FALSE and
12-04 17:38:15.933  2131  2150 W bt_vendor: ** check if any run-time tuning parameters needed to be
12-04 17:38:15.933  2131  2150 W bt_vendor: ** carried to the build-time configuration accordingly.
12-04 17:38:15.933  2131  2150 W bt_vendor: *****************************************************************
12-04 17:38:15.933  2131  2150 W bt_vendor: *****************************************************************
12-04 17:38:15.933  2131  2150 I bt_vnd_conf: Attempt to load conf from /etc/bluetooth/bt_vendor.conf
12-04 17:38:15.933  2131  2150 I bt_vnd_conf: vnd_load_conf file >/etc/bluetooth/bt_vendor.conf< not found
12-04 17:38:15.933  2131  2150 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
12-04 17:38:15.933  2131  2150 D bt_vendor: op for 0
12-04 17:38:15.934  2131  2150 D bt_upio : init_rfkill: rfkill path /sys/devices/platform/aic-bt/rfkill/rfkill1
12-04 17:38:15.941  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.944  2765  2765 W StatusBarIconController: setIconVisibility index: 27
12-04 17:38:15.959  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:15.970  2131  2150 W bt_vendor: NOTE: BT_VND_PWR_ON now forces power-off first
12-04 17:38:15.970  2131  2150 D bt_upio : init_rfkill: rfkill path /sys/devices/platform/aic-bt/rfkill/rfkill1
12-04 17:38:15.981  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.002  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.006  2131  2150 D bt_vendor: op for 3
12-04 17:38:16.006 [  101.822831] init: Untracked pid 4783 exited with status 0
 2131  2150 I bt_userial_vendor: userial vendor open: opening /dev/ttyS1
12-04 17:38:16.007  2131  2150 I bt_userial_vendor: device fd = 6 open
12-04 17:38:16.007  2131  2150 D bt_vendor: op for 1
12-04 17:38:16.007  2131  2150 E bt_hwcfg: hw_config_sta[  101.850255] init: Untracked pid 4788 exited with status 0
rt
12-04 17:38:16.007  2131  2150 D bt_vendor: op for 7
12-04 17:38:16.007  2131  2150 E bt_hwcfg: set_wake_stat 1
12-04 17:38:16.007  2131  2150 D bt_upio : upio_set : pio 0 action 2, polarity 1
12-04 17:38:16.023  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.026  2131  2150 D bt_upio : upio_set: proc btwrite assertion, buffer: 1, timer_armed 1 0
12-04 17:38:16.027  2131  4760 F android.hardware.bluetooth-hci-h4: OnDataReady: Unimplemented packet type 0
--------- beginning of crash
12-04 17:38:16.028  2131  4760 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 4760 (HwBinder:2131_1), pid 2131 (bluetooth@1.0-s)
12-04 17:[  101.917573] binder: undelivered death notification, 0000007cf44621e0
38:16.045  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.066  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.073  4765  4765 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
12-04 17:38:16.074  2217  2217 I /system/bin/tombstoned: received crash request for pid 4760
12-04 17:38:16.076  4765  4765 I crash_dump64: performing dump of process 2131 (target tid = 4760)
12-04 17:38:16.079  4765  4765 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-04 17:38:16.080  4765  4765 F DEBUG   : Build fingerprint: 'Allwinner/ceres_c3/ceres-c3:10/QP1A.191105.004/eng.ubuntu.20241127.164531:userdebug/test-keys'
12-04 17:38:16.080  4765  4765 F DEBUG   : Revision: '0'
12-04 17:38:16.080  4765  4765 F DEBUG   : ABI: 'arm64'
12-04 17:38:16.082  4765  4765 F DEBUG   : Timestamp: 2024-12-04 17:38:16+0800
12-04 17:38:16.082  4765  4765 F DEBUG   : pid: 2131, tid: 4760, name: HwBinder:2131_1  >>> /vendor/bin/hw/android.hardware.bluetooth@1.0-service <<<
12-04 17:38:16.082  4765  4765 F DEBUG   : uid: 1002
12-04 17:38:16.082  4765  4765 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-04 17:38:16.082  4765  4765 F DEBUG   : Abort message: 'OnDataReady: Unimplemented packet type 0'
12-04 17:38:16.082  4765  4765 F DEBUG   :     x0  0000000000000000  x1  0000000000001298  x2  0000000000000006  x3  00000077218e9540
12-04 17:38:16.082  4765  4765 F DEBUG   :     x4  2e6761772e000000  x5  2e6761772e000000  x6  2e6761772e000000  x7  000000ffffffffff
12-04 17:38:16.082  4765  4765 F DEBUG   :     x8  00000000000000f0  x9  1ba5523419805c05  x10 0000000000000001  x11 0000000000000000
12-04 17:38:16.082  4765  4765 F DEBUG   :     x12 fffffff0ffffffdf  x13 ffffffffffffffff  x14 0000000000000004  x15 ffffffffffffffff
12-04 17:38:16.082  4765  4765 F DEBUG   :     x16 0000007723a978c0  x17 0000007723a75100  x18 000000772171c000  x19 0000000000000853
12-04 17:38:16.082  4765  4765 F DEBUG   :     x20 0000000000001298  x21 00000000ffffffff  x22 00000077218ea020  x23 00000077218e9bb0
12-04 17:38:16.082  4765  4765 F DEBUG   :     x24 0000007723019208  x25 0000007723019208  x26 20c49ba5e353f7cf  x27 00000000000003e8
12-04 17:38:16.082  4765  4765 F DEBUG   :     x28 0000007723009180  x29 00000077218e95e0
12-04 17:38:16.082  4765  4765 F DEBUG   :     sp  00000077218e9520  lr  0000007723a29f48  pc  0000007723a29f74
12-04 17:38:16.087  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.089  4765  4765 F DEBUG   :
12-04 17:38:16.089  4765  4765 F DEBUG   : backtrace:
12-04 17:38:16.089  4765  4765 F DEBUG   :       #00 pc 0000000000081f74  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 42603fd538b769308cd4c199a3a97e47)
12-04 17:38:16.089  4765  4765 F DEBUG   :       #01 pc 00000000000089f8  /system/lib64/liblog.so (__android_log_assert+324) (BuildId: 861a081c2056965edab68796c1ed73e0)
12-04 17:38:16.089  4765  4765 F DEBUG   :       #02 pc 000000000000a230  /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::hci::H4Protocol::OnDataReady(int)+180) (BuildId: d049058a6c7deb74b092a5074bd90e52)
12-04 17:38:16.089  4765  4765 F DEBUG   :       #03 pc 0000000000009c24  /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::async::AsyncFdWatcher::ThreadRoutine()+656) (BuildId: d049058a6c7deb74b092a5074bd90e52)
12-04 17:38:16.089  4765  4765 F DEBUG   :       #04 pc 0000000000009fa0  /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (_ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN7android8hardware9bluetooth5async14AsyncFdWatcher14tryStartThreadEvE3$_0EEEEEPvSE_+40) (BuildId: d049058a6c7deb74b092a5074bd90e52)
12-04 17:38:16.089  4765  4765 F DEBUG   :       #05 pc 00000000000e1100  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 42603fd538b769308cd4c199a3a97e47)
12-04 17:38:16.089  4765  4765 F DEBUG   :       #06 pc 0000000000083ab0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 42603fd538b769308cd4c199a3a97e47)
12-04 17:38:16.151  2444  2818 W NativeCrashListener: Couldn't find ProcessRecord for pid 2131
12-04 17:38:16.112  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:16.130  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.152  2217  2217 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_47
12-04 17:38:16.156  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.168  2444  2510 I BootReceiver: Copying /data/tombstones/tombstone_47 to DropBox (SYSTEM_TOMBSTONE)
12-04 17:38:16.170  2444  2510 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
12-04 17:38:16.172  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.175  4688  4753 E bt_hci  : Bluetooth HAL service died!
12-04 17:38:16.175  4688  4753 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 4753 (HwBinder:4688_1), pid 4688 (droid.bluetooth)
12-04 17:38:16.194  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.216  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.253  4783  4783 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
12-04 17:38:16.254  2217  2217 I /system/bin/tombstoned: received crash request for pid 4753
12-04 17:38:16.254  2136  2355 D sunxihwc: checkPerformance: PerfMonitor total[w]:   67 acquire:    0 submit:    1 release:   66
12-04 17:38:16.254  4779  4779 I ServiceManagement: Registered android.hardware.bluetooth@1.0::IBluetoothHci/default (start delay of 87ms)
12-04 17:38:16.255  4779  4779 I ServiceManagement: Removing namespace from process name android.hardware.bluetooth@1.0-service to bluetooth@1.0-service.
12-04 17:38:16.255  4779  4779 I android.hardware.bluetooth@1.0-service: Registration complete for android.hardware.bluetooth@1.0::IBluetoothHci/default.
12-04 17:38:16.256  4783  4783 I crash_dump64: performing dump of process 4688 (target tid = 4753)
12-04 17:38:16.266  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.276  4783  4783 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-04 17:38:16.276  4783  4783 F DEBUG   : Build fingerprint: 'Allwinner/ceres_c3/ceres-c3:10/QP1A.191105.004/eng.ubuntu.20241127.164531:userdebug/test-keys'
12-04 17:38:16.276  4[  102.519498] bluetooth_set_power: start_block=1
783  4783 F DEBUG   : Revision: [  102.525644] aicbsp: aicbsp_set_subsys, subsys: AIC_BLUETOOTH, state to: 0
'0'
12-04 17:38:16.276  4783  4[  102.535690] aicbsp: aicbsp_set_subsys, power state no need to change, current: 1
783 F DEBUG   : ABI: 'arm64'
12[  102.546950] bluetooth_set_power: end_block=1
-04 17:38:16.277  4783  4783 F D[  102.555200] bluetooth_set_power: start_block=0
EBUG   : Timestamp: 2024-12-04 1[  102.562018] aicbsp: aicbsp_set_subsys, subsys: AIC_BLUETOOTH, state to: 1
7:38:16+0800
12-04 17:38:16.277[  102.572462] aicbsp: aicbsp_set_subsys, power state no need to change, current: 1
  4783  4783 F DEBUG   : pid: 46[  102.583430] bluetooth_set_power: end_block=0
88, tid: 4753, name: HwBinder:4688_1  >>> com.android.bluetooth <<<
12-04 17:38:16.277  4783  4783 F DEBUG   : uid: 1002
12-04 17:38:16.277  4783  4783 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-04 17:38:16.278  4783  4783 F DEBUG   :     x0  0000000000000000  x1  0000000000001291  x2  0000000000000006  x3  0000007bf94436d0
12-04 17:38:16.278  4783  4783 F DEBUG   :     x4  f8433f1efeff6862  x5  f8433f1efeff6862  x6  f8433f1efeff6862  x7  ff7f7f7f7f7f7f7f
12-04 17:38:16.278  4783  4783 F DEBUG   :     x8  00000000000000f0  x9  65b5bbbb335a5371  x10 0000000000000001  x11 0000000000000000
12-04 17:38:16.278  4783  4783 F DEBUG   :     x12 fffffff0fffffbdf  x13 ffffffffffffffff  x14 0000000000000004  x15 ffffffffffffffff
12-04 17:38:16.278  4783  4783 F DEBUG   :     x16 0000007cf1e018c0  x17 0000007cf1ddf100  x18 0000007bf8cda008  x19 0000000000001250
12-04 17:38:16.278  4783  4783 F DEBUG   :     x20 0000000000001291  x21 00000000ffffffff  x22 0000000000000000  x23 000000008008720f
12-04 17:38:16.278  4783  4783 F DEBUG   :     x24 0000007bf9444020  x25 0000007bf9443a38  x26 0000007bf9444020  x27 0000007bfa63f020
12-04 17:38:16.278  4783  4783 F DEBUG   :     x28 0000000000000009  x29 0000007bf9443770
12-04 17:38:16.278  4783  4783 F DEBUG   :     sp  0000007bf94436b0  lr  0000007cf1d93f48  pc  0000007cf1d93f74
12-04 17:38:16.279  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:16.290  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.116  4765  4765 I crash_dump64: type=1400 audit(0.0:107): avc: denied { open } for path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=390 scontext=u:r:crash_dump:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
12-04 17:38:16.303  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.356  4783  4783 F DEBUG   :
12-04 17:38:16.356  4783  4783 F DEBUG   : backtrace:
12-04 17:38:16.356  4783  4783 F DEBUG   :       #00 pc 0000000000081f74  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 42603fd538b769308cd4c199a3a97e47)
12-04 17:38:16.356  4783  4783 F DEBUG   :       #01 pc 0000000000265154  /system/lib64/libbluetooth.so (hal_service_died()+160) (BuildId: ff706d003775a24c2416240a147a9ab6)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #02 pc 0000000000055d84  /system/lib64/libhidlbase.so (android::hardware::hidl_binder_death_recipient::binderDied(android::wp<android::hardware::IBinder> const&)+112) (BuildId: 58cced33adaf1be9a5dabb1206d0e08e)
12-04 17:38:16.322  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:16.350  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.116  4765  4765 I crash_dump64: type=1400 audit(0.0:108): avc: denied { getattr } for path="/dev/__properties__/u:object_r:exported_bluetooth_prop:s0" dev="tmpfs" ino=390 scontext=u:r:crash_dump:s0 tcontext=u:object_r:exported_bluetooth_prop:s0 tclass=file permissive=1
12-04 17:38:16.357  4783  4783 F DEBUG   :       #03 pc 0000000000096ca8  /system/lib64/libhidlbase.so (android::hardware::BpHwBinder::reportOneDeath(android::hardware::BpHwBinder::Obituary const&)+128) (BuildId: 58cced33adaf1be9a5dabb1206d0e08e)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #04 pc 0000000000096c10  /system/lib64/libhidlbase.so (android::hardware::BpHwBinder::sendObituary()+204) (BuildId: 58cced33adaf1be9a5dabb1206d0e08e)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #05 pc 0000000000099e10  /system/lib64/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+3000) (BuildId: 58cced33adaf1be9a5dabb1206d0e08e)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #06 pc 000000000009acf4  /system/lib64/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+152) (BuildId: 58cced33adaf1be9a5dabb1206d0e08e)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #07 pc 00000000000a9c84  /system/lib64/libhidlbase.so (android::hardware::PoolThread::threadLoop()+24) (BuildId: 58cced33adaf1be9a5dabb1206d0e08e)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #08 pc 0000000000013670  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+288) (BuildId: e694ec4393425b1d99ea7621766c5862)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #09 pc 00000000000c1748  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140) (BuildId: b65a8685227b31d2613995f2e0a17273)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #10 pc 00000000000e1100  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 42603fd538b769308cd4c199a3a97e47)
12-04 17:38:16.357  4783  4783 F DEBUG   :       #11 pc 0000000000083ab0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 42603fd538b769308cd4c199a3a97e47)
12-04 17:38:16.367  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.385  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:16.407  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.116  4765  4765 I crash_dump64: type=1400 audit(0.0:109): avc: denied { open } for path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=411 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
12-04 17:38:16.116  4765  4765 I crash_dump64: type=1400 audit(0.0:110): avc: denied { getattr } for path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=411 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
12-04 17:38:16.430  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.446  2210  4710 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:16.450  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.472  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.483  4783  4783 I crash_dump64: type=1400 audit(0.0:111): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=338 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
12-04 17:38:16.498  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.515  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:16.518  2210  4710 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 17:38:16.535  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.243  2130  4714 I chatty  : uid=1041(audioserver) writer identical 33 lines
12-04 17:38:17.261  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.264  2217  2217 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_48
12-04 17:38:17.282  2444  4842 I DropBoxManagerService: add tag=system_app_native_crash isTagEnabled=true flags=0x2
12-04 17:38:17.282  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.301  2444  2510 I BootReceiver: Copying /data/tombstones/tombstone_48 to DropBox (SYSTEM_TOMBSTONE)
12-04 17:38:17.303  2444  2510 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
12-04 17:38:17.303  2210  4710 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:17.305  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.331  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:17.349  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.363  2210  4710 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 17:38:17.367  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.385  2444  2462 I system_server: Background young concurrent copying GC freed 66696(3139KB) AllocSpace objects, 22(1480KB) LOS objects, 27% free, 8626KB/11MB, paused 1.507ms total 114.225ms
12-04 17:38:17.389  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.411  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.419  2124  2124 I Zygote  : Process 4688 exited due to signal 6 (Aborted)
12-04 17:38:17.426  2444  2444 D BluetoothManagerService: BluetoothServiceConnection, disconnected: com.android.bluetooth.btservice.AdapterService
12-04 17:38:17.427  2444  2489 E BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED(1)
12-04 17:38:17.427  2444  2489 D BluetoothManagerService: Broadcasting onBluetoothServiceDown() to 3 receivers.
12-04 17:38:17.429  2444  2936 I ActivityManager: Process com.android.bluetooth (pid 4688) has died: psvc PER
12-04 17:38:17.431  2444  2498 I libprocessgroup: Successfully killed process cgroup uid 1002 pid 4688 in 0ms
12-04 17:38:17.431  2891  3169 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@b9a1092
12-04 17:38:17.431  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.432  2765  2782 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@4e7737b
12-04 17:38:17.433  2444  2936 W ActivityManager: Scheduling restart of crashed service com.android.b[  103.450006] AICWFDBG(LOGTRACE)  rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
luetooth/.btservice.AdapterServi[  103.463930] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
ce in 1000ms
12-04 17:38:17.433[  103.474397] AICWFDBG(LOGDEBUG)     rwnx_rx_handle_msg msg->id:0x76
  2444  2936 W ActivityManager: [  103.483203] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
Scheduling restart of crashed se[  103.494209] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-32
rvice com.android.bluetooth/.gatt.GattService in 11000ms
12-04 17:38:17.434  2444  2489 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@302e680
12-04 17:38:17.452  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.628  2444  2489 D BluetoothManagerService: MESSAGE_RESTART_BLUETOOTH_SERVICE
12-04 17:38:17.623  2130  4714 I chatty  : uid=1041(audioserver) writer identical 8 lines
12-04 17:38:17.645  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.649  2124  2124 D Zygote  : Forked child process 4863
12-04 17:38:17.652  2444  2497 I ActivityManager: app.processName = com.android.bluetooth
12-04 17:38:17.652  2444  2497 I ActivityManager: Start proc 4863:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
12-04 17:38:17.660  4863  4863 I Zygote  : seccomp disabled by setenforce 0
12-04 17:38:17.666  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.687  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:17.710  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.720  4863  4863 I droid.bluetoot: The ClassLoaderContext is a special shared library.
12-04 17:38:17.730  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.751  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:17.773  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.773  4863  4863 D BluetoothOppFileProvider: Initialized
12-04 17:38:17.795  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.805  4863  4863 V AdapterServiceConfig: Adding HeadsetService
12-04 17:38:17.806  4863  4863 V AdapterServiceConfig: Adding A2dpService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding HidHostService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding PanService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding GattService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding BluetoothMapService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding AvrcpTargetService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding HidDeviceService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding BluetoothOppService
12-04 17:38:17.807  4863  4863 V AdapterServiceConfig: Adding BluetoothPbapService
12-04 17:38:17.815  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.836  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.846  4863  4863 I         : [1204/173817.846267:INFO:com_android_bluetooth_btservice_AdapterService.cpp(628)] hal_util_load_bt_library loaded HAL: btinterface=0x7c0aa61440, handle=0x4231b39a6b02c329
12-04 17:38:17.849  4863  4863 D BluetoothAdapterService: onCreate()
12-04 17:38:17.855  4863  4863 D AdapterState: make() - Creating AdapterState
12-04 17:38:17.858  4863  4895 I AdapterState: OFF : entered
12-04 17:38:17.858  4863  4895 D AdapterProperties: Setting state to OFF
12-04 17:38:17.859  4863  4863 I bt_btif : init: start restricted = 0 ; single user = 0
12-04 17:38:17.859  4863  4863 D bt_osi_allocation_tracker: canary initialized
12-04 17:38:17.860  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.861  4863  4896 I         : [1204/173817.861101:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_stack_manager_thread
12-04 17:38:17.862  4863  4896 I bt_stack_manager: event_init_stack is initializing the stack
12-04 17:38:17.863  4863  4896 I         : [1204/173817.863579:INFO:btif_config.cc(647)] hash_file: Disabled for multi-user
12-04 17:38:17.863  4863  4896 I         : [1204/173817.863734:INFO:btif_config.cc(675)] read_checksum_file: Disabled for multi-user
12-04 17:38:17.863  4863  4896 E bt_btif_config: Config is missing adapter section
12-04 17:38:17.864  4863  4896 W bt_btif_config: init unable to load config file: /data/misc/bluedroid/bt_config.conf; using backup.
12-04 17:38:17.864  4863  4896 I         : [1204/173817.864126:INFO:btif_config.cc(647)] hash_file: Disabled for multi-user
12-04 17:38:17.864  4863  4896 I         : [1204/173817.864207:INFO:btif_config.cc(675)] read_checksum_file: Disabled for multi-user
12-04 17:38:17.864  4863  4896 E bt_btif_config: Config is missing adapter section
12-04 17:38:17.864  4863  4896 W bt_btif_config: init unable to load backup; attempting to transcode legacy file.
12-04 17:38:17.864  4863  4896 E bt_btif_config_transcode: btif_config_transcode unable to load XML file '/data/misc/bluedroid/bt_config.xml': 3
12-04 17:38:17.864  4863  4896 E bt_btif_config: init unable to transcode legacy file; creating empty config.
12-04 17:38:17.864  4863  4896 W         : [1204/173817.864558:WARNING:btif_config.cc(151)] read_or_set_metrics_salt: Failed to read metrics salt from config
12-04 17:38:17.864  4863  4896 I         : [1204/173817.864632:INFO:btif_config.cc(162)] read_or_set_metrics_salt: Metrics salt is not invalid, creating new one
12-04 17:38:17.865  4863  4896 E bt_osi_alarm: timer_create_internal unable to create timer with clock 9: Unknown error 524
12-04 17:38:17.866  4863  4896 E bt_osi_alarm: The kernel might not have support for timer_create(CLOCK_BOOTTIME_ALARM): https://lwn.net/Articles/429925/
12-04 17:38:17.866  4863  4896 E bt_osi_alarm: See following patches: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=CLOCK_BOOTTIME_ALARM
12-04 17:38:17.867  4863  4900 I bt_osi_thread: run_thread: thread id 4900, thread name alarm_default_ca started
12-04 17:38:17.867  4863  4901 I bt_osi_thread: run_thread: thread id 4901, thread name alarm_dispatcher started
12-04 17:38:17.869  4863  4896 I bt_btif_core: btif_init_bluetooth entered
12-04 17:38:17.870  4863  4896 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
12-04 17:38:17.870  4863  4902 I         : [1204/173817.870753:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_jni_thread
12-04 17:38:17.870  4863  4896 I bt_btif_core: btif_init_bluetooth finished
12-04 17:38:17.871  4863  4896 I bt_stack_manager: event_init_stack finished
12-04 17:38:17.871  4863  4863 I bt_osi_wakelock: wakelock_set_os_callouts set to non-native
12-04 17:38:17.871  4863  4863 I bt_btif : get_profile_interface: id = socket
12-04 17:38:17.871  4863  4902 E bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
12-04 17:38:17.871  4863  4902 E BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
12-04 17:38:17.873  4863  4863 I bt_btif : get_profile_interface: id = sdp
12-04 17:38:17.874  4863  4902 D AdapterProperties: Name is: QUAD-CORE A133 c3
12-04 17:38:17.874  4863  4902 D AdapterProperties: BT Class:1a011c
12-04 17:38:17.877  2444  2444 D BluetoothManagerService: Bluetooth Adapter name changed to QUAD-CORE A133 c3
12-04 17:38:17.879  4863  4863 I BluetoothAdapterService: Phone policy enabled
12-04 17:38:17.879  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.880  2444  2444 D BluetoothManagerService: Stored Bluetooth name: QUAD-CORE A133 c3
12-04 17:38:17.883  4863  4863 D BluetoothActiveDeviceManager: start()
12-04 17:38:17.891  4863  4904 D BluetoothActiveDeviceManager: onAudioDevicesAdded
12-04 17:38:17.891  4863  4904 D BluetoothActiveDeviceManager: Audio device added: QUAD-CORE A133 c3 type: 2
12-04 17:38:17.891  4863  4904 D BluetoothActiveDeviceManager: Audio device added: QUAD-CORE A133 c3 type: 15
12-04 17:38:17.900  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.904  4863  4863 D BluetoothDatabase: start()
12-04 17:38:17.907  4863  4863 D BluetoothDatabase: Load Database
12-04 17:38:17.908  4863  4863 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:17.917  4863  4863 D BluetoothAdapterService: onBind()
12-04 17:38:17.919  2444  2444 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
12-04 17:38:17.919  2444  2489 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
12-04 17:38:17.920  2444  2489 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 4 receivers.
12-04 17:38:17.921  2891  3169 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@491ba63
12-04 17:38:17.921  4863  4882 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@fbeb629
12-04 17:38:17.921  2765  2782 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@7ddd598
12-04 17:38:17.922  2444  2489 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@6c12a72
12-04 17:38:17.922  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.931  4863  4882 D BluetoothAdapterService: enable() - Enable called with quiet mode status =  false
12-04 17:38:17.932  2444  2489 D BluetoothManagerService: MESSAGE_GET_NAME_AND_ADDRESS
12-04 17:38:17.935  4863  4895 I AdapterState: BLE_TURNING_ON : entered
12-04 17:38:17.935  4863  4895 D AdapterProperties: Setting state to BLE_TURNING_ON
12-04 17:38:17.935  4863  4895 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_ON to 1 receivers.
12-04 17:38:17.935  2444  2489 D BluetoothManagerService: Stored Bluetooth name: QUAD-CORE A133 c3
12-04 17:38:17.936  2444  2489 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
12-04 17:38:17.936  2444  2489 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
12-04 17:38:17.944  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.952  4863  4895 D BluetoothAdapterService: bleOnProcessStart()
12-04 17:38:17.953  4863  4895 I AdapterProperties: init(), maxConnectedAudioDevices, default=5, propertyOverlayed=5, finalValue=5
12-04 17:38:17.955  4863  4907 I BluetoothDatabase: cacheMetadata
12-04 17:38:17.956  4863  4895 D BluetoothAdapterService: bleOnProcessStart() - Make Bond State Machine
12-04 17:38:17.957  4863  4895 D BluetoothBondStateMachine: make
12-04 17:38:17.958  4863  4915 I BluetoothBondStateMachine: StableState(): Entering Off State
12-04 17:38:17.965  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:17.968  4863  4863 I BtGatt.JNI: classInitNative(L876): classInitNative: Success!
12-04 17:38:17.971  4863  4863 D BtGatt.DebugUtils: handleDebugAction() action=null
12-04 17:38:17.972  4863  4863 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:17.982  4863  4863 I bt_btif : get_profile_interface: id = gatt
12-04 17:38:17.982  4863  4863 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:17.986  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.002  4863  4863 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@ce331bd
12-04 17:38:18.004  4863  4896 I bt_stack_manager: event_start_up_stack is bringing up the stack
12-04 17:38:18.006  4863  4896 I bt_core_module: module_start_up Starting module "btif_config_module"
12-04 17:38:18.006  4863  4896 I bt_core_module: module_start_up Started module "btif_config_module"
12-04 17:38:18.006  4863  4896 I bt_core_module: module_start_up Starting module "btsnoop_module"
12-04 17:38:18.006  4863  4896 I         : [1204/173818.006369:INFO:btsnoop.cc(207)] start_up: Snoop Logs disabled
12-04 17:38:18.006  4863  4896 I         : [1204/173818.006495:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 1
12-04 17:38:18.006  4863  4896 I         : [1204/173818.006645:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 0
12-04 17:38:18.006  4863  4896 I bt_core_module: module_start_up Started module "btsnoop_module"
12-04 17:38:18.007  4863  4896 I bt_core_module: module_start_up Starting module "hci_module"
12-04 17:38:18.007  4863  4896 I bt_hci  : hci_module_start_up
12-04 17:38:18.007  4863  4922 I         : [1204/173818.007486:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_hci_thread
12-04 17:38:18.007  4863  4922 I bt_hci  : hci_initialize
12-04 17:38:18.007  4863  4896 D bt_hci  : hci_module_start_up starting async portion
12-04 17:38:18.009  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.013  4863  4922 I bt_hci  : hci_initialize: IBluetoothHci::getService() returned 0x7c5d8b43e0 (remote)
12-04 17:38:18.013  4779  4786 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
12-04 17:38:18.015  4779  4786 D         : get_local_address: Trying /sys/class/addr_mgt/addr_bt
12-04 17:38:18.015  4779  4786 D         : get_local_address: Got Factory BDA 52:24:EB:E7:63:5D
12-04 17:38:18.015  4779  4786 I bt_vendor: init
12-04 17:38:18.015  4779  4786 W bt_vendor: *****************************************************************
12-04 17:38:18.015  4779  4786 W bt_vendor: *****************************************************************
12-04 17:38:18.015  4779  4786 W bt_vendor: ** Warning - BT Vendor Lib is loaded in debug tuning mode!
12-04 17:38:18.015  4779  4786 W bt_vendor: **
12-04 17:38:18.015  4779  4786 W bt_vendor: ** If this is not intentional, rebuild libbt-vendor.so
12-04 17:38:18.015  4779  4786 W bt_vendor: ** with VENDOR_LIB_RUNTIME_TUNING_ENABLED=FALSE and
12-04 17:38:18.015  4779  4786 W bt_vendor: ** check if any run-time tuning parameters needed to be
12-04 17:38:18.015  4779  4786 W bt_vendor: ** carried to the build-time configuration accordingly.
12-04 17:38:18.015  4779  4786 W bt_vendor: *****************************************************************
12-04 17:38:18.015  4779  4786 W bt_vendor: *****************************************************************
12-04 17:38:18.015  4779  4786 I bt_vnd_conf: Attempt to load conf from /etc/bluetooth/bt_vendor.conf
12-04 17:38:18.015  4779  4786 I bt_vnd_conf: vnd_load_conf file >/etc/bluetooth/bt_vendor.conf< not found
12-04 17:38:18.015  4779  4786 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
12-04 17:38:18.015  4779  4786 D bt_vendor: op for 0
12-04 17:38:18.016  4779  4786 D bt_upio : init_rfkill: rfkill path /sys/devices/platform/aic-bt/rfkill/rfkill1
12-04 17:38:18.044  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.051  4779  4786 W bt_vendor: NOTE: BT_VND_PWR_ON now forces power-off first
12-04 17:38:18.051  4779  4786 D bt_upio : init_rfkill: rfkill path /sys/devices/platform/aic-bt/rfkill/rfkill1
12-04 17:38:18.055  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.080  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.088  4779  4786 D bt_vendor: op for 3
12-04 17:38:18.088  4779  4786 I bt_userial_vendor: userial vendor open: opening /dev/ttyS1
12-04 17:38:18.088  4779  4786 I bt_userial_vendor: device fd = 6 open
12-04 17:38:18.089  4779  4786 D bt_vendor: op for 1
12-04 17:38:18.089  4779  4786 E bt_hwcfg: hw_config_start
12-04 17:38:18.089  4779  4786 D bt_vendor: op for 7
12-04 17:38:18.089  4779  4786 E bt_hwcfg: set_wake_stat 1
12-04 17:38:18.089  4779  4786 D bt_upio : upio_set : pio 0 action 2, polarity 1
12-04 17:38:18.090  4779  4786 D bt_upio : upio_set: proc btwrite assertion, buffer: 1, timer_armed 1 0
12-04 17:38:18.102  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.114  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:18.135  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.148  2210  4710 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:18.157  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.178  2130  4714 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 17:38:18.199  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.213  2210  4710 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 17:38:18.220  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.732  2130  4714 I chatty  : uid=1041(audioserver) writer identical 24 lines
12-04 17:38:18.754  2130  4714 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 17:38:18.765  2130  2130 D audio_hw_primary: out_standby
12-04 17:38:18.943  2444  2664 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 17:38:18.983  2210  2287 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:19.063  2210  4500 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 17:38:19.835  2210  4710 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:19.897  2210  4710 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 17:38:20.674  2210  4710 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 17:38:20.730  2210  4710 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times

#153 Re: 全志 SOC » A133 AW869C 蓝牙开启失败,请问是什么原因呢? » 2024-12-04 17:37:36

开机日志:

[40]HELLO! BOOT0 is starting!
[43]BOOT0 commit : f10e8c3
[46]set pll start
[48]periph0 has been enabled
[51]set pll end
[53][pmu]: bus read error
[56]PMU: AXP803
[75]vaild para:1  select dram para0
[79]board init ok
[80]rtc[3] value = 0xb00f
[103]DRAM BOOT DRIVE INFO: V0.67
[106]the chip id is 0x1400
[109]the chip id is 0x1400
[112]the chip id is 0x1400
[114]the chip id is 0x1400
[117]the chip id is 0x1400
[120]chip id check OK
[122]DRAM_VCC set to 1500 mv
[125]DRAM CLK =648 MHZ
[127]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[136]DRAM SIZE =2048 MBytes, para1 = 310a, para2 = 8000000, tpr13 = 6001
[148]DRAM simple test OK.
[150]dram size =2048
[153]chipid = 54401400
[155]nsi init ok 2020-4-7
[158]card no is 2
[160]sdcard 2 line count 8
[163][mmc]: mmc driver ver 2020-05-25 09:40-202007019516
[174][mmc]: Wrong media type 0x0
[177][mmc]: ***Try SD card 2***
[181][mmc]: mmc 2 cmd 8 timeout, err 100
[185][mmc]: mmc 2 cmd 8 err 100
[188][mmc]: mmc 2 send if cond failed
[192][mmc]: mmc 2 cmd 55 timeout, err 100
[196][mmc]: mmc 2 cmd 55 err 100
[200][mmc]: mmc 2 send app cmd failed
[203][mmc]: ***Try MMC card 2***
[229][mmc]: RMCA OK!
[232][mmc]: bias 4
[233][mmc]: mmc 2 bias 4
[237][mmc]: MMC 5.1
[239][mmc]: HSSDR52/SDR25 8 bit
[242][mmc]: 50000000 Hz
[244][mmc]: 7400 MB
[246][mmc]: ***SD/MMC 2 init OK!!!***
[306]Loading boot-pkg Succeed(index=0).
[310]Entry_name        = u-boot
[317]Entry_name        = monitor
[321]Entry_name        = scp
[324]set arisc reset to assert state
[333]set arisc reset to de-assert state
[337]Entry_name        = dtb
[340]tunning data addr:0x4a0003e8
[344]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):e138ea9
NOTICE:  BL3-1: Built : 09:21:33, 2020-11-18
NOTICE:  BL3-1 commit: 8
NOTICE:  cpuidle init version V2.0
ERROR:   Error initializing runtime service tspd_fast
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
NOTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05 (Jun 01 2023 - 05:30:25 +0000) Allwinner Technology

[00.427]CPU:   Allwinner Family
[00.430]Model: sun50iw10
I2C:   smallwit i2c init begin ...
smallwit i2c init end ...
ready
[00.706]DRAM:  2 GiB
[00.709]Relocation Offset is: 75f00000
[00.743]secure enable bit: 0
smallwit i2c init begin ...
smallwit i2c init end ...
read 0x05 register result : 0
i2c write 0x01 register ok
read 0x01 register result : 0
[00.765]PMU: AXP803
[00.767]PMU: pmu_axp81X found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[00.785]gpio_bias, pc_bias: 1800, pc_supply: not set
[00.790]gpio_bias, pl_bias:   -1, pl_supply: not set
[00.797]dcdc1_vol = 3300, onoff=1
[00.801]aldo1_vol = 1800, onoff=1
[00.806]aldo2_vol = 1800, onoff=1
[00.810]aldo3_vol = 3300, onoff=1
[00.814]dldo1_vol = 0, onoff=0
[00.819]dldo2_vol = 1800, onoff=1
[00.823]dldo3_vol = 1800, onoff=1
[00.828]dldo4_vol = 1800, onoff=1
[00.832]eldo1_vol = 1800, onoff=1
[00.837]eldo2_vol = 1800, onoff=1
[00.842]eldo3_vol = 1800, onoff=1
[00.846]fldo1_vol = 900, onoff=1
[00.850]dc1sw_vol = 0, onoff=1
bias_name:pc_bias        bias_vol:1800
[00.858]SMALLWIT CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.865]not need merged sunxi overlay
[00.868]gic: sec monitor mode
[00.871]sunxi flash type@2 not support fast burn key
[00.875]flash init start
[00.878]workmode = 0,storage type = 2
[00.881][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[00.887][mmc]: get sdc_type fail and use default host:tm4.
[00.899][mmc]: SUNXI SDMMC Controller Version:0x50300
[00.927][mmc]: Best spd md: 4-HS400, freq: 3-100000000, Bus width: 8
[00.933]sunxi flash init ok
[00.935]non secure, do not need update backup boot0 to toc0
[00.941]init_clocks:finish
[00.943]drv_disp_init
[00.976]get flash lcd idx 0
request pwm success, pwm2:pwm2:0x300a000.
[00.988]drv_disp_init finish
[00.997]Loading Environment from SUNXI_FLASH... OK
[01.006]boot_gui_init:start
[01.010]set disp.dev2_output_type fail. using defval=0
[01.014]disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
     clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[01.028]enable power dc1sw, ret=0
[01.031]enable power dcdc1, ret=0
[01.034]enable power eldo3, ret=0
[01.037]enable power dldo2, ret=0
[01.044]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[01.052]boot_gui_init:finish
54 bytes read in 1 ms (52.7 KiB/s)
[01.059]bmp_name=bootlogo.bmp size 793494
793494 bytes read in 8 ms (94.6 MiB/s)
[01.079]no secure os for keybox operation
[01.082]try to burn key
[01.085]out of usb burn from boot: not need burn key
[01.090][ARISC] :arisc initialize
[01.095][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [bffa0ae0, bffa0df8]
[01.106][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :0x1
[SCP] :arisc version: [66fd4f97463a87fc2a2bcebebcee26f774992e52rid-]
[SCP] :arisc startup ready
[SCP] :arisc startup notify message feedback
[SCP] :send hard sync feedback message: 0x900200
[SCP] :sunxi-arisc driver v1.10 is starting
[01.136]soc ic_ver:0x6, qa_val:0x0, markid:0x1400 dclk[0-200] display_cfg_flag:0
[01.143][ARISC] :sunxi-arisc driver startup succeeded
[01.148]read item0 copy0
[01.161]Item0 (Map) magic is bad
[01.164]the secure storage item0 copy0 magic is bad
[01.179]Item0 (Map) magic is bad
[01.182]the secure storage item0 copy1 magic is bad
[01.186]Item0 (Map) magic is bad
[01.189]the secure storage map is empty
[01.193]no item name device_unlock in the map
[01.197]no item name fastboot_status_flag in the map
[01.202]sunxi secure storage has no flag
List file under ULI/factory
** Unrecognized filesystem type **
[01.211]no item name snum in the map
[01.214]no item name mac in the map
[01.217]no item name wifi_mac in the map
[01.221]no item name bt_mac in the map
[01.225]no item name specialstr in the map
[01.229]update part info
[01.231]key 0
[01.232]misc partition found

pin_name = pwm2

compat=/soc/pwm2
[01.250]LCD open finish
[01.264]update bootcmd
[01.266]serial num is: 8c000c5dd642884235d
disable nand error: FDT_ERR_BADPATH
[01.278](weak)update dtb dram start
[01.298]update dtb dram  end
[01.305]update dts
Hit any key to stop autoboot:  0
[01.315]partinfo: name boot, start 0x3a000, size 0x10000
[01.466]read data in addr ret = 1
[01.469]magic = AVB0
[01.471]major version = 1  minor version = 0
[01.475]authentication_data_block_size = 240
[01.479]auxiliary_data_block_size = d40
[01.483]vbmeta_size = 4224
[01.485]algorithm_type = 0
[01.488]flag = 0
[01.490]release tool = avbtool 1.1.0
[01.504]read data in addr ret = 1
[01.507]magic = AVB0
[01.509]major version = 1  minor version = 0
[01.513]authentication_data_block_size = 140
[01.517]auxiliary_data_block_size = 3c0
[01.520]vbmeta_size = 1536
[01.523]algorithm_type = 0
[01.525]flag = 0
[01.527]release tool = avbtool 1.1.0
[01.541]read data in addr ret = 1
[01.544]magic = AVB0
[01.546]major version = 1  minor version = 0
[01.550]authentication_data_block_size = 140
[01.554]auxiliary_data_block_size = 340
[01.558]vbmeta_size = 1408
[01.560]algorithm_type = 0
[01.563]flag = 0
[01.564]release tool = avbtool 1.1.0
[01.568]total_size = 7168
[01.570]alloc block = 17
[01.604]vbmeta hash is a32ee9eb894a2f7a2eb86a847bbba8c767586f8ea3d0680b3f2eb37f88ce77ad
[01.615]no vendor_boot partition is found
[01.618]in boot normal mode,pass normal para to cmdline
[01.625]android.hardware = sun50iw10p1
[01.629]line:110 dtbo_idx= 0
[01.631]line:110 dtbo_idx= 1
[01.634]dtbo_idx= 118
[01.715]partinfo: name dtbo, start 0x61a000, size 0x1000
[01.779]Starting kernel ...

[01.782][mmc]: mmc exit start
[01.800][mmc]: mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (ubuntu@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 SMP PREEMPT Wed Dec 4 11:27:00 CST 2024
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] disp reserve base 0xbbf4f000 ,size 0x258000
[    0.000000] cma: Reserved 8 MiB at 0x00000000bf800000
[    0.000000] On node 0 totalpages: 524288
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 23 pages/cpu @ffffffc07f6e9000 s53376 r8192 d32640 u94208
[    0.000000] pcpu-alloc: s53376 r8192 d32640 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 init=/init partitions=bootloader@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:super@mmcblk0p4:misc@mmcblk0p5:recovery@mmcblk0p6:cache@mmcblk0p7:vbmeta@mmcblk0p8:vbmeta_system@mmcblk0p9:vbmeta_vendor@mmcblk0p10:metadata@mmcblk0p11:private@mmcblk0p12:frp@mmcblk0p13:empty@mmcblk0p14:dtbo@mmcblk0p15:media_data@mmcblk0p16:UDISK@mmcblk0p17 cma=8M snum=8c000c5dd642884235d mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.vbmeta.avb_version=2.0 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=7168 androidboot.vbmeta.digest=a32ee9eb894a2f7a2eb86a847bbba8c767586f8ea3d0680b3f2eb37f88ce77ad androidboot.vbmeta.device_state=locked androidboot.veritymode=enforcing androidboot.mode=normal androidboot.serialno=8c000c5dd642884235d androidboot.hardware=sun50iw10p1 boot_type=2 androidboot.boot_type=2 androidboot.secure_os_exist=0 androidboot.trustchain=false an[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 2011348K/2097152K available (10878K kernel code, 1852K rwdata, 3800K rodata, 3712K init, 599K bss, 77612K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008b20000   ( 10880 KB)
[    0.000000]     .rodata : 0xffffff8008b20000 - 0xffffff8008ee0000   (  3840 KB)
[    0.000000]       .init : 0xffffff8008ee0000 - 0xffffff8009280000   (  3712 KB)
[    0.000000]       .data : 0xffffff8009280000 - 0xffffff800944f008   (  1853 KB)
[    0.000000]        .bss : 0xffffff800944f008 - 0xffffff80094e4ef8   (   600 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf02000000   (    32 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc080000000   (  2048 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008163] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.018200] pid_max: default: 32768 minimum: 301
[    0.023020] Security Framework initialized
[    0.026880] SELinux:  Initializing.
[    0.030470] SELinux:  Starting in permissive mode
[    0.035131] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.041699] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.049547] ftrace: allocating 34120 entries in 134 pages
[    0.131536] sched-energy: CPU device node has no sched-energy-costs
[    0.132177] Invalid sched_group_energy for CPU0
[    0.136714] CPU0: update cpu_capacity 1024
[    0.150820] ASID allocator initialised with 32768 entries
[    0.168247] nsi: no limit for F version(except 1080P-LP4)
[    0.168478] BOOTEVENT:       168.474165: ON
[    0.202427] Detected VIPT I-cache on CPU1
[    0.202476] Invalid sched_group_energy for CPU1
[    0.202479] CPU1: update cpu_capacity 1024
[    0.202482] CPU1: Booted secondary processor [410fd034]
[    0.225812] Detected VIPT I-cache on CPU2
[    0.225840] Invalid sched_group_energy for CPU2
[    0.225842] CPU2: update cpu_capacity 1024
[    0.225845] CPU2: Booted secondary processor [410fd034]
[    0.249219] Detected VIPT I-cache on CPU3
[    0.249245] Invalid sched_group_energy for CPU3
[    0.249247] CPU3: update cpu_capacity 1024
[    0.249250] CPU3: Booted secondary processor [410fd034]
[    0.249329] Brought up 4 CPUs
[    0.299963] SMP: Total of 4 processors activated.
[    0.304655] CPU features: detected feature: 32-bit EL0 Support
[    0.310459] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.321382] CPU: All CPU(s) started at EL1
[    0.321731] alternatives: patching kernel code
[    0.326335] Invalid sched_group_energy for CPU3
[    0.330657] CPU3: update max cpu_capacity 1024
[    0.335073] Invalid sched_group_energy for Cluster3
[    0.339925] Invalid sched_group_energy for CPU2
[    0.344432] Invalid sched_group_energy for Cluster2
[    0.349285] Invalid sched_group_energy for CPU1
[    0.353793] Invalid sched_group_energy for Cluster1
[    0.358645] Invalid sched_group_energy for CPU0
[    0.363152] Invalid sched_group_energy for Cluster0
[    0.368657] CPU1: update max cpu_capacity 1024
[    0.373157] devtmpfs: initialized
[    0.412765] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.416892] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.423670] atomic64_test: passed
[    0.426397] pinctrl core: initialized pinctrl subsystem
[    0.433712] NET: Registered protocol family 16
[    0.437451] dump_class_init,861, success
[    0.453328] cpuidle: using governor menu
[    0.454761] sunxi iommu: irq = 9
[    0.455684] vdso: 2 pages (1 code @ ffffff8008b28000, 1 data @ ffffff8009284000)
[    0.462242] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.470356] DMA: preallocated 256 KiB pool for atomic allocations
[    0.478056] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.496591] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[    0.500924] iommu: Adding device 1c0e000.ve to group 0
[    0.511049] iommu: Adding device soc@03000000:disp1@1 to group 0
[    0.512237] iommu: Adding device 6000000.disp to group 0
[    0.517236] iommu: Adding device 6400000.eink to group 0
[    0.523065] iommu: Adding device 6480000.g2d to group 0
[    0.565392] pwm module init!
[    0.570760] sunxi-pm debug v3.10
[    0.572193] SCSI subsystem initialized
[    0.573150] usbcore: registered new interface driver usbfs
[    0.577632] usbcore: registered new interface driver hub
[    0.582955] usbcore: registered new device driver usb
[    0.588050] sunxi_i2c_adap_init()2541 - init
[    0.592639] sunxi_i2c_probe()2289 - [i2c6] twi_drv_used = 1
[    0.597668] sunxi_i2c_probe()2293 - [i2c6] twi_pkt_interval = 0
[    0.603572] twi6 supply twi not found, using dummy regulator
[    0.609265] twi_request_gpio()453 - [i2c6] init name: twi6
[    0.615229] axp20x-i2c 6-0034: AXP20x variant AXP803 found
[    0.626393] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[    0.629991] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22
[    0.668880] axp803-dldo1: Bringing 3300000uV into 1900000-1900000uV
[    0.696562] axp20x-i2c 6-0034: AXP20X driver loaded
[    0.696669] sunxi_i2c_dma_request()1123 - [i2c6] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers
[    0.705872] sunxi_i2c_probe()2289 - [i2c0] twi_drv_used = 0
[    0.710911] sunxi_i2c_probe()2293 - [i2c0] twi_pkt_interval = 0
[    0.716835] twi0 supply twi not found, using dummy regulator
[    0.722519] twi_request_gpio()453 - [i2c0] init name: twi0
[    0.728809] sunxi_i2c_probe()2289 - [i2c1] twi_drv_used = 0
[    0.733451] sunxi_i2c_probe()2293 - [i2c1] twi_pkt_interval = 0
[    0.739381] twi1 supply twi not found, using dummy regulator
[    0.745036] twi_request_gpio()453 - [i2c1] init name: twi1
[    0.751007] sunxi_i2c_probe()2289 - [i2c2] twi_drv_used = 0
[    0.755974] sunxi_i2c_probe()2293 - [i2c2] twi_pkt_interval = 0
[    0.762246] twi_request_gpio()453 - [i2c2] init name: twi2
[    0.768025] sunxi_i2c_probe()2289 - [i2c3] twi_drv_used = 0
[    0.772876] sunxi_i2c_probe()2293 - [i2c3] twi_pkt_interval = 0
[    0.778811] twi3 supply twi not found, using dummy regulator
[    0.784491] twi_request_gpio()453 - [i2c3] init name: twi3
[    0.790737] media: Linux media interface: v0.10
[    0.794425] Linux video capture interface: v2.00
[    0.799914] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.806017] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.812379] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[    0.819190] drm config service not available: FFFFFFFF
[    0.824427] Advanced Linux Sound Architecture Driver Initialized.
[    0.830711] Bluetooth: Core ver 2.22
[    0.833674] NET: Registered protocol family 31
[    0.838040] Bluetooth: HCI device and connection manager initialized
[    0.844380] Bluetooth: HCI socket layer initialized
[    0.849225] Bluetooth: L2CAP socket layer initialized
[    0.854294] Bluetooth: SCO socket layer initialized
[    0.860547] clocksource: Switched to clocksource arch_sys_counter
[    0.932592] VFS: Disk quotas dquot_6.6.0
[    0.932735] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.940353] udc_init,0
[    0.941520] NET: Registered protocol family 2
[    0.970741] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.972436] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.979190] TCP: Hash tables configured (established 16384 bind 16384)
[    0.985492] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.991444] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.998166] NET: Registered protocol family 1
[    1.002438] Trying to unpack rootfs image as initramfs...
[    1.041914] Freeing initrd memory: 776K
[    1.043542] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.050458] audit: initializing netlink subsys (disabled)
[    1.053302] audit: type=2000 audit(0.863:1): initialized
[    1.059529] workingset: timestamp_bits=45 max_order=19 bucket_order=0
[    1.075115] Registering sdcardfs 0.1
[    1.075624] ntfs: driver 2.1.32 [Flags: R/W].
[    1.077912] fuse init (API version 7.26)
[    1.083289] SELinux:  Registering netfilter hooks
[    1.090414] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.093552] io scheduler noop registered
[    1.097361] io scheduler deadline registered
[    1.101754] io scheduler cfq registered (default)
[    1.108158] [DISP]disp_module_init
[    1.109946] disp soc@03000000:disp1@1: unable to map de registers
[    1.115673] disp: probe of soc@03000000:disp1@1 failed with error -22
[    1.122863] [DISP] disp_init,line:2345:
[    1.125699] smooth display screen:0 type:1 mode:4
[    1.172306] [DISP] lcd_clk_config,line:675:
[    1.172353] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    1.172353]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    1.174524] [DISP]disp_module_init finish
[    1.198440] uart uart0: get regulator failed
[    1.199046] uart0: ttyS0 at MMIO 0x5000000 (irq = 349, base_baud = 1500000) is a SUNXI
[    1.205027] sw_console_▒[    1.212943] console [ttyS0] enabled
[    1.212943] console [ttyS0] enabled
[    1.216950] bootconsole [earlycon0] disabled
[    1.216950] bootconsole [earlycon0] disabled
[    1.225926] uart uart1: get regulator failed
[    1.234239] uart1 supply uart not found, using dummy regulator
[    1.241064] uart1: ttyS1 at MMIO 0x5000400 (irq = 350, base_baud = 1500000) is a SUNXI
[    1.250513] uart uart2: get regulator failed
[    1.255374] uart2 supply uart not found, using dummy regulator
[    1.262169] uart2: ttyS2 at MMIO 0x5000800 (irq = 351, base_baud = 1500000) is a SUNXI
[    1.271448] sun50iw10p1-pinctrl pio: missing pins property in node uart3
[    1.279010] uart: probe of uart3 failed with error -22
[    1.284840] sun50iw10p1-pinctrl pio: missing pins property in node uart4
[    1.292394] uart: probe of uart4 failed with error -22
[    1.298920] misc dump reg init
[    1.303531] G2D: Module initialized.major:245
[    1.309281] [drm] Initialized
[    1.312783] Unable to detect cache hierarchy for CPU 0
[    1.330937] brd: module loaded
[    1.348172] loop: module loaded
[    1.352656] zram: Added device: zram0
[    1.357028] [NAND][NE] Not found valid nand node on dts
[    1.363627] Boot type 2
[    1.366870] sunxi-bt soc@03000000:bt@0: bt_power_name (axp803-dldo1)
[    1.374081] sunxi-bt soc@03000000:bt@0: Missing bt_io_regulator.
[    1.380859] sunxi-bt soc@03000000:bt@0: io_regulator_name ((null))
[    1.387884] sunxi-bt soc@03000000:bt@0: get gpio bt_rst failed
[    1.394515] sunxi-bt soc@03000000:bt@0: devm_pinctrl_get() failed!
[    1.402162] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[    1.408464] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp803-dldo1)
[    1.416213] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator.
[    1.423575] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null))
[    1.430959] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=202  mul-sel=1  pull=-1  drv_level=-1  data=1
[    1.441778] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[    1.448843] sunxi-wlan soc@03000000:wlan@0: get gpio power_en failed
[    1.456022] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=205  mul-sel=6  pull=-1  drv_level=-1  data=0
[    1.467159] sunxi-wlan soc@03000000:wlan@0: clk not config
[    1.473357] sunxi-wlan soc@03000000:wlan@0: dcxo not config
[    1.479660] sunxi-wlan soc@03000000:wlan@0: pinctrl_lookup_state(default) failed! return ffffffffffffffed
[    1.491683] [ADDR_MGT] addr_mgt_probe: success.
[    1.499896] libphy: Fixed MDIO Bus: probed
[    1.504563] tun: Universal TUN/TAP device driver, 1.6
[    1.510261] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.518962] deviceless supply  not found, using dummy regulator
[    1.525713] deviceless supply  not found, using dummy regulator
[    1.532411] deviceless supply  not found, using dummy regulator
[    1.540022] PPP generic driver version 2.4.2
[    1.545086] PPP BSD Compression module registered
[    1.550398] PPP Deflate Compression module registered
[    1.556119] PPP MPPE Compression module registered
[    1.561527] NET: Registered protocol family 24
[    1.566534] PPTP driver version 0.8.5
[    1.571032] usbcore: registered new interface driver rtl8150
[    1.577480] usbcore: registered new interface driver r8152
[    1.583729] usbcore: registered new interface driver asix
[    1.589878] usbcore: registered new interface driver ax88179_178a
[    1.596799] usbcore: registered new interface driver cdc_ether
[    1.603478] usbcore: registered new interface driver smsc75xx
[    1.610025] usbcore: registered new interface driver smsc95xx
[    1.616551] usbcore: registered new interface driver net1080
[    1.622993] usbcore: registered new interface driver cdc_subset
[    1.629716] usbcore: registered new interface driver zaurus
[    1.636057] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    1.644471] usbcore: registered new interface driver cdc_ncm
[    1.650854] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.658581] get ehci0-controller, regulator_io is no nocare
[    1.664868] get ehci0-controller wakeup-source is fail.
[    1.670996] sunxi ehci0-controller don't init wakeup source
[    1.677286] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff80094d08b0, 0x:ffffff8009c56000, irq_no:168
[    1.690998] [sunxi-ehci0]: Not init ehci0
[    1.695641] get ehci1-controller, regulator_io is no nocare
[    1.701921] get ehci1-controller wakeup-source is fail.
[    1.707945] sunxi ehci1-controller don't init wakeup source
[    1.714229] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff80094d0c38, 0x:ffffff8009cf2000, irq_no:16a
[    1.729237] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.739466] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    1.749644] sunxi-ehci 5200000.ehci1-controller: irq 362, io mem 0xffffffc07c70a010
[    1.770566] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    1.778413] sunxi-ehci 5200000.ehci1-controller: ehci_irq: highspeed device connect
[    1.788013] hub 1-0:1.0: USB hub found
[    1.792276] hub 1-0:1.0: 1 port detected
[    1.797624] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.804980] get ohci0-controller, regulator_io is no nocare
[    1.811268] get ohci0-controller wakeup-source is fail.
[    1.817387] sunxi ohci0-controller don't init wakeup source
[    1.823787] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff80094d1348
[    1.834274] [sunxi-ohci0]: Not init ohci0
[    1.838917] get ohci1-controller, regulator_io is no nocare
[    1.845203] get ohci1-controller wakeup-source is fail.
[    1.851218] sunxi ohci1-controller don't init wakeup source
[    1.857596] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff80094d16d0
[    1.868227] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.878050] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[    1.887826] sunxi-ohci 5200000.ohci1-controller: irq 363, io mem 0xffffffc07c70a400
[    1.955506] hub 2-0:1.0: USB hub found
[    1.959772] hub 2-0:1.0: 1 port detected
[    1.965359] usbcore: registered new interface driver uas
[    1.971471] usbcore: registered new interface driver usb-storage
[    1.978303] usbcore: registered new interface driver ums-alauda
[    1.985029] usbcore: registered new interface driver ums-cypress
[    1.991854] usbcore: registered new interface driver ums-datafab
[    1.998672] usbcore: registered new interface driver ums_eneub6250
[    2.005696] usbcore: registered new interface driver ums-freecom
[    2.012515] usbcore: registered new interface driver ums-isd200
[    2.019241] usbcore: registered new interface driver ums-jumpshot
[    2.026157] usbcore: registered new interface driver ums-karma
[    2.032786] usbcore: registered new interface driver ums-onetouch
[    2.039721] usbcore: registered new interface driver ums-realtek
[    2.046547] usbcore: registered new interface driver ums-sddr09
[    2.053268] usbcore: registered new interface driver ums-sddr55
[    2.059997] usbcore: registered new interface driver ums-usbat
[    2.066693] usbcore: registered new interface driver usbserial
[    2.073455] usbcore: registered new interface driver option
[    2.079784] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.087816] usbcore: registered new interface driver cdc_xr_usb_serial
[    2.095171] xr_usb_serial_common: Exar USB UART (serial port) driver
[    2.102499] usb_serial_number:20080411
[    2.107504] sunxikbd_key_init: key0 vol= 590 code= 0
[    2.113104] sunxikbd_key_init: key1 vol= 646 code= 115
[    2.113896] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[    2.126445] sunxikbd_key_init: key2 vol= 897 code= 114
[    2.132532] input: sunxi-keyboard as /devices/virtual/input/input0
[    2.148098] input: axp803-pek as /devices/platform/soc/7081400.s_twi/i2c-6/6-0034/axp2101-pek.0/input/input1
[    2.163014] random: fast init done
[    2.169477] rtc-hym8563 3-0051: rtc core: registered hym8563 as rtc0
[    2.177632] i2c /dev entries driver
[    2.182701] lirc_dev: IR Remote Control driver registered, major 244
[    2.189895] IR NEC protocol handler initialized
[    2.195001] IR RC5(x/sz) protocol handler initialized
[    2.200697] IR RC6 protocol handler initialized
[    2.205809] IR JVC protocol handler initialized
[    2.210918] IR Sony protocol handler initialized
[    2.216120] IR SANYO protocol handler initialized
[    2.221431] IR Sharp protocol handler initialized
[    2.226730] IR MCE Keyboard/mouse protocol handler initialized
[    2.233357] IR LIRC bridge handler initialized
[    2.238413] IR XMP protocol handler initialized
[    2.244020] sunxi_ir_startup: get ir protocol failed
[    2.249481] 7040000.s_cir supply ir0 not found, using dummy regulator
[    2.257113] Registered IR keymap rc_map_sunxi
[    2.262485] input: sunxi-ir as /devices/platform/soc/7040000.s_cir/rc/rc0/input2
[    2.271093] rc rc0: sunxi-ir as /devices/platform/soc/7040000.s_cir/rc/rc0
[    2.279369] input: MCE IR Keyboard/Mouse (sunxi-rc-recv) as /devices/virtual/input/input3
[    2.289348] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-rc-recv) registered at minor = 0
[    2.289518] hub 1-1:1.0: USB hub found
[    2.289936] hub 1-1:1.0: 4 ports detected
[    2.308060] sunxi cedar version 0.1
[    2.312147] VE: install start!!!
[    2.312147]
[    2.317612] cedar_ve: cedar-ve the get irq is 347
[    2.323334] VE: get debugfs_mpp_root is NULL, please check mpp
[    2.323334]
[    2.331580] VE: sunxi ve debug register driver failed!
[    2.331580]
[    2.351960] axp803_battery: axp803_bat_power_dt_parse: failed
[    2.351960]
[    2.360107] axp803_battery: axp803_bat_power_probe parse device tree err
[    2.360107]
[    2.369350] axp803-battery-power-supply: probe of axp803-battery-power-supply.0 failed with error -22
[    2.381148] device-mapper: uevent: version 1.0.3
[    2.386840] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    2.396512] device-mapper: verity-avb: AVB error handler initialized with vbmeta device:
[    2.405735] Bluetooth: HCI UART driver ver 2.3
[    2.410754] Bluetooth: HCI UART protocol H4 registered
[    2.416548] Bluetooth: HCI UART protocol LL registered
[    2.422337] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.433975] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.444056] sunxi-mmc sdc2: ***ctl-spec-caps*** 308
[    2.450204] sunxi-mmc sdc2: No vdmmc regulator found
[    2.455805] sunxi-mmc sdc2: No vd33sw regulator found
[    2.461504] sunxi-mmc sdc2: No vd18sw regulator found
[    2.467197] sunxi-mmc sdc2: No vq33sw regulator found
[    2.472899] sunxi-mmc sdc2: No vq18sw regulator found
[    2.479266] sunxi-mmc sdc2: set host busy
[    2.483878] mmc:failed to get gpios
[    2.488070] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.513962] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.540806] sunxi-mmc sdc2: detmode:alway in(non removable)
[    2.540840] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.549301] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.550369] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.561223] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.561287] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.574133] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.618630] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.628043] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.637474] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.646897] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.656310] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.665737] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.675480] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.685559] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    2.692569] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.692957] sunxi-mmc sdc0: No vqmmc regulator found
[    2.692962] sunxi-mmc sdc0: No vdmmc regulator found
[    2.703450] sunxi-mmc sdc0: set host busy
[    2.703513] sunxi-mmc sdc0: Got CD GPIO
[    2.703842] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.703887] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    2.720576] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.737469] sunxi-mmc sdc0: detmode:gpio irq
[    2.737984] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.738053] sunxi-mmc sdc1: ***ctl-spec-caps*** 1
[    2.738238] sunxi-mmc sdc1: No vmmc regulator found
[    2.738242] sunxi-mmc sdc1: No vqmmc regulator found
[    2.738247] sunxi-mmc sdc1: No vdmmc regulator found
[    2.738251] sunxi-mmc sdc1: No vd33sw regulator found
[    2.738255] sunxi-mmc sdc1: No vd18sw regulator found
[    2.738259] sunxi-mmc sdc1: No vq33sw regulator found
[    2.738264] sunxi-mmc sdc1: No vq18sw regulator found
[    2.738858] sunxi-mmc sdc1: set host busy
[    2.738936] mmc:failed to get gpios
[    2.738972] sunxi-mmc sdc1: min-frequency:150000
[    2.739187] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.753912] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.770588] sunxi-mmc sdc1: detmode:manually by software
[    2.771429] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.772267] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.772293] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.774774] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.776667] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.777542] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.778411] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.779278] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.779306] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.780392] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.782407] ledtrig-cpu: registered to indicate activity on CPUs
[    2.782833] hidraw: raw HID events driver (C) Jiri Kosina
[    2.785401] usbcore: registered new interface driver usbhid
[    2.785405] usbhid: USB HID core driver
[    2.785811] ashmem: initialized
[    2.787669] optee: probing for conduit method from DT.
[    2.787679] optee: api uid mismatch
[    2.788098] usbcore: registered new interface driver snd-usb-audio
[    2.789428] sun50iw10p1-pinctrl pio: pin PB4 already requested by twi1; cannot claim for daudio0
[    2.789434] sun50iw10p1-pinctrl pio: pin-36 (daudio0) status -22
[    2.789441] sun50iw10p1-pinctrl pio: could not request pin 36 (PB4) from group PB4  on device pio
[    2.789446] sunxi-daudio daudio0: Error applying setting, reverse things back
[    2.789467] sunxi-daudio: probe of daudio0 failed with error -22
[    2.789945] sun50iw10p1-pinctrl pio: missing pins property in node spdif
[    2.789953] sunxi-spdif: probe of spdif failed with error -22
[    2.793195] sunxi-internal-codec codec: pa_power_always_on get failed and set it off.
[    2.793202] digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:0, pa_power_always_on:0
[    2.793211] adcdrc_cfg:2, adchpf_cfg:1, dacdrc_cfg:2, dachpf:0
[    2.793271] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    2.793930] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.794341] [sunxi_card_init] card init finished.
[    2.794432] Audio: [soc_new_pcm] -> 2699
[    2.794437] Audio: [soc_new_pcm] -> 2718
[    2.794545] Audio: [soc_new_pcm] -> 2746
[    2.795910] sunxi-codec-machine sndcodec: sun50iw10codec <-> codec mapping ok
[    2.797154] input: sun50iw10-codec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input4
[    2.797545] [audio] hp_detect_case: 1
[    2.797550] [audio] noheadphonemic missing or it has headphonemic.
[    2.797812] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    2.798773] sndspdif sndspdif: ASoC: CPU DAI (null) not registered
[    2.798781] sndspdif sndspdif: snd_soc_register_card failed: -517
[    2.798892] sndspdif: probe of sndspdif failed with error -16
[    2.799685] u32 classifier
[    2.799687]     Actions configured
[    2.799697] Netfilter messages via NETLINK v0.30.
[    2.799714] nfnl_acct: registering with nfnetlink.
[    2.800046] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    2.800271] ctnetlink v0.93: registering with nfnetlink.
[    2.800821] xt_time: kernel timezone is -0000
[    2.800920] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    2.801527] gre: GRE over IPv4 demultiplexor driver
[    2.801531] ip_gre: GRE over IPv4 tunneling driver
[    2.802643] IPv4 over IPsec tunneling driver
[    2.805093] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.805340] arp_tables: arp_tables: (C) 2002 David S. Miller
[    2.811836] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.815263] Initializing XFRM netlink socket
[    2.815299] IPsec XFRM device driver
[    2.816053] NET: Registered protocol family 10
[    2.816328] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.816358] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.818998] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.821157] mip6: Mobile IPv6
[    2.821191] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.821193] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.822294] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.823391] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.824487] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.824510] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.825602] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.843886] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.846475] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.847797] NET: Registered protocol family 17
[    2.847828] NET: Registered protocol family 15
[    2.847859] l2tp_core: L2TP core driver, V2.0
[    2.847875] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    2.851417] Registered cp15_barrier emulation handler
[    2.851431] Registered setend emulation handler
[    2.852253] registered taskstats version 1
[    2.865567] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.867234] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.867275] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.868366] core: _opp_supported_by_regulators: OPP minuV: 0 maxuV: 0, not supported by regulator
[    2.868373] cpu cpu0: _opp_add: OPP not supported by regulators (1464000000)
[    2.868685] cpu cpu1: opp_list_debug_create_link: Failed to create link
[    2.868691] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[    2.868726] cpu cpu2: opp_list_debug_create_link: Failed to create link
[    2.868732] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
[    2.868767] cpu cpu3: opp_list_debug_create_link: Failed to create link
[    2.868772] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
[    2.870148] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.871015] get usb_detect_mode is fail, 22
[    2.871532] sunxi_ctp_startup: ctp_power_io is invalid.
[    2.871557] get ctp_gesture_wakeup fail, no gesture wakeup
[    2.871595] 0-005d supply ctp not found, using dummy regulator
[    2.871696] get ctp_screen_max_x is fail, -22
[    2.872971] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.874601] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.876221] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.877841] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.877856] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.878936] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.897212] sunxi-mmc sdc1: sdc set ios:clk 150000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.919368] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.921527] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.921540] sunxi-mmc sdc1: sdc set ios:clk 150000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.924600] sunxi-mmc sdc1: sdc set ios:clk 150000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.927843] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.930003] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.932162] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.934309] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.934321] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.940558] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.967553] GTP I2C Address:0x5d
[    2.967805] sunxi_i2c_do_xfer()1946 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    2.968008] sunxi_i2c_do_xfer()1946 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    2.984133] gtp_i2c_read:I2C retry timeout, reset chip.GTP i2c test failed time 1.
[    2.984133] sunxi_i2c_do_xfer()1946 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    2.984336] sunxi_i2c_do_xfer()1946 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    3.000599] gtp_i2c_read:I2C retry timeout, reset chip.GTP i2c test failed time 2.I2C communication ERROR!
[    3.000630] gt9xx_ts: probe of 0-005d failed with error -70
[    3.000752] sunxi_i2c_drv_core_process()1007 - [i2c6] Timeout when sending 9th SCL clk
[    3.000770] i2c_sunxi_drv_complete()1181 - [i2c6] incomplete xfer(status: 0x1, dev addr: 0x14)
[    3.000777] 0x07081600: 01011001 00000001 00002800 0001ffff
[    3.000781] 0x07081610: 00008040 00010004 00010010 00000000
[    3.000853] sunxi_i2c_drv_core_process()1007 - [i2c6] Timeout when sending 9th SCL clk
[    3.000865] i2c_sunxi_drv_complete()1181 - [i2c6] incomplete xfer(status: 0x1, dev addr: 0x5d)
[    3.000869] 0x07081600: 11011001 00000001 0000bb00 00000001
[    3.000874] 0x07081610: 00008040 00010004 00010010 00000000
[    3.001035] sunxi_i2c_do_xfer()1946 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.001254] sunxi_i2c_do_xfer()1946 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.001440] sunxi_i2c_do_xfer()1946 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5d)
[    3.001650] sunxi_i2c_do_xfer()1946 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.001834] sunxi_i2c_do_xfer()1946 - [i2c2] incomplete xfer (status: 0x48, dev addr: 0x5d)
[    3.002022] sunxi_i2c_do_xfer()1946 - [i2c3] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.002206] sunxi_i2c_do_xfer()1946 - [i2c3] incomplete xfer (status: 0x48, dev addr: 0x5d)
[    3.002549] ERROR! get hall_para failed, func:switch_init, line:269
[    3.006879] rtc-hym8563 3-0051: setting system clock to 2024-12-04 09:36:38 UTC (1733304998)
[    3.007435] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[    3.007447] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[    3.007451] snddaudio snddaudio0: snd_soc_register_card failed
[    3.008882] axp803-dcdc6: disabling
[    3.009727] axp803-dldo3: disabling
[    3.010341] axp803-dldo4: disabling
[    3.010958] axp803-eldo2: disabling
[    3.012020] ALSA device list:
[    3.012023]   #0: sun50iw10-codec
[    3.889700] Freeing unused kernel memory: 3712K
[    3.894851] Kernel init done
[    3.901859] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 8 timing LEGACY(SDR12) dt B
[    3.912991] init: init first stage started!
[    3.918346] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS200 dt B
[    3.918652] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[    3.920216] init: Using Android DT directory /proc/device-tree/firmware/android/
[    3.945304] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS200 dt B
[    3.956313] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS(SDR20) dt B
[    3.967526] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS(SDR20) dt B
[    3.978934] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS400 dt B
[    3.989681] sunxi_mmc_get_hs400_cmd_dly,222
[    3.994391] sunxi-mmc sdc2: failed to get HS400_cmd used default
[    4.001235] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS400 dt B
[    4.010622] init: bool android::init::FirstStageMount::InitRequiredDevices(): partition(s) not found in /sys, waiting for their uevent(s): metadata, super
[    4.027449] sunxi_mmc_get_hs400_cmd_dly,222
[    4.032135] sunxi-mmc sdc2: failed to get HS400_cmd used default
[    4.039249] mmc0: new HS400 MMC card at address 0001
[    4.048743] mmcblk0: mmc0:0001 AT2S38 7.23 GiB
[    4.057452] mmcblk0boot0: mmc0:0001 AT2S38 partition 1 4.00 MiB
[    4.067719] mmcblk0boot1: mmc0:0001 AT2S38 partition 2 4.00 MiB
[    4.077858] mmcblk0rpmb: mmc0:0001 AT2S38 partition 3 4.00 MiB
[    4.086282]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[    4.099552] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[    4.100852] init: Wait for partitions returned after 90ms
[    4.103732] init: [libfs_mgr]Created logical partition system on device /dev/block/dm-0
[    4.105125] init: [libfs_mgr]Created logical partition vendor on device /dev/block/dm-1
[    4.106420] init: [libfs_mgr]Created logical partition product on device /dev/block/dm-2
[    4.107193] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/by-name/metadata
[    4.107355] init: [libfs_mgr]Filesystem on /dev/block/by-name/metadata was not cleanly shutdown; state flags: 0x1, incompat feature flags: 0x46
[    4.113099] EXT4-fs (mmcblk0p11): recovery complete
[    4.113229] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: errors=panic
[    4.119279] EXT4-fs (dm-0): mounted filesystem without journal. Opts: barrier=1
[    4.131097] EXT4-fs (dm-1): mounted filesystem without journal. Opts: barrier=1
[    4.134142] EXT4-fs (dm-2): mounted filesystem without journal. Opts: barrier=1
[    4.147553] init: 14 output lines suppressed due to ratelimiting
[    4.157439] random: init: uninitialized urandom read (40 bytes read)
[    4.218444] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[    4.225660] snddaudio snddaudio0: snd_soc_register_card failed
[    4.286478] random: init: uninitialized urandom read (40 bytes read)
[    4.312951] init: Loading SELinux policy
[    4.331466] SELinux: 8192 avtab hash slots, 22279 rules.
[    4.348949] SELinux: 8192 avtab hash slots, 22279 rules.
[    4.354953] SELinux:  1 users, 4 roles, 1373 types, 0 bools, 1 sens, 1024 cats
[    4.363036] SELinux:  97 classes, 22279 rules
[    4.371478] SELinux:  Completing initialization.
[    4.376652] SELinux:  Setting up existing superblocks.
[    4.490126] audit: type=1403 audit(1733304999.983:2): policy loaded auid=4294967295 ses=4294967295
[    4.500422] selinux: SELinux: Loaded policy from /vendor/etc/selinux/precompiled_sepolicy
[    4.500422]
[    4.516822] selinux: SELinux:  Skipping /product/etc/selinux/product_file_contexts:  empty file
[    4.516822]
[    4.531988] selinux: SELinux: Loaded file_contexts
[    4.531988]
[    4.545439] random: init: uninitialized urandom read (40 bytes read)
[    4.589052] init: init second stage started!
[    4.623935] init: Using Android DT directory /proc/device-tree/firmware/android/
[    4.637517] selinux: SELinux:  Skipping /product/etc/selinux/product_file_contexts:  empty file
[    4.637517]
[    4.649088] selinux: SELinux: Loaded file_contexts
[    4.649088]
[    4.656150] init: Running restorecon...
[    4.673426] init: Overriding previous 'ro.' property 'pm.dexopt.shared':'speed' with new value 'quicken'
[    4.686764] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1
[    4.686764]
[    4.703398] init: Overriding previous 'ro.' property 'ro.zygote':'zygote32' with new value 'zygote64_32'
[    4.714654] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:dalvik_prop:s0 tclass=property_service permissive=1
[    4.714654]
[    4.731171] init: Overriding previous 'ro.' property 'pm.dexopt.boot':'verify' with new value 'extract'
[    4.989761] ueventd: ueventd started!
[    4.997663] selinux: SELinux:  Skipping /product/etc/selinux/product_file_contexts:  empty file
[    4.997663]
[    5.009450] selinux: SELinux: Loaded file_contexts
[    5.009450]
[    5.016801] ueventd: Parsing file /ueventd.rc...
[    5.023404] ueventd: Parsing file /vendor/ueventd.rc...
[    5.030182] ueventd: Parsing file /odm/ueventd.rc...
[    5.035820] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
[    5.046810] ueventd: Parsing file /ueventd.sun50iw10p1.rc...
[    5.053208] ueventd: Unable to read config file '/ueventd.sun50iw10p1.rc': open() failed: No such file or directory
[    5.073112] apexd: Bootstrap subcommand detected
[    5.089139] apexd: Scanning /system/apex for embedded keys
[    5.096982] apexd: Scanning /product/apex for embedded keys
[    5.103534] apexd: ... does not exist. Skipping
[    5.108953] apexd: Scanning /system/apex looking for APEX packages.
[    5.116447] apexd: Found /system/apex/com.android.tzdata
[    5.123253] apexd: Successfully bind-mounted flattened package /system/apex/com.android.tzdata on /apex/com.android.tzdata@290000000
[    5.137099] apexd: Found /system/apex/com.android.runtime.release
[    5.144853] apexd: Successfully bind-mounted flattened package /system/apex/com.android.runtime.release on /apex/com.android.runtime@1
[    5.158864] apexd: Found /system/apex/com.android.media.swcodec
[    5.171452] apexd: 9 output lines suppressed due to ratelimiting
[    5.203001] audit: type=1400 audit(1733305000.696:3): avc:  denied  { read } for  pid=1577 comm="ueventd" name="/" dev="debugfs" ino=1 scontext=u:r:ueventd:s0 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=1
[    5.224418] audit: type=1400 audit(1733305000.720:4): avc:  denied  { open } for  pid=1577 comm="ueventd" path="/sys/kernel/debug" dev="debugfs" ino=1 scontext=u:r:ueventd:s0 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=1
[    5.247439] audit: type=1400 audit(1733305000.743:5): avc:  denied  { getattr } for  pid=1577 comm="ueventd" path="/sys/kernel/debug/fault_around_bytes" dev="debugfs" ino=1199 scontext=u:r:ueventd:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[    5.272991] audit: type=1400 audit(1733305000.766:6): avc:  denied  { getattr } for  pid=1577 comm="ueventd" path="/sys/kernel/debug/wakeup_sources" dev="debugfs" ino=18 scontext=u:r:ueventd:s0 tcontext=u:object_r:debugfs_wakeup_sources:s0 tclass=file permissive=1
[    5.364202] ueventd: Coldboot took 0.297 seconds
[    5.430928] Registered swp emulation handler
[    5.489611] init: wait for '/dev/block/by-name/media_data' took 0ms
[    5.499379] FAT-fs (mmcblk0p16): bogus number of reserved sectors
[    5.506255] FAT-fs (mmcblk0p16): Can't find a valid FAT filesystem
[    5.589798] fsck.f2fs: Info: Fix the reported corruption.
[    5.589798]
[    5.591081] logd.auditd: start
[    5.601074] fsck.f2fs:       Info: No support kernel version!
[    5.601074]
[    5.608726] fsck.f2fs: Info: Segments per section = 1
[    5.608726]
[    5.616161] fsck.f2fs: Info: Sections per zone = 1
[    5.616161]
[    5.623239] fsck.f2fs: Info: sector size = 512
[    5.623239]
[    5.629916] fsck.f2fs: Info: total sectors = 8720351 (4257 MB)
[    5.629916]
[    5.638134] fsck.f2fs: Info: MKFS version
[    5.638134]
[    5.644300] fsck.f2fs:   "4.9.170 #1 SMP PREEMPT Wed Dec 4 11:27:00 CST 2024"
[    5.644300]
[    5.653983] fsck.f2fs: Info: FSCK version
[    5.653983]
[    5.660143] fsck.f2fs:   from "4.9.170 #1 SMP PREEMPT Wed Dec 4 11:27:00 CST 2024"
[    5.660143]
[    5.758931] F2FS-fs (mmcblk0p17): recover_inode: ino = 7fd, name = external.db, inline = 1
[    5.768206] F2FS-fs (mmcblk0p17): recover_data: ino = 7fd (i_size: recover) recovered = 0, err = 0
[    5.778213] F2FS-fs (mmcblk0p17): recover_inode: ino = 13af, name = persistent_properties.tmp, inline = b
[    5.789500] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13af, name = persistent_properties.tmp, dir = 47, err = 0
[    5.800975] F2FS-fs (mmcblk0p17): recover_data: ino = 13af (i_size: recover) recovered = 0, err = 0
[    5.811061] F2FS-fs (mmcblk0p17): recover_inode: ino = 13b1, name = drop34.tmp, inline = b
[    5.824026] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13b1, name = drop34.tmp, dir = 58, err = 0
[    5.834095] F2FS-fs (mmcblk0p17): recover_data: ino = 13b1 (i_size: recover) recovered = 0, err = 0
[    5.844211] F2FS-fs (mmcblk0p17): recover_inode: ino = 13b2, name = log-files.xml, inline = 1
[    5.854301] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13b2, name = log-files.xml, dir = 57, err = 0
[    5.864704] F2FS-fs (mmcblk0p17): recover_data: ino = 13b2 (i_size: recover) recovered = 1, err = 0
[    5.874810] F2FS-fs (mmcblk0p17): recover_inode: ino = 13b4, name = drop177.tmp, inline = 3
[    5.884699] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13b4, name = drop177.tmp, dir = 58, err = 0
[    5.894812] F2FS-fs (mmcblk0p17): recover_data: ino = 13b4 (i_size: recover) recovered = 0, err = 0
[    5.904945] F2FS-fs (mmcblk0p17): recover_inode: ino = 13b5, name = drop34.tmp, inline = b
[    5.914198] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13b5, name = drop34.tmp, dir = 58, err = 0
[    5.924276] F2FS-fs (mmcblk0p17): recover_data: ino = 13b5 (i_size: recover) recovered = 0, err = 0
[    5.934419] F2FS-fs (mmcblk0p17): recover_inode: ino = 13b6, name = log-files.xml, inline = 1
[    5.943990] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13b6, name = log-files.xml, dir = 57, err = 0
[    5.954342] F2FS-fs (mmcblk0p17): recover_data: ino = 13b6 (i_size: recover) recovered = 1, err = 0
[    5.964439] F2FS-fs (mmcblk0p17): recover_inode: ino = 13b9, name = persistent_properties.tmp, inline = b
[    5.975139] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13b9, name = persistent_properties.tmp, dir = 47, err = 0
[    5.986606] F2FS-fs (mmcblk0p17): recover_data: ino = 13b9 (i_size: recover) recovered = 0, err = 0
[    5.996773] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.006110] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.016116] F2FS-fs (mmcblk0p17): recover_inode: ino = 13bb, name = drop180.tmp, inline = 3
[    6.038429] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13bb, name = drop180.tmp, dir = 58, err = 0
[    6.048535] F2FS-fs (mmcblk0p17): recover_data: ino = 13bb (i_size: recover) recovered = 0, err = 0
[    6.058638] F2FS-fs (mmcblk0p17): recover_inode: ino = 13bc, name = drop34.tmp, inline = b
[    6.067905] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13bc, name = drop34.tmp, dir = 58, err = 0
[    6.077919] F2FS-fs (mmcblk0p17): recover_data: ino = 13bc (i_size: recover) recovered = 0, err = 0
[    6.088020] F2FS-fs (mmcblk0p17): recover_inode: ino = 13bd, name = log-files.xml, inline = 1
[    6.097541] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13bd, name = log-files.xml, dir = 57, err = 0
[    6.107864] F2FS-fs (mmcblk0p17): recover_data: ino = 13bd (i_size: recover) recovered = 1, err = 0
[    6.117963] F2FS-fs (mmcblk0p17): recover_inode: ino = 13be, name = persistent_properties.tmp, inline = b
[    6.128656] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13be, name = persistent_properties.tmp, dir = 47, err = 0
[    6.140112] F2FS-fs (mmcblk0p17): recover_data: ino = 13be (i_size: recover) recovered = 0, err = 0
[    6.150205] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.159537] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.169536] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c0, name = drop183.tmp, inline = 3
[    6.191852] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c0, name = drop183.tmp, dir = 58, err = 0
[    6.201952] F2FS-fs (mmcblk0p17): recover_data: ino = 13c0 (i_size: recover) recovered = 0, err = 0
[    6.212042] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c1, name = drop34.tmp, inline = b
[    6.221288] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c1, name = drop34.tmp, dir = 58, err = 0
[    6.231296] F2FS-fs (mmcblk0p17): recover_data: ino = 13c1 (i_size: recover) recovered = 0, err = 0
[    6.241398] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c2, name = log-files.xml, inline = 1
[    6.250927] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c2, name = log-files.xml, dir = 57, err = 0
[    6.261240] F2FS-fs (mmcblk0p17): recover_data: ino = 13c2 (i_size: recover) recovered = 1, err = 0
[    6.271328] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c3, name = persistent_properties.tmp, inline = b
[    6.282017] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c3, name = persistent_properties.tmp, dir = 47, err = 0
[    6.293495] F2FS-fs (mmcblk0p17): recover_data: ino = 13c3 (i_size: recover) recovered = 0, err = 0
[    6.303590] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.312916] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.322904] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c5, name = drop185.tmp, inline = 3
[    6.332232] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c5, name = drop185.tmp, dir = 58, err = 0
[    6.342348] F2FS-fs (mmcblk0p17): recover_data: ino = 13c5 (i_size: recover) recovered = 0, err = 0
[    6.352438] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c6, name = drop34.tmp, inline = b
[    6.361672] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c6, name = drop34.tmp, dir = 58, err = 0
[    6.371676] F2FS-fs (mmcblk0p17): recover_data: ino = 13c6 (i_size: recover) recovered = 0, err = 0
[    6.381771] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c7, name = log-files.xml, inline = 1
[    6.391299] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c7, name = log-files.xml, dir = 57, err = 0
[    6.401608] F2FS-fs (mmcblk0p17): recover_data: ino = 13c7 (i_size: recover) recovered = 1, err = 0
[    6.411703] F2FS-fs (mmcblk0p17): recover_inode: ino = 13c8, name = persistent_properties.tmp, inline = b
[    6.422392] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13c8, name = persistent_properties.tmp, dir = 47, err = 0
[    6.433852] F2FS-fs (mmcblk0p17): recover_data: ino = 13c8 (i_size: recover) recovered = 0, err = 0
[    6.443954] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.453275] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.463269] F2FS-fs (mmcblk0p17): recover_inode: ino = 13ca, name = drop187.tmp, inline = 3
[    6.472604] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13ca, name = drop187.tmp, dir = 58, err = 0
[    6.482711] F2FS-fs (mmcblk0p17): recover_data: ino = 13ca (i_size: recover) recovered = 0, err = 0
[    6.492813] F2FS-fs (mmcblk0p17): recover_inode: ino = 13cb, name = drop34.tmp, inline = b
[    6.502054] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13cb, name = drop34.tmp, dir = 58, err = 0
[    6.512059] F2FS-fs (mmcblk0p17): recover_data: ino = 13cb (i_size: recover) recovered = 0, err = 0
[    6.522169] F2FS-fs (mmcblk0p17): recover_inode: ino = 13cc, name = log-files.xml, inline = 1
[    6.531682] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13cc, name = log-files.xml, dir = 57, err = 0
[    6.541997] F2FS-fs (mmcblk0p17): recover_data: ino = 13cc (i_size: recover) recovered = 1, err = 0
[    6.552104] F2FS-fs (mmcblk0p17): recover_inode: ino = 13cd, name = persistent_properties.tmp, inline = b
[    6.562793] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13cd, name = persistent_properties.tmp, dir = 47, err = 0
[    6.574252] F2FS-fs (mmcblk0p17): recover_data: ino = 13cd (i_size: recover) recovered = 0, err = 0
[    6.584344] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.593672] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.603670] F2FS-fs (mmcblk0p17): recover_inode: ino = 13cf, name = drop189.tmp, inline = 3
[    6.613003] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13cf, name = drop189.tmp, dir = 58, err = 0
[    6.623104] F2FS-fs (mmcblk0p17): recover_data: ino = 13cf (i_size: recover) recovered = 0, err = 0
[    6.633216] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d0, name = drop34.tmp, inline = b
[    6.642435] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d0, name = drop34.tmp, dir = 58, err = 0
[    6.652439] F2FS-fs (mmcblk0p17): recover_data: ino = 13d0 (i_size: recover) recovered = 0, err = 0
[    6.662532] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d1, name = log-files.xml, inline = 1
[    6.672045] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d1, name = log-files.xml, dir = 57, err = 0
[    6.682363] F2FS-fs (mmcblk0p17): recover_data: ino = 13d1 (i_size: recover) recovered = 1, err = 0
[    6.692465] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d2, name = persistent_properties.tmp, inline = b
[    6.703145] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d2, name = persistent_properties.tmp, dir = 47, err = 0
[    6.714616] F2FS-fs (mmcblk0p17): recover_data: ino = 13d2 (i_size: recover) recovered = 0, err = 0
[    6.724711] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.734037] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.744045] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d5, name = drop192.tmp, inline = 3
[    6.753377] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d5, name = drop192.tmp, dir = 58, err = 0
[    6.763482] F2FS-fs (mmcblk0p17): recover_data: ino = 13d5 (i_size: recover) recovered = 0, err = 0
[    6.773574] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d4, name = drop34.tmp, inline = b
[    6.782809] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d4, name = drop34.tmp, dir = 58, err = 0
[    6.792815] F2FS-fs (mmcblk0p17): recover_data: ino = 13d4 (i_size: recover) recovered = 0, err = 0
[    6.802914] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d6, name = log-files.xml, inline = 1
[    6.812449] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d6, name = log-files.xml, dir = 57, err = 0
[    6.822751] F2FS-fs (mmcblk0p17): recover_data: ino = 13d6 (i_size: recover) recovered = 1, err = 0
[    6.832853] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d7, name = persistent_properties.tmp, inline = b
[    6.843533] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d7, name = persistent_properties.tmp, dir = 47, err = 0
[    6.854993] F2FS-fs (mmcblk0p17): recover_data: ino = 13d7 (i_size: recover) recovered = 0, err = 0
[    6.865087] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    6.874399] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    6.884400] F2FS-fs (mmcblk0p17): recover_inode: ino = 13d9, name = drop194.tmp, inline = 3
[    6.893730] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13d9, name = drop194.tmp, dir = 58, err = 0
[    6.903833] F2FS-fs (mmcblk0p17): recover_data: ino = 13d9 (i_size: recover) recovered = 0, err = 0
[    6.913941] F2FS-fs (mmcblk0p17): recover_inode: ino = 13da, name = drop34.tmp, inline = b
[    6.923179] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13da, name = drop34.tmp, dir = 58, err = 0
[    6.933321] F2FS-fs (mmcblk0p17): recover_data: ino = 13da (i_size: recover) recovered = 0, err = 0
[    6.943468] F2FS-fs (mmcblk0p17): recover_inode: ino = 13db, name = log-files.xml, inline = 1
[    6.953041] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13db, name = log-files.xml, dir = 57, err = 0
[    6.976237] F2FS-fs (mmcblk0p17): recover_data: ino = 13db (i_size: recover) recovered = 1, err = 0
[    6.986352] F2FS-fs (mmcblk0p17): recover_inode: ino = 13dc, name = persistent_properties.tmp, inline = b
[    6.997057] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13dc, name = persistent_properties.tmp, dir = 47, err = 0
[    7.008524] F2FS-fs (mmcblk0p17): recover_data: ino = 13dc (i_size: recover) recovered = 0, err = 0
[    7.010608]
[    7.010608] insmod_device_driver
[    7.010608]
[    7.010846] device_chose finished 137!
[    7.029684] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    7.038996] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    7.048992] F2FS-fs (mmcblk0p17): recover_inode: ino = 13de, name = drop34.tmp, inline = b
[    7.058253] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13de, name = drop34.tmp, dir = 58, err = 0
[    7.068258] F2FS-fs (mmcblk0p17): recover_data: ino = 13de (i_size: recover) recovered = 0, err = 0
[    7.078362] F2FS-fs (mmcblk0p17): recover_inode: ino = 13df, name = log-files.xml, inline = 1
[    7.087890] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13df, name = log-files.xml, dir = 57, err = 0
[    7.098220] F2FS-fs (mmcblk0p17): recover_data: ino = 13df (i_size: recover) recovered = 1, err = 0
[    7.108309] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e0, name = drop196.tmp, inline = 3
[    7.117647] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e0, name = drop196.tmp, dir = 58, err = 0
[    7.127742] F2FS-fs (mmcblk0p17): recover_data: ino = 13e0 (i_size: recover) recovered = 0, err = 0
[    7.137829] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e1, name = persistent_properties.tmp, inline = b
[    7.148526] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e1, name = persistent_properties.tmp, dir = 47, err = 0
[    7.159994] F2FS-fs (mmcblk0p17): recover_data: ino = 13e1 (i_size: recover) recovered = 0, err = 0
[    7.170103] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    7.179422] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    7.189413] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e3, name = drop198.tmp, inline = 3
[    7.198748] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e3, name = drop198.tmp, dir = 58, err = 0
[    7.208869] F2FS-fs (mmcblk0p17): recover_data: ino = 13e3 (i_size: recover) recovered = 0, err = 0
[    7.218958] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e4, name = drop34.tmp, inline = b
[    7.228209] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e4, name = drop34.tmp, dir = 58, err = 0
[    7.238226] F2FS-fs (mmcblk0p17): recover_data: ino = 13e4 (i_size: recover) recovered = 0, err = 0
[    7.248320] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e5, name = log-files.xml, inline = 1
[    7.257858] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e5, name = log-files.xml, dir = 57, err = 0
[    7.268179] F2FS-fs (mmcblk0p17): recover_data: ino = 13e5 (i_size: recover) recovered = 1, err = 0
[    7.278395] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e6, name = persistent_properties.tmp, inline = b
[    7.289129] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e6, name = persistent_properties.tmp, dir = 47, err = 0
[    7.300624] F2FS-fs (mmcblk0p17): recover_data: ino = 13e6 (i_size: recover) recovered = 0, err = 0
[    7.310722] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    7.320054] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    7.330055] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e8, name = drop201.tmp, inline = 3
[    7.339403] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e8, name = drop201.tmp, dir = 58, err = 0
[    7.349502] F2FS-fs (mmcblk0p17): recover_data: ino = 13e8 (i_size: recover) recovered = 0, err = 0
[    7.359609] F2FS-fs (mmcblk0p17): recover_inode: ino = 13e9, name = drop34.tmp, inline = b
[    7.368863] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13e9, name = drop34.tmp, dir = 58, err = 0
[    7.378875] F2FS-fs (mmcblk0p17): recover_data: ino = 13e9 (i_size: recover) recovered = 0, err = 0
[    7.388969] F2FS-fs (mmcblk0p17): recover_inode: ino = 13ea, name = log-files.xml, inline = 1
[    7.398486] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13ea, name = log-files.xml, dir = 57, err = 0
[    7.408807] F2FS-fs (mmcblk0p17): recover_data: ino = 13ea (i_size: recover) recovered = 1, err = 0
[    7.418898] F2FS-fs (mmcblk0p17): recover_inode: ino = 13eb, name = persistent_properties.tmp, inline = b
[    7.429583] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13eb, name = persistent_properties.tmp, dir = 47, err = 0
[    7.441061] F2FS-fs (mmcblk0p17): recover_data: ino = 13eb (i_size: recover) recovered = 0, err = 0
[    7.451145] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    7.460464] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    7.470464] F2FS-fs (mmcblk0p17): recover_inode: ino = 13ed, name = drop203.tmp, inline = 3
[    7.479797] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13ed, name = drop203.tmp, dir = 58, err = 0
[    7.489908] F2FS-fs (mmcblk0p17): recover_data: ino = 13ed (i_size: recover) recovered = 0, err = 0
[    7.500011] F2FS-fs (mmcblk0p17): recover_inode: ino = 13ee, name = drop34.tmp, inline = b
[    7.509245] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13ee, name = drop34.tmp, dir = 58, err = 0
[    7.519246] F2FS-fs (mmcblk0p17): recover_data: ino = 13ee (i_size: recover) recovered = 0, err = 0
[    7.529337] F2FS-fs (mmcblk0p17): recover_inode: ino = 13ef, name = log-files.xml, inline = 1
[    7.538856] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13ef, name = log-files.xml, dir = 57, err = 0
[    7.549181] F2FS-fs (mmcblk0p17): recover_data: ino = 13ef (i_size: recover) recovered = 1, err = 0
[    7.559275] F2FS-fs (mmcblk0p17): recover_inode: ino = 13f0, name = persistent_properties.tmp, inline = b
[    7.569959] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13f0, name = persistent_properties.tmp, dir = 47, err = 0
[    7.581419] F2FS-fs (mmcblk0p17): recover_data: ino = 13f0 (i_size: recover) recovered = 0, err = 0
[    7.591505] F2FS-fs (mmcblk0p17): recover_inode: ino = 5fd, name = primary.prof, inline = 3
[    7.600831] F2FS-fs (mmcblk0p17): recover_data: ino = 5fd (i_size: recover) recovered = 0, err = 0
[    7.610837] F2FS-fs (mmcblk0p17): recover_inode: ino = 13f2, name = drop205.tmp, inline = 3
[    7.620174] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13f2, name = drop205.tmp, dir = 58, err = 0
[    7.630283] F2FS-fs (mmcblk0p17): recover_data: ino = 13f2 (i_size: recover) recovered = 0, err = 0
[    7.640389] F2FS-fs (mmcblk0p17): recover_inode: ino = 13f3, name = drop34.tmp, inline = b
[    7.649623] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13f3, name = drop34.tmp, dir = 58, err = 0
[    7.659630] F2FS-fs (mmcblk0p17): recover_data: ino = 13f3 (i_size: recover) recovered = 0, err = 0
[    7.669716] F2FS-fs (mmcblk0p17): recover_inode: ino = 13f4, name = log-files.xml, inline = 1
[    7.679236] F2FS-fs (mmcblk0p17): recover_dentry: ino = 13f4, name = log-files.xml, dir = 57, err = 0
[    7.689541] F2FS-fs (mmcblk0p17): recover_data: ino = 13f4 (i_size: recover) recovered = 1, err = 0
[    7.718953] F2FS-fs (mmcblk0p17): checkpoint: version = 32a82eda
[    7.725807] F2FS-fs (mmcblk0p17): Mounted with checkpoint version = 32a82eda
[    7.736384] EXT4-fs (mmcblk0p7): Ignoring removed nomblk_io_submit option
[    7.749080] EXT4-fs (mmcblk0p7): recovery complete
[    7.754569] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
[    7.853130] EXT4-fs (mmcblk0p7): Ignoring removed nomblk_io_submit option
[    7.862097] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic
[    7.897470] init: 14 output lines suppressed due to ratelimiting
[    7.911165] zram0: detected capacity change from 0 to 1554452480
[    7.942835] mkswap: Swapspace size: 1518016k, UUID=3ad44fa5-0cf8-48a1-9075-ee5cd99d996a
[    7.952867] Adding 1518016k swap on /dev/block/zram0.  Priority:-1 extents:1 across:1518016k SS
console:/ $ [    8.092506] videobuf2_vmalloc: disagrees about version of symbol module_layout
[    8.351103] apexd: Marking APEXd as starting
[    8.357006] apexd: Scanning /system/apex for embedded keys
[    8.365123] apexd: Scanning /product/apex for embedded keys
[    8.371698] apexd: ... does not exist. Skipping
[    8.376990] apexd: Populating APEX database from mounts...
[    8.383758] apexd: Failed to walk /product/apex : Can't open /product/apex for reading : No such file or directory
[    8.396167] apexd: Found "/apex/com.android.tzdata@290000000"
[    8.402931] apexd: Found "/apex/com.android.runtime@1"
[    8.408892] apexd: 2 packages restored.
[    8.413299] apexd: Scanning /data/apex/sessions looking for sessions to be activated.
[    8.455252] vdc: Waited 0ms for vold
[    8.528921] type=1400 audit(1733305004.023:7): avc: denied { setattr } for comm="init" name="audio_d" dev="mmcblk0p17" ino=118 scontext=u:r:vendor_init:s0 tcontext=u:object_r:audio_rw_data_file:s0 tclass=dir permissive=1
[    8.689335] logd.daemon: reinit
[    9.220026] file system registered
[    9.232822] type=1400 audit(1733305004.023:7): avc: denied { setattr } for comm="init" name="audio_d" dev="mmcblk0p17" ino=118 scontext=u:r:vendor_init:s0 tcontext=u:object_r:audio_rw_data_file:s0 tclass=dir permissive=1
[    9.254898] type=1400 audit(1733305004.726:8): avc: denied { create } for comm="audio@2.0-servi" scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_audio_default:s0 tclass=tcp_socket permissive=1
[    9.257919] using random self ethernet address
[    9.257924] using random host ethernet address
[    9.288994] healthd: No battery devices found
[    9.303052] sunxi-bt soc@03000000:bt@0: block state already is 1
[    9.314480] healthd: battery none chg=au
[    9.327591] type=1400 audit(1733305004.726:8): avc: denied { create } for comm="audio@2.0-servi" scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_audio_default:s0 tclass=tcp_socket permissive=1
[    9.351715] type=1400 audit(1733305004.726:9): avc: denied { setopt } for comm="audio@2.0-servi" scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_audio_default:s0 tclass=tcp_socket permissive=1
[    9.372060] type=1400 audit(1733305004.726:9): avc: denied { setopt } for comm="audio@2.0-servi" scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_audio_default:s0 tclass=tcp_socket permissive=1
[    9.391627] type=1400 audit(1733305004.726:10): avc: denied { bind } for comm="audio@2.0-servi" scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_audio_default:s0 tclass=tcp_socket permissive=1
[    9.411192] type=1400 audit(1733305004.726:10): avc: denied { bind } for comm="audio@2.0-servi" scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_audio_default:s0 tclass=tcp_socket permissive=1
[    9.620275] aicbsp_init
[    9.623078] RELEASE_DATE:2024_0712_e2a932c1
[    9.624857] read descriptors
[    9.624870] read strings
[    9.633955] aicbsp_resv_mem_init
[    9.639293] init: Command 'insmod /vendor/modules/aic8800_bsp.ko' action=persist.vendor.bluetooth_vendor=aic (/vendor/etc/init/init.wireless.bluetooth.rc:34) took 294ms and succeeded
[    9.659657] init: Service 'preloaddata' (pid 2177) exited with status 0
[    9.667917] init: Sending signal 9 to service 'preloaddata' (pid 2177) process group...
[    9.677763] libprocessgroup: Successfully killed process cgroup uid 0 pid 2177 in 0ms
[    9.759076] aic_bluetooth_mod_init
[    9.765079] -->rfkill_bluetooth_init
[    9.769688] <--rfkill_bluetooth_init
[    9.770171] treadahead: go to process_files
[    9.778746] [BT_LPM] bluesleep_init: BlueSleep Mode Driver Ver 1.3.3
[    9.786437] [BT_LPM] bluesleep_probe: bt_hostwake gpio=203 assert=1
[    9.786437]
[    9.795229] [BT_LPM] bluesleep_probe: bt_wake gpio=204 assert=1
[    9.795229]
[    9.803532] [BT_LPM] bluesleep_probe: uart_index (1)
[    9.803532]
[    9.811287] init: Command 'insmod /vendor/modules/aic8800_btlpm.ko' action=persist.vendor.bluetooth_vendor=aic (/vendor/etc/init/init.wireless.bluetooth.rc:35) took 122ms and succeeded
[    9.832066] init: Service 'exec 10 (/system/bin/gsid run-startup-tasks)' (pid 2175) exited with status 0
[    9.843019] init: Sending signal 9 to service 'exec 10 (/system/bin/gsid run-startup-tasks)' (pid 2175) process group...
[    9.855715] libprocessgroup: Successfully killed process cgroup uid 0 pid 2175 in 0ms
[    9.865187] init: processing action (nonencrypted) from (/init.rc:760)
[    9.872754] init: Could not start service 'flash_recovery' as part of class 'main': Cannot find '/system/bin/install-recovery.sh': No such file or directory
[   10.425396] android_work: sent uevent USB_STATE=CONNECTED
[   10.718412] configfs-gadget gadget: high-speed config #1: b
[   10.725000] android_work: sent uevent USB_STATE=CONFIGURED
[   10.931968] type=1400 audit(1733305005.736:16): avc: denied { write } for comm="radio_monitor" name="uevent" dev="sysfs" ino=20547 scontext=u:r:radio_monitor:s0 tcontext=u:object_r:sysfs_usb:s0 tclass=file permissive=1
[   10.933210] input: sunxi-ir-uinput as /devices/virtual/input/input5
[   10.961025] type=1400 audit(1733305006.426:17): avc: denied { read } for comm="multi_ir" name="sunxi_ir_protocol" dev="proc" ino=4026532136 scontext=u:r:multi_ir:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
[   10.982976] type=1400 audit(1733305006.426:17): avc: denied { read } for comm="multi_ir" name="sunxi_ir_protocol" dev="proc" ino=4026532136 scontext=u:r:multi_ir:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
[   11.004650] type=1400 audit(1733305006.426:18): avc: denied { open } for comm="multi_ir" path="/proc/sunxi_ir_protocol" dev="proc" ino=4026532136 scontext=u:r:multi_ir:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
[   12.855219] type=1400 audit(1733305006.426:18): avc: denied { open } for comm="multi_ir" path="/proc/sunxi_ir_protocol" dev="proc" ino=4026532136 scontext=u:r:multi_ir:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
[   12.861558] pvrsrvkm: loading out-of-tree module taints kernel.
[   12.871912] audit: audit_backlog=70 > audit_backlog_limit=64
[   12.871917] audit: audit_lost=1 audit_rate_limit=0 audit_backlog_limit=64
[   12.871920] audit: backlog limit exceeded
[   12.871927] audit: audit_backlog=70 > audit_backlog_limit=64
[   12.871930] audit: audit_lost=2 audit_rate_limit=0 audit_backlog_limit=64
[   12.871932] audit: backlog limit exceeded
[   12.871977] audit: audit_backlog=70 > audit_backlog_limit=64
[   12.871980] audit: audit_lost=3 audit_rate_limit=0 audit_backlog_limit=64
[   12.871982] audit: backlog limit exceeded
[   12.871989] audit: audit_backlog=70 > audit_backlog_limit=64
[   12.948915] type=1400 audit(1733305008.350:19): avc: denied { open } for comm="getprop" path="/dev/__properties__/u:object_r:apexd_prop:s0" dev="tmpfs" ino=335 scontext=u:r:shell:s0 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1
[   12.952679] pvrsrvkm gpu: set gpu core rate:504000000 freq:504000000-950000uV dfs:0x00000001
[   12.952684] pvrsrvkm gpu: set gpu core rate:504000000 freq:472500000-950000uV dfs:0x00000002
[   12.952688] pvrsrvkm gpu: set gpu core rate:504000000 freq:441000000-950000uV dfs:0x00000004
[   12.952692] pvrsrvkm gpu: set gpu core rate:252000000 freq:252000000-950000uV dfs:0x00000001
[   12.952836] pvrsrvkm gpu: idle:1 dvfs:0 power:0 Yes mode:1 volt:950000 core:504000000
[   12.952894] PVR_K:  2144: Read BVNC 22.102.54.38 from HW device registers
[   12.952921] PVR_K:  2144: RGX Device registered with BVNC 22.102.54.38
[   12.953500] pvrsrvkm gpu: opp[1/4]: (252000000 Hz, 950000 uV)
[   12.953504] pvrsrvkm gpu: opp[2/4]: (441000000 Hz, 950000 uV)
[   12.953508] pvrsrvkm gpu: opp[3/4]: (472500000 Hz, 950000 uV)
[   12.953512] pvrsrvkm gpu: opp[4/4]: (504000000 Hz, 950000 uV)
[   12.953946] pvrsrvkm gpu: Cooling: power ops not registered, not enabling cooling
[   12.962155] [drm] Initialized pvr 1.11.5516664 20170530 on minor 0
[   12.962538] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[   12.962551] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[   12.962556] snddaudio snddaudio0: snd_soc_register_card failed
[   13.099869] type=1400 audit(1733305008.350:19): avc: denied { open } for comm="getprop" path="/dev/__properties__/u:object_r:apexd_prop:s0" dev="tmpfs" ino=335 scontext=u:r:shell:s0 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1
[   13.123801] type=1400 audit(1733305008.350:20): avc: denied { getattr } for comm="getprop" path="/dev/__properties__/u:object_r:apexd_prop:s0" dev="tmpfs" ino=335 scontext=u:r:shell:s0 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1
[   13.148120] type=1400 audit(1733305008.350:20): avc: denied { getattr } for comm="getprop" path="/dev/__properties__/u:object_r:apexd_prop:s0" dev="tmpfs" ino=335 scontext=u:r:shell:s0 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1
[   13.172361] type=1400 audit(1733305008.350:21): avc: denied { read } for comm="getprop" name="u:object_r:audio_hal_prop:s0" dev="tmpfs" ino=336 scontext=u:r:shell:s0 tcontext=u:object_r:audio_hal_prop:s0 tclass=file permissive=1
[   13.310915] PVR_K:  2135: RGX Firmware image 'rgx.fw.22.102.54.38' loaded
[   13.397699] random: crng init done
[   13.401504] random: 6 urandom warning(s) missed due to ratelimiting
[   14.121847] sid_rd_ver_reg()418 - ver >= 4, soc ver:6
[   14.875615] init: Received control message 'start' for 'bootanim' from pid: 2149 (/system/bin/surfaceflinger)
[   14.888015] init: starting service 'bootanim'...
[   18.747938] healthd: battery none chg=au
[   18.901350] healthd: battery none chg=au
[   18.913124] healthd: battery none chg=au
[   19.155806] type=1400 audit(1733305008.460:93): avc: denied { getattr } for comm="pvrsrvctl" path="/proc/modules" dev="proc" ino=4026532050 scontext=u:r:pvr:s0 tcontext=u:object_r:proc_modules:s0 tclass=file permissive=1
[   19.185502] type=1400 audit(1733305014.650:94): avc: denied { read } for comm="system_server" name="hctosys" dev="sysfs" ino=21117 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   19.207436] type=1400 audit(1733305014.650:94): avc: denied { read } for comm="system_server" name="hctosys" dev="sysfs" ino=21117 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   19.228997] type=1400 audit(1733305014.650:95): avc: denied { open } for comm="system_server" path="/sys/devices/platform/soc/twi3/i2c-3/3-0051/rtc/rtc0/hctosys" dev="sysfs" ino=21117 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   19.263276] type=1400 audit(1733305014.650:95): avc: denied { open } for comm="system_server" path="/sys/devices/platform/soc/twi3/i2c-3/3-0051/rtc/rtc0/hctosys" dev="sysfs" ino=21117 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   19.290205] type=1400 audit(1733305014.650:96): avc: denied { getattr } for comm="system_server" path="/sys/devices/platform/soc/twi3/i2c-3/3-0051/rtc/rtc0/hctosys" dev="sysfs" ino=21117 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   19.457576] init: processing action (sys.sysctl.extra_free_kbytes=*) from (/init.rc:806)
[   20.251253] acc_open
[   20.253717] acc_release
[   20.540638] init: Received control message 'interface_start' for 'android.hardware.wifi@1.0::IWifi/default' from pid: 1990 (/system/bin/hwservicemanager)
[   20.559647] init: starting service 'vendor.wifi_hal_legacy'...
[   20.574137] init: Received control message 'interface_start' for 'android.hardware.wifi@1.0::IWifi/default' from pid: 1990 (/system/bin/hwservicemanager)
[   20.749276] libphy: gmac0: probed
[   20.790992] sunxi-gmac gmac0 eth0: eth0: Type(7) PHY ID 001cc916 at 0 IRQ poll (gmac0-0:00)
[   20.800897] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[   20.800912] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[   20.800917] snddaudio snddaudio0: snd_soc_register_card failed
[   21.896241] AICWFDBG(LOGTRACE)       >>> rwnx_mod_init()
[   21.901709] AICWFDBG(LOGINFO)        rwnx v6.4.3.0 - - 241c091M (master)
[   21.908735] AICWFDBG(LOGINFO)        RELEASE_DATE:2024_0712_e2a932c1
[   21.915608] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array Enter
[   21.921875] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[0]:ffffff8000e2c900
[   21.930461] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[1]:ffffff8000e2c960
[   21.938967] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[2]:ffffff8000e2c9c0
[   21.947524] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[3]:ffffff8000e2ca20
[   21.956035] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[4]:ffffff8000e2ca80
[   21.964617] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[5]:ffffff8000e2cae0
[   21.973122] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[6]:ffffff8000e2cb40
[   21.981784] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[7]:ffffff8000e2cba0
[   21.990301] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[8]:ffffff8000e2cc00
[   21.998870] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[9]:ffffff8000e2cc60
[   22.007378] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[10]:ffffff8000e2ccc0
[   22.016036] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[11]:ffffff8000e2cd20
[   22.024636] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[12]:ffffff8000e2cd80
[   22.033276] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[13]:ffffff8000e2cde0
[   22.041902] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[14]:ffffff8000e2ce40
[   22.050550] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[15]:ffffff8000e2cea0
[   22.059115] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[16]:ffffff8000e2cf00
[   22.067726] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[17]:ffffff8000e2cf60
[   22.076310] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[18]:ffffff8000e2cfc0
[   22.084989] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[19]:ffffff8000e2d020
[   22.093661] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[20]:ffffff8000e2d080
[   22.102266] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[21]:ffffff8000e2d0e0
[   22.110851] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[22]:ffffff8000e2d140
[   22.119436] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[23]:ffffff8000e2d1a0
[   22.128009] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[24]:ffffff8000e2d200
[   22.136582] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[25]:ffffff8000e2d260
[   22.145178] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[26]:ffffff8000e2d2c0
[   22.153835] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[27]:ffffff8000e2d320
[   22.162498] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[28]:ffffff8000e2d380
[   22.171108] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[29]:ffffff8000e2d3e0
[   22.179750] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[30]:ffffff8000e2d440
[   22.188383] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[31]:ffffff8000e2d4a0
[   22.197058] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[32]:ffffff8000e2d500
[   22.205740] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[33]:ffffff8000e2d560
[   22.214389] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[34]:ffffff8000e2d5c0
[   22.223056] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[35]:ffffff8000e2d620
[   22.231944] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[36]:ffffff8000e2d680
[   22.240589] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[37]:ffffff8000e2d6e0
[   22.249266] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[38]:ffffff8000e2d740
[   22.257904] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array cmd_queue[39]:ffffff8000e2d7a0
[   22.266573] AICWFDBG(LOGTRACE)       rwnx_init_cmd_array Exit
[   22.272681] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[   22.279923] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[   22.288171] aicbsp: aicbsp_platform_power_on
[   22.292993] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
[   22.406805] sunxi-wlan soc@03000000:wlan@0: check wlan wlan_power voltage: 1900000
[   22.480711] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[   22.511126] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   22.538570] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[   22.545360] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[   22.555640] type=1400 audit(1733305014.650:96): avc: denied { getattr } for comm="system_server" path="/sys/devices/platform/soc/twi3/i2c-3/3-0051/rtc/rtc0/hctosys" dev="sysfs" ino=21117 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   22.557299] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   22.568263] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   22.598825] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[   22.598942] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[   22.599150] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[   22.601324] mmc2: new high speed SDIO card at address 390b
[   22.612677] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[   22.612693] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[   22.612698] snddaudio snddaudio0: snd_soc_register_card failed
[   22.624319] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[   22.624334] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[   22.624339] snddaudio snddaudio0: snd_soc_register_card failed
[   22.632664] aicbsp: aicbsp_sdio_probe:1 vid:0xC8A1  did:0x0082
[   22.632751] aicbsp: aicbsp_sdio_probe:2 vid:0xC8A1  did:0x0182
[   22.632754] aicbsp: aicbsp_sdio_probe after replace:1
[   22.632759] AICWFDBG(LOGINFO)        aicwf_sdio_chipmatch USE AIC8800D80
[   22.632764] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 150 MHz
[   22.632767] aicbsp: aicwf_sdio_reg_init
[   22.633947] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[   22.633962] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[   22.633967] snddaudio snddaudio0: snd_soc_register_card failed
[   22.636187] AICWFDBG(LOGINFO)        aicbsp: aicbsp_driver_fw_init, chip rev: 7
[   22.636195] rwnx_load_firmware :firmware path = /vendor/etc/firmware/fw_patch_table_8800d80_u02.bin
[   22.639597] file md5:313babc74ae8b1d44dc0e0a4c4c73686
[   22.639707] rwnx_plat_bin_fw_upload_android
[   22.639712] rwnx_load_firmware :firmware path = /vendor/etc/firmware/fw_adid_8800d80_u02.bin
[   22.640442] file md5:f546881a81b960d89a672578eb45a809
[   22.641951] rwnx_plat_bin_fw_upload_android
[   22.641958] rwnx_load_firmware :firmware path = /vendor/etc/firmware/fw_patch_8800d80_u02.bin
[   22.644338] file md5:8e83d7b94620c2a5444b2aaaab1a510d
[   22.849795] type=1400 audit(1733305018.050:97): avc: denied { getattr } for comm="webview_zygote" path="/data/data/com.android.webview" dev="mmcblk0p17" ino=1068 scontext=u:r:webview_zygote:s0 tcontext=u:object_r:app_data_file:s0:c99,c256,c512,c768 tclass=dir permissive=1
[   23.706006] axp803_usb_power: current limit setted: usb pc type
[   23.706006]
[   24.269910] aicbt_patch_table_load bt btmode[3]:5
[   24.281183] aicbt_patch_table_load bt uart_baud[3]:115200
[   24.297300] aicbt_patch_table_load bt uart_flowctrl[3]:1
[   24.314325] aicbt_patch_table_load bt lpm_enable[3]:0
[   24.424044] aicbt_patch_table_load bt tx_pwr[3]:28463
[   24.462749] aicbsp: bt patch version: - Jul 11 2024 10:38:54 - git 73d2ce5
[   24.470653] rwnx_plat_bin_fw_upload_android
[   24.478138] rwnx_load_firmware :firmware path = /vendor/etc/firmware/fmacfw_8800d80_u02.bin
[   24.510099] file md5:b39016c6531b5a0f6f5012eca50bc258
[   24.706566] rd_version_val=06090101
[   24.731561] AICWFDBG(LOGDEBUG)       aicwf_sdio_probe:1
[   24.737028] AICWFDBG(LOGDEBUG)       Class=7
[   24.741367] AICWFDBG(LOGDEBUG)       sdio vendor ID: 0xc8a1
[   24.751448] AICWFDBG(LOGDEBUG)       sdio device ID: 0x0082
[   24.757303] AICWFDBG(LOGDEBUG)       Function#: 1
[   24.762144] AICWFDBG(LOGINFO)        aicwf_sdio_chipmatch USE AIC8800D80
[   24.763909] aicbsp: sdio_err:<aicwf_sdio_bus_pwrctl,1402>: bus down
[   24.776501] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 150 MHz
[   24.784426] aicsdio: aicwf_sdio_reg_init
[   24.794027] AICWFDBG(LOGINFO)        sdio ready
[   24.798585] aicwf_prealloc_init enter
[   24.803127] pre alloc rxbuff list len: 30
[   24.807700] aicbsp: aicbsp_resv_mem_alloc_skb, alloc resv_mem_txdata succuss, id: 0, size: 98304
[   24.819584] AICWFDBG(LOGINFO)        sdio_bustx_thread the policy of current thread is:1
[   24.828090] AICWFDBG(LOGINFO)        sdio_bustx_thread the rt_priority of current thread is:1
[   24.828163] AICWFDBG(LOGINFO)        sdio_busrx_thread the policy of current thread is:1
[   24.828165] AICWFDBG(LOGINFO)        sdio_busrx_thread the rt_priority of current thread is:1
[   24.828167] AICWFDBG(LOGINFO)        sdio_busrx_thread the current pid is:3331
[   24.828496] AICWFDBG(LOGTRACE)       >>> rwnx_platform_init()
[   24.828500] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_init()
[   24.828628] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 150 MHz
[   24.828643] AICWFDBG(LOGINFO)        rwnx_cfg80211_init sizeof(struct rwnx_hw):17784
[   24.828777] AICWFDBG(LOGTRACE)       >>> rwnx_init_aic()
[   24.828784] AICWFDBG(LOGTRACE)       >>> rwnx_cmd_mgr_init()
[   24.833600] tcp_ack_init
[   24.833610] AICWFDBG(LOGINFO)        aicwf_prealloc_txq_alloc size is diff will to be kzalloc
[   24.833634] AICWFDBG(LOGINFO)        aicwf_prealloc_txq_alloc txq kzalloc successful
[   24.845622] AICWFDBG(LOGTRACE)       >>> rwnx_send_dbg_mem_read_req()
[   24.845629] AICWFDBG(LOGTRACE)       rwnx_send_msg (1025)DBG_MEM_READ_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   24.845638] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   24.947619] AICWFDBG(LOGINFO)        sdio_bustx_thread the current pid is:3330
[   24.955470] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x401
[   24.962356] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   24.970760] AICWFDBG(LOGTRACE)       >>> rwnx_send_dbg_mem_read_req()
[   24.977479] AICWFDBG(LOGTRACE)       rwnx_send_msg (1025)DBG_MEM_READ_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   24.990279] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   24.999945] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x401
[   25.006889] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   25.015037] AICWFDBG(LOGINFO)        FDRV chip_id=7, chip_sub_id=2!!
[   25.021566] AICWFDBG(LOGTRACE)       >>> rwnx_platform_on()
[   25.027295] AICWFDBG(LOGINFO)        userconfig file path:aic_userconfig_8800d80.txt
[   25.035555] AICWFDBG(LOGINFO)        ### Load file aic_userconfig_8800d80.txt
[   25.042980] AICWFDBG(LOGINFO)        rwnx_load_firmware :firmware path = /vendor/etc/firmware/aic_userconfig_8800d80.txt
[   25.056857] AICWFDBG(LOGINFO)        file md5:35c8e99f3edd34d2a39bc9920e1da494
[   25.064702] AICWFDBG(LOGINFO)        ### Load file done: aic_userconfig_8800d80.txt, size=2683
[   25.073751] AICWFDBG(LOGINFO)        rwnx_plat_userconfig_parsing3: AIC USERCONFIG 2022/0803/1707
[   25.083501] AICWFDBG(LOGINFO)        rwnx_plat_userconfig_parsing3: txpwr_lvl
[   25.090940] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=enable value=1
[   25.099694] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_1m_2g4 value=18
[   25.109518] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_2m_2g4 value=18
[   25.119728] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_5m5_2g4 value=18
[   25.129802] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_11m_2g4 value=18
[   25.139710] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_6m_2g4 value=18
[   25.149479] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_9m_2g4 value=18
[   25.159410] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_12m_2g4 value=18
[   25.169533] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_18m_2g4 value=18
[   25.179603] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_24m_2g4 value=16
[   25.189505] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_36m_2g4 value=16
[   25.199409] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_48m_2g4 value=15
[   25.209275] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11b_11ag_54m_2g4 value=15
[   25.220404] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs0_2g4 value=18
[   25.230717] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs1_2g4 value=18
[   25.241127] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs2_2g4 value=18
[   25.251502] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs3_2g4 value=18
[   25.261535] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs4_2g4 value=16
[   25.272512] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs5_2g4 value=16
[   25.283110] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs6_2g4 value=15
[   25.293120] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs7_2g4 value=15
[   25.303469] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs8_2g4 value=14
[   25.313727] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs9_2g4 value=14
[   25.323720] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs0_2g4 value=18
[   25.333625] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs1_2g4 value=18
[   25.343232] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs2_2g4 value=18
[   25.353204] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs3_2g4 value=18
[   25.363165] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs4_2g4 value=16
[   25.372793] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs5_2g4 value=16
[   25.382513] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs6_2g4 value=15
[   25.392110] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs7_2g4 value=15
[   25.401674] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs8_2g4 value=14
[   25.411246] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs9_2g4 value=14
[   25.421068] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs10_2g4 value=13
[   25.430970] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs11_2g4 value=13
[   25.440620] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_6m_5g value=18
[   25.449834] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_9m_5g value=18
[   25.459007] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_12m_5g value=18
[   25.468300] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_18m_5g value=18
[   25.477567] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_24m_5g value=16
[   25.486902] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_36m_5g value=16
[   25.496162] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_48m_5g value=15
[   25.505715] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11a_54m_5g value=15
[   25.515138] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs0_5g value=18
[   25.525086] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs1_5g value=18
[   25.534969] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs2_5g value=18
[   25.544822] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs3_5g value=18
[   25.554720] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs4_5g value=16
[   25.564632] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs5_5g value=16
[   25.574486] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs6_5g value=15
[   25.584599] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs7_5g value=15
[   25.594487] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs8_5g value=14
[   25.604521] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11n_11ac_mcs9_5g value=14
[   25.614394] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs0_5g value=18
[   25.623939] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs1_5g value=18
[   25.633425] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs2_5g value=18
[   25.642876] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs3_5g value=18
[   25.652358] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs4_5g value=16
[   25.661808] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs5_5g value=16
[   25.671574] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs6_5g value=14
[   25.681196] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs7_5g value=14
[   25.690649] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs8_5g value=13
[   25.700178] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs9_5g value=13
[   25.709681] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs10_5g value=12
[   25.719276] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_11ax_mcs11_5g value=12
[   25.728855] AICWFDBG(LOGINFO)        rwnx_plat_userconfig_parsing3: txpwr_lvl_adj
[   25.736701] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_enable value=0
[   25.745890] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_2g4_chan_1_4 value=0
[   25.755954] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_2g4_chan_5_9 value=0
[   25.765893] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_2g4_chan_10_13 value=0
[   25.775922] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_5g_chan_42 value=0
[   25.785511] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_5g_chan_58 value=0
[   25.795097] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_5g_chan_106 value=0
[   25.805798] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_5g_chan_122 value=0
[   25.816543] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_5g_chan_138 value=0
[   25.826264] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=lvl_adj_5g_chan_155 value=0
[   25.836295] AICWFDBG(LOGINFO)        rwnx_plat_userconfig_parsing3: txpwr_loss
[   25.843858] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=loss_enable value=0
[   25.853098] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=loss_value value=2
[   25.861949] AICWFDBG(LOGINFO)        rwnx_plat_userconfig_parsing3: txpwr_ofst
[   25.869786] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_enable value=0
[   25.878693] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_11b_chan_1_4 value=0
[   25.888638] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_11b_chan_5_9 value=0
[   25.898525] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_11b_chan_10_13 value=0
[   25.908681] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_ofdm_highrate_chan_1_4 value=0
[   25.919831] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_ofdm_highrate_chan_5_9 value=0
[   25.930853] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_ofdm_highrate_chan_10_13 value=0
[   25.942179] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_ofdm_lowrate_chan_1_4 value=0
[   25.953372] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_ofdm_lowrate_chan_5_9 value=0
[   25.964287] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_2g4_ofdm_lowrate_chan_10_13 value=0
[   25.975544] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_lowrate_chan_42 value=0
[   25.986474] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_lowrate_chan_58 value=0
[   25.997227] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_lowrate_chan_106 value=0
[   26.008148] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_lowrate_chan_122 value=0
[   26.018994] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_lowrate_chan_138 value=0
[   26.029699] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_lowrate_chan_155 value=0
[   26.040368] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_highrate_chan_42 value=0
[   26.051271] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_highrate_chan_58 value=0
[   26.062001] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_highrate_chan_106 value=0
[   26.073681] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_highrate_chan_122 value=0
[   26.084875] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_highrate_chan_138 value=0
[   26.096620] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_highrate_chan_155 value=0
[   26.107409] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_midrate_chan_42 value=0
[   26.118258] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_midrate_chan_58 value=0
[   26.128821] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_midrate_chan_106 value=0
[   26.139733] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_midrate_chan_122 value=0
[   26.150469] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_midrate_chan_138 value=0
[   26.161295] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=ofst_5g_ofdm_midrate_chan_155 value=0
[   26.172284] AICWFDBG(LOGINFO)        rwnx_plat_userconfig_parsing3: xtal cap
[   26.179800] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=xtal_enable value=0
[   26.188739] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=xtal_cap value=24
[   26.197415] AICWFDBG(LOGINFO)        rwnx_plat_nvram_set_value_v3:command=xtal_cap_fine value=31
[   26.206611] AICWFDBG(LOGINFO)        userconfig download complete
[   26.206611]
[   26.214481] AICWFDBG(LOGTRACE)       rwnx_send_msg (124)MM_SET_STACK_START_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   26.226285] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   26.235464] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x7c
[   26.242323] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   26.250567] AICWFDBG(LOGINFO)        is 5g support = 1, vendor_info = 0x21
[   26.257597] AICWFDBG(LOGTRACE)       rwnx_send_msg (129)MM_GET_FW_VERSION_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   26.269473] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   26.278245] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x81
[   26.285041] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   26.293124] AICWFDBG(LOGINFO)        Firmware Version: la Jul 03 2024 15:25:18 - g21266be
[   26.302741] AICWFDBG(LOGTRACE)       >>> rwnx_send_txpwr_lvl_v3_req()
[   26.309433] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:enable:1
[   26.317379] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_1m_2g4:18
[   26.326569] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_2m_2g4:18
[   26.336288] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_5m5_2g4:18
[   26.345895] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_11m_2g4:18
[   26.355488] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_6m_2g4:18
[   26.364762] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_9m_2g4:18
[   26.373943] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_12m_2g4:18
[   26.383459] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_18m_2g4:18
[   26.392785] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_24m_2g4:16
[   26.402399] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_36m_2g4:16
[   26.411953] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_48m_2g4:15
[   26.421604] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11b_11ag_54m_2g4:15
[   26.430977] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs0_2g4:18
[   26.440677] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs1_2g4:18
[   26.450414] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs2_2g4:18
[   26.460099] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs3_2g4:18
[   26.469918] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs4_2g4:16
[   26.479480] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs5_2g4:16
[   26.489182] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs6_2g4:15
[   26.498908] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs7_2g4:15
[   26.499284] init: processing action (sys.boot_completed=1) from (/init.rc:800)
[   26.499374] init: processing action (sys.boot_completed=1) from (/vendor/etc/init/hw/init.device.rc:54)
[   26.502461] init: Command 'write /sys/class/gpio/export 66' action=sys.boot_completed=1 (/vendor/etc/init/hw/init.device.rc:60) took 0ms and failed: Unable to write to file '/sys/class/gpio/export': Unable to write file contents: Device or resource busy
[   26.503255] init: Command 'write /sys/class/gpio/export 67' action=sys.boot_completed=1 (/vendor/etc/init/hw/init.device.rc:61) took 0ms and failed: Unable to write to file '/sys/class/gpio/export': Unable to write file contents: Device or resource busy
[   26.506224] init: Command 'write /sys/class/gpio/export 68' action=sys.boot_completed=1 (/vendor/etc/init/hw/init.device.rc:70) took 0ms and failed: Unable to write to file '/sys/class/gpio/export': Unable to write file contents: Device or resource busy
[   26.511515] init: Command 'write /sys/class/gpio/export 76' action=sys.boot_completed=1 (/vendor/etc/init/hw/init.device.rc:71) took 5ms and failed: Unable to write to file '/sys/class/gpio/export': Unable to write file contents: Device or resource busy
[   26.519515] init: processing action (sys.boot_completed=1) from (/system/etc/init/aw_thermal.rc:10)
[   26.519658] init: starting service 'aw_thermal'...
[   26.525641] init: processing action (sys.boot_completed=1 && sys.logbootcomplete=1) from (/system/etc/init/bootstat.rc:78)
[   26.526435] init: starting service 'exec 11 (/system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l)'...
[   26.533575] sdcardfs version 2.0
[   26.533582] sdcardfs: dev_name -> /data/media
[   26.533585] sdcardfs: options -> fsuid=1023,fsgid=1023,multiuser,derive_gid,default_normal,unshared_obb,mask=6,userid=0,gid=1015
[   26.533589] sdcardfs: mnt -> ffffffc072e741e0
[   26.533668] sdcardfs: mounted on top of /data/media type f2fs
[   26.534809] Remount options were mask=23,gid=9997 for vfsmnt ffffffc072e75c20.
[   26.534822] sdcardfs : options - debug:1
[   26.534825] sdcardfs : options - gid:9997
[   26.534827] sdcardfs : options - mask:23
[   26.535273] Remount options were mask=7,gid=9997 for vfsmnt ffffffc07382ec60.
[   26.535278] sdcardfs : options - debug:1
[   26.535280] sdcardfs : options - gid:9997
[   26.535282] sdcardfs : options - mask:7
[   26.535747] Remount options were mask=7,gid=9997 for vfsmnt ffffffc073718020.
[   26.535752] sdcardfs : options - debug:1
[   26.535754] sdcardfs : options - gid:9997
[   26.535756] sdcardfs : options - mask:7
[   26.773429] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs8_2g4:14
[   26.782804] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs9_2g4:14
[   26.792116] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs0_2g4:18
[   26.801051] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs1_2g4:18
[   26.809971] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs2_2g4:18
[   26.818894] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs3_2g4:18
[   26.827886] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs4_2g4:16
[   26.836922] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs5_2g4:16
[   26.845962] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs6_2g4:15
[   26.855006] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs7_2g4:15
[   26.863999] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs8_2g4:14
[   26.872974] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs9_2g4:14
[   26.881947] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs10_2g4:13
[   26.891005] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs11_2g4:13
[   26.900091] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_1m_5g:-128
[   26.908887] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_2m_5g:-128
[   26.917649] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_5m5_5g:-128
[   26.926532] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_11m_5g:-128
[   26.935431] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_6m_5g:18
[   26.944003] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_9m_5g:18
[   26.952594] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_12m_5g:18
[   26.961336] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_18m_5g:18
[   26.970042] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_24m_5g:16
[   26.978723] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_36m_5g:16
[   26.987384] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_48m_5g:15
[   26.996052] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11a_54m_5g:15
[   27.004721] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs0_5g:18
[   27.013982] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs1_5g:18
[   27.023246] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs2_5g:18
[   27.032496] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs3_5g:18
[   27.041794] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs4_5g:16
[   27.051107] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs5_5g:16
[   27.060373] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs6_5g:15
[   27.069653] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs7_5g:15
[   27.078980] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs8_5g:14
[   27.088260] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11n_11ac_mcs9_5g:14
[   27.097498] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs0_5g:18
[   27.106405] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs1_5g:18
[   27.115282] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs2_5g:18
[   27.124151] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs3_5g:18
[   27.133013] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs4_5g:16
[   27.141891] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs5_5g:16
[   27.150745] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs6_5g:14
[   27.159673] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs7_5g:14
[   27.168616] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs8_5g:13
[   27.177488] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs9_5g:13
[   27.186384] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs10_5g:12
[   27.195363] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_v3_in_fdrv:lvl_11ax_mcs11_5g:12
[   27.204348] AICWFDBG(LOGINFO)        get_userconfig_txpwr_loss:loss_enable:0
[   27.211710] AICWFDBG(LOGINFO)        get_userconfig_txpwr_loss:loss_value:2
[   27.218924] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:enable:1
[   27.225926] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_1m_2g4:18
[   27.234204] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_2m_2g4:18
[   27.242552] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_5m5_2g4:18
[   27.251302] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_11m_2g4:18
[   27.259788] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_6m_2g4:18
[   27.268667] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_9m_2g4:18
[   27.277025] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_12m_2g4:18
[   27.286033] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_18m_2g4:18
[   27.294974] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_24m_2g4:16
[   27.304009] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_36m_2g4:16
[   27.313037] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_48m_2g4:15
[   27.321476] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11b_11ag_54m_2g4:15
[   27.329940] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs0_2g4:18
[   27.338537] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs1_2g4:18
[   27.347120] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs2_2g4:18
[   27.355688] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs3_2g4:18
[   27.364254] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs4_2g4:16
[   27.372935] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs5_2g4:16
[   27.381913] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs6_2g4:15
[   27.391336] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs7_2g4:15
[   27.399957] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs8_2g4:14
[   27.409037] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs9_2g4:14
[   27.418246] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs0_2g4:18
[   27.432537] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs1_2g4:18
[   27.441027] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs2_2g4:18
[   27.449928] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs3_2g4:18
[   27.458621] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs4_2g4:16
[   27.468676] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs5_2g4:16
[   27.480474] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs6_2g4:15
[   27.488836] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs7_2g4:15
[   27.497722] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs8_2g4:14
[   27.506475] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs9_2g4:14
[   27.515088] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs10_2g4:13
[   27.524112] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs11_2g4:13
[   27.534372] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_1m_5g:-128
[   27.542857] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_2m_5g:-128
[   27.551450] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_5m5_5g:-128
[   27.559590] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_11m_5g:-128
[   27.569035] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_6m_5g:18
[   27.576980] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_9m_5g:18
[   27.588499] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_12m_5g:18
[   27.596894] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_18m_5g:18
[   27.605860] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_24m_5g:16
[   27.617934] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_36m_5g:16
[   27.631156] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_48m_5g:15
[   27.639608] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11a_54m_5g:15
[   27.647935] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs0_5g:18
[   27.656359] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs1_5g:18
[   27.665382] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs2_5g:18
[   27.674509] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs3_5g:18
[   27.683530] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs4_5g:16
[   27.692056] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs5_5g:16
[   27.701079] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs6_5g:15
[   27.709519] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs7_5g:15
[   27.718406] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs8_5g:14
[   27.726847] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11n_11ac_mcs9_5g:14
[   27.735655] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs0_5g:18
[   27.743715] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs1_5g:18
[   27.752478] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs2_5g:18
[   27.760560] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs3_5g:18
[   27.769230] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs4_5g:16
[   27.777311] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs5_5g:16
[   27.785359] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs6_5g:14
[   27.794336] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs7_5g:14
[   27.815144] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs8_5g:13
[   27.823406] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs9_5g:13
[   27.831709] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs10_5g:12
[   27.840035] AICWFDBG(LOGINFO)        rwnx_send_txpwr_lvl_v3_req:lvl_11ax_mcs11_5g:12
[   27.848582] AICWFDBG(LOGTRACE)       rwnx_send_msg (120)MM_SET_TXPWR_IDX_LVL_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   27.861160] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   27.870669] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x78
[   27.877440] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   27.892890] AICWFDBG(LOGTRACE)       >>> rwnx_send_txpwr_lvl_adj_req()
[   27.914340] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:enable:0
[   27.922786] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_2g4_chan_1_4:0
[   27.934483] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_2g4_chan_5_9:0
[   27.944282] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_2g4_chan_10_13:0
[   27.956352] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_5g_chan_42:0
[   27.967430] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_5g_chan_58:0
[   27.977049] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_5g_chan_106:0
[   28.013963] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_5g_chan_122:0
[   28.028935] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_5g_chan_138:0
[   28.038452] AICWFDBG(LOGINFO)        get_userconfig_txpwr_lvl_adj_in_fdrv:lvl_adj_5g_chan_155:0
[   28.048426] AICWFDBG(LOGTRACE)       >>> rwnx_msg_free()
[   28.057273] AICWFDBG(LOGTRACE)       >>> rwnx_send_txpwr_ofst2x_req()
[   28.063939] AICWFDBG(LOGINFO)        get_userconfig_txpwr_ofst2x_in_fdrv:enable      :0
[   28.089546] AICWFDBG(LOGINFO)        pwrofst2x 2.4g: [0]:11b, [1]:ofdm_highrate, [2]:ofdm_lowrate
  chan= 1-4     5-9     10-13AICWFDBG(LOGINFO)
  [0] =AICWFDBG(LOGINFO)                0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)
  [1] =AICWFDBG(LOGINFO)                0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)
  [2] =AICWFDBG(LOGINFO)                0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)
pwrofst2x 5g: [0]:ofdm_lowrate, [1]:ofdm_highrate, [2]:ofdm_midrate
  chan= 36-50   51-64   98-114  115-130 131-146 147-166AICWFDBG(LOGINFO)
  [0] =AICWFDBG(LOGINFO)                0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)        0AICWFDBG(LOGINFO)
  [1] =AICWFDBG(LOGINFO)                0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)        0AICWFDBG(LOGINFO)
  [2] =AICWFDBG(LOGINFO)                0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)              0AICWFDBG(LOGINFO)        0AICWFDBG(LOGINFO)
[   28.195388] AICWFDBG(LOGINFO)        rwnx_send_txpwr_ofst2x_req:Do not use txpwr_ofst2x
[   28.204254] AICWFDBG(LOGTRACE)       >>> rwnx_msg_free()
[   28.209705] AICWFDBG(LOGTRACE)       >>> rwnx_send_rf_calib_req()
[   28.216214] AICWFDBG(LOGINFO)        get_userconfig_xtal_cap:enable       :0
[   28.223595] AICWFDBG(LOGINFO)        get_userconfig_xtal_cap:xtal_cap     :0
[   28.230968] AICWFDBG(LOGINFO)        get_userconfig_xtal_cap:xtal_cap_fine:0
[   28.238289] AICWFDBG(LOGTRACE)       rwnx_send_msg (106)MM_SET_RF_CALIB_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   28.249880] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   28.416672] BOOTEVENT:     28416.656140: OFF
[   29.047710] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x6a
[   29.054587] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.062952] AICWFDBG(LOGTRACE)       >>> rwnx_send_get_macaddr_req()
[   29.070349] AICWFDBG(LOGTRACE)       rwnx_send_msg (116)MM_GET_MAC_ADDR_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.083528] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.093940] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x74
[   29.102272] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.114245] AICWFDBG(LOGINFO)        get macaddr: 40:9c:a7:38:78:54
[   29.121520] AICWFDBG(LOGTRACE)       >>> rwnx_send_reset()
[   29.127238] AICWFDBG(LOGTRACE)       rwnx_send_msg (1)MM_RESET_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.138165] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.147666] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1
[   29.154510] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.162541] AICWFDBG(LOGTRACE)       >>> rwnx_send_version_req()
[   29.168870] AICWFDBG(LOGTRACE)       rwnx_send_msg (5)MM_VERSION_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.180147] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.189087] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x5
[   29.195847] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.203917] AICWFDBG(LOGTRACE)       >>> rwnx_set_vers()
[   29.209309] AICWFDBG(LOGTRACE)       >>> rwnx_send_me_config_req()
[   29.215710] ieee80211 phy0: HT supp 1, VHT supp 1, HE supp 0
[   29.222050] AICWFDBG(LOGTRACE)       rwnx_send_msg (5121)ME_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.233076] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.241936] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1401
[   29.248930] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.257601] AICWFDBG(LOGTRACE)       >>> rwnx_send_me_chan_config_req()
[   29.264479] AICWFDBG(LOGTRACE)       rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.280709] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.289827] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1403
[   29.296909] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.305842] AICWFDBG(LOGINFO)        getRegdomainFromRwnxDB set ccode:00
[   29.314369] AICWFDBG(LOGINFO)        rwnx_get_countrycode_channels support channel:1 2 3 4 5 6 7 8 9 10 11 12 13 14 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 144 149 153 157 161 165
[   29.334724] ieee80211 phy0:
[   29.334724] *******************************************************
[   29.334724] ** CAUTION: USING PERMISSIVE CUSTOM REGULATORY RULES **
[   29.334724] *******************************************************
[   29.358992] AICWFDBG(LOGTRACE)       >>> rwnx_send_me_chan_config_req()
[   29.366015] AICWFDBG(LOGTRACE)       rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.377569] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.386757] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1403
[   29.393983] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.401981] AICWFDBG(LOGTRACE)       >>> rwnx_dbgfs_register()
[   29.408710] AICWFDBG(LOGINFO)        rwnx_interface_add: wlan%d, 2, 10
[   29.415649] AICWFDBG(LOGINFO)        interface add:40 9c a7 38 78 54
[   29.477736] get_txpwr_max:txpwr_max:18
[   29.484661] AICWFDBG(LOGINFO)        New interface create wlan0
[   29.491859] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
[   29.502313] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[   29.510906] snddaudio snddaudio0: snd_soc_register_card failed
[   29.698780] capability: warning: `wpa_supplicant' uses 32-bit capabilities (legacy support in use)
[   29.762485] apexd: Can't open /product/apex for reading : No such file or directory
[   29.765872] AICWFDBG(LOGTRACE)       >>> rwnx_open()
[   29.765877] AICWFDBG(LOGTRACE)       >>> rwnx_send_start()
[   29.765883] AICWFDBG(LOGTRACE)       rwnx_send_msg (3)MM_START_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.765893] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.771744] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x3
[   29.771779] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.771785] AICWFDBG(LOGTRACE)       >>> rwnx_send_coex_req()
[   29.771791] AICWFDBG(LOGTRACE)       rwnx_send_msg (102)MM_SET_COEX_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.771796] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.772026] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x66
[   29.773007] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.773015] AICWFDBG(LOGDEBUG)       rwnx_open rwnx_vif->drv_flags:4
[   29.773018] AICWFDBG(LOGTRACE)       >>> rwnx_send_add_if()
[   29.773023] AICWFDBG(LOGTRACE)       rwnx_send_msg (7)MM_ADD_IF_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   29.773031] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   29.783704] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x7
[   29.783907] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   29.783913] AICWFDBG(LOGDEBUG)       rwnx_open sta create vif in rwnx_hw->vif_table[0]
[   29.860772] get_txpwr_max:txpwr_max:18
[   29.960084] get_txpwr_max:txpwr_max:18
[   29.965353] get_txpwr_max:txpwr_max:18
[   29.972112] get_txpwr_max:txpwr_max:18
[   29.977145] get_txpwr_max:txpwr_max:18
[   29.985292] get_txpwr_max:txpwr_max:18
[   30.054573] rwnx_virtual_interface_add: 10, p2p-dev-wlan0
[   30.060639] rwnx_virtual_interface_add, ifname=p2p-dev-wlan0, wdev=ffffffc04eabe018, vif_idx=1
[   30.070623] p2p dev addr=40 9c a7 38 78 55
[   30.075501] get_txpwr_max:txpwr_max:18
[   30.080156] get_txpwr_max:txpwr_max:18
[   30.091680] get_txpwr_max:txpwr_max:18
[   30.107030] get_txpwr_max:txpwr_max:18
[   30.125679] get_txpwr_max:txpwr_max:18
[   30.176831] get_txpwr_max:txpwr_max:18
[   30.193734] get_txpwr_max:txpwr_max:18
[   30.204523] get_txpwr_max:txpwr_max:18
[   30.213634] P2P interface started
[   30.381214] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.393944] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.403707] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "BTCOEXSCAN-STOP" on wlan0
[   30.413793] AICWFDBG(LOGINFO)        cmd = 35313
[   30.420948] AICWFDBG(LOGINFO)        buf_size=4096
[   30.427579] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.437580] AICWFDBG(LOGERROR)       Unknown command 'BTCOEXSCAN-STOP'
[   30.455676] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.460476] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.466252] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "RXFILTER-STOP" on wlan0
[   30.475808] AICWFDBG(LOGINFO)        cmd = 35313
[   30.480437] AICWFDBG(LOGINFO)        buf_size=4096
[   30.485160] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.491077] AICWFDBG(LOGERROR)       Unknown command 'RXFILTER-STOP'
[   30.498891] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.503682] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.509420] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "RXFILTER-ADD 2" on wlan0
[   30.519017] AICWFDBG(LOGINFO)        cmd = 35313
[   30.523537] AICWFDBG(LOGINFO)        buf_size=4096
[   30.528316] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.534236] AICWFDBG(LOGERROR)       Unknown command 'RXFILTER-ADD'
[   30.542439] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.547191] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.553762] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "RXFILTER-START" on wlan0
[   30.563846] AICWFDBG(LOGINFO)        cmd = 35313
[   30.568415] AICWFDBG(LOGINFO)        buf_size=4096
[   30.574652] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.580619] AICWFDBG(LOGERROR)       Unknown command 'RXFILTER-START'
[   30.589249] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.594213] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.600106] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "RXFILTER-STOP" on wlan0
[   30.609681] AICWFDBG(LOGINFO)        cmd = 35313
[   30.614202] AICWFDBG(LOGINFO)        buf_size=4096
[   30.618921] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.624830] AICWFDBG(LOGERROR)       Unknown command 'RXFILTER-STOP'
[   30.632272] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.637069] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.642875] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "RXFILTER-ADD 3" on wlan0
[   30.654129] AICWFDBG(LOGINFO)        cmd = 35313
[   30.658857] AICWFDBG(LOGINFO)        buf_size=4096
[   30.663732] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.669671] AICWFDBG(LOGERROR)       Unknown command 'RXFILTER-ADD'
[   30.676833] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.681580] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.687285] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "RXFILTER-START" on wlan0
[   30.696846] AICWFDBG(LOGINFO)        cmd = 35313
[   30.701354] AICWFDBG(LOGINFO)        buf_size=4096
[   30.706075] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   30.711944] AICWFDBG(LOGERROR)       Unknown command 'RXFILTER-START'
[   30.719387] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   30.724109] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   30.729792] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "SETSUSPENDMODE 0" on wlan0
[   30.739519] AICWFDBG(LOGINFO)        cmd = 35313
[   30.744020] AICWFDBG(LOGINFO)        buf_size=4096
[   30.810959] type=1400 audit(1733305018.050:97): avc: denied { getattr } for comm="webview_zygote" path="/data/data/com.android.webview" dev="mmcblk0p17" ino=1068 scontext=u:r:webview_zygote:s0 tcontext=u:object_r:app_data_file:s0:c99,c256,c512,c768 tclass=dir permissive=1
[   30.815940] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_scan()
[   30.815944] AICWFDBG(LOGTRACE)       >>> rwnx_send_scanu_req()
[   30.815953] AICWFDBG(LOGDEBUG)       scan channel:1(2412)
[   30.815955] AICWFDBG(LOGDEBUG)       scan channel:2(2417)
[   30.815957] AICWFDBG(LOGDEBUG)       scan channel:3(2422)
[   30.815959] AICWFDBG(LOGDEBUG)       scan channel:4(2427)
[   30.815961] AICWFDBG(LOGDEBUG)       scan channel:5(2432)
[   30.815963] AICWFDBG(LOGDEBUG)       scan channel:6(2437)
[   30.815965] AICWFDBG(LOGDEBUG)       scan channel:7(2442)
[   30.815967] AICWFDBG(LOGDEBUG)       scan channel:8(2447)
[   30.815969] AICWFDBG(LOGDEBUG)       scan channel:9(2452)
[   30.815971] AICWFDBG(LOGDEBUG)       scan channel:10(2457)
[   30.815973] AICWFDBG(LOGDEBUG)       scan channel:11(2462)
[   30.815975] AICWFDBG(LOGDEBUG)       scan channel:12(2467)
[   30.815977] AICWFDBG(LOGDEBUG)       scan channel:13(2472)
[   30.815979] AICWFDBG(LOGDEBUG)       scan channel:14(2484)
[   30.815981] AICWFDBG(LOGDEBUG)       scan channel:36(5180)
[   30.815983] AICWFDBG(LOGDEBUG)       scan channel:40(5200)
[   30.815985] AICWFDBG(LOGDEBUG)       scan channel:44(5220)
[   30.815987] AICWFDBG(LOGDEBUG)       scan channel:48(5240)
[   30.815989] AICWFDBG(LOGDEBUG)       scan channel:52(5260)
[   30.815991] AICWFDBG(LOGDEBUG)       scan channel:56(5280)
[   30.815993] AICWFDBG(LOGDEBUG)       scan channel:60(5300)
[   30.815994] AICWFDBG(LOGDEBUG)       scan channel:64(5320)
[   30.815996] AICWFDBG(LOGDEBUG)       scan channel:100(5500)
[   30.815998] AICWFDBG(LOGDEBUG)       scan channel:104(5520)
[   30.816000] AICWFDBG(LOGDEBUG)       scan channel:108(5540)
[   30.816002] AICWFDBG(LOGDEBUG)       scan channel:112(5560)
[   30.816004] AICWFDBG(LOGDEBUG)       scan channel:116(5580)
[   30.816006] AICWFDBG(LOGDEBUG)       scan channel:120(5600)
[   30.816008] AICWFDBG(LOGDEBUG)       scan channel:124(5620)
[   30.816010] AICWFDBG(LOGDEBUG)       scan channel:128(5640)
[   30.816012] AICWFDBG(LOGDEBUG)       scan channel:132(5660)
[   30.816014] AICWFDBG(LOGDEBUG)       scan channel:136(5680)
[   30.816016] AICWFDBG(LOGDEBUG)       scan channel:140(5700)
[   30.816018] AICWFDBG(LOGDEBUG)       scan channel:144(5720)
[   30.816020] AICWFDBG(LOGDEBUG)       scan channel:149(5745)
[   30.816022] AICWFDBG(LOGDEBUG)       scan channel:153(5765)
[   30.816024] AICWFDBG(LOGDEBUG)       scan channel:157(5785)
[   30.816026] AICWFDBG(LOGDEBUG)       scan channel:161(5805)
[   30.816028] AICWFDBG(LOGDEBUG)       scan channel:165(5825)
[   30.816033] AICWFDBG(LOGTRACE)       rwnx_send_msg (4105)SCANU_START_CFM_ADDTIONAL reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   30.816042] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   30.838446] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1009
[   30.838531] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   30.843375] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   30.847299] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   30.878051] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   30.886920] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   30.893457] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   30.918467] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   30.928463] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   30.941297] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   30.963489] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   30.998527] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.005728] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.033580] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.055484] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.092287] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.103309] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.127310] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.162338] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.197359] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.245882] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.252914] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.261140] type=1400 audit(1733305026.303:98): avc: granted { read } for comm="main" name="u:object_r:net_dns_prop:s0" dev="tmpfs" ino=421 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:net_dns_prop:s0 tclass=file app=com.android.email
[   31.287380] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.322381] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.377409] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.412410] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.419186] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.426155] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.449237] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.456177] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   31.467402] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.502476] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.557464] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.592498] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.627584] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.662535] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.697527] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.732618] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.767575] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.802590] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.837633] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.872596] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.907674] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.942757] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   31.977680] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.012720] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.047701] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.082753] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.117744] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.152819] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.159589] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   32.166586] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   32.173624] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   32.180683] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   32.187703] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   32.194743] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   32.201733] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.242857] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.298043] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.353072] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.388214] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   32.395124] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1001
[   32.402167] AICWFDBG(LOGTRACE)       >>> rwnx_rx_scanu_start_cfm()
[   32.476541] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_remain_on_channel_()
[   32.483857] remain:0,0,0
[   32.486737] AICWFDBG(LOGTRACE)       >>> rwnx_send_roc()
[   32.492191] AICWFDBG(LOGTRACE)       rwnx_send_msg (71)MM_REMAIN_ON_CHANNEL_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.504110] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.513839] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x47
[   32.520611] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x44
[   32.520619] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.535671] AICWFDBG(LOGDEBUG)       mgmt xmit d0 0 AICWFDBG(LOGINFO)        need cfm mgmt:d0,user_idx=1, skb=ffffffc04f74ae00
[   32.549673] AICWFDBG(LOGINFO)        sdio_host_tx_cfm_handler:used_idx=0, 0xffffffc040a00700, status=9
[   32.559527] done=1 retry_required=0 sw_retry_required=0 acknowledged=1
[   32.567112] AICWFDBG(LOGTRACE)       >>> rwnx_close()
[   32.572222] aicwf_sdio mmc2:390b:1 wlan0: CLOSE
[   32.577302] rwnx_close clear roc
[   32.580936] AICWFDBG(LOGDEBUG)       rwnx_close rwnx_vif[0] down
[   32.588378] AICWFDBG(LOGTRACE)       >>> rwnx_send_remove_if()
[   32.594466] rwnx_send_msg1 (9)MM_REMOVE_IF_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.603859] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.612672] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x9
[   32.619371] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.627292] AICWFDBG(LOGTRACE)       >>> rwnx_send_coex_req()
[   32.633139] AICWFDBG(LOGTRACE)       rwnx_send_msg (102)MM_SET_COEX_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.644248] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.653039] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x66
[   32.659778] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.667665] AICWFDBG(LOGTRACE)       >>> rwnx_send_reset()
[   32.673324] AICWFDBG(LOGTRACE)       rwnx_send_msg (1)MM_RESET_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.684109] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.693359] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1
[   32.699998] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.707893] AICWFDBG(LOGTRACE)       >>> rwnx_send_me_config_req()
[   32.714214] ieee80211 phy0: HT supp 1, VHT supp 1, HE supp 0
[   32.720544] AICWFDBG(LOGTRACE)       rwnx_send_msg (5121)ME_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.731511] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.740828] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1401
[   32.747799] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.755828] AICWFDBG(LOGTRACE)       >>> rwnx_send_me_chan_config_req()
[   32.762696] AICWFDBG(LOGTRACE)       rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.774176] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.783193] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1403
[   32.790152] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.798079] AICWFDBG(LOGDEBUG)       rwnx_close rwnx_vif->drv_flags:0
[   32.805221] AICWFDBG(LOGTRACE)       rwnx_set_mac_address enter
[   32.811585] AICWFDBG(LOGINFO)        rwnx_set_mac_address set D6:EB:B7:0D:F8:AF
[   32.819502] AICWFDBG(LOGTRACE)       >>> rwnx_open()
[   32.824511] AICWFDBG(LOGTRACE)       >>> rwnx_send_start()
[   32.830075] AICWFDBG(LOGTRACE)       rwnx_send_msg (3)MM_START_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.840666] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.850324] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x3
[   32.856983] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.864868] AICWFDBG(LOGTRACE)       >>> rwnx_send_coex_req()
[   32.870697] AICWFDBG(LOGTRACE)       rwnx_send_msg (102)MM_SET_COEX_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.881764] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.891321] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x66
[   32.898075] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.906037] AICWFDBG(LOGDEBUG)       rwnx_open rwnx_vif->drv_flags:4
[   32.912745] AICWFDBG(LOGTRACE)       >>> rwnx_send_add_if()
[   32.918441] AICWFDBG(LOGTRACE)       rwnx_send_msg (7)MM_ADD_IF_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   32.929166] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   32.938293] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x7
[   32.945032] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   32.952993] AICWFDBG(LOGDEBUG)       rwnx_open sta create vif in rwnx_hw->vif_table[0]
[   32.965288] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_cancel_remain_on_channel()
[   33.108440] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_scan()
[   33.114369] AICWFDBG(LOGTRACE)       >>> rwnx_send_scanu_req()
[   33.120376] AICWFDBG(LOGTRACE)       rwnx_send_msg (4104)SCANU_VENDOR_IE_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   33.132102] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   33.141537] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1008
[   33.148527] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   33.156472] AICWFDBG(LOGDEBUG)       scan channel:1(2412)
[   33.162146] AICWFDBG(LOGDEBUG)       scan channel:2(2417)
[   33.167829] AICWFDBG(LOGDEBUG)       scan channel:3(2422)
[   33.173503] AICWFDBG(LOGDEBUG)       scan channel:4(2427)
[   33.179199] AICWFDBG(LOGDEBUG)       scan channel:5(2432)
[   33.184889] AICWFDBG(LOGDEBUG)       scan channel:6(2437)
[   33.190591] AICWFDBG(LOGDEBUG)       scan channel:7(2442)
[   33.196289] AICWFDBG(LOGDEBUG)       scan channel:8(2447)
[   33.202066] AICWFDBG(LOGDEBUG)       scan channel:9(2452)
[   33.207768] AICWFDBG(LOGDEBUG)       scan channel:10(2457)
[   33.213572] AICWFDBG(LOGDEBUG)       scan channel:11(2462)
[   33.219376] AICWFDBG(LOGDEBUG)       scan channel:12(2467)
[   33.225171] AICWFDBG(LOGDEBUG)       scan channel:13(2472)
[   33.230963] AICWFDBG(LOGDEBUG)       scan channel:14(2484)
[   33.236761] AICWFDBG(LOGDEBUG)       scan channel:36(5180)
[   33.242553] AICWFDBG(LOGDEBUG)       scan channel:40(5200)
[   33.248358] AICWFDBG(LOGDEBUG)       scan channel:44(5220)
[   33.254133] AICWFDBG(LOGDEBUG)       scan channel:48(5240)
[   33.259998] AICWFDBG(LOGDEBUG)       scan channel:52(5260)
[   33.265754] AICWFDBG(LOGDEBUG)       scan channel:56(5280)
[   33.271504] AICWFDBG(LOGDEBUG)       scan channel:60(5300)
[   33.277290] AICWFDBG(LOGDEBUG)       scan channel:64(5320)
[   33.283184] AICWFDBG(LOGDEBUG)       scan channel:100(5500)
[   33.289079] AICWFDBG(LOGDEBUG)       scan channel:104(5520)
[   33.294994] AICWFDBG(LOGDEBUG)       scan channel:108(5540)
[   33.300980] AICWFDBG(LOGDEBUG)       scan channel:112(5560)
[   33.306906] AICWFDBG(LOGDEBUG)       scan channel:116(5580)
[   33.312805] AICWFDBG(LOGDEBUG)       scan channel:120(5600)
[   33.318799] AICWFDBG(LOGDEBUG)       scan channel:124(5620)
[   33.324718] AICWFDBG(LOGDEBUG)       scan channel:128(5640)
[   33.330899] AICWFDBG(LOGDEBUG)       scan channel:132(5660)
[   33.336816] AICWFDBG(LOGDEBUG)       scan channel:136(5680)
[   33.342698] AICWFDBG(LOGDEBUG)       scan channel:140(5700)
[   33.348557] AICWFDBG(LOGDEBUG)       scan channel:144(5720)
[   33.354574] AICWFDBG(LOGDEBUG)       scan channel:149(5745)
[   33.360681] AICWFDBG(LOGDEBUG)       scan channel:153(5765)
[   33.366767] AICWFDBG(LOGDEBUG)       scan channel:157(5785)
[   33.372995] AICWFDBG(LOGDEBUG)       scan channel:161(5805)
[   33.379527] AICWFDBG(LOGDEBUG)       scan channel:165(5825)
[   33.385512] AICWFDBG(LOGTRACE)       rwnx_send_msg (4105)SCANU_START_CFM_ADDTIONAL reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   33.398260] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   33.407059] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1009
[   33.414006] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   33.414007] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.414025] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.435943] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.453571] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.462133] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.478574] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.497297] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.532341] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.567486] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.602570] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.614390] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.657477] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.664220] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.673475] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.692495] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.727669] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.763065] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.797645] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.808600] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.853002] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.888125] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.942616] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.977874] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   33.984752] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   33.991815] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.009628] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.016689] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.032838] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.067780] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.123200] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.158103] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.192902] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.227920] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.262637] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.297559] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.332551] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.367608] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.402542] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.437812] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.472874] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.508409] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.543441] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.578177] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.613047] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.648255] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.683522] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.718581] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.725455] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.732522] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.739585] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.753093] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.808504] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.815395] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   34.863609] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.918588] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.952925] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   34.959719] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1001
[   34.966666] AICWFDBG(LOGTRACE)       >>> rwnx_rx_scanu_start_cfm()
[   34.980946] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_connect()
[   34.987167] AICWFDBG(LOGTRACE)       >>> rwnx_send_sm_connect_req()
[   34.993657] rwnx_send_sm_connect_req drv_vif_index:0 connect to whycan(6) channel:2412 auth_type:0
[   35.003933] AICWFDBG(LOGTRACE)       rwnx_send_msg (6145)SM_CONNECT_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   35.015105] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   35.024493] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1801
[   35.031513] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   35.039677] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x4f
[   35.046454] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1004
[   35.329686] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x44
[   35.372385] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1802
[   35.379462] AICWFDBG(LOGTRACE)       >>> rwnx_rx_sm_connect_ind()
[   35.385814] AICWFDBG(LOGINFO)        rwnx_rx_sm_connect_ind ind->status_code:0
[   35.393541] AICWFDBG(LOGINFO)        rwnx_rx_sm_connect_ind ind->roamed:0 ind->status_code:0 rwnx_vif->drv_conn_state:2
[   35.405203] AICWFDBG(LOGINFO)        rwnx_rx_sm_connect_ind cfg80211_connect_result pass, rwnx_vif->drv_conn_state:3
[   35.419611] AICWFDBG(LOGINFO)        need cfm ethertype:    8e88,user_idx=2, skb=ffffffc04f201800
[   35.434120] AICWFDBG(LOGINFO)        sdio_host_tx_cfm_handler:used_idx=1, 0xffffffc040a00700, status=9
[   35.444933] AICWFDBG(LOGINFO)        need cfm ethertype:    8e88,user_idx=3, skb=ffffffc04f201800
[   35.455028] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_add_key()
[   35.461324] AICWFDBG(LOGTRACE)       >>> rwnx_send_key_add()
[   35.467383] AICWFDBG(LOGTRACE)       rwnx_send_key_add: sta_idx:0 key_idx:0 inst_nbr:0 cipher:2 key_len:16
[   35.467506] AICWFDBG(LOGINFO)        sdio_host_tx_cfm_handler:used_idx=2, 0xffffffc040a00700, status=9
[   35.487821] key: 00000000: 7d 49 82 46 49 7c f4 45 c9 1e 00 dd 1a b7 c3 0b  }I.FI|.E........
[   35.497411] AICWFDBG(LOGTRACE)       rwnx_send_msg (37)MM_KEY_ADD_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   35.508729] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   35.518256] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x25
[   35.525096] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   35.533588] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_set_default_key()
[   35.541929] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_add_key()
[   35.548157] AICWFDBG(LOGTRACE)       >>> rwnx_send_key_add()
[   35.553998] AICWFDBG(LOGTRACE)       rwnx_send_key_add: sta_idx:255 key_idx:2 inst_nbr:0 cipher:2 key_len:16
[   35.564778] key: 00000000: b2 63 27 8f ce 76 e0 30 7d 0e 24 cd 8e 85 bc a5  .c'..v.0}.$.....
[   35.574526] AICWFDBG(LOGTRACE)       rwnx_send_msg (37)MM_KEY_ADD_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   35.585743] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   35.595344] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x25
[   35.602150] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   35.610888] AICWFDBG(LOGTRACE)       >>> rwnx_cfg80211_add_key()
[   35.617106] AICWFDBG(LOGTRACE)       >>> rwnx_send_key_add()
[   35.622915] AICWFDBG(LOGTRACE)       rwnx_send_key_add: sta_idx:255 key_idx:5 inst_nbr:0 cipher:5 key_len:16
[   35.633496] key: 00000000: 9a 61 64 f0 f3 06 8f 29 d5 c2 76 6a d2 0a 16 f7  .ad....)..vj....
[   35.643082] AICWFDBG(LOGTRACE)       rwnx_send_msg (37)MM_KEY_ADD_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   35.654135] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   35.664183] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x25
[   35.671131] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   35.680273] AICWFDBG(LOGTRACE)       >>> rwnx_send_me_set_control_port_req()
[   35.687728] AICWFDBG(LOGTRACE)       rwnx_send_msg (5125)ME_SET_CONTROL_PORT_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   35.699869] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   35.708953] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x1405
[   35.716058] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   35.773727] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   35.778507] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   35.784182] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "BTCOEXMODE 2" on wlan0
[   35.793511] AICWFDBG(LOGINFO)        cmd = 35313
[   35.797995] AICWFDBG(LOGINFO)        buf_size=4096
[   35.802667] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   35.808504] AICWFDBG(LOGERROR)       Unknown command 'BTCOEXMODE'
[   35.837463] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   35.849078] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   35.857910] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
[   35.864700] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   35.872647] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-28
[   35.937946] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
[   35.944651] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   35.944658] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   35.944671] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "BTCOEXMODE 1" on wlan0
[   35.944678] AICWFDBG(LOGINFO)        cmd = 35313
[   35.944681] AICWFDBG(LOGINFO)        buf_size=4096
[   35.944686] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   35.944694] AICWFDBG(LOGERROR)       Unknown command 'BTCOEXMODE'
[   35.945337] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   35.945343] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   35.945353] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "SETSUSPENDMODE 0" on wlan0
[   35.945359] AICWFDBG(LOGINFO)        cmd = 35313
[   35.945362] AICWFDBG(LOGINFO)        buf_size=4096
[   36.027834] AICWFDBG(LOGINFO)        reord_init_sta:d6:eb:b7:0d:f8:af
[   36.063935] AICWFDBG(LOGINFO)        paired=fac04, should=fac04
[   36.069892] AICWFDBG(LOGTRACE)       >>> rwnx_send_arpoffload_en_req()
[   36.076594] AICWFDBG(LOGTRACE)       rwnx_send_msg (98)MM_SET_ARPOFFLOAD_CFM reqcfm:1 in_irq:0 in_softirq:512 in_atomic:1
[   36.088321] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   36.096928] AICWFDBG(LOGTRACE)       >>> cmd_mgr_task_process()
[   36.103805] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x62
[   36.109414] AICWFDBG(LOGINFO)        IOCTL PRIVATE
[   36.109423] AICWFDBG(LOGTRACE)       >>> android_priv_cmd()
[   36.109444] AICWFDBG(LOGINFO)        android_priv_cmd: Android private cmd "BTCOEXMODE 2" on wlan0
[   36.109453] AICWFDBG(LOGINFO)        cmd = 35313
[   36.109458] AICWFDBG(LOGINFO)        buf_size=4096
[   36.109464] AICWFDBG(LOGTRACE)       >>> handle_private_cmd()
[   36.109475] AICWFDBG(LOGERROR)       Unknown command 'BTCOEXMODE'
[   36.151911] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   36.255434] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x140b
[   36.262424] AICWFDBG(LOGTRACE)       >>> rwnx_rx_me_tx_credits_update_ind()
[   36.315431] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/init.rc:810)
[   37.202384] type=1400 audit(1733305026.303:98): avc: granted { read } for comm="main" name="u:object_r:net_dns_prop:s0" dev="tmpfs" ino=421 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:net_dns_prop:s0 tclass=file app=com.android.email
[   37.227511] type=1400 audit(1733305032.696:99): avc: denied { dac_override } for comm="irqbalance" capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=1
[   38.909733] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[   38.921392] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
[   38.930910] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
[   38.937876] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
[   38.945939] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:8 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-29

#154 全志 SOC » A133 AW869C 蓝牙开启失败,请问是什么原因呢? » 2024-12-04 17:30:52

memory
回复: 6
12-04 16:39:58.393  2451  2661 E[  877.899234] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
 WifiVendorHal: getWifiLinkLayer[  877.912624] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
Stats_1_3_Internal(l.926) failed[  877.924856] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
 {.code = ERROR_NOT_AVAILABLE, .[  877.933604] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
description = }
[  877.944334] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:6 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-35
12-04 16:40:00.003  2768  2768 D KeyguardClockSwitch: Updating clock: 440
12-04 16:40:00.931  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:01.025  2451  7203 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000
12-04 16:40:01.016  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:01.029  2140  2140 I AW_PowerHAL_Platform: ==LAUNCH_MODE==
12-04 16:40:01.030  2130  4727 D audio_hw_primary: start_output_stream
12-04 16:40:01.030  2130  4727 V audio_platform: disable backend pcm(direction:PCM_OUT)
12-04 16:40:01.030  2130  4727 D audio_route: Apply path: out-reset
12-04 16:40:01.030  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.030  2130  4727 D audio_route: Apply path: media-speaker
12-04 16:40:01.030  2130  4727 D audio_hw_primary: select device(out):pdev:OUT_DULSPK, path:media-speaker
12-04 16:40:01.030  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.030  2130  4727 D audio_hw_primary: +++++++++++++++ start_output_stream: pcm sample_rate: 48000,pcm fmt: 0x00000000,pcm channels: 2
12-04 16:40:01.031  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.052  2140  2140 D AW_PowerHAL: c-s = 8
12-04 16:40:01.068  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.079  2130  4727 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 16:40:01.091  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.096  3026  3026 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@ba65f49
12-04 16:40:01.109  2146  2227 D AudioFlinger: mixer(0x77d6647f80) throttle end: throttle time(11)
12-04 16:40:01.112  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.118  3026  3026 D SettingsActivity: Starting onCreate
12-04 16:40:01.131  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.142  3026  3026 D SettingsActivity: Starting to set activity title
12-04 16:40:01.143  3026  3026 D SettingsActivity: Done setting title
12-04 16:40:01.143  3026  3026 D SettingsActivity: Switching to fragment com.android.settings.bluetooth.BluetoothPairingDetail
12-04 16:40:01.143  3026  3026 D SubSettings: Launching fragment com.android.settings.bluetooth.BluetoothPairingDetail
12-04 16:40:01.147  3026  3026 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.bluetooth.BluetoothDeviceRenamePreferenceController
12-04 16:40:01.153  3026  3026 D BluetoothPairingDetail: NO dashboard tiles for BluetoothPairingDetail
12-04 16:40:01.153  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.153  3026  3026 D BluetoothPairingDetail: All preferences added, reporting fully drawn
12-04 16:40:01.158  2451  2499 I ActivityTaskManager: Fully drawn com.android.settings/.SubSettings: +131ms
12-04 16:40:01.162  3026  3026 D SettingsActivity: Executed frag manager pendingTransactions
12-04 16:40:01.174  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.181  3026  3026 D LocalBluetoothManager: setting foreground activity to non-null context
12-04 16:40:01.182  2451  7203 D BluetoothManagerService: enable(com.android.settings):  mBluetooth =null mBinding = false mState = OFF
12-04 16:40:01.182  2451  7203 D BluetoothManagerService: enable returning
12-04 16:40:01.182  2451  2492 D BluetoothManagerService: MESSAGE_ENABLE(0): mBluetooth = null
12-04 16:40:01.194  3026  6738 W TileUtils: Found com.android.settings.Settings$DataUsageSummaryActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
12-04 16:40:01.195  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.211  2124  2124 D Zygote  : Forked child process 8620
12-04 16:40:01.217  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.217  2451  2501 I ActivityManager: app.processName = com.android.bluetooth
12-04 16:40:01.217  2451  2501 I ActivityManager: Start proc 8620:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
12-04 16:40:01.218  8620  8620 I Zygote  : seccomp disabled by setenforce 0
12-04 16:40:01.243  2451  3243 D PackageManager: Instant App installer not found with android.intent.action.INSTALL_INSTANT_APP_PACKAGE
12-04 16:40:01.244  2451  3243 D PackageManager: Clear ephemeral installer activity
12-04 16:40:01.250  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.267  3026  8619 D SettingsActivity: Enabled state changed for some tiles, reloading all categories {com.android.settings/com.android.settings.Settings$PowerUsageSummaryActivity},
12-04 16:40:01.273  2130  4727 V audio_platfor[  880.972191] AICWFDBG(LOGTRACE) rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
m: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.295  2130  4727 V audio_platform: mode(0),devices(0x2):p[  880.996240] AICWFDBG(LOGTRACE)        rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
latform device:OUT_DULSPK(0x4)
[  881.005789] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
12-04 16:40:01.296  3026  6738 W TileUtils: Found com.android.se[  881.017080] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
ttings.Settings$DataUsageSummaryActivity for intent Intent { act[  881.031524] AICWFDBG(LOGDEBUG)       rwnx_fill_station_info ModTx(0):4 TxIndex:6 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-34
=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
12-04 16:40:01.305  8620  8620 I droid.bluetoot: The ClassLoaderContext is a special shared library.
12-04 16:40:01.313  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.369  2451  7111 D PackageManager: Instant App installer not found with android.intent.action.INSTALL_INSTANT_APP_PACKAGE
12-04 16:40:01.369  2451  7111 D PackageManager: Clear ephemeral installer activity
12-04 16:40:01.376  2130  4727 I chatty  : uid=1041(audioserver) writer identical 3 lines
12-04 16:40:01.397  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.399  8620  8620 D BluetoothOppFileProvider: Initialized
12-04 16:40:01.418  3026  8619 D SettingsActivity: Enabled state changed for some tiles, reloading all categories {com.android.settings/com.android.settings.Settings$PowerUsageSummaryActivity},
12-04 16:40:01.422  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.430  3026  6738 W TileUtils: Found com.android.settings.Settings$DataUsageSummaryActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
12-04 16:40:01.432  2140  2140 I AW_PowerHAL_Platform: ==NORMAL MODE==
12-04 16:40:01.436  2140  2140 D AW_PowerHAL: c-s = 18
12-04 16:40:01.442  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.462  2130  4727 V audio_platform: mode(0)[  881.186922] bluetooth_set_power: start_block=1
,devices(0x2):platform device:OU[  881.193501] aicbsp: aicbsp_set_subsys, subsys: AIC_BLUETOOTH, state to: 0
T_DULSPK(0x4)
12-04 16:40:01.46[  881.203569] aicbsp: aicbsp_set_subsys, power state no need to change, current: 1
5  2451  2661 E WifiVendorHal: g[  881.214784] bluetooth_set_power: end_block=1
etWifiLinkLayerStats_1_3_Interna[  881.222610] bluetooth_set_power: start_block=0
l(l.926) failed {.code = ERROR_N[  881.230064] aicbsp: aicbsp_set_subsys, subsys: AIC_BLUETOOTH, state to: 1
OT_AVAILABLE, .description = }
[  881.240387] aicbsp: aicbsp_set_subsys, power state no need to change, current: 1
12-04 16:40:01.480  8620  8620 V[  881.251412] bluetooth_set_power: end_block=0
 AdapterServiceConfig: Adding HeadsetService
12-04 16:40:01.482[  881.262458] [BT_LPM] bluesleep_outgoing_data: tx was sleeping, wakeup it
  8620  8620 V AdapterServiceCon[  881.272082] [BT_LPM] hsuart_power: bsi->uport = NULL, has_lpm_enabled = 0
fig: Adding A2dpService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding HidHostService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding PanService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding GattService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding BluetoothMapService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding AvrcpTargetService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding HidDeviceService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding BluetoothOppService
12-04 16:40:01.482  8620  8620 V AdapterServiceConfig: Adding BluetoothPbapService
12-04 16:40:01.483  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.485  3026  3041 I ndroid.setting: Background concurrent copying GC freed 67525(3451KB) AllocSpace objects, 28(616KB) LOS objects, 49% free, 4827KB/9654KB, paused 102us total 243.028ms
12-04 16:40:01.507  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.520  8620  8620 I         : [1204/164001.520505:INFO:com_android_bluetooth_btservice_AdapterService.cpp(628)] hal_util_load_bt_library loaded HAL: btinterface=0x79b8b64440, handle=0x2ad82ce9145ff26d
12-04 16:40:01.521  8620  8620 D BluetoothAdapterService: onCreate()
12-04 16:40:01.526  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.528  8620  8620 D AdapterState: make() - Creating AdapterState
12-04 16:40:01.528  2230  2230 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 16:40:01.531  8620  8660 I AdapterState: OFF : entered
12-04 16:40:01.531  8620  8660 D AdapterProperties: Setting state to OFF
12-04 16:40:01.532  8620  8620 I bt_btif : init: start restricted = 0 ; single user = 0
12-04 16:40:01.532  8620  8620 D bt_osi_allocation_tracker: canary initialized
12-04 16:40:01.533  8620  8661 I         : [1204/164001.533189:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_stack_manager_thread
12-04 16:40:01.533  8620  8661 I bt_stack_manager: event_init_stack is initializing the stack
12-04 16:40:01.536  8620  8661 I         : [1204/164001.536857:INFO:btif_config.cc(647)] hash_file: Disabled for multi-user
12-04 16:40:01.536  8620  8661 I         : [1204/164001.536961:INFO:btif_config.cc(675)] read_checksum_file: Disabled for multi-user
12-04 16:40:01.537  8620  8661 E bt_btif_config: Config is missing adapter section
12-04 16:40:01.537  8620  8661 W bt_btif_config: init unable to load config file: /data/misc/bluedroid/bt_config.conf; using backup.
12-04 16:40:01.537  8620  8661 I         : [1204/164001.537382:INFO:btif_config.cc(647)] hash_file: Disabled for multi-user
12-04 16:40:01.537  8620  8661 I         : [1204/164001.537440:INFO:btif_config.cc(675)] read_checksum_file: Disabled for multi-user
12-04 16:40:01.537  8620  8661 E bt_btif_config: Config is missing adapter section
12-04 16:40:01.537  8620  8661 W bt_btif_config: init unable to load backup; attempting to transcode legacy file.
12-04 16:40:01.538  8620  8661 E bt_btif_config_transcode: btif_config_transcode unable to load XML file '/data/misc/bluedroid/bt_config.xml': 3
12-04 16:40:01.538  8620  8661 E bt_btif_config: init unable to transcode legacy file; creating empty config.
12-04 16:40:01.538  8620  8661 W         : [1204/164001.538167:WARNING:btif_config.cc(151)] read_or_set_metrics_salt: Failed to read metrics salt from config
12-04 16:40:01.538  8620  8661 I         : [1204/164001.538239:INFO:btif_config.cc(162)] read_or_set_metrics_salt: Metrics salt is not invalid, creating new one
12-04 16:40:01.539  8620  8661 E bt_osi_alarm: timer_create_internal unable to create timer with clock 9: Unknown error 524
12-04 16:40:01.539  8620  8661 E bt_osi_alarm: The kernel might not have support for timer_create(CLOCK_BOOTTIME_ALARM): https://lwn.net/Articles/429925/
12-04 16:40:01.539  8620  8661 E bt_osi_alarm: See following patches: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=CLOCK_BOOTTIME_ALARM
12-04 16:40:01.540  8620  8665 I bt_osi_thread: run_thread: thread id 8665, thread name alarm_default_ca started
12-04 16:40:01.541  8620  8666 I bt_osi_thread: run_thread: thread id 8666, thread name alarm_dispatcher started
12-04 16:40:01.543  8620  8661 I bt_btif_core: btif_init_bluetooth entered
12-04 16:40:01.544  8620  8661 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
12-04 16:40:01.545  8620  8667 I         : [1204/164001.545291:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_jni_thread
12-04 16:40:01.545  8620  8661 I bt_btif_core: btif_init_bluetooth finished
12-04 16:40:01.545  8620  8661 I bt_stack_manager: event_init_stack finished
12-04 16:40:01.545  8620  8620 I bt_osi_wakelock: wakelock_set_os_callouts set to non-native
12-04 16:40:01.545  8620  8620 I bt_btif : get_profile_interface: id = socket
12-04 16:40:01.546  8620  8667 E bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
12-04 16:40:01.546  8620  8667 E BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
12-04 16:40:01.547  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.548  8620  8620 I bt_btif : get_profile_interface: id = sdp
12-04 16:40:01.548  8620  8667 D AdapterProperties: Name is: QUAD-CORE A133 c3
12-04 16:40:01.548  8620  8667 D AdapterProperties: BT Class:1a011c
12-04 16:40:01.549  2451  2451 D BluetoothManagerService: Bluetooth Adapter name changed to QUAD-CORE A133 c3
12-04 16:40:01.549  2451  2451 D BluetoothManagerService: Stored Bluetooth name: QUAD-CORE A133 c3
12-04 16:40:01.551  8620  8620 I BluetoothAdapterService: Phone policy enabled
12-04 16:40:01.553  2768  2768 W StatusBarIconController: setIconVisibility index: 27
12-04 16:40:01.556  8620  8620 D BluetoothActiveDeviceManager: start()
12-04 16:40:01.568  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.569  8620  8670 D BluetoothActiveDeviceManager: onAudioDevicesAdded
12-04 16:40:01.571  8620  8670 D BluetoothActiveDeviceManager: Audio device added: QUAD-CORE A133 c3 type: 2
12-04 16:40:01.571  8620  8670 D BluetoothActiveDeviceManager: Audio device added: QUAD-CORE A133 c3 type: 15
12-04 16:40:01.580  3026  3026 D LocalBluetoothManager: setting foreground activity to null
12-04 16:40:01.583  8620  8620 D BluetoothDatabase: start()
12-04 16:40:01.585  8620  8620 D BluetoothDatabase: Load Database
12-04 16:40:01.589  8620  8620 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@3d23669
12-04 16:40:01.589  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.598  8620  8620 D BluetoothAdapterService: onBind()
12-04 16:40:01.599  2451  2451 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
12-04 16:40:01.599  2451  2492 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
12-04 16:40:01.601  2451  2492 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 5 receivers.
12-04 16:40:01.601  2451  2492 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@b27333
12-04 16:40:01.602  3026  3045 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@bf2291e
12-04 16:40:01.602  2768  2786 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@407851d
12-04 16:40:01.602  2894  3435 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@c170371
12-04 16:40:01.603  8620  8640 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@f0d0c95
12-04 16:40:01.605  8620  8643 D BluetoothAdapterService: enable() - Enable called with quiet mode status =  false
12-04 16:40:01.606  8620  8660 I AdapterState: BLE_TURNING_ON : entered
12-04 16:40:01.606  8620  8660 D AdapterProperties: Setting state to BLE_TURNING_ON
12-04 16:40:01.606  8620  8660 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_ON to 1 receivers.
12-04 16:40:01.607  2451  2492 D BluetoothManagerService: MESSAGE_GET_NAME_AND_ADDRESS
12-04 16:40:01.612  2230  2940 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 16:40:01.613  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.614  2451  2492 D BluetoothManagerService: Stored Bluetooth name: QUAD-CORE A133 c3
12-04 16:40:01.615  2451  2492 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
12-04 16:40:01.615  2451  2492 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
12-04 16:40:01.626  8620  8660 D BluetoothAdapterService: bleOnProcessStart()
12-04 16:40:01.627  8620  8660 I AdapterProperties: init(), maxConnectedAudioDevices, default=5, propertyOverlayed=5, finalValue=5
12-04 16:40:01.628  8620  8672 I BluetoothDatabase: cacheMetadata
12-04 16:40:01.630  8620  8660 D BluetoothAdapterService: bleOnProcessStart() - Make Bond State Machine
12-04 16:40:01.630  8620  8660 D BluetoothBondStateMachine: make
12-04 16:40:01.632  8620  8681 I BluetoothBondStateMachine: StableState(): Entering Off State
12-04 16:40:01.632  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.638  8620  8620 I BtGatt.JNI: classInitNative(L876): classInitNative: Success!
12-04 16:40:01.642  8620  8620 D BtGatt.DebugUtils: handleDebugAction() action=null
12-04 16:40:01.644  8620  8620 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@3d23669
12-04 16:40:01.647  8620  8620 I bt_btif : get_profile_interface: id = gatt
12-04 16:40:01.647  8620  8620 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@3d23669
12-04 16:40:01.654  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.669  8620  8620 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@3d23669
12-04 16:40:01.675  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.675  8620  8661 I bt_stack_manager: event_start_up_stack is bringing up the stack
12-04 16:40:01.675  8620  8661 I bt_core_module: module_start_up Starting module "btif_config_module"
12-04 16:40:01.676  8620  8661 I bt_core_module: module_start_up Started module "btif_config_module"
12-04 16:40:01.676  8620  8661 I bt_core_module: module_start_up Starting module "btsnoop_module"
12-04 16:40:01.677  8620  8661 I         : [1204/164001.676979:INFO:btsnoop.cc(207)] start_up: Snoop Logs disabled
12-04 16:40:01.677  8620  8661 I         : [1204/164001.677131:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 1
12-04 16:40:01.677  8620  8661 I         : [1204/164001.677400:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 0
12-04 16:40:01.677  8620  8661 I bt_core_module: module_start_up Started module "btsnoop_module"
12-04 16:40:01.677  8620  8661 I bt_core_module: module_start_up Starting module "hci_module"
12-04 16:40:01.677  8620  8661 I bt_hci  : hci_module_start_up
12-04 16:40:01.678  8620  8688 I         : [1204/164001.678402:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_hci_thread
12-04 16:40:01.678  8620  8661 D bt_hci  : hci_module_start_up starting async portion
12-04 16:40:01.678  8620  8688 I bt_hci  : hci_initialize
12-04 16:40:01.681  8620  8688 I bt_hci  : hci_initialize: IBluetoothHci::getService() returned 0x7a0b7d8220 (remote)
12-04 16:40:01.681  5034  5040 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
12-04 16:40:01.682  5034  5040 D         : get_local_address: Trying /sys/class/addr_mgt/addr_bt
12-04 16:40:01.682  5034  5040 D         : get_local_address: Got Factory BDA 52:24:EB:E7:63:5D
12-04 16:40:01.682  5034  5040 I bt_vendor: init
12-04 16:40:01.682  5034  5040 W bt_vendor: *****************************************************************
12-04 16:40:01.682  5034  5040 W bt_vendor: *****************************************************************
12-04 16:40:01.682  5034  5040 W bt_vendor: ** Warning - BT Vendor Lib is loaded in debug tuning mode!
12-04 16:40:01.682  5034  5040 W bt_vendor: **
12-04 16:40:01.682  5034  5040 W bt_vendor: ** If this is not intentional, rebuild libbt-vendor.so
12-04 16:40:01.682  5034  5040 W bt_vendor: ** with VENDOR_LIB_RUNTIME_TUNING_ENABLED=FALSE and
12-04 16:40:01.682  5034  5040 W bt_vendor: ** check if any run-time tuning parameters needed to be
12-04 16:40:01.682  5034  5040 W bt_vendor: ** carried to the build-time configuration accordingly.
12-04 16:40:01.682  5034  5040 W bt_vendor: *****************************************************************
12-04 16:40:01.682  5034  5040 W bt_vendor: *****************************************************************
12-04 16:40:01.683  5034  5040 I bt_vnd_conf: Attempt to load conf from /etc/bluetooth/bt_vendor.conf
12-04 16:40:01.683  5034  5040 I bt_vnd_conf: vnd_load_conf file >/etc/bluetooth/bt_vendor.conf< not found
12-04 16:40:01.683  5034  5040 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
12-04 16:40:01.683  5034  5040 D bt_vendor: op for 0
12-04 16:40:01.683  5034  5040 D bt_upio : init_rfkill: rfkill path /sys/devices/platform/aic-bt/rfkill/rfkill1
12-04 16:40:01.700  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.718  5034  5040 W bt_vendor: NOTE: BT_VND_PWR_ON now forces power-off first
12-04 16:40:01.718  5034  5040 D bt_upio : init_rfkill: rfkill path /sys/devices/platform/aic-bt/rfkill/rfkill1
12-04 16:40:01.726  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.742  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.756  5034  5040 D bt_vendor: op for 3
12-04 16:40:01.757  5034  5040 I bt_userial_vendor: userial vendor open: opening /dev/ttyS1
12-04 16:40:01.757  5034  5040 I bt_userial_vendor: device fd = 6 open
12-04 16:40:01.757  5034  5040 D bt_vendor: op for 1
12-04 16:40:01.757  5034  5040 E bt_hwcfg: hw_config_start
12-04 16:40:01.758  5034  5040 D bt_vendor: op for 7
12-04 16:40:01.758  5034  5040 E bt_hwcfg: set_wake_stat 1
12-04 16:40:01.758  5034  5040 D bt_upio : upio_set : pio 0 action 2, polarity 1
12-04 16:40:01.766  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:01.779  5034  5040 D bt_upio : upio_set: proc btwrite assertion, buffer: 1, timer_armed 1 0
12-04 16:40:01.790  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:02.272  2130  4727 I chatty  : uid=1041(audioserver) writer identical 23 lines
12-04 16:40:02.294  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:02.302  2451  2499 E system_server: No package ID 7f found for ID 0x7f08024a.
12-04 16:40:02.302  2451  2499 E system_server: No package ID 7f found for ID 0x7f1211a1.
12-04 16:40:02.302  2451  2499 E system_server: No package ID 7f found for ID 0x7f080249.
12-04 16:40:02.303  2451  2499 E system_server: No package ID 7f found for ID 0x7f1204e0.
12-04 16:40:02.303  2451  2499 E system_server: No package ID 7f found for ID 0x7f080248.
12-04 16:40:02.303  2451  2499 E system_server: No package ID 7f found for ID 0x7f120afa.
12-04 16:40:02.309  2894  2894 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
12-04 16:40:02.309  2894  2894 D CarrierSvcBindHelper: No carrier app for: 0
12-04 16:40:02.310  2451  2451 D DeviceIdleController: find package null
12-04 16:40:02.314  2451  2639 I InputReader: Reconfiguring input devices.  changes=0x00000010
12-04 16:40:02.316  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:02.320  2451  2451 I Telecom : DefaultDialerCache: Refreshing default dialer for user 0: now null: DDC.oR@ABE
12-04 16:40:02.325  3026  6738 W TileUtils: Found com.android.settings.Settings$DataUsageSummaryActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
12-04 16:40:02.326  2451  2499 W VoiceInteractionManagerService: no available voice interaction services found for user 0
12-04 16:40:02.336  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:03.106  2130  4727 I chatty  : uid=1041(audioserver) writer identical 36 lines
12-04 16:40:03.126  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:03.146  2230  2276 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 16:40:03.147  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:03.168  2130  4727 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 16:40:03.190  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:03.210  2230  2276 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 16:40:03.211  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.149  2130  4727 I chatty  : uid=1041(audioserver) writer identical 44 lines
12-04 16:40:04.171  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.177  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.188  2768  2768 W KeyButtonRipple: mSupportHardware: true mDark: true mLastDark: false pressed: true
12-04 16:40:04.189  2768  2768 W KeyButtonRipple: mDelayTouchFeedback: false
12-04 16:40:04.189  2768  2768 W KeyButtonRipple: enterHardware cancelAnimations
12-04 16:40:04.189  2768  2768 W KeyButtonRipple: enterHardware isHorizontal is true!
12-04 16:40:04.191  2768  2768 W KeyButtonRipple: enterHardware mDelayTouchFeedback: false mPressed: false
12-04 16:40:04.191  2768  2768 W KeyButtonView: mCode: 4
12-04 16:40:04.192  2768  2768 I KeyButtonView: Back button event: ACTION_DOWN
12-04 16:40:04.192  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.195  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.205  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.225  2130  4727 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 16:40:04.247  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.261  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.262  2768  2768 W KeyButtonRipple: mSupportHardware: true mDark: true mLastDark: true pressed: false
12-04 16:40:04.264  2768  2768 I KeyButtonView: Back button event: ACTION_UP
12-04 16:40:04.267  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.268  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.268  2451  2491 D AutofillManagerService: onBackKeyPressed()
12-04 16:40:04.268  2451  2491 D AutofillManagerServiceImpl: Reset component for user 0:
12-04 16:40:04.269  2451  2491 D AutofillUI: destroySaveUiUiThread(): already destroyed
12-04 16:40:04.291  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.304  3026  3026 E ActivityThread: Failed to find provider info for com.google.android.gms.nearby.fastpair
12-04 16:40:04.306  3026  6738 E ActivityThread: Failed to find provider info for com.google.android.gms.nearby.fastpair
12-04 16:40:04.306  3026  3026 D LocalBluetoothManager: setting foreground activity to non-null context
12-04 16:40:04.306  3026  6738 W SliceManager: Unknown URI: content://com.google.android.gms.nearby.fastpair/device_status_list_item
12-04 16:40:04.308  3026  3026 D LocalBluetoothManager: setting foreground activity to non-null context
12-04 16:40:04.311  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.317  3026  3026 D LocalBluetoothManager: setting foreground activity to non-null context
12-04 16:40:04.331  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.337  3026  6738 W TileUtils: Found com.android.settings.Settings$DataUsageSummaryActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
12-04 16:40:04.352  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.366  3026  8619 D SettingsActivity: No enabled state changed, skipping updateCategory call
12-04 16:40:04.374  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
[  884.064240] AICWFDBG(LOGTRACE)       rwnx_send_msg (118)MM_GET_STA_INFO_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[  884.075822] AICWFDBG(LOGTRACE)       rwnx_cmd_malloc get cmd_array[0]:ffffff8000e2c900
12-04 16:40:04.512  2130  4727 I[  884.084809] AICWFDBG(LOGDEBUG)       rwnx_rx_handle_msg msg->id:0x76
 chatty  : uid=1041(audioserver)[  884.095772] AICWFDBG(LOGTRACE)       rwnx_cmd_free cmd_array[0]:ffffff8000e2c900
 writer identical 6 lines
12-04[  884.104606] AICWFDBG(LOGDEBUG)  rwnx_fill_station_info ModTx(0):4 TxIndex:6 ModRx(0):0 RxHTIndex:0 RxVHTIndex:0 RxHEIndex:0 RSSI:-35
 16:40:04.533  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.557  2451  2661 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.926) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-04 16:40:04.558  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.603  2130  4727 I chatty  : uid=1041(audioserver) writer identical 2 lines
12-04 16:40:04.619  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.622  2768  2768 W StatusBarIconController: setIconVisibility index: 27
12-04 16:40:04.637  3026  3026 D LocalBluetoothManager: setting foreground activity to null
12-04 16:40:04.640  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.651  2451  3438 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
12-04 16:40:04.790  2130  4727 I chatty  : uid=1041(audioserver) writer identical 7 lines
12-04 16:40:04.811  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.812  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.813  2768  2768 W KeyButtonRipple: mSupportHardware: true mDark: true mLastDark: true pressed: true
12-04 16:40:04.813  2768  2768 W KeyButtonRipple: mDelayTouchFeedback: false
12-04 16:40:04.813  2768  2768 W KeyButtonRipple: enterHardware cancelAnimations
12-04 16:40:04.813  2768  2768 W KeyButtonRipple: enterHardware isHorizontal is true!
12-04 16:40:04.815  2768  2768 W KeyButtonRipple: enterHardware mDelayTouchFeedback: false mPressed: false
12-04 16:40:04.815  2768  2768 W KeyButtonView: mCode: 4
12-04 16:40:04.816  2768  2768 I KeyButtonView: Back button event: ACTION_DOWN
12-04 16:40:04.821  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.830  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.865  2130  4727 I chatty  : uid=1041(audioserver) writer identical 2 lines
12-04 16:40:04.886  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.896  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.897  2768  2768 W KeyButtonRipple: mSupportHardware: true mDark: true mLastDark: true pressed: false
12-04 16:40:04.898  2768  2768 I KeyButtonView: Back button event: ACTION_UP
12-04 16:40:04.899  2230  2276 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 16:40:04.899  2451  2491 D AutofillManagerService: onBackKeyPressed()
12-04 16:40:04.900  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:04.907  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.929  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.936  2451  7203 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: com.google.android.simappdialog.gts
12-04 16:40:04.936  2451  3243 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: com.google.android.simappdialog.gts
12-04 16:40:04.936  2451  3243 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: android.net.cts
12-04 16:40:04.936  2451  7203 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: android.net.cts
12-04 16:40:04.945  2451  2507 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
12-04 16:40:04.946  3026  3026 D AvatarViewMixin: Feature disabled by config. Skipping
12-04 16:40:04.950  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.961  2230  2940 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 16:40:04.964  2451  2507 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)
12-04 16:40:04.965  2451  7111 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: com.google.android.simappdialog.gts
12-04 16:40:04.965  2451  7111 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: android.net.cts
12-04 16:40:04.967  2451  2507 W BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
12-04 16:40:04.967  2451  2507 D KernelCpuUidUserSysTimeReader: Removing uids 1037-1037
12-04 16:40:04.971  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.996  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.998  3026  8619 D BatteryInfo: time for getStats: 63ms
12-04 16:40:04.999  3026  4758 D BatteryTipLoader: BatteryInfoLoader post query: 1ms
12-04 16:40:04.999  3026  4758 D BatteryInfo: time for getBatteryInfo: 0ms
12-04 16:40:04.999  3026  4758 D BatteryTipLoader: BatteryInfoLoader.loadInBackground: 1ms
12-04 16:40:05.001  3026  8619 D BatteryInfo: time for regular BatteryInfo: 3ms
12-04 16:40:05.001  3026  8619 D BatteryInfo: time for getBatteryInfo: 0ms
12-04 16:40:05.014  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.046  2130  4727 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 16:40:05.067  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.089  2451  6775 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: com.google.android.simappdialog.gts
12-04 16:40:05.089  2451  6775 E TAG     : Exception = android.content.pm.PackageManager$NameNotFoundException: android.net.cts
12-04 16:40:05.091  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:04.969  2451  2507 D KernelCpuUidUserSysTimeReader: Removing uids 1037-1037
12-04 16:40:05.101  2451  2507 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
12-04 16:40:05.112  2451  2507 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)
12-04 16:40:05.110  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.117  3026  3026 D BatteryInfo: time for callback: 0ms
12-04 16:40:05.119  2451  2507 W BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
12-04 16:40:05.132  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.153  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.156  3026  4758 D BatteryTipLoader: BatteryInfoLoader post query: 1ms
12-04 16:40:05.157  3026  4758 D BatteryInfo: time for getBatteryInfo: 1ms
12-04 16:40:05.157  3026  4758 D BatteryTipLoader: BatteryInfoLoader.loadInBackground: 3ms
12-04 16:40:05.174  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.211  2451  3438 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
12-04 16:40:05.600  2130  4727 I chatty  : uid=1041(audioserver) writer identical 20 lines
12-04 16:40:05.621  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:05.630  8620  8660 E AdapterState: BLE_TURNING_ON : BLE_START_TIMEOUT
12-04 16:40:05.630  8620  8660 I AdapterState: BLE_TURNING_OFF : entered
12-04 16:40:05.630  8620  8660 D AdapterProperties: Setting state to BLE_TURNING_OFF
12-04 16:40:05.630  8620  8660 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_OFF to 1 receivers.
12-04 16:40:05.631  2451  2492 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: BLE_TURNING_ON > BLE_TURNING_OFF
12-04 16:40:05.631  2451  2492 D BluetoothManagerService: Sending BLE State Change: BLE_TURNING_ON > BLE_TURNING_OFF
12-04 16:40:05.631  8620  8660 D AdapterProperties: onBleDisable
12-04 16:40:05.633  8620  8620 D BtGatt.DebugUtils: handleDebugAction() action=null
12-04 16:40:05.638  8620  8620 W         : [1204/164005.637971:WARNING:bta_gattc_api.cc(61)] GATTC Module not enabled/already disabled
12-04 16:40:05.638  8620  8620 W         : [1204/164005.638173:WARNING:bta_gatts_api.cc(56)] GATTS Module not enabled/already disabled
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager: exception when invoking removeOnUidImportanceListener
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager: java.lang.IllegalArgumentException: Listener not registered: com.android.bluetooth.gatt.ScanManager$2@7371d49
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityManager.removeOnUidImportanceListener(ActivityManager.java:3382)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at com.android.bluetooth.gatt.ScanManager.cleanup(ScanManager.java:157)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at com.android.bluetooth.gatt.GattService.cleanup(GattService.java:254)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at com.android.bluetooth.btservice.ProfileService.onDestroy(ProfileService.java:211)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread.handleStopService(ActivityThread.java:4140)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread.access$1900(ActivityThread.java:219)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1905)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.os.Handler.dispatchMessage(Handler.java:107)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.os.Looper.loop(Looper.java:214)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread.main(ActivityThread.java:7386)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at java.lang.reflect.Method.invoke(Native Method)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
12-04 16:40:05.639  8620  8620 W BtGatt.ScanManager:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1072)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager: exception when invoking unregisterReceiver(mLocationReceiver)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager: java.lang.IllegalArgumentException: Receiver not registered: com.android.bluetooth.gatt.ScanManager$3@cd9e64e
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1429)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1543)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:664)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at com.android.bluetooth.gatt.ScanManager.cleanup(ScanManager.java:178)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at com.android.bluetooth.gatt.GattService.cleanup(GattService.java:254)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at com.android.bluetooth.btservice.ProfileService.onDestroy(ProfileService.java:211)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread.handleStopService(ActivityThread.java:4140)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread.access$1900(ActivityThread.java:219)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1905)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.os.Handler.dispatchMessage(Handler.java:107)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.os.Looper.loop(Looper.java:214)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at android.app.ActivityThread.main(ActivityThread.java:7386)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at java.lang.reflect.Method.invoke(Native Method)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
12-04 16:40:05.640  8620  8620 W BtGatt.ScanManager:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1072)
12-04 16:40:05.643  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.475  2130  4727 I chatty  : uid=1041(audioserver) writer identical 39 lines
12-04 16:40:06.496  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.505  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:06.506  2768  2768 W KeyButtonRipple: mSupportHardware: true mDark: true mLastDark: true pressed: true
12-04 16:40:06.506  2768  2768 W KeyButtonRipple: mDelayTouchFeedback: false
12-04 16:40:06.506  2768  2768 W KeyButtonRipple: enterHardware cancelAnimations
12-04 16:40:06.507  2768  2768 W KeyButtonRipple: enterHardware isHorizontal is true!
12-04 16:40:06.509  2768  2768 W KeyButtonRipple: enterHardware mDelayTouchFeedback: false mPressed: false
12-04 16:40:06.509  2768  2768 W KeyButtonView: mCode: 4
12-04 16:40:06.509  2768  2768 I KeyButtonView: Back button event: ACTION_DOWN
12-04 16:40:06.514  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:06.518  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.551  2130  4727 I chatty  : uid=1041(audioserver) writer identical 2 lines
12-04 16:40:06.572  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.582  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:06.584  2768  2768 W KeyButtonRipple: mSupportHardware: true mDark: true mLastDark: true pressed: false
12-04 16:40:06.586  2768  2768 I KeyButtonView: Back button event: ACTION_UP
12-04 16:40:06.588  2451  2491 D AutofillManagerService: onBackKeyPressed()
12-04 16:40:06.588  2451  2638 V InputDispatcher: Asynchronous input event injection succeeded.
12-04 16:40:06.593  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.614  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.633  8620  8660 E AdapterState: BLE_TURNING_OFF : BLE_STOP_TIMEOUT
12-04 16:40:06.633  8620  8660 I AdapterState: OFF : entered
12-04 16:40:06.633  8620  8660 D AdapterProperties: Setting state to OFF
12-04 16:40:06.634  8620  8660 D BluetoothAdapterService: updateAdapterState() - Broadcasting state OFF to 1 receivers.
12-04 16:40:06.634  2451  2492 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: BLE_TURNING_OFF > OFF
12-04 16:40:06.634  2451  2492 D BluetoothManagerService: Bluetooth is complete send Service Down
12-04 16:40:06.634  2451  2492 D BluetoothManagerService: Broadcasting onBluetoothServiceDown() to 5 receivers.
12-04 16:40:06.635  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.635  2451  2492 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@b27333
12-04 16:40:06.635  3026  3045 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@bf2291e
12-04 16:40:06.636  2768  2786 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@407851d
12-04 16:40:06.636  2451  2492 D BluetoothManagerService: unbindAndFinish(): android.bluetooth.IBluetooth$Stub$Proxy@b27333 mBinding = false mUnbinding = false
12-04 16:40:06.636  8620  8676 D BluetoothAdapter: onBluetoothServiceDown: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@f0d0c95
12-04 16:40:06.636  2894  3435 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@c170371
12-04 16:40:06.657  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.662  8620  8620 D BluetoothAdapterService: onUnbind() - calling cleanup
12-04 16:40:06.662  8620  8620 D BluetoothAdapterService: cleanup()
12-04 16:40:06.672  2451  2492 D BluetoothManagerService: Sending BLE State Change: BLE_TURNING_OFF > OFF
12-04 16:40:06.678  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.681  2451  2492 D BluetoothManagerService: Entering STATE_OFF but mEnabled is true; restarting.
12-04 16:40:06.681  8620  8620 W BluetoothSdpJni: Cleaning up Bluetooth SDP Interface...
12-04 16:40:06.681  2451  2492 E BluetoothManagerService: waitForState [10] time out
12-04 16:40:06.681  8620  8620 W BluetoothSdpJni: Cleaning up Bluetooth SDP object
12-04 16:40:06.681  8620  8620 D BluetoothAdapterService: cleanup() - Cleaning up adapter native
12-04 16:40:06.699  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.720  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.729  3194  3194 I Launcher: Launcher:onResume start
12-04 16:40:06.731  3194  3194 I Launcher: Launcher:onResume end
12-04 16:40:06.733  2230  2230 D omx_venc: <__AwOmxVencFillThisBuffer:2082>: vencOutPort: fill_this_buffer 50 times
12-04 16:40:06.753  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.774  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.797  2230  2940 D omx_venc: <__AwOmxVencEmptyThisBuffer:2043>: vencInPort: , empty_this_buffer 50 times
12-04 16:40:06.798  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.816  2130  4727 I chatty  : uid=1041(audioserver) writer identical 1 line
12-04 16:40:06.839  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_DULSPK(0x4)
12-04 16:40:06.860  2149  2525 D PermissionCache: checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (274 us)
12-04 16:40:06.861  2135  2340 E IMGSRV  : :0: OSMMapPMR: SVM mmap not supported on architecture.
12-04 16:40:06.863  2135  2340 I chatty  : uid=1000(system) HwBinder:2135_1 identical 36 lines
12-04 16:40:06.863  2135  2340 E IMGSRV  : :0: OSMMapPMR: SVM mmap not supported on architecture.
12-04 16:40:06.866  2130  4727 V audio_platform: mode(0),devices(0x2):platform device:OUT_

2e35c8198b9bfba24fa74f3fedc79f89.png


7c877fc525270bfcb12cfcf9d55b9034.png

#157 Re: Cortex M0/M3/M4/M7 » (求助)stm32F407驱动OV7670(没FIFO),将图像显示在显示屏上遇到的问题 » 2024-12-02 13:02:10

求助帖: 自制V3s 开发板 OV2640 拍照测试 照片为全绿
https://whycan.com/t_9665.html


荔枝派跑ov2640摄像头拍图效果不好,请问怎么解决
https://whycan.com/t_9486.html

#158 Re: 全志 SOC » melis 烧录失败,这是什么原因呢? » 2024-11-27 15:47:36

memory 说:
[BOOT0] BOOT0 is starting
DBG: bootinfo error1

melis v1.7 挂这里了!不知道为啥


请教一下C200S 的官方直接下载V1.6 无法正常启动
https://bbs.aw-ol.com/topic/1833


根据这个帖子搞定了,用 git reset --hard 复位一下源码目录

#159 Re: 全志 SOC » melis 烧录失败,这是什么原因呢? » 2024-11-27 15:42:14

[BOOT0] BOOT0 is starting
DBG: bootinfo error1

melis v1.7 挂这里了!不知道为啥

#160 Re: 全志 SOC » melis 烧录失败,这是什么原因呢? » 2024-11-27 11:02:33

QQ截图20241127110138.png

DBG: init uart OK, running at 102000000M
fes1 is starting
init dram , base        is 0x80000000
init dram , clk         is 120
init dram , access_mode is 1
init dram , cs_num      is 0x00000001
init dram , ddr8_remap  is 0
init dram , sdr_ddr     is 1
init dram , bwidth      is 16
init dram , col_width   is 10
init dram , row_width   is 13
init dram , bank_size   is 4
init dram , cas         is 3
init dram , size        is 120
dram init successed,size is 64
init dram OK, size is 64
fes init dram OK, size is 64
U-Boot 2011.09-rc1-00000-g1d30c34-dirty (Mar 21 2024 - 21:12:43) Allwinner Technology
DRAM:  64 MiB
storage_type: 3
work_mode: 0x10
read flash error
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
work mode=0x10
run usb efex
delay time 2500
usb init ok
usb_set_address_delay_time:15
usb_set_address_delay_time:15
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
do not need erase flash
sunxi spinor is initing...
OK
spinor id = 0x182085     ret = 0x0
flash size is 8 Mbytes
spinor id = 0x182085
==================================
erase nor flash now , waiting ...
==================================

 nor flash erasered finish
==================================
begin to burn[0] , waiting ...
==================================
==================================
begin to burn[1] , waiting ...
==================================
==================================
begin to burn[2] , waiting ...
==================================
==================================
begin to burn[3] , waiting ...
==================================
==================================
begin to burn[4] , waiting ...
==================================
==================================
begin to burn[5] , waiting ...
==================================
==================================
begin to burn[6] , waiting ...
==================================
==================================
begin to burn[7] , waiting ...
==================================
spinor read: start 0x0, sector 0x800
==============================
addr:0  = a9 0 0 ea 65 47 4f 4e 2e 42 54 30 b3 88 9e dc
addr:400  = 0 20 a0 e1 10 40 2d e9 2c 1 9f e5 1 1b a0 e3
==============================
spinor read: start 0x800, sector 0x800
==============================
addr:800  = 11 20 c0 1 88 43 10 d1 c8 49 88 6a 40 1c 88 62
addr:c00  = 63 60 60 60 60 59 57 57 57 57 57 50 57 50 50 50
==============================
spinor read: start 0x1000, sector 0x800
==============================
addr:1000  = 8a ff 82 84 8a ff 82 84 8a ff 82 84 8a ff 82 84
addr:1400  = 3d 4c c8 38 ae c8 b5 a8 2c 65 19 75 2c 89 cf 15
==============================
spinor read: start 0x1800, sector 0x800
==============================
addr:1800  = a c3 4e d6 c5 66 98 11 cb 2d 8d af 72 f4 c0 4a
addr:1c00  = a8 3e 1b 9b 51 88 6f 6f eb 28 a9 fe d2 e9 10 57
==============================
spinor read: start 0x2000, sector 0x800
==============================
addr:2000  = 7f 52 aa a f3 e8 26 0 cc f5 4d 8 1a c1 ed ce
addr:2400  = 32 db f6 e5 d2 f 71 92 e 33 2e d4 fb 97 59 9d
==============================
spinor read: start 0x2800, sector 0x800
==============================
addr:2800  = 1 fe 98 ca 86 b1 f7 ae fe 9 4d 5d 65 ac 70 65
addr:2c00  = c9 f7 fa 6b 34 df 6b 41 4f bd 4b 8d ff fd 84 51
==============================
spinor read: start 0x3000, sector 0x800
==============================
addr:3000  = 4a 52 8a 52 4b 52 34 9a 10 94 29 10 49 12 82 12
addr:3400  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
==============================
spinor read: start 0x3800, sector 0x800
==============================
addr:3800  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
addr:3c00  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
==============================
read check sum = 0x5a386cac
force sunxi spinor exit
exit usb
next work 2
SUNXI_UPDATE_NEXT_ACTION_REBOOT
set next system normal
[BOOT0] BOOT0 is starting
DBG: bootinfo error1

换了个8M的flash,可以烧完了,但是不知道有没有起来。

#161 全志 SOC » melis 烧录失败,这是什么原因呢? » 2024-11-27 10:55:04

memory
回复: 3
DBG: init uart OK, running at 102000000M
fes1 is starting
init dram , base        is 0x80000000
init dram , clk         is 120
init dram , access_mode is 1
init dram , cs_num      is 0x00000001
init dram , ddr8_remap  is 0
init dram , sdr_ddr     is 1
init dram , bwidth      is 16
init dram , col_width   is 10
init dram , row_width   is 13
init dram , bank_size   is 4
init dram , cas         is 3
init dram , size        is 120
dram init successed,size is 64
init dram OK, size is 64
fes init dram OK, size is 64
U-Boot 2011.09-rc1-00000-g1d30c34-dirty (Mar 21 2024 - 21:12:43) Allwinner Technology
DRAM:  64 MiB
storage_type: 3
work_mode: 0x10
read flash error
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
work mode=0x10
run usb efex
delay time 2500
usb init ok
usb_set_address_delay_time:15
usb_set_address_delay_time:15
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
do not need erase flash
sunxi spinor is initing...
OK
spinor id = 0x1620c2     ret = 0x0
flash size is 4 Mbytes
spinor id = 0x1620c2
==================================
erase nor flash now , waiting ...
==================================

 nor flash erasered finish
==================================
begin to burn[0] , waiting ...
==================================
==================================
begin to burn[1] , waiting ...
==================================
==================================
begin to burn[2] , waiting ...
==================================
==================================
begin to burn[3] , waiting ...
==================================
==================================
begin to burn[4] , waiting ...
==================================
==================================
begin to burn[5] , waiting ...
==================================
==================================
begin to burn[6] , waiting ...
==================================
==================================
begin to burn[7] , waiting ...
==================================
spinor read: start 0x0, sector 0x800
==============================
addr:0  = 29 0 0 a 61 40 6 0 c 40 44 0 12 80 8c cc
addr:400  = 0 0 a0 e1 10 0 21 80 c 1 e c4 1 13 0 81
==============================
spinor read: start 0x800, sector 0x800
==============================
addr:800  = 1 20 80 0 80 1 10 80 c8 9 8 48 40 c 0 60
addr:c00  = 41 60 60 60 20 59 43 41 47 15 43 0 57 50 0 50
==============================
spinor read: start 0x1000, sector 0x800
==============================
addr:1000  = a 52 82 0 a 52 0 80 0 94 0 0 8 12 82 0
addr:1400  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
==============================
spinor read: start 0x1800, sector 0x800
==============================
addr:1800  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
addr:1c00  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
==============================
spinor read: start 0x2000, sector 0x800
==============================
addr:2000  = 29 0 0 a 61 40 6 0 c 40 44 0 12 80 8c cc
addr:2400  = 0 0 a0 e1 10 0 21 80 c 1 e c4 1 13 0 81
==============================
spinor read: start 0x2800, sector 0x800
==============================
addr:2800  = 1 20 80 0 80 1 10 80 c8 9 8 48 40 c 0 60
addr:2c00  = 41 60 60 60 20 59 43 41 47 15 43 0 57 50 0 50
==============================
spinor read: start 0x3000, sector 0x800
==============================
addr:3000  = a 52 82 0 a 52 0 80 0 94 0 0 8 12 82 0
addr:3400  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
==============================
spinor read: start 0x3800, sector 0x800
==============================
addr:3800  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
addr:3c00  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
==============================
read check sum = 0xd0a16c1a
force sunxi spinor exit

QQ截图20241127105447.png

#163 Re: 全志 SOC » t113-s3调试aic8800dc wifi模组报错,大佬们帮忙看下? » 2024-11-24 15:23:45

燕十三 说:

https://whycan.com/files/members/718/default.png
大佬,我这边在t113-s3上调试aic8800d遇到点问题

试一试这个:

modprobe aic8800_fdrv 出错,请问是什么原因呢?
https://whycan.com/t_10618.html#p102052

CONFIG_PLATFORM_ALLWINNER ?= y
CONFIG_PLATFORM_UBUNTU ?= n

#164 Re: 全志 SOC » modprobe aic8800_fdrv 出错,请问是什么原因呢? » 2024-11-24 15:20:49

aic8800 驱动里面所有的 Makefile都改成:

CONFIG_PLATFORM_ALLWINNER ?= y
CONFIG_PLATFORM_UBUNTU ?= n

#166 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » NXP GUI Guider 生成代码结构分析 » 2024-11-17 21:43:33

Ubuntu24.04 安装 Gui-Guider-Setup-1.8.1-GA.deb 失败

Ubuntu22.04 安装成功:

sudo apt-get install gconf2 gconf2-common  libsdl2-* libvips42* cmake libappindicator1* libffi* -y

#167 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » NXP GUI Guider 生成代码结构分析 » 2024-11-16 13:02:11

QQ截图20241116130024.png

QQ截图20241116130143.png

NXP GUI Guider 控件比 squareline 丰富多了!!!

但是 GUI Guider 不能弹性布局,也不能设置对齐方式。

#168 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » NXP GUI Guider 生成代码结构分析 » 2024-11-16 12:34:09

GUI Guider的图片控件可以随意调整图片大小,分析了生成代码,原来是编辑器先生成对应分辨率的图片,掩面泪过.gif

#169 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » NXP GUI Guider 生成代码结构分析 » 2024-11-16 12:30:05

QQ截图20241116122751.png

GUI Guider 的 3D 动画是这个软件一帧帧生成的,

widgets_init.c

const lv_img_dsc_t * screen2_image3D_1_imgs[30] = {
    &screen2_image3D_1second_needle_2000,
    &screen2_image3D_1second_needle_2001,
    &screen2_image3D_1second_needle_2002,
    &screen2_image3D_1second_needle_2003,
    &screen2_image3D_1second_needle_2004,
    &screen2_image3D_1second_needle_2005,
    &screen2_image3D_1second_needle_2006,
    &screen2_image3D_1second_needle_2007,
    &screen2_image3D_1second_needle_2008,
    &screen2_image3D_1second_needle_2009,
    &screen2_image3D_1second_needle_2010,
    &screen2_image3D_1second_needle_2011,
    &screen2_image3D_1second_needle_2012,
    &screen2_image3D_1second_needle_2013,
    &screen2_image3D_1second_needle_2014,
    &screen2_image3D_1second_needle_2015,
    &screen2_image3D_1second_needle_2016,
    &screen2_image3D_1second_needle_2017,
    &screen2_image3D_1second_needle_2018,
    &screen2_image3D_1second_needle_2019,
    &screen2_image3D_1second_needle_2020,
    &screen2_image3D_1second_needle_2021,
    &screen2_image3D_1second_needle_2022,
    &screen2_image3D_1second_needle_2023,
    &screen2_image3D_1second_needle_2024,
    &screen2_image3D_1second_needle_2025,
    &screen2_image3D_1second_needle_2026,
    &screen2_image3D_1second_needle_2027,
    &screen2_image3D_1second_needle_2028,
    &screen2_image3D_1second_needle_2029,
};

#170 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » NXP GUI Guider 生成代码结构分析 » 2024-11-16 12:26:13

memory
回复: 4

main.c

int main(int argc, char ** argv)
{
    (void) argc;    /*Unused*/
    (void) argv;    /*Unused*/

    /*Initialize LittlevGL*/
    lv_init();

    /*Initialize the HAL (display, input devices, tick) for LittlevGL*/
    hal_init();

    /*Create a GUI-Guider app */
    setup_ui(&guider_ui);  //运行第一个screen,在编辑选中的那个screen最先启动
    events_init(&guider_ui);
    custom_init(&guider_ui);

gui_guider.c

void setup_ui(lv_ui *ui)
{
    init_scr_del_flag(ui);
    setup_scr_screen1(ui); //初始化第一个 screen,先设置ui,再执行用户自定义代码
    lv_scr_load(ui->screen1); //加载第一个screen
}

setup_scr_screenX.c //screenX 初始化

void setup_scr_screenX(lv_ui *ui)
{
}

#171 Re: 全志 SOC » T113-S3 RGB液晶颜色不对 » 2024-11-12 10:35:34

billymc 说:
memory 说:

按复位按键系统不管用

是不是插着串口?把串口断开试一试能不能复位?

没有插,按复位后系统重新启动了,但颜色不对。

RGB显示屏这么测试:


cat /dev/zero > /dev/fb0
RGB 是否全部拉低?

#172 Re: 全志 SOC » T113-S3 RGB液晶颜色不对 » 2024-11-12 08:48:55

按复位按键系统不管用

是不是插着串口?把串口断开试一试能不能复位?

#173 Re: 全志 SOC » LVGL 的 group 研究 » 2024-11-05 21:13:05

多group 的 demo

lv_obj_t *btn1, *btn2, *btn3, *btn4;
lv_group_t* group1;
lv_group_t* group2;

void change_group_event_cb(lv_event_t* e)
{
    lv_indev_t * cur_drv = NULL;

    cur_drv = lv_indev_get_next(cur_drv);
    if(!cur_drv) {
    }

    lv_indev_set_group(cur_drv, group1);
    lv_group_focus_obj(btn1);
}

void init_multi_groups(void)
{
    // 创建第一个组的对象
    lv_obj_t* textarea1 = lv_textarea_create(lv_scr_act());
    lv_obj_set_size(textarea1, 200, 100);
    lv_obj_align(textarea1, LV_ALIGN_CENTER, -150, -100);

    btn1 = lv_btn_create(lv_scr_act());
    lv_obj_set_size(btn1, 100, 50);
    lv_obj_align(btn1, LV_ALIGN_CENTER, -150, 0);
    lv_obj_t *label1 = lv_label_create(btn1);
    lv_label_set_text(label1, "Button 1");

    btn2 = lv_btn_create(lv_scr_act());
    lv_obj_set_size(btn2, 100, 50);
    lv_obj_align(btn2, LV_ALIGN_CENTER, -150, 100);
    lv_obj_t *label2 = lv_label_create(btn2);
    lv_label_set_text(label2, "Button 2");

    // 创建第二个组的对象
    lv_obj_t* textarea2 = lv_textarea_create(lv_scr_act());
    lv_obj_set_size(textarea2, 200, 100);
    lv_obj_align(textarea2, LV_ALIGN_CENTER, 150, -100);

    btn3 = lv_btn_create(lv_scr_act());
    lv_obj_set_size(btn3, 100, 50);
    lv_obj_align(btn3, LV_ALIGN_CENTER, 150, 0);
    lv_obj_t *label3 = lv_label_create(btn3);
    lv_label_set_text(label3, "Button 3");

    btn4 = lv_btn_create(lv_scr_act());
    lv_obj_set_size(btn4, 100, 50);
    lv_obj_align(btn4, LV_ALIGN_CENTER, 150, 100);
    lv_obj_t *label4 = lv_label_create(btn4);
    lv_label_set_text(label4, "Button 4");

    // 创建两个输入设备组
    group1 = lv_group_create();
    lv_group_add_obj(group1, textarea1);
    lv_group_add_obj(group1, btn1);
    lv_group_add_obj(group1, btn2);

    group2 = lv_group_create();
    lv_group_add_obj(group2, textarea2);
    lv_group_add_obj(group2, btn3);
    lv_group_add_obj(group2, btn4);
    lv_obj_add_event_cb(btn4, change_group_event_cb, LV_EVENT_CLICKED, NULL);
    // 初始焦点设置到第一个组的第一个对象
    lv_indev_t * cur_drv = NULL;

    cur_drv = lv_indev_get_next(cur_drv);
    if(!cur_drv) {
    }
    lv_indev_set_group(cur_drv, group2);
    lv_group_focus_obj(textarea2);
}

这个demo默认焦点在 group2 上,点击btn4之后,默认焦点切换到group1。

#174 全志 SOC » LVGL 的 group 研究 » 2024-11-05 21:10:59

memory
回复: 1

初始化程序建立一个group,并把之设置为默认group

    lv_group_t * g = lv_group_create();
    lv_group_set_default(g);

创建输入设备后,把输入设备与该group关联:

    lv_indev_set_group(indev2, g);

#175 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 的 evdev 驱动改成这样,但是长按回车键,不能跳出当前选中的widgets » 2024-11-05 16:03:01

2024-11-05_155941.png

    static int g_encoder_status = 0; //记住按键是否被按下,1:按下,0:抬起

    if(drv->type == LV_INDEV_TYPE_ENCODER) {
    if (g_encoder_status == 1) {
        data->state = 1;
        data->enc_diff = 0;
        }
    }
            } else if(drv->type == LV_INDEV_TYPE_ENCODER) {

                switch(in.code) {
                    case KEY_UP: //模拟编码器向上滚
                        data->state = 0;
                        if(in.value == 1) {
                            data->enc_diff = -1;
                        } else {
                            data->enc_diff = 0;
                        }

                        break;
                    case KEY_DOWN: //模拟编码器向下滚
                        data->state = 0;
                        if(in.value == 1) {
                            data->enc_diff = 1;
                        } else {
                            data->enc_diff = 0;
                        }

                        break;
                    case KEY_ENTER: //模拟编码器按下
						g_encoder_status = in.value;
                        data->state = in.value;
                        data->enc_diff = 0;

                        break;
                }

加入一个全局变量解决这个问题。

#176 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 的 evdev 驱动改成这样,但是长按回车键,不能跳出当前选中的widgets » 2024-11-05 15:30:29

大概找到问题了,linux 的 event 设备,按键一直按住,也只触发一次。

https://elinux.org/images/9/93/Evtest.c

/*
 * $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $
 *
 *  Copyright (c) 1999-2000 Vojtech Pavlik
 *
 *  Event device test program
 */

/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or 
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 * 
 * Should you need to contact me, the author, you can do so either by
 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
 */

#include <stdint.h>

#include <linux/input.h>

#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>

#ifndef EV_SYN
#define EV_SYN 0
#endif

char *events[EV_MAX + 1] = {
	[0 ... EV_MAX] = NULL,
	[EV_SYN] = "Sync",			[EV_KEY] = "Key",
	[EV_REL] = "Relative",			[EV_ABS] = "Absolute",
	[EV_MSC] = "Misc",			[EV_LED] = "LED",
	[EV_SND] = "Sound",			[EV_REP] = "Repeat",
	[EV_FF] = "ForceFeedback",		[EV_PWR] = "Power",
	[EV_FF_STATUS] = "ForceFeedbackStatus",
};

char *keys[KEY_MAX + 1] = {
	[0 ... KEY_MAX] = NULL,
	[KEY_RESERVED] = "Reserved",		[KEY_ESC] = "Esc",
	[KEY_1] = "1",				[KEY_2] = "2",
	[KEY_3] = "3",				[KEY_4] = "4",
	[KEY_5] = "5",				[KEY_6] = "6",
	[KEY_7] = "7",				[KEY_8] = "8",
	[KEY_9] = "9",				[KEY_0] = "0",
	[KEY_MINUS] = "Minus",			[KEY_EQUAL] = "Equal",
	[KEY_BACKSPACE] = "Backspace",		[KEY_TAB] = "Tab",
	[KEY_Q] = "Q",				[KEY_W] = "W",
	[KEY_E] = "E",				[KEY_R] = "R",
	[KEY_T] = "T",				[KEY_Y] = "Y",
	[KEY_U] = "U",				[KEY_I] = "I",
	[KEY_O] = "O",				[KEY_P] = "P",
	[KEY_LEFTBRACE] = "LeftBrace",		[KEY_RIGHTBRACE] = "RightBrace",
	[KEY_ENTER] = "Enter",			[KEY_LEFTCTRL] = "LeftControl",
	[KEY_A] = "A",				[KEY_S] = "S",
	[KEY_D] = "D",				[KEY_F] = "F",
	[KEY_G] = "G",				[KEY_H] = "H",
	[KEY_J] = "J",				[KEY_K] = "K",
	[KEY_L] = "L",				[KEY_SEMICOLON] = "Semicolon",
	[KEY_APOSTROPHE] = "Apostrophe",	[KEY_GRAVE] = "Grave",
	[KEY_LEFTSHIFT] = "LeftShift",		[KEY_BACKSLASH] = "BackSlash",
	[KEY_Z] = "Z",				[KEY_X] = "X",
	[KEY_C] = "C",				[KEY_V] = "V",
	[KEY_B] = "B",				[KEY_N] = "N",
	[KEY_M] = "M",				[KEY_COMMA] = "Comma",
	[KEY_DOT] = "Dot",			[KEY_SLASH] = "Slash",
	[KEY_RIGHTSHIFT] = "RightShift",	[KEY_KPASTERISK] = "KPAsterisk",
	[KEY_LEFTALT] = "LeftAlt",		[KEY_SPACE] = "Space",
	[KEY_CAPSLOCK] = "CapsLock",		[KEY_F1] = "F1",
	[KEY_F2] = "F2",			[KEY_F3] = "F3",
	[KEY_F4] = "F4",			[KEY_F5] = "F5",
	[KEY_F6] = "F6",			[KEY_F7] = "F7",
	[KEY_F8] = "F8",			[KEY_F9] = "F9",
	[KEY_F10] = "F10",			[KEY_NUMLOCK] = "NumLock",
	[KEY_SCROLLLOCK] = "ScrollLock",	[KEY_KP7] = "KP7",
	[KEY_KP8] = "KP8",			[KEY_KP9] = "KP9",
	[KEY_KPMINUS] = "KPMinus",		[KEY_KP4] = "KP4",
	[KEY_KP5] = "KP5",			[KEY_KP6] = "KP6",
	[KEY_KPPLUS] = "KPPlus",		[KEY_KP1] = "KP1",
	[KEY_KP2] = "KP2",			[KEY_KP3] = "KP3",
	[KEY_KP0] = "KP0",			[KEY_KPDOT] = "KPDot",
	[KEY_ZENKAKUHANKAKU] = "Zenkaku/Hankaku", [KEY_102ND] = "102nd",
	[KEY_F11] = "F11",			[KEY_F12] = "F12",
	[KEY_RO] = "RO",			[KEY_KATAKANA] = "Katakana",
	[KEY_HIRAGANA] = "HIRAGANA",		[KEY_HENKAN] = "Henkan",
	[KEY_KATAKANAHIRAGANA] = "Katakana/Hiragana", [KEY_MUHENKAN] = "Muhenkan",
	[KEY_KPJPCOMMA] = "KPJpComma",		[KEY_KPENTER] = "KPEnter",
	[KEY_RIGHTCTRL] = "RightCtrl",		[KEY_KPSLASH] = "KPSlash",
	[KEY_SYSRQ] = "SysRq",			[KEY_RIGHTALT] = "RightAlt",
	[KEY_LINEFEED] = "LineFeed",		[KEY_HOME] = "Home",
	[KEY_UP] = "Up",			[KEY_PAGEUP] = "PageUp",
	[KEY_LEFT] = "Left",			[KEY_RIGHT] = "Right",
	[KEY_END] = "End",			[KEY_DOWN] = "Down",
	[KEY_PAGEDOWN] = "PageDown",		[KEY_INSERT] = "Insert",
	[KEY_DELETE] = "Delete",		[KEY_MACRO] = "Macro",
	[KEY_MUTE] = "Mute",			[KEY_VOLUMEDOWN] = "VolumeDown",
	[KEY_VOLUMEUP] = "VolumeUp",		[KEY_POWER] = "Power",
	[KEY_KPEQUAL] = "KPEqual",		[KEY_KPPLUSMINUS] = "KPPlusMinus",
	[KEY_PAUSE] = "Pause",			[KEY_KPCOMMA] = "KPComma",
	[KEY_HANGUEL] = "Hanguel",		[KEY_HANJA] = "Hanja",
	[KEY_YEN] = "Yen",			[KEY_LEFTMETA] = "LeftMeta",
	[KEY_RIGHTMETA] = "RightMeta",		[KEY_COMPOSE] = "Compose",
	[KEY_STOP] = "Stop",			[KEY_AGAIN] = "Again",
	[KEY_PROPS] = "Props",			[KEY_UNDO] = "Undo",
	[KEY_FRONT] = "Front",			[KEY_COPY] = "Copy",
	[KEY_OPEN] = "Open",			[KEY_PASTE] = "Paste",
	[KEY_FIND] = "Find",			[KEY_CUT] = "Cut",
	[KEY_HELP] = "Help",			[KEY_MENU] = "Menu",
	[KEY_CALC] = "Calc",			[KEY_SETUP] = "Setup",
	[KEY_SLEEP] = "Sleep",			[KEY_WAKEUP] = "WakeUp",
	[KEY_FILE] = "File",			[KEY_SENDFILE] = "SendFile",
	[KEY_DELETEFILE] = "DeleteFile",	[KEY_XFER] = "X-fer",
	[KEY_PROG1] = "Prog1",			[KEY_PROG2] = "Prog2",
	[KEY_WWW] = "WWW",			[KEY_MSDOS] = "MSDOS",
	[KEY_COFFEE] = "Coffee",		[KEY_DIRECTION] = "Direction",
	[KEY_CYCLEWINDOWS] = "CycleWindows",	[KEY_MAIL] = "Mail",
	[KEY_BOOKMARKS] = "Bookmarks",		[KEY_COMPUTER] = "Computer",
	[KEY_BACK] = "Back",			[KEY_FORWARD] = "Forward",
	[KEY_CLOSECD] = "CloseCD",		[KEY_EJECTCD] = "EjectCD",
	[KEY_EJECTCLOSECD] = "EjectCloseCD",	[KEY_NEXTSONG] = "NextSong",
	[KEY_PLAYPAUSE] = "PlayPause",		[KEY_PREVIOUSSONG] = "PreviousSong",
	[KEY_STOPCD] = "StopCD",		[KEY_RECORD] = "Record",
	[KEY_REWIND] = "Rewind",		[KEY_PHONE] = "Phone",
	[KEY_ISO] = "ISOKey",			[KEY_CONFIG] = "Config",
	[KEY_HOMEPAGE] = "HomePage",		[KEY_REFRESH] = "Refresh",
	[KEY_EXIT] = "Exit",			[KEY_MOVE] = "Move",
	[KEY_EDIT] = "Edit",			[KEY_SCROLLUP] = "ScrollUp",
	[KEY_SCROLLDOWN] = "ScrollDown",	[KEY_KPLEFTPAREN] = "KPLeftParenthesis",
	[KEY_KPRIGHTPAREN] = "KPRightParenthesis", [KEY_F13] = "F13",
	[KEY_F14] = "F14",			[KEY_F15] = "F15",
	[KEY_F16] = "F16",			[KEY_F17] = "F17",
	[KEY_F18] = "F18",			[KEY_F19] = "F19",
	[KEY_F20] = "F20",			[KEY_F21] = "F21",
	[KEY_F22] = "F22",			[KEY_F23] = "F23",
	[KEY_F24] = "F24",			[KEY_PLAYCD] = "PlayCD",
	[KEY_PAUSECD] = "PauseCD",		[KEY_PROG3] = "Prog3",
	[KEY_PROG4] = "Prog4",			[KEY_SUSPEND] = "Suspend",
	[KEY_CLOSE] = "Close",			[KEY_PLAY] = "Play",
	[KEY_FASTFORWARD] = "Fast Forward",	[KEY_BASSBOOST] = "Bass Boost",
	[KEY_PRINT] = "Print",			[KEY_HP] = "HP",
	[KEY_CAMERA] = "Camera",		[KEY_SOUND] = "Sound",
	[KEY_QUESTION] = "Question",		[KEY_EMAIL] = "Email",
	[KEY_CHAT] = "Chat",			[KEY_SEARCH] = "Search",
	[KEY_CONNECT] = "Connect",		[KEY_FINANCE] = "Finance",
	[KEY_SPORT] = "Sport",			[KEY_SHOP] = "Shop",
	[KEY_ALTERASE] = "Alternate Erase",	[KEY_CANCEL] = "Cancel",
	[KEY_BRIGHTNESSDOWN] = "Brightness down", [KEY_BRIGHTNESSUP] = "Brightness up",
	[KEY_MEDIA] = "Media",			[KEY_UNKNOWN] = "Unknown",
	[BTN_0] = "Btn0",			[BTN_1] = "Btn1",
	[BTN_2] = "Btn2",			[BTN_3] = "Btn3",
	[BTN_4] = "Btn4",			[BTN_5] = "Btn5",
	[BTN_6] = "Btn6",			[BTN_7] = "Btn7",
	[BTN_8] = "Btn8",			[BTN_9] = "Btn9",
	[BTN_LEFT] = "LeftBtn",			[BTN_RIGHT] = "RightBtn",
	[BTN_MIDDLE] = "MiddleBtn",		[BTN_SIDE] = "SideBtn",
	[BTN_EXTRA] = "ExtraBtn",		[BTN_FORWARD] = "ForwardBtn",
	[BTN_BACK] = "BackBtn",			[BTN_TASK] = "TaskBtn",
	[BTN_TRIGGER] = "Trigger",		[BTN_THUMB] = "ThumbBtn",
	[BTN_THUMB2] = "ThumbBtn2",		[BTN_TOP] = "TopBtn",
	[BTN_TOP2] = "TopBtn2",			[BTN_PINKIE] = "PinkieBtn",
	[BTN_BASE] = "BaseBtn",			[BTN_BASE2] = "BaseBtn2",
	[BTN_BASE3] = "BaseBtn3",		[BTN_BASE4] = "BaseBtn4",
	[BTN_BASE5] = "BaseBtn5",		[BTN_BASE6] = "BaseBtn6",
	[BTN_DEAD] = "BtnDead",			[BTN_A] = "BtnA",
	[BTN_B] = "BtnB",			[BTN_C] = "BtnC",
	[BTN_X] = "BtnX",			[BTN_Y] = "BtnY",
	[BTN_Z] = "BtnZ",			[BTN_TL] = "BtnTL",
	[BTN_TR] = "BtnTR",			[BTN_TL2] = "BtnTL2",
	[BTN_TR2] = "BtnTR2",			[BTN_SELECT] = "BtnSelect",
	[BTN_START] = "BtnStart",		[BTN_MODE] = "BtnMode",
	[BTN_THUMBL] = "BtnThumbL",		[BTN_THUMBR] = "BtnThumbR",
	[BTN_TOOL_PEN] = "ToolPen",		[BTN_TOOL_RUBBER] = "ToolRubber",
	[BTN_TOOL_BRUSH] = "ToolBrush",		[BTN_TOOL_PENCIL] = "ToolPencil",
	[BTN_TOOL_AIRBRUSH] = "ToolAirbrush",	[BTN_TOOL_FINGER] = "ToolFinger",
	[BTN_TOOL_MOUSE] = "ToolMouse",		[BTN_TOOL_LENS] = "ToolLens",
	[BTN_TOUCH] = "Touch",			[BTN_STYLUS] = "Stylus",
	[BTN_STYLUS2] = "Stylus2",		[BTN_TOOL_DOUBLETAP] = "Tool Doubletap",
	[BTN_TOOL_TRIPLETAP] = "Tool Tripletap", [BTN_GEAR_DOWN] = "WheelBtn",
	[BTN_GEAR_UP] = "Gear up",		[KEY_OK] = "Ok",
	[KEY_SELECT] = "Select",		[KEY_GOTO] = "Goto",
	[KEY_CLEAR] = "Clear",			[KEY_POWER2] = "Power2",
	[KEY_OPTION] = "Option",		[KEY_INFO] = "Info",
	[KEY_TIME] = "Time",			[KEY_VENDOR] = "Vendor",
	[KEY_ARCHIVE] = "Archive",		[KEY_PROGRAM] = "Program",
	[KEY_CHANNEL] = "Channel",		[KEY_FAVORITES] = "Favorites",
	[KEY_EPG] = "EPG",			[KEY_PVR] = "PVR",
	[KEY_MHP] = "MHP",			[KEY_LANGUAGE] = "Language",
	[KEY_TITLE] = "Title",			[KEY_SUBTITLE] = "Subtitle",
	[KEY_ANGLE] = "Angle",			[KEY_ZOOM] = "Zoom",
	[KEY_MODE] = "Mode",			[KEY_KEYBOARD] = "Keyboard",
	[KEY_SCREEN] = "Screen",		[KEY_PC] = "PC",
	[KEY_TV] = "TV",			[KEY_TV2] = "TV2",
	[KEY_VCR] = "VCR",			[KEY_VCR2] = "VCR2",
	[KEY_SAT] = "Sat",			[KEY_SAT2] = "Sat2",
	[KEY_CD] = "CD",			[KEY_TAPE] = "Tape",
	[KEY_RADIO] = "Radio",			[KEY_TUNER] = "Tuner",
	[KEY_PLAYER] = "Player",		[KEY_TEXT] = "Text",
	[KEY_DVD] = "DVD",			[KEY_AUX] = "Aux",
	[KEY_MP3] = "MP3",			[KEY_AUDIO] = "Audio",
	[KEY_VIDEO] = "Video",			[KEY_DIRECTORY] = "Directory",
	[KEY_LIST] = "List",			[KEY_MEMO] = "Memo",
	[KEY_CALENDAR] = "Calendar",		[KEY_RED] = "Red",
	[KEY_GREEN] = "Green",			[KEY_YELLOW] = "Yellow",
	[KEY_BLUE] = "Blue",			[KEY_CHANNELUP] = "ChannelUp",
	[KEY_CHANNELDOWN] = "ChannelDown",	[KEY_FIRST] = "First",
	[KEY_LAST] = "Last",			[KEY_AB] = "AB",
	[KEY_NEXT] = "Next",			[KEY_RESTART] = "Restart",
	[KEY_SLOW] = "Slow",			[KEY_SHUFFLE] = "Shuffle",
	[KEY_BREAK] = "Break",			[KEY_PREVIOUS] = "Previous",
	[KEY_DIGITS] = "Digits",		[KEY_TEEN] = "TEEN",
	[KEY_TWEN] = "TWEN",			[KEY_DEL_EOL] = "Delete EOL",
	[KEY_DEL_EOS] = "Delete EOS",		[KEY_INS_LINE] = "Insert line",
	[KEY_DEL_LINE] = "Delete line",
};

char *absval[5] = { "Value", "Min  ", "Max  ", "Fuzz ", "Flat " };

char *relatives[REL_MAX + 1] = {
	[0 ... REL_MAX] = NULL,
	[REL_X] = "X",			[REL_Y] = "Y",
	[REL_Z] = "Z",			[REL_HWHEEL] = "HWheel",
	[REL_DIAL] = "Dial",		[REL_WHEEL] = "Wheel", 
	[REL_MISC] = "Misc",	
};

char *absolutes[ABS_MAX + 1] = {
	[0 ... ABS_MAX] = NULL,
	[ABS_X] = "X",			[ABS_Y] = "Y",
	[ABS_Z] = "Z",			[ABS_RX] = "Rx",
	[ABS_RY] = "Ry",		[ABS_RZ] = "Rz",
	[ABS_THROTTLE] = "Throttle",	[ABS_RUDDER] = "Rudder",
	[ABS_WHEEL] = "Wheel",		[ABS_GAS] = "Gas",
	[ABS_BRAKE] = "Brake",		[ABS_HAT0X] = "Hat0X",
	[ABS_HAT0Y] = "Hat0Y",		[ABS_HAT1X] = "Hat1X",
	[ABS_HAT1Y] = "Hat1Y",		[ABS_HAT2X] = "Hat2X",
	[ABS_HAT2Y] = "Hat2Y",		[ABS_HAT3X] = "Hat3X",
	[ABS_HAT3Y] = "Hat 3Y",		[ABS_PRESSURE] = "Pressure",
	[ABS_DISTANCE] = "Distance",	[ABS_TILT_X] = "XTilt",
	[ABS_TILT_Y] = "YTilt",		[ABS_TOOL_WIDTH] = "Tool Width",
	[ABS_VOLUME] = "Volume",	[ABS_MISC] = "Misc",
};

char *misc[MSC_MAX + 1] = {
	[ 0 ... MSC_MAX] = NULL,
	[MSC_SERIAL] = "Serial",	[MSC_PULSELED] = "Pulseled",
	[MSC_GESTURE] = "Gesture",	[MSC_RAW] = "RawData",
	[MSC_SCAN] = "ScanCode",
};

char *leds[LED_MAX + 1] = {
	[0 ... LED_MAX] = NULL,
	[LED_NUML] = "NumLock",		[LED_CAPSL] = "CapsLock", 
	[LED_SCROLLL] = "ScrollLock",	[LED_COMPOSE] = "Compose",
	[LED_KANA] = "Kana",		[LED_SLEEP] = "Sleep", 
	[LED_SUSPEND] = "Suspend",	[LED_MUTE] = "Mute",
	[LED_MISC] = "Misc",
};

char *repeats[REP_MAX + 1] = {
	[0 ... REP_MAX] = NULL,
	[REP_DELAY] = "Delay",		[REP_PERIOD] = "Period"
};

char *sounds[SND_MAX + 1] = {
	[0 ... SND_MAX] = NULL,
	[SND_CLICK] = "Click",		[SND_BELL] = "Bell",
	[SND_TONE] = "Tone"
};

char **names[EV_MAX + 1] = {
	[0 ... EV_MAX] = NULL,
	[EV_SYN] = events,			[EV_KEY] = keys,
	[EV_REL] = relatives,			[EV_ABS] = absolutes,
	[EV_MSC] = misc,			[EV_LED] = leds,
	[EV_SND] = sounds,			[EV_REP] = repeats,
};

#define BITS_PER_LONG (sizeof(long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
#define OFF(x)  ((x)%BITS_PER_LONG)
#define BIT(x)  (1UL<<OFF(x))
#define LONG(x) ((x)/BITS_PER_LONG)
#define test_bit(bit, array)	((array[LONG(bit)] >> OFF(bit)) & 1)

int main (int argc, char **argv)
{
	int fd, rd, i, j, k;
	struct input_event ev[64];
	int version;
	unsigned short id[4];
	unsigned long bit[EV_MAX][NBITS(KEY_MAX)];
	char name[256] = "Unknown";
	int abs[5];

	if (argc < 2) {
		printf("Usage: evtest /dev/input/eventX\n");
		printf("Where X = input device number\n");
		return 1;
	}

	if ((fd = open(argv[argc - 1], O_RDONLY)) < 0) {
		perror("evtest");
		return 1;
	}

	if (ioctl(fd, EVIOCGVERSION, &version)) {
		perror("evtest: can't get version");
		return 1;
	}

	printf("Input driver version is %d.%d.%d\n",
		version >> 16, (version >> 8) & 0xff, version & 0xff);

	ioctl(fd, EVIOCGID, id);
	printf("Input device ID: bus 0x%x vendor 0x%x product 0x%x version 0x%x\n",
		id[ID_BUS], id[ID_VENDOR], id[ID_PRODUCT], id[ID_VERSION]);

	ioctl(fd, EVIOCGNAME(sizeof(name)), name);
	printf("Input device name: \"%s\"\n", name);

	memset(bit, 0, sizeof(bit));
	ioctl(fd, EVIOCGBIT(0, EV_MAX), bit[0]);
	printf("Supported events:\n");

	for (i = 0; i < EV_MAX; i++)
		if (test_bit(i, bit[0])) {
			printf("  Event type %d (%s)\n", i, events[i] ? events[i] : "?");
			if (!i) continue;
			ioctl(fd, EVIOCGBIT(i, KEY_MAX), bit[i]);
			for (j = 0; j < KEY_MAX; j++) 
				if (test_bit(j, bit[i])) {
					printf("    Event code %d (%s)\n", j, names[i] ? (names[i][j] ? names[i][j] : "?") : "?");
					if (i == EV_ABS) {
						ioctl(fd, EVIOCGABS(j), abs);
						for (k = 0; k < 5; k++)
							if ((k < 3) || abs[k])
								printf("      %s %6d\n", absval[k], abs[k]);
					}
				}
		}
		

	printf("Testing ... (interrupt to exit)\n");

	while (1) {
		rd = read(fd, ev, sizeof(struct input_event) * 64);

		if (rd < (int) sizeof(struct input_event)) {
			printf("yyy\n");
			perror("\nevtest: error reading");
			return 1;
		}

		for (i = 0; i < rd / sizeof(struct input_event); i++)

			if (ev[i].type == EV_SYN) {
				printf("Event: time %ld.%06ld, -------------- %s ------------\n",
					ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].code ? "Config Sync" : "Report Sync" );
			} else if (ev[i].type == EV_MSC && (ev[i].code == MSC_RAW || ev[i].code == MSC_SCAN)) {
				printf("Event: time %ld.%06ld, type %d (%s), code %d (%s), value %02x\n",
					ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].type,
					events[ev[i].type] ? events[ev[i].type] : "?",
					ev[i].code,
					names[ev[i].type] ? (names[ev[i].type][ev[i].code] ? names[ev[i].type][ev[i].code] : "?") : "?",
					ev[i].value);
			} else {
				printf("Event: time %ld.%06ld, type %d (%s), code %d (%s), value %d\n",
					ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].type,
					events[ev[i].type] ? events[ev[i].type] : "?",
					ev[i].code,
					names[ev[i].type] ? (names[ev[i].type][ev[i].code] ? names[ev[i].type][ev[i].code] : "?") : "?",
					ev[i].value);
			}	

	}
}

上面是阻塞式代码,然后我改成非阻塞式(O_NONBLOCK)代码:

/*
 * $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $
 *
 *  Copyright (c) 1999-2000 Vojtech Pavlik
 *
 *  Event device test program
 */

/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or 
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 * 
 * Should you need to contact me, the author, you can do so either by
 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
 */

#include <stdint.h>

#include <linux/input.h>

#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>

#ifndef EV_SYN
#define EV_SYN 0
#endif

char *events[EV_MAX + 1] = {
	[0 ... EV_MAX] = NULL,
	[EV_SYN] = "Sync",			[EV_KEY] = "Key",
	[EV_REL] = "Relative",			[EV_ABS] = "Absolute",
	[EV_MSC] = "Misc",			[EV_LED] = "LED",
	[EV_SND] = "Sound",			[EV_REP] = "Repeat",
	[EV_FF] = "ForceFeedback",		[EV_PWR] = "Power",
	[EV_FF_STATUS] = "ForceFeedbackStatus",
};

char *keys[KEY_MAX + 1] = {
	[0 ... KEY_MAX] = NULL,
	[KEY_RESERVED] = "Reserved",		[KEY_ESC] = "Esc",
	[KEY_1] = "1",				[KEY_2] = "2",
	[KEY_3] = "3",				[KEY_4] = "4",
	[KEY_5] = "5",				[KEY_6] = "6",
	[KEY_7] = "7",				[KEY_8] = "8",
	[KEY_9] = "9",				[KEY_0] = "0",
	[KEY_MINUS] = "Minus",			[KEY_EQUAL] = "Equal",
	[KEY_BACKSPACE] = "Backspace",		[KEY_TAB] = "Tab",
	[KEY_Q] = "Q",				[KEY_W] = "W",
	[KEY_E] = "E",				[KEY_R] = "R",
	[KEY_T] = "T",				[KEY_Y] = "Y",
	[KEY_U] = "U",				[KEY_I] = "I",
	[KEY_O] = "O",				[KEY_P] = "P",
	[KEY_LEFTBRACE] = "LeftBrace",		[KEY_RIGHTBRACE] = "RightBrace",
	[KEY_ENTER] = "Enter",			[KEY_LEFTCTRL] = "LeftControl",
	[KEY_A] = "A",				[KEY_S] = "S",
	[KEY_D] = "D",				[KEY_F] = "F",
	[KEY_G] = "G",				[KEY_H] = "H",
	[KEY_J] = "J",				[KEY_K] = "K",
	[KEY_L] = "L",				[KEY_SEMICOLON] = "Semicolon",
	[KEY_APOSTROPHE] = "Apostrophe",	[KEY_GRAVE] = "Grave",
	[KEY_LEFTSHIFT] = "LeftShift",		[KEY_BACKSLASH] = "BackSlash",
	[KEY_Z] = "Z",				[KEY_X] = "X",
	[KEY_C] = "C",				[KEY_V] = "V",
	[KEY_B] = "B",				[KEY_N] = "N",
	[KEY_M] = "M",				[KEY_COMMA] = "Comma",
	[KEY_DOT] = "Dot",			[KEY_SLASH] = "Slash",
	[KEY_RIGHTSHIFT] = "RightShift",	[KEY_KPASTERISK] = "KPAsterisk",
	[KEY_LEFTALT] = "LeftAlt",		[KEY_SPACE] = "Space",
	[KEY_CAPSLOCK] = "CapsLock",		[KEY_F1] = "F1",
	[KEY_F2] = "F2",			[KEY_F3] = "F3",
	[KEY_F4] = "F4",			[KEY_F5] = "F5",
	[KEY_F6] = "F6",			[KEY_F7] = "F7",
	[KEY_F8] = "F8",			[KEY_F9] = "F9",
	[KEY_F10] = "F10",			[KEY_NUMLOCK] = "NumLock",
	[KEY_SCROLLLOCK] = "ScrollLock",	[KEY_KP7] = "KP7",
	[KEY_KP8] = "KP8",			[KEY_KP9] = "KP9",
	[KEY_KPMINUS] = "KPMinus",		[KEY_KP4] = "KP4",
	[KEY_KP5] = "KP5",			[KEY_KP6] = "KP6",
	[KEY_KPPLUS] = "KPPlus",		[KEY_KP1] = "KP1",
	[KEY_KP2] = "KP2",			[KEY_KP3] = "KP3",
	[KEY_KP0] = "KP0",			[KEY_KPDOT] = "KPDot",
	[KEY_ZENKAKUHANKAKU] = "Zenkaku/Hankaku", [KEY_102ND] = "102nd",
	[KEY_F11] = "F11",			[KEY_F12] = "F12",
	[KEY_RO] = "RO",			[KEY_KATAKANA] = "Katakana",
	[KEY_HIRAGANA] = "HIRAGANA",		[KEY_HENKAN] = "Henkan",
	[KEY_KATAKANAHIRAGANA] = "Katakana/Hiragana", [KEY_MUHENKAN] = "Muhenkan",
	[KEY_KPJPCOMMA] = "KPJpComma",		[KEY_KPENTER] = "KPEnter",
	[KEY_RIGHTCTRL] = "RightCtrl",		[KEY_KPSLASH] = "KPSlash",
	[KEY_SYSRQ] = "SysRq",			[KEY_RIGHTALT] = "RightAlt",
	[KEY_LINEFEED] = "LineFeed",		[KEY_HOME] = "Home",
	[KEY_UP] = "Up",			[KEY_PAGEUP] = "PageUp",
	[KEY_LEFT] = "Left",			[KEY_RIGHT] = "Right",
	[KEY_END] = "End",			[KEY_DOWN] = "Down",
	[KEY_PAGEDOWN] = "PageDown",		[KEY_INSERT] = "Insert",
	[KEY_DELETE] = "Delete",		[KEY_MACRO] = "Macro",
	[KEY_MUTE] = "Mute",			[KEY_VOLUMEDOWN] = "VolumeDown",
	[KEY_VOLUMEUP] = "VolumeUp",		[KEY_POWER] = "Power",
	[KEY_KPEQUAL] = "KPEqual",		[KEY_KPPLUSMINUS] = "KPPlusMinus",
	[KEY_PAUSE] = "Pause",			[KEY_KPCOMMA] = "KPComma",
	[KEY_HANGUEL] = "Hanguel",		[KEY_HANJA] = "Hanja",
	[KEY_YEN] = "Yen",			[KEY_LEFTMETA] = "LeftMeta",
	[KEY_RIGHTMETA] = "RightMeta",		[KEY_COMPOSE] = "Compose",
	[KEY_STOP] = "Stop",			[KEY_AGAIN] = "Again",
	[KEY_PROPS] = "Props",			[KEY_UNDO] = "Undo",
	[KEY_FRONT] = "Front",			[KEY_COPY] = "Copy",
	[KEY_OPEN] = "Open",			[KEY_PASTE] = "Paste",
	[KEY_FIND] = "Find",			[KEY_CUT] = "Cut",
	[KEY_HELP] = "Help",			[KEY_MENU] = "Menu",
	[KEY_CALC] = "Calc",			[KEY_SETUP] = "Setup",
	[KEY_SLEEP] = "Sleep",			[KEY_WAKEUP] = "WakeUp",
	[KEY_FILE] = "File",			[KEY_SENDFILE] = "SendFile",
	[KEY_DELETEFILE] = "DeleteFile",	[KEY_XFER] = "X-fer",
	[KEY_PROG1] = "Prog1",			[KEY_PROG2] = "Prog2",
	[KEY_WWW] = "WWW",			[KEY_MSDOS] = "MSDOS",
	[KEY_COFFEE] = "Coffee",		[KEY_DIRECTION] = "Direction",
	[KEY_CYCLEWINDOWS] = "CycleWindows",	[KEY_MAIL] = "Mail",
	[KEY_BOOKMARKS] = "Bookmarks",		[KEY_COMPUTER] = "Computer",
	[KEY_BACK] = "Back",			[KEY_FORWARD] = "Forward",
	[KEY_CLOSECD] = "CloseCD",		[KEY_EJECTCD] = "EjectCD",
	[KEY_EJECTCLOSECD] = "EjectCloseCD",	[KEY_NEXTSONG] = "NextSong",
	[KEY_PLAYPAUSE] = "PlayPause",		[KEY_PREVIOUSSONG] = "PreviousSong",
	[KEY_STOPCD] = "StopCD",		[KEY_RECORD] = "Record",
	[KEY_REWIND] = "Rewind",		[KEY_PHONE] = "Phone",
	[KEY_ISO] = "ISOKey",			[KEY_CONFIG] = "Config",
	[KEY_HOMEPAGE] = "HomePage",		[KEY_REFRESH] = "Refresh",
	[KEY_EXIT] = "Exit",			[KEY_MOVE] = "Move",
	[KEY_EDIT] = "Edit",			[KEY_SCROLLUP] = "ScrollUp",
	[KEY_SCROLLDOWN] = "ScrollDown",	[KEY_KPLEFTPAREN] = "KPLeftParenthesis",
	[KEY_KPRIGHTPAREN] = "KPRightParenthesis", [KEY_F13] = "F13",
	[KEY_F14] = "F14",			[KEY_F15] = "F15",
	[KEY_F16] = "F16",			[KEY_F17] = "F17",
	[KEY_F18] = "F18",			[KEY_F19] = "F19",
	[KEY_F20] = "F20",			[KEY_F21] = "F21",
	[KEY_F22] = "F22",			[KEY_F23] = "F23",
	[KEY_F24] = "F24",			[KEY_PLAYCD] = "PlayCD",
	[KEY_PAUSECD] = "PauseCD",		[KEY_PROG3] = "Prog3",
	[KEY_PROG4] = "Prog4",			[KEY_SUSPEND] = "Suspend",
	[KEY_CLOSE] = "Close",			[KEY_PLAY] = "Play",
	[KEY_FASTFORWARD] = "Fast Forward",	[KEY_BASSBOOST] = "Bass Boost",
	[KEY_PRINT] = "Print",			[KEY_HP] = "HP",
	[KEY_CAMERA] = "Camera",		[KEY_SOUND] = "Sound",
	[KEY_QUESTION] = "Question",		[KEY_EMAIL] = "Email",
	[KEY_CHAT] = "Chat",			[KEY_SEARCH] = "Search",
	[KEY_CONNECT] = "Connect",		[KEY_FINANCE] = "Finance",
	[KEY_SPORT] = "Sport",			[KEY_SHOP] = "Shop",
	[KEY_ALTERASE] = "Alternate Erase",	[KEY_CANCEL] = "Cancel",
	[KEY_BRIGHTNESSDOWN] = "Brightness down", [KEY_BRIGHTNESSUP] = "Brightness up",
	[KEY_MEDIA] = "Media",			[KEY_UNKNOWN] = "Unknown",
	[BTN_0] = "Btn0",			[BTN_1] = "Btn1",
	[BTN_2] = "Btn2",			[BTN_3] = "Btn3",
	[BTN_4] = "Btn4",			[BTN_5] = "Btn5",
	[BTN_6] = "Btn6",			[BTN_7] = "Btn7",
	[BTN_8] = "Btn8",			[BTN_9] = "Btn9",
	[BTN_LEFT] = "LeftBtn",			[BTN_RIGHT] = "RightBtn",
	[BTN_MIDDLE] = "MiddleBtn",		[BTN_SIDE] = "SideBtn",
	[BTN_EXTRA] = "ExtraBtn",		[BTN_FORWARD] = "ForwardBtn",
	[BTN_BACK] = "BackBtn",			[BTN_TASK] = "TaskBtn",
	[BTN_TRIGGER] = "Trigger",		[BTN_THUMB] = "ThumbBtn",
	[BTN_THUMB2] = "ThumbBtn2",		[BTN_TOP] = "TopBtn",
	[BTN_TOP2] = "TopBtn2",			[BTN_PINKIE] = "PinkieBtn",
	[BTN_BASE] = "BaseBtn",			[BTN_BASE2] = "BaseBtn2",
	[BTN_BASE3] = "BaseBtn3",		[BTN_BASE4] = "BaseBtn4",
	[BTN_BASE5] = "BaseBtn5",		[BTN_BASE6] = "BaseBtn6",
	[BTN_DEAD] = "BtnDead",			[BTN_A] = "BtnA",
	[BTN_B] = "BtnB",			[BTN_C] = "BtnC",
	[BTN_X] = "BtnX",			[BTN_Y] = "BtnY",
	[BTN_Z] = "BtnZ",			[BTN_TL] = "BtnTL",
	[BTN_TR] = "BtnTR",			[BTN_TL2] = "BtnTL2",
	[BTN_TR2] = "BtnTR2",			[BTN_SELECT] = "BtnSelect",
	[BTN_START] = "BtnStart",		[BTN_MODE] = "BtnMode",
	[BTN_THUMBL] = "BtnThumbL",		[BTN_THUMBR] = "BtnThumbR",
	[BTN_TOOL_PEN] = "ToolPen",		[BTN_TOOL_RUBBER] = "ToolRubber",
	[BTN_TOOL_BRUSH] = "ToolBrush",		[BTN_TOOL_PENCIL] = "ToolPencil",
	[BTN_TOOL_AIRBRUSH] = "ToolAirbrush",	[BTN_TOOL_FINGER] = "ToolFinger",
	[BTN_TOOL_MOUSE] = "ToolMouse",		[BTN_TOOL_LENS] = "ToolLens",
	[BTN_TOUCH] = "Touch",			[BTN_STYLUS] = "Stylus",
	[BTN_STYLUS2] = "Stylus2",		[BTN_TOOL_DOUBLETAP] = "Tool Doubletap",
	[BTN_TOOL_TRIPLETAP] = "Tool Tripletap", [BTN_GEAR_DOWN] = "WheelBtn",
	[BTN_GEAR_UP] = "Gear up",		[KEY_OK] = "Ok",
	[KEY_SELECT] = "Select",		[KEY_GOTO] = "Goto",
	[KEY_CLEAR] = "Clear",			[KEY_POWER2] = "Power2",
	[KEY_OPTION] = "Option",		[KEY_INFO] = "Info",
	[KEY_TIME] = "Time",			[KEY_VENDOR] = "Vendor",
	[KEY_ARCHIVE] = "Archive",		[KEY_PROGRAM] = "Program",
	[KEY_CHANNEL] = "Channel",		[KEY_FAVORITES] = "Favorites",
	[KEY_EPG] = "EPG",			[KEY_PVR] = "PVR",
	[KEY_MHP] = "MHP",			[KEY_LANGUAGE] = "Language",
	[KEY_TITLE] = "Title",			[KEY_SUBTITLE] = "Subtitle",
	[KEY_ANGLE] = "Angle",			[KEY_ZOOM] = "Zoom",
	[KEY_MODE] = "Mode",			[KEY_KEYBOARD] = "Keyboard",
	[KEY_SCREEN] = "Screen",		[KEY_PC] = "PC",
	[KEY_TV] = "TV",			[KEY_TV2] = "TV2",
	[KEY_VCR] = "VCR",			[KEY_VCR2] = "VCR2",
	[KEY_SAT] = "Sat",			[KEY_SAT2] = "Sat2",
	[KEY_CD] = "CD",			[KEY_TAPE] = "Tape",
	[KEY_RADIO] = "Radio",			[KEY_TUNER] = "Tuner",
	[KEY_PLAYER] = "Player",		[KEY_TEXT] = "Text",
	[KEY_DVD] = "DVD",			[KEY_AUX] = "Aux",
	[KEY_MP3] = "MP3",			[KEY_AUDIO] = "Audio",
	[KEY_VIDEO] = "Video",			[KEY_DIRECTORY] = "Directory",
	[KEY_LIST] = "List",			[KEY_MEMO] = "Memo",
	[KEY_CALENDAR] = "Calendar",		[KEY_RED] = "Red",
	[KEY_GREEN] = "Green",			[KEY_YELLOW] = "Yellow",
	[KEY_BLUE] = "Blue",			[KEY_CHANNELUP] = "ChannelUp",
	[KEY_CHANNELDOWN] = "ChannelDown",	[KEY_FIRST] = "First",
	[KEY_LAST] = "Last",			[KEY_AB] = "AB",
	[KEY_NEXT] = "Next",			[KEY_RESTART] = "Restart",
	[KEY_SLOW] = "Slow",			[KEY_SHUFFLE] = "Shuffle",
	[KEY_BREAK] = "Break",			[KEY_PREVIOUS] = "Previous",
	[KEY_DIGITS] = "Digits",		[KEY_TEEN] = "TEEN",
	[KEY_TWEN] = "TWEN",			[KEY_DEL_EOL] = "Delete EOL",
	[KEY_DEL_EOS] = "Delete EOS",		[KEY_INS_LINE] = "Insert line",
	[KEY_DEL_LINE] = "Delete line",
};

char *absval[5] = { "Value", "Min  ", "Max  ", "Fuzz ", "Flat " };

char *relatives[REL_MAX + 1] = {
	[0 ... REL_MAX] = NULL,
	[REL_X] = "X",			[REL_Y] = "Y",
	[REL_Z] = "Z",			[REL_HWHEEL] = "HWheel",
	[REL_DIAL] = "Dial",		[REL_WHEEL] = "Wheel", 
	[REL_MISC] = "Misc",	
};

char *absolutes[ABS_MAX + 1] = {
	[0 ... ABS_MAX] = NULL,
	[ABS_X] = "X",			[ABS_Y] = "Y",
	[ABS_Z] = "Z",			[ABS_RX] = "Rx",
	[ABS_RY] = "Ry",		[ABS_RZ] = "Rz",
	[ABS_THROTTLE] = "Throttle",	[ABS_RUDDER] = "Rudder",
	[ABS_WHEEL] = "Wheel",		[ABS_GAS] = "Gas",
	[ABS_BRAKE] = "Brake",		[ABS_HAT0X] = "Hat0X",
	[ABS_HAT0Y] = "Hat0Y",		[ABS_HAT1X] = "Hat1X",
	[ABS_HAT1Y] = "Hat1Y",		[ABS_HAT2X] = "Hat2X",
	[ABS_HAT2Y] = "Hat2Y",		[ABS_HAT3X] = "Hat3X",
	[ABS_HAT3Y] = "Hat 3Y",		[ABS_PRESSURE] = "Pressure",
	[ABS_DISTANCE] = "Distance",	[ABS_TILT_X] = "XTilt",
	[ABS_TILT_Y] = "YTilt",		[ABS_TOOL_WIDTH] = "Tool Width",
	[ABS_VOLUME] = "Volume",	[ABS_MISC] = "Misc",
};

char *misc[MSC_MAX + 1] = {
	[ 0 ... MSC_MAX] = NULL,
	[MSC_SERIAL] = "Serial",	[MSC_PULSELED] = "Pulseled",
	[MSC_GESTURE] = "Gesture",	[MSC_RAW] = "RawData",
	[MSC_SCAN] = "ScanCode",
};

char *leds[LED_MAX + 1] = {
	[0 ... LED_MAX] = NULL,
	[LED_NUML] = "NumLock",		[LED_CAPSL] = "CapsLock", 
	[LED_SCROLLL] = "ScrollLock",	[LED_COMPOSE] = "Compose",
	[LED_KANA] = "Kana",		[LED_SLEEP] = "Sleep", 
	[LED_SUSPEND] = "Suspend",	[LED_MUTE] = "Mute",
	[LED_MISC] = "Misc",
};

char *repeats[REP_MAX + 1] = {
	[0 ... REP_MAX] = NULL,
	[REP_DELAY] = "Delay",		[REP_PERIOD] = "Period"
};

char *sounds[SND_MAX + 1] = {
	[0 ... SND_MAX] = NULL,
	[SND_CLICK] = "Click",		[SND_BELL] = "Bell",
	[SND_TONE] = "Tone"
};

char **names[EV_MAX + 1] = {
	[0 ... EV_MAX] = NULL,
	[EV_SYN] = events,			[EV_KEY] = keys,
	[EV_REL] = relatives,			[EV_ABS] = absolutes,
	[EV_MSC] = misc,			[EV_LED] = leds,
	[EV_SND] = sounds,			[EV_REP] = repeats,
};

#define BITS_PER_LONG (sizeof(long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
#define OFF(x)  ((x)%BITS_PER_LONG)
#define BIT(x)  (1UL<<OFF(x))
#define LONG(x) ((x)/BITS_PER_LONG)
#define test_bit(bit, array)	((array[LONG(bit)] >> OFF(bit)) & 1)

int main (int argc, char **argv)
{
	int fd, rd, i, j, k;
	struct input_event ev[64];
	int version;
	unsigned short id[4];
	unsigned long bit[EV_MAX][NBITS(KEY_MAX)];
	char name[256] = "Unknown";
	int abs[5];

	if (argc < 2) {
		printf("Usage: evtest /dev/input/eventX\n");
		printf("Where X = input device number\n");
		return 1;
	}

	if ((fd = open(argv[argc - 1], O_RDONLY | O_NONBLOCK)) < 0) {
		perror("evtest");
		return 1;
	}

	if (ioctl(fd, EVIOCGVERSION, &version)) {
		perror("evtest: can't get version");
		return 1;
	}

	printf("Input driver version is %d.%d.%d\n",
		version >> 16, (version >> 8) & 0xff, version & 0xff);

	ioctl(fd, EVIOCGID, id);
	printf("Input device ID: bus 0x%x vendor 0x%x product 0x%x version 0x%x\n",
		id[ID_BUS], id[ID_VENDOR], id[ID_PRODUCT], id[ID_VERSION]);

	ioctl(fd, EVIOCGNAME(sizeof(name)), name);
	printf("Input device name: \"%s\"\n", name);

	memset(bit, 0, sizeof(bit));
	ioctl(fd, EVIOCGBIT(0, EV_MAX), bit[0]);
	printf("Supported events:\n");

	for (i = 0; i < EV_MAX; i++)
		if (test_bit(i, bit[0])) {
			printf("  Event type %d (%s)\n", i, events[i] ? events[i] : "?");
			if (!i) continue;
			ioctl(fd, EVIOCGBIT(i, KEY_MAX), bit[i]);
			for (j = 0; j < KEY_MAX; j++) 
				if (test_bit(j, bit[i])) {
					printf("    Event code %d (%s)\n", j, names[i] ? (names[i][j] ? names[i][j] : "?") : "?");
					if (i == EV_ABS) {
						ioctl(fd, EVIOCGABS(j), abs);
						for (k = 0; k < 5; k++)
							if ((k < 3) || abs[k])
								printf("      %s %6d\n", absval[k], abs[k]);
					}
				}
		}
		

	printf("Testing ... (interrupt to exit)\n");

	while (1) {
		rd = read(fd, ev, sizeof(struct input_event) * 64);

		if (rd < (int) sizeof(struct input_event)) {
			//printf("yyy\n");
			//perror("\nevtest: error reading");
			//return 1;
			usleep(20*1000);
			continue;
		}

		for (i = 0; i < rd / sizeof(struct input_event); i++)

			if (ev[i].type == EV_SYN) {
				printf("Event: time %ld.%06ld, -------------- %s ------------\n",
					ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].code ? "Config Sync" : "Report Sync" );
			} else if (ev[i].type == EV_MSC && (ev[i].code == MSC_RAW || ev[i].code == MSC_SCAN)) {
				printf("Event: time %ld.%06ld, type %d (%s), code %d (%s), value %02x\n",
					ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].type,
					events[ev[i].type] ? events[ev[i].type] : "?",
					ev[i].code,
					names[ev[i].type] ? (names[ev[i].type][ev[i].code] ? names[ev[i].type][ev[i].code] : "?") : "?",
					ev[i].value);
			} else {
				printf("Event: time %ld.%06ld, type %d (%s), code %d (%s), value %d\n",
					ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].type,
					events[ev[i].type] ? events[ev[i].type] : "?",
					ev[i].code,
					names[ev[i].type] ? (names[ev[i].type][ev[i].code] ? names[ev[i].type][ev[i].code] : "?") : "?",
					ev[i].value);
			}	

	}
}

还是一样,只要按键一直按住,也只触发一次。

# chmod +x /tmp/evtest  && /tmp/evtest /dev/input/event2
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpiokey"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 28 (Enter)
    Event code 103 (Up)
    Event code 105 (Left)
    Event code 106 (Right)
    Event code 108 (Down)
    Event code 158 (Back)
Testing ... (interrupt to exit)
Event: time 80621.024553, type 1 (Key), code 28 (Enter), value 1
Event: time 80621.024553, -------------- Report Sync ------------
Event: time 80621.136503, type 1 (Key), code 28 (Enter), value 0
Event: time 80621.136503, -------------- Report Sync ------------
Event: time 80621.972507, type 1 (Key), code 28 (Enter), value 1
Event: time 80621.972507, -------------- Report Sync ------------
Event: time 80623.652503, type 1 (Key), code 28 (Enter), value 0
Event: time 80623.652503, -------------- Report Sync ------------
Event: time 80624.228508, type 1 (Key), code 105 (Left), value 1
Event: time 80624.228508, -------------- Report Sync ------------

在 Linux 中,输入设备(如键盘、鼠标等)通过 /dev/input/eventX 文件生成事件。
这些事件通常只会在按键状态发生变化时生成,即按键按下和按键释放时。

具体来说:

按键按下:生成一个 EV_KEY 事件,值为 1。
按键释放:生成一个 EV_KEY 事件,值为 0。

按键保持按下状态:不会持续生成事件。
这种设计是为了减少不必要的事件流量,提高系统的效率。然而,这导致了一个问题:如果你需要检测按键是否一直被按下,你需要在应用程序中实现额外的逻辑来跟踪按键的状态。

如何实现持续检测按键状态
为了实现持续检测按键是否一直被按下,你可以使用以下方法:

① 记录按键按下时间:在按键首次按下时记录当前时间。
② 定期检查按键状态:在按键按下后,定期检查按键是否仍然处于按下状态。
③ 处理长按事件:如果按键保持按下状态超过一定时间阈值,则触发长按事件。

#177 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 的 evdev 驱动改成这样,但是长按回车键,不能跳出当前选中的widgets » 2024-11-04 23:24:01

跟踪了一下代码,长按编码器按键使当前按键失焦的代码在

lv_indev.c

/**
 * Process a new point from LV_INDEV_TYPE_ENCODER input device
 * @param i pointer to an input device
 * @param data pointer to the data read from the input device
 */
static void indev_encoder_proc(lv_indev_t * i, lv_indev_data_t * data)
{
    /*Button press happened*/
    if(data->state == LV_INDEV_STATE_PRESSED && last_state == LV_INDEV_STATE_RELEASED) {
    }
    /*Pressing*/
    else if(data->state == LV_INDEV_STATE_PRESSED && last_state == LV_INDEV_STATE_PRESSED) {
        /*Long press*/
        if(i->proc.long_pr_sent == 0 && lv_tick_elaps(i->proc.pr_timestamp) > i->driver->long_press_time) {
            //初次长按处理
        }
        /*Long press repeated time has elapsed?*/
        else if(i->proc.long_pr_sent != 0 && lv_tick_elaps(i->proc.longpr_rep_timestamp) > i->driver->long_press_repeat_time) {
            //一直长按处理
        }
    }
}

#179 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 的 evdev 驱动改成这样,但是长按回车键,不能跳出当前选中的widgets » 2024-11-04 21:07:24

memory
回复: 4
            } else if(drv->type == LV_INDEV_TYPE_ENCODER) {
                switch(in.code) {
                    case KEY_UP: //模拟编码器向上滚
                        data->state = 0;
                        if(in.value == 1) {
                            data->enc_diff = -1;
                        } else {
                            data->enc_diff = 0;
                        }
                        printf("data->state=%d, data->enc_diff=%d ........\n", data->state, data->enc_diff);
                        break;
                    case KEY_DOWN: //模拟编码器向下滚
                        data->state = 0;
                        if(in.value == 1) {
                            data->enc_diff = 1;
                        } else {
                            data->enc_diff = 0;
                        }
                        printf("data->state=%d, data->enc_diff=%d ........\n", data->state, data->enc_diff);
                        break;
                    case KEY_ENTER: //模拟编码器按下
                        data->state = in.value;
                        data->enc_diff = 0;
                        printf("data->state=%d, data->enc_diff=%d ........\n", data->state, data->enc_diff);
                        break;
                }

#181 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL win32 添加模拟器按键 » 2024-11-01 17:12:08

memory
回复: 1

win32drv.c

/**
 * @file win32drv.c
 *
 */

/*********************
 *      INCLUDES
 *********************/

#include "win32drv.h"

#if USE_WIN32DRV

#include <windowsx.h>
#include <VersionHelpers.h>

#include <stdbool.h>
#include <stdint.h>

/*********************
 *      DEFINES
 *********************/
#ifndef WM_DPICHANGED
#define WM_DPICHANGED       0x02E0
#endif

#define WINDOW_EX_STYLE \
    WS_EX_CLIENTEDGE

#define WINDOW_STYLE \
    (WS_OVERLAPPEDWINDOW & ~(WS_SIZEBOX | WS_MAXIMIZEBOX | WS_THICKFRAME))

#ifndef WIN32DRV_MONITOR_ZOOM
#define WIN32DRV_MONITOR_ZOOM 1
#endif

/**********************
 *      TYPEDEFS
 **********************/

/**********************
 *  STATIC PROTOTYPES
 **********************/

/**
 * @brief Creates a B8G8R8A8 frame buffer.
 * @param WindowHandle A handle to the window for the creation of the frame
 *                     buffer. If this value is NULL, the entire screen will be
 *                     referenced.
 * @param Width The width of the frame buffer.
 * @param Height The height of the frame buffer.
 * @param PixelBuffer The raw pixel buffer of the frame buffer you created.
 * @param PixelBufferSize The size of the frame buffer you created.
 * @return If the function succeeds, the return value is a handle to the device
 *         context (DC) for the frame buffer. If the function fails, the return
 *         value is NULL, and PixelBuffer parameter is NULL.
*/
static HDC lv_win32_create_frame_buffer(
    _In_opt_ HWND WindowHandle,
    _In_ LONG Width,
    _In_ LONG Height,
    _Out_ UINT32** PixelBuffer,
    _Out_ SIZE_T* PixelBufferSize);

/**
 * @brief Enables WM_DPICHANGED message for child window for the associated
 *        window.
 * @param WindowHandle The window you want to enable WM_DPICHANGED message for
 *                     child window.
 * @return If the function succeeds, the return value is non-zero. If the
 *         function fails, the return value is zero.
 * @remarks You need to use this function in Windows 10 Threshold 1 or Windows
 *          10 Threshold 2.
*/
static BOOL lv_win32_enable_child_window_dpi_message(
    _In_ HWND WindowHandle);

static void lv_win32_display_driver_flush_callback(
    lv_disp_drv_t* disp_drv,
    const lv_area_t* area,
    lv_color_t* color_p);

static void lv_win32_display_driver_rounder_callback(
    lv_disp_drv_t* disp_drv,
    lv_area_t* area);

static void lv_win32_mouse_driver_read_callback(
    lv_indev_drv_t* indev_drv,
    lv_indev_data_t* data);

static void lv_win32_keyboard_driver_read_callback(
    lv_indev_drv_t* indev_drv,
    lv_indev_data_t* data);

static void lv_win32_mousewheel_driver_read_callback(
    lv_indev_drv_t* indev_drv,
    lv_indev_data_t* data);

static LRESULT CALLBACK lv_win32_window_message_callback(
    HWND   hWnd,
    UINT   uMsg,
    WPARAM wParam,
    LPARAM lParam);

#if LV_VERSION_CHECK(8, 0, 0)
static void lv_win32_message_handler(
    lv_timer_t* param);
#else
static void lv_win32_message_handler(
    lv_task_t* param);
#endif

/**********************
 *  GLOBAL VARIABLES
 **********************/
static lv_coord_t monitor_x_size;
static lv_coord_t monitor_y_size;
EXTERN_C bool lv_win32_quit_signal = false;

/**********************
 *  STATIC VARIABLES
 **********************/

static HINSTANCE g_instance_handle = NULL;
static HWND g_window_handle = NULL;

static HWND g_window_button_left  = NULL;
static HWND g_window_button_right = NULL;
static HWND g_window_button_up    = NULL;
static HWND g_window_button_down  = NULL;

static HDC g_buffer_dc_handle = NULL;
static UINT32* g_pixel_buffer = NULL;
static SIZE_T g_pixel_buffer_size = 0;

static lv_disp_t* g_display = NULL;

static bool volatile g_mouse_pressed = false;
static LPARAM volatile g_mouse_value = 0;

static bool volatile g_mousewheel_pressed = false;
static int16_t volatile g_mousewheel_value = 0;

static bool volatile g_keyboard_pressed = false;
static WPARAM volatile g_keyboard_value = 0;

/**********************
 *      MACROS
 **********************/

/**********************
 *   GLOBAL FUNCTIONS
 **********************/

EXTERN_C bool lv_win32_init(
    HINSTANCE instance_handle,
    int show_window_mode,
    lv_coord_t hor_res,
    lv_coord_t ver_res,
    HICON icon_handle)
{
    WNDCLASSEXW WindowClass;

    WindowClass.cbSize = sizeof(WNDCLASSEX);

    WindowClass.style = 0;
    WindowClass.lpfnWndProc = lv_win32_window_message_callback;
    WindowClass.cbClsExtra = 0;
    WindowClass.cbWndExtra = 0;
    WindowClass.hInstance = instance_handle;
    WindowClass.hIcon = icon_handle;
    WindowClass.hCursor = LoadCursorW(NULL, IDC_ARROW);
    WindowClass.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
    WindowClass.lpszMenuName = NULL;
    WindowClass.lpszClassName = L"lv_sim_visual_studio";
    WindowClass.hIconSm = icon_handle;

    if (!RegisterClassExW(&WindowClass))
    {
        return false;
    }

    g_instance_handle = instance_handle;

    RECT NewWindowSize;

    NewWindowSize.left = 0;
    NewWindowSize.right = hor_res * WIN32DRV_MONITOR_ZOOM;
    NewWindowSize.top = 0;
    NewWindowSize.bottom = ver_res * WIN32DRV_MONITOR_ZOOM;

    monitor_x_size = NewWindowSize.right;
    monitor_y_size = NewWindowSize.bottom;

    AdjustWindowRectEx(
        &NewWindowSize,
        WINDOW_STYLE,
        FALSE,
        WINDOW_EX_STYLE);
    OffsetRect(
        &NewWindowSize,
        -NewWindowSize.left,
        -NewWindowSize.top);

    g_window_handle = CreateWindowExW(
        WINDOW_EX_STYLE,
        WindowClass.lpszClassName,
        L"LVGL Simulator for Windows Desktop",
        WINDOW_STYLE,
        CW_USEDEFAULT,
        0,
        NewWindowSize.right,
        NewWindowSize.bottom + 200,
        NULL,
        NULL,
        instance_handle,
        NULL);

    if (!g_window_handle)
    {
        return false;
    }

    // 创建←按钮
    g_window_button_left = CreateWindowExW(
        0,
        L"BUTTON",
        L"←",
        WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
        10, NewWindowSize.bottom,
        70, 40,
        g_window_handle,
        (HMENU)1,
        instance_handle,
        NULL
    );

    // 创建→按钮
    g_window_button_right = CreateWindowExW(
        0,
        L"BUTTON",
        L"→",
        WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
        10 + 100, NewWindowSize.bottom,
        70, 40,
        g_window_handle,
        (HMENU)2,
        instance_handle,
        NULL
    );

#if LV_VERSION_CHECK(8, 0, 0)
    lv_timer_create(lv_win32_message_handler, 0, NULL);
#else
    lv_task_create(lv_win32_message_handler, 0, LV_TASK_PRIO_HIGHEST, NULL);
#endif

    lv_win32_enable_child_window_dpi_message(g_window_handle);

    HDC hNewBufferDC = lv_win32_create_frame_buffer(
        g_window_handle,
        hor_res,
        ver_res,
        &g_pixel_buffer,
        &g_pixel_buffer_size);

    DeleteDC(g_buffer_dc_handle);
    g_buffer_dc_handle = hNewBufferDC;

#if LV_VERSION_CHECK(8, 0, 0)
    static lv_disp_draw_buf_t disp_buf;
    lv_disp_draw_buf_init(
        &disp_buf,
        (lv_color_t*)malloc(hor_res * ver_res * sizeof(lv_color_t)),
        NULL,
        hor_res * ver_res);

    static lv_disp_drv_t disp_drv;
    lv_disp_drv_init(&disp_drv);
    disp_drv.hor_res = hor_res;
    disp_drv.ver_res = ver_res;
    disp_drv.flush_cb = lv_win32_display_driver_flush_callback;
    disp_drv.draw_buf = &disp_buf;
    disp_drv.rounder_cb = lv_win32_display_driver_rounder_callback;
    g_display = lv_disp_drv_register(&disp_drv);

    lv_group_t * g = lv_group_create();
    lv_group_set_default(g);

    static lv_indev_drv_t indev_drv;
    lv_indev_drv_init(&indev_drv);
    indev_drv.type = LV_INDEV_TYPE_POINTER;
    indev_drv.read_cb = lv_win32_mouse_driver_read_callback;
    lv_indev_t *indev1 = lv_indev_drv_register(&indev_drv);
    lv_indev_set_group(indev1, g);

    static lv_indev_drv_t kb_drv;
    lv_indev_drv_init(&kb_drv);
    kb_drv.type = LV_INDEV_TYPE_KEYPAD;
    kb_drv.read_cb = lv_win32_keyboard_driver_read_callback;
    lv_indev_t *indev2 = lv_indev_drv_register(&kb_drv);
    lv_indev_set_group(indev2, g);

    static lv_indev_drv_t enc_drv;
    lv_indev_drv_init(&enc_drv);
    enc_drv.type = LV_INDEV_TYPE_ENCODER;
    enc_drv.read_cb = lv_win32_mousewheel_driver_read_callback;
    lv_indev_t *indev3 = lv_indev_drv_register(&enc_drv);
    lv_indev_set_group(indev3, g);
#else
    static lv_disp_buf_t disp_buf;
    lv_disp_buf_init(
        &disp_buf,
        (lv_color_t*)malloc(hor_res * ver_res * sizeof(lv_color_t)),
        NULL,
        hor_res * ver_res);

    lv_disp_drv_t disp_drv;
    lv_disp_drv_init(&disp_drv);
    disp_drv.hor_res = hor_res;
    disp_drv.ver_res = ver_res;
    disp_drv.flush_cb = lv_win32_display_driver_flush_callback;
    disp_drv.buffer = &disp_buf;
    disp_drv.rounder_cb = lv_win32_display_driver_rounder_callback;
    g_display = lv_disp_drv_register(&disp_drv);

    lv_indev_drv_t indev_drv;
    lv_indev_drv_init(&indev_drv);
    indev_drv.type = LV_INDEV_TYPE_POINTER;
    indev_drv.read_cb = lv_win32_mouse_driver_read_callback;
    lv_indev_drv_register(&indev_drv);

    lv_indev_drv_t kb_drv;
    lv_indev_drv_init(&kb_drv);
    kb_drv.type = LV_INDEV_TYPE_KEYPAD;
    kb_drv.read_cb = lv_win32_keyboard_driver_read_callback;
    lv_indev_drv_register(&kb_drv);

    lv_indev_drv_t enc_drv;
    lv_indev_drv_init(&enc_drv);
    enc_drv.type = LV_INDEV_TYPE_ENCODER;
    enc_drv.read_cb = lv_win32_mousewheel_driver_read_callback;
    lv_indev_drv_register(&enc_drv);
#endif

    ShowWindow(g_window_handle, show_window_mode);
    UpdateWindow(g_window_handle);

    return true;
}

/**********************
 *   STATIC FUNCTIONS
 **********************/

static HDC lv_win32_create_frame_buffer(
    HWND WindowHandle,
    LONG Width,
    LONG Height,
    UINT32** PixelBuffer,
    SIZE_T* PixelBufferSize)
{
    HDC hFrameBufferDC = NULL;

    if (PixelBuffer && PixelBufferSize)
    {
        HDC hWindowDC = GetDC(WindowHandle);
        if (hWindowDC)
        {
            hFrameBufferDC = CreateCompatibleDC(hWindowDC);
            ReleaseDC(WindowHandle, hWindowDC);
        }

        if (hFrameBufferDC)
        {
            BITMAPINFO BitmapInfo = { 0 };
            BitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
            BitmapInfo.bmiHeader.biWidth = Width;
            BitmapInfo.bmiHeader.biHeight = -Height;
            BitmapInfo.bmiHeader.biPlanes = 1;
            BitmapInfo.bmiHeader.biBitCount = 32;
            BitmapInfo.bmiHeader.biCompression = BI_RGB;

            HBITMAP hBitmap = CreateDIBSection(
                hFrameBufferDC,
                &BitmapInfo,
                DIB_RGB_COLORS,
                (void**)PixelBuffer,
                NULL,
                0);
            if (hBitmap)
            {
                *PixelBufferSize = Width * Height * sizeof(UINT32);
                DeleteObject(SelectObject(hFrameBufferDC, hBitmap));
                DeleteObject(hBitmap);
            }
            else
            {
                DeleteDC(hFrameBufferDC);
                hFrameBufferDC = NULL;
            }
        }
    }

    return hFrameBufferDC;
}

static BOOL lv_win32_enable_child_window_dpi_message(
    HWND WindowHandle)
{
    // This hack is only for Windows 10 only.
    if (!IsWindowsVersionOrGreater(10, 0, 0))
    {
        return FALSE;
    }

    // We don't need this hack if the Per Monitor Aware V2 is existed.
    OSVERSIONINFOEXW OSVersionInfoEx = { 0 };
    OSVersionInfoEx.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXW);
    OSVersionInfoEx.dwBuildNumber = 14393;
    if (VerifyVersionInfoW(
        &OSVersionInfoEx,
        VER_BUILDNUMBER,
        VerSetConditionMask(0, VER_BUILDNUMBER, VER_GREATER_EQUAL)))
    {
        return FALSE;
    }

    HMODULE ModuleHandle = GetModuleHandleW(L"user32.dll");
    if (!ModuleHandle)
    {
        return FALSE;
    }

    typedef BOOL(WINAPI* FunctionType)(HWND, BOOL);

    FunctionType pFunction = (FunctionType)(
        GetProcAddress(ModuleHandle, "EnableChildWindowDpiMessage"));
    if (!pFunction)
    {
        return FALSE;
    }

    return pFunction(WindowHandle, TRUE);
}

static void lv_win32_display_driver_flush_callback(
    lv_disp_drv_t* disp_drv,
    const lv_area_t* area,
    lv_color_t* color_p)
{
#if LV_COLOR_DEPTH == 32
    UNREFERENCED_PARAMETER(area);
    memcpy(g_pixel_buffer, color_p, g_pixel_buffer_size);
#else
    for (int y = area->y1; y <= area->y2; ++y)
    {
        for (int x = area->x1; x <= area->x2; ++x)
        {
            g_pixel_buffer[y * disp_drv->hor_res + x] = lv_color_to32(*color_p);
            color_p++;
        }
    }
#endif

    HDC hWindowDC = GetDC(g_window_handle);
    if (hWindowDC)
    {
        StretchBlt(
            hWindowDC,
            0,
            0,
            disp_drv->hor_res * WIN32DRV_MONITOR_ZOOM,
            disp_drv->ver_res * WIN32DRV_MONITOR_ZOOM,
            g_buffer_dc_handle,
            0,
            0,
            disp_drv->hor_res,
            disp_drv->ver_res,
            SRCCOPY);

        ReleaseDC(g_window_handle, hWindowDC);
    }

    lv_disp_flush_ready(disp_drv);
}

static void lv_win32_display_driver_rounder_callback(
    lv_disp_drv_t* disp_drv,
    lv_area_t* area)
{
    area->x1 = 0;
    area->x2 = disp_drv->hor_res - 1;
    area->y1 = 0;
    area->y2 = disp_drv->ver_res - 1;
}

static void lv_win32_mouse_driver_read_callback(
    lv_indev_drv_t* indev_drv,
    lv_indev_data_t* data)
{
    UNREFERENCED_PARAMETER(indev_drv);

    data->state = (lv_indev_state_t)(
        g_mouse_pressed ? LV_INDEV_STATE_PR : LV_INDEV_STATE_REL);
    data->point.x = GET_X_LPARAM(g_mouse_value) / WIN32DRV_MONITOR_ZOOM;
    data->point.y = GET_Y_LPARAM(g_mouse_value) / WIN32DRV_MONITOR_ZOOM;
}

static void lv_win32_keyboard_driver_read_callback(
    lv_indev_drv_t* indev_drv,
    lv_indev_data_t* data)
{
    UNREFERENCED_PARAMETER(indev_drv);

    data->state = (lv_indev_state_t)(
        g_keyboard_pressed ? LV_INDEV_STATE_PR : LV_INDEV_STATE_REL);

    WPARAM KeyboardValue = g_keyboard_value;

    switch (KeyboardValue)
    {
    case VK_UP:
        data->key = LV_KEY_UP;
        break;
    case VK_DOWN:
        data->key = LV_KEY_DOWN;
        break;
    case VK_LEFT:
        data->key = LV_KEY_LEFT;
        break;
    case VK_RIGHT:
        data->key = LV_KEY_RIGHT;
        break;
    case VK_ESCAPE:
        data->key = LV_KEY_ESC;
        break;
    case VK_DELETE:
        data->key = LV_KEY_DEL;
        break;
    case VK_BACK:
        data->key = LV_KEY_BACKSPACE;
        break;
    case VK_RETURN:
        data->key = LV_KEY_ENTER;
        break;
    case VK_NEXT:
        data->key = LV_KEY_NEXT;
        break;
    case VK_PRIOR:
        data->key = LV_KEY_PREV;
        break;
    case VK_HOME:
        data->key = LV_KEY_HOME;
        break;
    case VK_END:
        data->key = LV_KEY_END;
        break;
    default:
        if (KeyboardValue >= 'A' && KeyboardValue <= 'Z')
        {
            KeyboardValue += 0x20;
        }

        data->key = (uint32_t)KeyboardValue;

        break;
    }
}

static void lv_win32_mousewheel_driver_read_callback(
    lv_indev_drv_t* indev_drv,
    lv_indev_data_t* data)
{
    UNREFERENCED_PARAMETER(indev_drv);

    data->state = (lv_indev_state_t)(
        g_mousewheel_pressed ? LV_INDEV_STATE_PR : LV_INDEV_STATE_REL);
    data->enc_diff = g_mousewheel_value;
    g_mousewheel_value = 0;
}

static LRESULT CALLBACK lv_win32_window_message_callback(
    HWND   hWnd,
    UINT   uMsg,
    WPARAM wParam,
    LPARAM lParam)
{
    switch (uMsg)
    {
    case WM_MOUSEMOVE:
    case WM_LBUTTONDOWN:
    case WM_LBUTTONUP:
    case WM_MBUTTONDOWN:
    case WM_MBUTTONUP:
    {
        //模拟区域的鼠标事件才传入
        if((GET_X_LPARAM(lParam) < monitor_x_size)
                && (GET_Y_LPARAM(lParam) < monitor_y_size))
        {
            g_mouse_value = lParam;
            if (uMsg == WM_LBUTTONDOWN || uMsg == WM_LBUTTONUP)
            {
                g_mouse_pressed = (uMsg == WM_LBUTTONDOWN);
            }
            else if (uMsg == WM_MBUTTONDOWN || uMsg == WM_MBUTTONUP)
            {
                g_mousewheel_pressed = (uMsg == WM_MBUTTONDOWN);
            }            
        }

        if (ChildWindowFromPoint(hWnd, (POINT){ LOWORD(lParam), HIWORD(lParam) }) == GetDlgItem(hWnd, 1))
        {
            //isButtonDown = TRUE;
            // 发送自定义消息给按钮,使其进入按下状态
            SendMessage(GetDlgItem(hWnd, 1), BM_SETSTATE, (WPARAM)TRUE, 0);
            MessageBox(hWnd, L"Button pressed!", L"Info", MB_OK);
        }

        return 0;
    }
    case WM_KEYDOWN:
    case WM_KEYUP:
    {
        g_keyboard_pressed = (uMsg == WM_KEYDOWN);
        g_keyboard_value = wParam;
        break;
    }
    case WM_MOUSEWHEEL:
    {
        g_mousewheel_value = -(GET_WHEEL_DELTA_WPARAM(wParam) / WHEEL_DELTA);
        break;
    }
    case WM_DPICHANGED:
    {
        LPRECT SuggestedRect = (LPRECT)lParam;

        SetWindowPos(
            hWnd,
            NULL,
            SuggestedRect->left,
            SuggestedRect->top,
            SuggestedRect->right,
            SuggestedRect->bottom,
            SWP_NOZORDER | SWP_NOACTIVATE);

        RECT ClientRect;
        GetClientRect(hWnd, &ClientRect);

#if LV_VERSION_CHECK(8, 0, 0)
        int WindowWidth = g_display->driver->hor_res;
        int WindowHeight = g_display->driver->ver_res;
#else
        int WindowWidth = g_display->driver.hor_res;
        int WindowHeight = g_display->driver.ver_res;
#endif

        SetWindowPos(
            hWnd,
            NULL,
            SuggestedRect->left,
            SuggestedRect->top,
            SuggestedRect->right + (WindowWidth - ClientRect.right),
            SuggestedRect->bottom + (WindowHeight - ClientRect.bottom),
            SWP_NOZORDER | SWP_NOACTIVATE);

        break;
    }
    case WM_DESTROY:
        PostQuitMessage(0);
        break;
    default:
        return DefWindowProcW(hWnd, uMsg, wParam, lParam);
    }

    return 0;
}

#if LV_VERSION_CHECK(8, 0, 0)
static void lv_win32_message_handler(
    lv_timer_t* param)
#else
static void lv_win32_message_handler(
    lv_task_t* param)
#endif
{
    UNREFERENCED_PARAMETER(param);

    MSG Message;
    BOOL Result = PeekMessageW(&Message, NULL, 0, 0, TRUE);
    if (Result != 0 && Result != -1)
    {
        TranslateMessage(&Message);
        DispatchMessageW(&Message);

        if (Message.message == WM_QUIT)
        {
            lv_win32_quit_signal = true;
        }
    }
}

#endif /*USE_WIN32DRV*/

2024-11-01_171055.png

#183 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 开发者遇到的USB转TTL串口的小坑坑 » 2024-10-26 11:09:46

memory
回复: 1

以前买的是这个 id=636315097583
发现总是出现一些奇怪的问题,后来我朋友告诉我因为这个串口模块是5V的,目标主板是3V3的,所以会出现兼容性问题。

后来买了这个 id=816399928095,终于解决了这个问题,而且这个可以用拨码开关切换3V3和5V0电平。

#184 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL 的 lv_demo_music 主界面上拉是怎么实现的? » 2024-10-25 21:10:51

void lv_test()
{
    lv_obj_t* main_cont = lv_obj_create(lv_scr_act());

    lv_obj_set_size(main_cont, lv_pct(100), lv_pct(100));

    /*Create a container for the player*/
    lv_obj_t * player = lv_obj_create(main_cont);

    lv_obj_set_y(player, - LV_DEMO_MUSIC_HANDLE_SIZE);

    lv_obj_set_size(player, LV_HOR_RES, LV_VER_RES + LV_DEMO_MUSIC_HANDLE_SIZE * 2);
}

跟踪了半天,是这样吗?

#187 Re: 全志 SOC » 全志的参考电路在哪里下载 » 2024-10-17 15:49:46

freedombye 说:

全志T113I芯片的参考电路在哪里下载

T113-i Hardware硬件类文档.7z

#189 Re: 全志 SOC » 全志a20可不可以接8位并口的8080 CPU屏?如果可以的话接口怎么连接? » 2024-10-01 10:36:43

@memory

disp_al.c 的

static struct lcd_clk_info clk_tbl[] = {
	{LCD_IF_HV, 16, 1, 1, 0},
	{LCD_IF_CPU, 28, 1, 1, 0},
	{LCD_IF_LVDS, 7, 1, 1, 0},
#if defined(DSI_VERSION_40)
	{LCD_IF_DSI, 4, 1, 4, 150000000},
#else
	{LCD_IF_DSI, 4, 1, 4, 0},
#endif /*endif DSI_VERSION_40 */
};

LCD_IF_CPU 得改成 28 左右

#190 Re: 全志 SOC » mpv 切换声卡 » 2024-09-29 20:54:53

mpv --no-video  --ao=alsa --audio-device='alsa/sysdefault:CARD=snddaudio0' --audio-format=s16 --audio-samplerate=48000 /opt/今天.wav


mpv --no-video  --ao=alsa --audio-device='alsa/sysdefault:CARD=sndspdif' --audio-format=s16 --audio-samplerate=48000 /opt/今天.wav

#191 Re: 全志 SOC » AXP2101 PMU 资料 » 2024-09-23 11:33:25

Tina_Linux_PMU_开发指南.pdf

读AXP2101全部寄存器:

cat /sys/kernel/debug/regmap/1-0034/registers
# cat /sys/kernel/debug/regmap/1-0034/registers
00: 38
01: 33
02: 00
03: 4a
04: 00
05: 00
06: 00
07: 00
08: 04
09: 00
0a: 00
0b: 00
0c: 00
0d: 00
0e: 00
0f: 00
10: 34
11: 00
12: 00
13: 03
14: 65
15: 06
16: 05
17: 00
18: 0a
19: 06
1a: a5
1b: 00
1c: 00
1d: 00
1e: 09
1f: 00
20: 01
21: 01
22: 06
23: 3f
24: 00
25: 1b
26: 08
27: 10
28: 00
29: 00
2a: 00
2b: 00
2c: 00
2d: 00
2e: 00
2f: 00
30: 03
31: 00
32: 00
33: 00
34: 50
35: 6a
36: 80
37: 00
38: 00
39: 00
3a: 00
3b: 00
3c: 00
3d: 00
3e: 00
3f: 00
40: cf
41: f3
42: 18
43: 00
44: 00
45: 00
46: 00
47: 00
48: 10
49: 00
4a: 00
4b: 00
4c: 00
4d: 00
4e: 00
4f: 00
50: 10
51: 00
52: 02
53: 01
54: 29
55: 58
56: 3e
57: 4c
58: 00
59: 14
5a: 37
5b: 1e
5c: 02
5d: 58
5e: 00
5f: 00
60: 02
61: 04
62: 0b
63: 12
64: 03
65: 02
66: 01
67: e6
68: 01
69: 00
6a: 03
6b: 00
6c: 00
6d: 00
6e: 00
6f: 00
70: 00
71: 00
72: 00
73: 00
74: 00
75: 00
76: 00
77: 00
78: 00
79: 00
7a: 00
7b: 00
7c: 00
7d: 00
7e: 00
7f: 00
80: 0f
81: 00
82: 12
83: 28
84: 28
85: 3c
86: 00
87: 00
88: 00
89: 00
8a: 00
8b: 00
8c: 00
8d: 00
8e: 00
8f: 00
90: 93
91: 00
92: 0d
93: 17
94: 1c
95: 18
96: 0d
97: 17
98: 08
99: 00
9a: 0e
9b: 00
9c: 00
9d: 00
9e: 00
9f: 00
a0: 00
a1: 00
a2: 10
a3: 58
a4: 62
a5: 00
a6: 00
a7: 51
a8: 00
a9: 01
aa: 00
ab: 03
ac: 00
ad: 00
ae: 00
af: 00
b0: 00
b1: 00
b2: 00
b3: 00
b4: 00
b5: 00
b6: 00
b7: 00
b8: 00
b9: 00
ba: 00
bb: 00
bc: 00
bd: 00
be: 00
bf: 00
c0: 00
c1: 00
c2: 00
c3: 00
c4: 00
c5: 00
c6: 00
c7: 00
c8: 00
c9: 00
ca: 00
cb: 00
cc: 00
cd: 00
ce: 00
cf: 00
d0: 00
d1: 00
d2: 00
d3: 00
d4: 00
d5: 00
d6: 00
d7: 00
d8: 00
d9: 00
da: 00
db: 00
dc: 00
dd: 00
de: 00
df: 00
e0: 00
e1: 00
e2: 00
e3: 00
e4: 00
e5: 00
e6: 00
e7: 00
e8: 00
e9: 00
ea: 00
eb: 00
ec: 00
ed: 00
ee: 00
ef: 00
f0: 00
f1: 00
f2: 00
f3: 00
f4: 00
f5: 00
f6: 00
f7: 00
f8: 00
f9: 00
fa: 00
fb: 00
fc: 00
fd: 00
fe: 00
ff: 00
#

读所有电压 cat /sys/kernel/debug/regulator/regulator_summary

# cat /sys/kernel/debug/regulator/regulator_summary
 regulator                      use open bypass voltage current     min     max
-------------------------------------------------------------------------------
 regulator-dummy                  0    7      0     0mV     0mA     0mV     0mV
    1-005d                                                          0mV     0mV
    codec                                                           0mV     0mV
    codec                                                           0mV     0mV
    5200000.ohci1-controller                                        0mV     0mV
    5200000.ehci1-controller                                        0mV     0mV
    uart1                                                           0mV     0mV
    twi1                                                            0mV     0mV
 usb1-vbus                        0    0      0  5000mV     0mA  5000mV  5000mV
 vdd_3v3                          0    0      0  3300mV     0mA  3300mV  3300mV
 axp2101-dcdc1                    0    1      0  3300mV     0mA  1500mV  3400mV
    reg-virt-consumer.1                                             0mV     0mV
 axp2101-dcdc2                    0    1      0   900mV     0mA   500mV  1540mV
    reg-virt-consumer.2                                             0mV     0mV
 axp2101-dcdc3                    0    1      0   900mV     0mA   500mV  3400mV
    reg-virt-consumer.3                                             0mV     0mV
 axp2101-dcdc4                    0    1      0  1100mV     0mA   500mV  1840mV
    reg-virt-consumer.4                                             0mV     0mV
 axp2101-dcdc5                    0    1      0  1400mV     0mA  1400mV  3700mV
    reg-virt-consumer.5                                             0mV     0mV
 axp2101-rtcldo                   0    0      0  1800mV     0mA  1800mV  1800mV
 axp2101-rtcldo1                  0    0      0  1800mV     0mA  1800mV  1800mV
 axp2101-aldo1                    0    1      0  1800mV     0mA   500mV  3500mV
    reg-virt-consumer.8                                             0mV     0mV
 axp2101-aldo2                    1    2      0  2800mV     0mA   500mV  3500mV
    uart0                                                           0mV     0mV
    reg-virt-consumer.9                                             0mV     0mV
 axp2101-aldo3                    0    1      0  3300mV     0mA   500mV  3500mV
    reg-virt-consumer.10                                            0mV     0mV
 axp2101-aldo4                    0    1      0  2900mV     0mA   500mV  3500mV
    reg-virt-consumer.11                                            0mV     0mV
 axp2101-bldo1                    0    1      0  1800mV     0mA   500mV  3500mV
    reg-virt-consumer.12                                            0mV     0mV
 axp2101-bldo2                    0    1      0  2800mV     0mA   500mV  3500mV
    reg-virt-consumer.13                                            0mV     0mV
 axp2101-dldo1                    0    1      0   500mV     0mA   500mV  3500mV
    reg-virt-consumer.14                                            0mV     0mV
 axp2101-dldo2                    0    1      0  1200mV     0mA   500mV  1400mV
    reg-virt-consumer.15                                            0mV     0mV
 axp2101-cpusldo                  0    0      0   900mV     0mA   500mV  1400mV
#
# cat /sys/devices/platform/soc/twi1/i2c-1/1-0034/reg-virt-consumer.1/of_node/name
virtual-dcdc1
#
#
# cat /sys/devices/platform/soc/twi1/i2c-1/1-0034/reg-virt-consumer.2/of_node/name
virtual-dcdc2
#
#
# cat /sys/devices/platform/soc/twi1/i2c-1/1-0034/reg-virt-consumer.3/of_node/name
virtual-dcdc3
#
#
# cat /sys/devices/platform/soc/twi1/i2c-1/1-0034/reg-virt-consumer.4/of_node/name
virtual-dcdc4
#
#
# cat /sys/devices/platform/soc/twi1/i2c-1/1-0034/reg-virt-consumer.5/of_node/name
virtual-dcdc5
#
#
#

按键测试:

# evtest /dev/input/event1
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "axp2101-pek"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 116 (KEY_POWER)
Key repeat handling:
  Repeat type 20 (EV_REP)
    Repeat code 0 (REP_DELAY)
      Value    250
    Repeat code 1 (REP_PERIOD)
      Value     33
Properties:
Testing ... (interrupt to exit)
Event: time 5636.684675, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 5636.684675, -------------- SYN_REPORT ------------
Event: time 5636.867305, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 5636.867305, -------------- SYN_REPORT ------------
Event: time 5637.060484, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 5637.060484, -------------- SYN_REPORT ------------
Event: time 5637.204751, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 5637.204751, -------------- SYN_REPORT ------------
Event: time 5637.352375, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 5637.352375, -------------- SYN_REPORT ------------
Event: time 5637.490476, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 5637.490476, -------------- SYN_REPORT ------------
Event: time 5637.690817, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 5637.690817, -------------- SYN_REPORT ------------
Event: time 5637.809573, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 5637.809573, -------------- SYN_REPORT ------------

配置DC-DC1电压:

# cd /sys/devices/platform/soc/twi1/i2c-1/1-0034/reg-virt-consumer.1/

//设置输出电压为3.0V
echo 3300000 > max_microvolts
echo 3000000 > min_microvolts
//关闭输出
echo 3300000 > max_microvolts
echo 3000000 > min_microvolts
echo 0 > min_microvolts

获取电池电压:

# cat /sys/class/power_supply/battery/voltage_now
4153000
#
#
#
#
#
# cat /sys/class/power_supply/battery/voltage_now
4153000
#

查询电池是否正在充电:

# cat /sys/class/power_supply/battery/status
Charging
#
#
# cat /sys/class/power_supply/battery/status
Discharging
#

显示电量:

# cat /sys/class/power_supply/battery/capacity
100
#

显示电池温度:
[code]
# cat /sys/class/power_supply/battery/temp
300
[/code]

#200 Re: 全志 SOC » Qt5 QListView 动态加载数据 » 2024-09-16 21:28:35

https://blog.csdn.net/qq_41359157/article/details/125163480

要实现手机类似手指滑动效果,或者其他触控屏滑动效果,需要在QTableWidget、QTableView、QListWidget、QListView控件基础上添加:

QScroller *pScroller = QScroller::scroller(listview);
pScroller->grabGesture(listview,QScroller::LeftMouseButtonGesture);
//  垂直方向按照像素的形式来滑动
listview->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
// 水平滑动条按照像素来滑动
// listview->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
// listview->setVerticalScrollMode(QListWidget::ScrollPerPixel);

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn