导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. whycan
    3. 帖子
    • 资料
    • 关注 0
    • 粉丝 68
    • 我的积分 57183
    • 主题 101
    • 帖子 2104
    • 最佳 204
    • 群组 1

    whycan 发布的帖子

    • 回复: 关于Maix-II-Dock(v831)的一些问题

      @joeydeng
      贴全部日志看看

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: F1C200s无线网卡问题源码编译?

      @kashine
      可以,但也不是每个版本都行。

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: F1C200s无线网卡问题源码编译?

      @kashine
      这个只是不同公司或组织出品的gcc toolchain的前缀而已,不用太在意.

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: 请问全志的镜像可以dd制作是什么意思呢?

      @kelsey
      全志官方的tina一般不这么玩,开源Linux(树莓派社区)一般用这种玩法.

      请参考这个链接: bing

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: 请问全志的镜像可以dd制作是什么意思呢?

      linux的命令行dd 相当于 win32diskimager

      可以把设备(硬盘/TF卡/FLASH)数据原样读出成文件,也可以原样写回这些设备上去.

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: sunxi-tool具体作用是什么?F1C200s & SD卡,能否使用这个工具?

      @kashine
      不用谢,还可以参考这个帖子:V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: sunxi-tool具体作用是什么?F1C200s & SD卡,能否使用这个工具?

      @kashine

      1. 可以
      2. 是的
      3. 直接下载到TF卡执行吧:成功在f1c100s上运行debian系统
      发布在 Linux
      whycan
      whycan晕哥
    • 回复: sunxi-tool具体作用是什么?F1C200s & SD卡,能否使用这个工具?

      sunxi-fel 是 sunxi-tools 的其中一个工具.

      需要PE2上拉做USB device模式

      不需要

      每次上电都需要重新下载uboot、zImage、dtb、rootfs

      如果是通过 sunxi-fel 下载到ddr,那复位当然都没有了,需要重新下载.

      对于只有64MDDR1内存的F1C200s来说(无交换分区),无法跑Debian

      可以开辟swap分区

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: F1C200s移植tslib触摸测试库报错

      @kashine 在 F1C200s移植tslib触摸测试库报错 中说:

      arm-linux-gnueabi

      大概率是工具链的原因,估计是里面有arm9不支持的指令,buildroot用这个工具链编译出来的文件系统,F1C100s同样不执行.

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: F1C200s移植tslib触摸测试库报错

      参考这个:

      成功在f1c100s上运行debian系统

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: T113 emmc启动,挂载rootfs失败

      @xucw15990192241 在 T113 emmc启动,挂载rootfs失败 中说:

      [ 2.249963] sun8iw20-pinctrl 2000000.pinctrl: pin PC2 already requested by 4025000.spi; cannot claim for 4022000.sdmmc
      [ 2.261942] sun8iw20-pinctrl 2000000.pinctrl: pin-66 (4022000.sdmmc) status -22
      [ 2.270096] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 66 (PC2) from group PC2 on device 2000000.pinctrl
      [ 2.282043] sunxi-mmc 4022000.sdmmc: Error applying setting, reverse things back
      [ 2.290332] sunxi-mmc: probe of 4022000.sdmmc failed with error -22

      需要先解决这个问题.

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: V3S 5.4找不到fb0节点

      @beiyi

      参考这个帖子(V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

      主线Linux用drm或者simplefb驱动显示屏.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 调试 t113_whycanpii-tina 方案的 mipi 显示问题

      @justyu666
      可能C库不一致,上面SDK里面有一个是 glibc, 有一个是musl。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: A133 longan 平台 RT8723DS WIFI 测试

      扫描:

      wpa_cli -iwlan0 scan
      

      读取扫描接口:

      wpa_cli -iwlan0 scan_result
      
      root@dragonboard:~#
      root@dragonboard:~# wpa_cli -iwlan0 scan
      OK
      root@dragonboard:~#
      root@dragonboard:~#
      root@dragonboard:~# wpa_cli -iwlan0 scan_result
      bssid / frequency / signal level / flags / ssid
      c8:bf:4c:d5:43:88       2412    -63     [ESS]   Xiaomi_C12D_3ED2
      72:3d:d6:25:ac:3b       2462    -70     [WPA2-PSK-CCMP][ESS]    whycan
      
      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: A133 longan 平台 RT8723DS WIFI 测试

      @casojie
      如果热点一直还在,感觉是驱动的bug.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: A133 longan 平台 RT8723DS WIFI 测试

      微信图片_20230112123513.png

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • A133 longan 平台 RT8723DS WIFI 测试

      ① 新建 /etc/wpa_supplicant.conf:

      ctrl_interface=/var/run/wpa_supplicant
      ctrl_interface_group=0
      ap_scan=1
      network={
          ssid="whycan"
          psk="13800138000"
      }
      

      ② 安装驱动:

      insmod /lib/modules/4.9.170/8723ds.ko
      

      ③ 运行:

      wpa_supplicant -D nl80211 -i wlan0 -c/etc/wpa_supplicant.conf -B
      

      ④ 执行:

      udhcpc -i wlan0
      
      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: D1s晶振不起振问题

      @litengos

      肚子底下那一大块是芯片唯一的一个数字地,你说有没有影响?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s晶振不起振问题

      @litengos
      复位电平正常吗?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s晶振不起振问题

      检查PLL供电,复位电平,

      另外是怎么确定不起振的?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

      先解决 0.8V问题,外部不正常如何判断当前电路状态.

      淘宝上面有MCP2515模块,要不要买个试一试?

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: D1H网络不通

      @wjx163208
      拔插网线的时候串口终端有调试信息输出吗?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1H网络不通

      @wjx163208
      接个路由器试一试路由器的网络灯亮不亮, udhcpc -i eth0 能不能获取IP

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

      90172463-e542-4388-8aac-1d3d018c6ea7-image.png

      bb69e99d-3086-48b2-8c88-ef4c880df6b4-image.png

      建议看下电源是不是应该3V3,有没有正常复位,最好去淘宝下单买个萝莉分析仪,过几天有钱都买不到了.

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

                                      pinctrl-names = "default";
                                      pinctrl-0 = <&mcp2515_int0>;
      

      这两行删了试一试

      有没有逻辑分析仪?

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

      mcp2515 和 dh2228fv 的 cs# 引脚是同一个吗?

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

      			spi_board1 {
      				device_type = "spi_board1";
      				compatible = "rohm,dh2228fv";
      				spi-max-frequency = <0x5f5e100>;
      				reg = <0x0>;
      				spi-rx-bus-width = <0x1>;
      				spi-tx-bus-width = <0x1>;
                                      status = "okay";
      			};
      

      这个能检测到吗?

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: 芒果t113编译SDK和全志D1-H编译SDK提示Signing key has not been configured

      @justyu666

      没有遇到过,

      或许可以试一试网盘里面的虚拟机:

      https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

      3e549d76-d38b-4645-a735-24d03aaf7e46-image.png

      这里确认没问题吗?

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: T507使用mcp2515转CAN问题

      @gawaine

      https://mariadb.com/kb/en/operating-system-error-codes/

      19 ENODEV No such device

      看下 dts 怎么写的.

      发布在 飞凌嵌入式专区
      whycan
      whycan晕哥
    • 回复: 调试 t113_whycanpii-tina 方案的 mipi 显示问题

      @jr_online

      百度网盘:
      https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 试一试用 全志 AIC800 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏

      @apollo5520 在 试一试用 全志 AIC800 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏 中说:

      大佬,最近也在搞A133的双屏显示,MIPI+单8LVDS,单个屏幕都可以了,双屏怎么都没配好,能分享一下这个双屏显示的dts文件不?
      谢谢!

      A133/R818 都不能双显,PD(LCD0)/PJ(LCD1)组都引出来的T509可以双显。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 调试 t113_whycanpii-tina 方案的 mipi 显示问题

      @justyu666

      看提示:

      lv_examples 0
      lv_examples 1
      lv_examples 2
      lv_examples 3
      lv_examples 4
      
      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: V853 LVGL使用TP,屏幕中间控件无法响应

      @jonli_aw
      那可能触摸屏坏了。

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: F1C200s使用panel simple点亮屏幕白屏问题?

      @kashine
      mainline linux 哪个版本能用就建议先用着那个版本.

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: V853 LVGL使用TP,屏幕中间控件无法响应

      或者再试一试这个固件:

      哪吒D1开发板 LVGL7 源码下载(带git仓库)
      https://bbs.aw-ol.com/topic/303/share/35

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: V853 LVGL使用TP,屏幕中间控件无法响应

      @jonli_aw

      一个简单的LVGL仪表demo@V853官方开发板
      https://bbs.aw-ol.com/topic/2762/share/3

      试一试这个固件

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 试一试用 全志 AIC800 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏

      @whycan 在 试一试用 全志 AIC800 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏 中说:

      @uuuuid 在 试一试用 全志 A133 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏 中说:

      看了一些资料, A133的显示屏在同一组GPIO上, 要想异显可能有点困难?

      反复观摩A133手册和其他pdf,想用PD一组实现双屏异显,基本不太可能.

                      disp: disp@06000000 {
                              disp_init_enable         = <1>;
                              disp_mode                = <0>;
      
                              screen0_output_type      = <1>;
                              screen0_output_mode      = <4>;
      
                              screen0_output_format    = <0>;
                              screen0_output_bits      = <0>;
                              screen0_output_eotf      = <4>;
                              screen0_output_cs        = <257>;
                              screen0_output_dvi_hdmi  = <2>;
                              screen0_output_range     = <2>;
                              screen0_output_scan      = <0>;
                              screen0_output_aspect_ratio = <8>;
      
                              screen1_output_type      = <1>;
                              screen1_output_mode      = <4>;
      
                              screen1_output_format    = <0>;
                              screen1_output_bits      = <0>;
                              screen1_output_eotf      = <4>;
                              screen1_output_cs        = <257>;
                              screen1_output_dvi_hdmi  = <2>;
                              screen1_output_range     = <2>;
                              screen1_output_scan      = <0>;
                              screen1_output_aspect_ratio = <8>;
      
                              dev0_output_type         = <1>;
                              dev0_output_mode         = <4>;
                              dev0_screen_id           = <0>;
                              dev0_do_hpd              = <0>;
      
                              dev1_output_type         = <1>;
                              dev1_output_mode         = <4>;
                              dev1_screen_id           = <1>;
                              dev1_do_hpd              = <1>;
      
                              def_output_dev           = <0>;
                              hdmi_mode_check          = <1>;
      
                              fb0_format               = <0>;
                              fb0_width                = <1024>;
                              fb0_height               = <600>;
      
                              fb1_format               = <0>;
                              fb1_width                = <1024>;
                              fb1_height               = <600>;
                              chn_cfg_mode             = <1>;
      
                              disp_para_zone           = <1>;
                              /*VCC-LCD*/
                              dc1sw-supply = <>;
                              /*VCC-DSI*/
                              eldo3-supply = <>;
                              /*VCC-PD*/
                              dcdc1-supply = <>;
                              status        = "okay";
                      };
      
                      lcd0: lcd0@01c0c000 {
                              lcd_used            = <1>;
      
                              lcd_driver_name     = "default_lcd";
                              lcd_backlight       = <255>;
                              lcd_if              = <3>;
      
                              lcd_x               = <1024>;
                              lcd_y               = <600>;
                              lcd_width           = <155>;
                              lcd_height          = <86>;
                              lcd_dclk_freq       = <66>;
      
                              lcd_pwm_used        = <1>;
                              lcd_pwm_ch          = <3>; //PD21 pwm3
                              lcd_pwm_freq        = <50000>;
                              lcd_pwm_pol         = <1>;
                              lcd_pwm_max_limit   = <255>;
      
                              lcd_hbp             = <230>;
                              lcd_ht              = <1400>;
                  lcd_hspw            = <130>;
                  lcd_vbp             = <100>;
                  lcd_vt              = <786>;
                  lcd_vspw            = <1>;
      
                              lcd_lvds_if         = <2>;
                              lcd_lvds_colordepth = <0>;
                              lcd_lvds_mode       = <0>;
                              lcd_frm             = <1>;
                              lcd_hv_clk_phase    = <0>;
                              lcd_hv_sync_polarity= <0>;
                              lcd_io_phase        = <0x0001>;
                              lcd_gamma_en        = <0>;
                              lcd_bright_curve_en = <0>;
                              lcd_cmap_en         = <0>;
      //                      lcd_fsync_en        = <1>;
      //                      lcd_fsync_act_time  = <1000>;
      //                      lcd_fsync_dis_time  = <1000>;
      //                      lcd_fsync_pol       = <0>;
      
      //                      deu_mode            = <0>;
      //                      lcdgamma4iep        = <22>;
      //                      smart_color         = <90>;
      
      //                      lcd_pin_power;
      //                      lcd_power;
      
                              lcd_gpio_0 = <&pio PB 8 1 1 3 1>; //PB8 GM8284
                              lcd_gpio_1 = <&pio PH 12 1 1 3 1>; //PH12 PANEL POWER
      
                              pinctrl-0 = <&lvds1_pins_c>;
                              pinctrl-1 = <&lvds1_pins_d>;
                              status = "okay";
                      };
      

      上面是两个单8LVDS 同显,单8 LVDS异显感觉没法实现了.

      至于MIPI + 单8LVDS 异显,得再测一测才行.

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 试一试用 全志 AIC800 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏

      @uuuuid 在 试一试用 全志 A133 LCD0 PD0-PD9 驱动 15寸的LVDS电脑显示屏 中说:

      看了一些资料, A133的显示屏在同一组GPIO上, 要想异显可能有点困难?

      反复观摩A133手册和其他pdf,想用PD一组实现双屏异显,基本不太可能.

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 系统突然起不来了

      https://mariadb.com/kb/en/operating-system-error-codes/

      error 2 ENOENT No such file or directory

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: 芒果t113编译SDK和全志D1-H编译SDK提示Signing key has not been configured

      @justyu666
      source build/envsetup.sh
      lunch

      都执行了吗?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: V853 LVGL使用TP,屏幕中间控件无法响应

      bf2d3663-c2a3-47c5-a190-a480473e0234-image.png

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: V853 LVGL使用TP,屏幕中间控件无法响应

      替换这个文件 kernel/linux-4.9/drivers/input/touchscreen/gslx680new/gslX680_3680.h

      gslX680_3680.h

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: D1H网络不通

      @wjx163208
      接路由器可以获取ip吗?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 哪位有T113S3驱动mipi屏幕代码吗

      分享T113资料,百度网盘:
      https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol
      提取码:awol

      这sdk里面都是mipi显示屏

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 芒果t113编译SDK和全志D1-H编译SDK提示Signing key has not been configured

      @justyu666
      执行了什么命令?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: A133 芯片 io 调试

      cat /sys/kernel/debug/pwm

      root@dragonboard:/sys/kernel/debug/dispdbg# cat /sys/kernel/debug/pwm
      platform/300a000.pwm, 16 PWM devices
       pwm-0   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-1   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-2   (lcd                 ): requested period: 20000 ns duty: 7812 ns polarity: normal
       pwm-3   (lcd                 ): requested enabled period: 20000 ns duty: 19922 ns polarity: inverse
       pwm-4   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-5   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-6   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-7   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-8   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-9   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-10  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-11  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-12  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-13  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-14  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
       pwm-15  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
      
      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: V851s 修改spi nand flash 无法挂载根文件系统

      @yuwei
      请问是从哪个 flash 换成 哪个 flash 呢?

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: RMII接口调试全志的外置PHY网口时,tx-delay,rx-delay参数怎么填?

      参考: d1-tina-linux-emac-开发指南.pdf

      (8)”tx-delay” tx 时钟延迟,tx-delay 取值 0-7,一档约 536ps(皮秒);

      (9)”rx-delay ” rx 时钟延迟,rx-delay 取值 0-31,一档约 186ps(皮秒);

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: RMII接口调试全志的外置PHY网口时,tx-delay,rx-delay参数怎么填?

      可以参考D1哪吒的SDK,这个用1G 的phy芯片。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 关于D1的SPI通讯问题

      @jxzhb 是不是 spi_dbi_enable的问题呢?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: V851s 修改spi nand flash 无法挂载根文件系统

      @yuwei

      从 spi nor 到 spi nand 你改了哪些呢?

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 关于修改 A40i BROM

      BROM不开源,并且不能修改。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: buildroot构建的镜像为什么没有了wifi

      @zealsoft
      是buildroot官网下载的buildroot吗?

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 两路uvc预览

      @cola123456

      收到你的信息.

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: A133 Android USB摄像头无法使用,请问是什么问题?

      @cola123456
      可以发个帖子说一下一路 uvc怎么出来的吗?我这边找小伙伴重现问题试一试。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: A133 Android USB摄像头无法使用,请问是什么问题?

      @cola123456
      抱歉,失败了,但是手机是可以用的。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 请问spi-nand的型号是什么?

      楼主想问什么?
      D1哪吒官方开发板用 MX35LF2GE4AD-Z4I
      也可以使用华邦 W25N01/W25N02

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      7c9f68d5-224b-4edb-9f8a-9d2b11986785-image.png

      左边是非安全固件启动日志,右边是安全固件启动日志.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: V853有线网络无法连接

      @negro
      应该是当时网络有问题,多执行几次 udhcpc -i eth0 直到获取IP成功。

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: V853不使用以太网收发器,直接接芯片的PHY

      @negro

      V853/V853S/V851S 由于某些原因都没有EPHY功能,

      只有V851SE有EPHY。

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: uboot下执行key_test adc_driver,发现例程里gpadc检测不到按键

      @pengjunchao
      我这边测试也是 -1

      打印寄存器也是对的

      => key_test adc_driver
      GP_CTRL = 0x2009004
      gpadc read volxxxxxx:  -1
      gpadc read volxxxxxx:  -1
      gpadc read volxxxxxx:  -1
      
      发布在 V Series
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      写入 rotpk.bin 前后比较:

      => md.b 0x03006000
      03006000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006060: c5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006090: 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    $...............
      030060a0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006120: a3 00 00 00 9c 00 00 00 ad 00 00 00 2c 00 00 00    ............,...
      03006130: 87 00 00 00 59 00 00 00 b8 00 00 00 c5 00 00 00    ....Y...........
      03006140: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006200: 00 78 c0 62 20 48 00 2c 4c 04 43 01 cc 15 6c 50    .x.b H.,L.C...lP
      03006210: 00 00 00 00 f5 d0 96 71 49 97 8d 00 19 13 d4 0f    .......qI.......
      03006220: bb 0d af 12 00 60 06 81 16 13 69 00 00 00 00 00    .....`....i.....
      03006230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006660: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006670: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006690: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030067a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030067b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030067c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030067d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030067e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030067f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006810: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030068a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030068b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030068c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030068d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030068e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030068f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030069a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030069b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030069c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030069d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030069e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030069f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006a90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006aa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ab0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ac0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ad0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ae0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006af0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006b90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ba0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006bb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006bc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006bd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006be0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006bf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006c90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ca0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006cb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006cc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006cd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006ce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006cf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006d90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006da0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006db0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006dc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006dd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006de0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006df0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006e70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      

      91cb6f35-8b1f-4c57-b47e-7b4697550d38-image.png

      SID_RDKEY 和 SID_ROTPK_CTRL 受到影响.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录
      [110]HELLO! SBOOT is starting!
      [112]sboot commit : 4b419f21ba
      [116]PMU: AXP21
      [119]set pll start
      [121]periph0 has been enabled
      [124]set pll end
      [126]board init ok
      [127]rtc[0] value = 0x80000002
      [130]DRAM use external ZQ!!
      [133]chip id check OK
      [135]DRAM_VCC set to 1500 mv
      [138]DRAM BOOT DRIVE INFO: V0.16
      [141]DRAM CLK = 936 MHz
      [143]DRAM Type = 3 (2:DDR2,3:DDR3)
      [147]DRAMC ZQ value: 0x7b7bfb
      [149]DRAM ODT value: 0x42.
      [153]DRAM SIZE =512 M
      [155]dram_tpr4:0x0
      [158]DRAM simple test OK.
      [160]rtc standby flag is 0x0, super standby flag is 0x0
      [166]dram size =512
      [168]audio:avcc calibration
      [170][mmc]: mmc driver ver 2021-12-27 10:07
      [180][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
      [185][mmc]: ***Try MMC card 2***
      [200][mmc]: RMCA OK!
      [202][mmc]: bias 100
      [204][mmc]: mmc 2 bias 100
      [207][mmc]: MMC 5.1
      [209][mmc]: HSSDR52/SDR25 8 bit
      [212][mmc]: 50000000 Hz
      [214][mmc]: 7400 MB
      [216][mmc]: ***SD/MMC 2 init OK!!!***
      [281]read toc1 from emmc 32800 sector
      [284]OLD version: 0.0
      [286]NEW version: 0.0
      [290]have rotpk, do check
      [353]load rotpk hash
      [415]load boot-key hash
      [417]load boot hash
      [550]monitor entry=0x0
      [552]uboot entry=0x43000000
      [555]optee entry=0x41980000
      [557]opensbi entry=0x0
      [559]no need rotpk flag
      [562]tunning data addr:0x430003e8
      [565]drm_region_size is 0
      [567]run out of boot0
      M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
      
      
      U-Boot 2018.05 (Nov 06 2022 - 13:44:39 +0800) Allwinner Technology
      
      [00.749]CPU:   Allwinner Family
      [00.752]Model: sun8iw21
      I2C:   ready
      [00.779]DRAM:  512 MiB
      [00.782]Relocation Offset is: 1ced0000
      [00.807]secure enable bit: 1
      E/TC:0   fdt_getprop_u32:343 prop trace_level not found
      [00.822]PMU: AXP21
      [00.824]BMU: AXP21
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      bias_name:pc_bias        bias_vol:1800
      bias_name:pi_bias        bias_vol:1800
      [00.848]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
      [00.854]gic: sec monitor mode
      sunxi flash map init
      [00.859]flash init start
      [00.861]workmode = 0,storage type = 2
      [00.864][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.870][mmc]: get sdc_type fail and use default host:tm4.
      [00.876][mmc]: SUNXI SDMMC Controller Version:0x50400
      [00.904][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
      [00.911]sunxi flash init ok
      [00.926]line:724 init_clocks
      [00.929]drv_disp_init
      request pwm success, pwm9:pwm9:0x2000c00.
      [00.943]drv_disp_init finish
      [00.947]Loading Environment from SUNXI_FLASH... OK
      [00.958]boot_gui_init:start
      [00.961]set disp.dev2_output_type fail. using defval=0
      [00.966][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [00.971][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [00.976][ICN6202 TO LVDS] LINE:0167-->lcd_power_on:
      [00.993]boot_gui_init:finish
      partno erro : can't find partition bootloader
      54 bytes read in 0 ms
      [01.002]bmp_name=bootlogo.bmp size 38454
      [01.006][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.011][ICN6202 TO LVDS] LINE:0575-->lcd_panel_init:
      [01.177][ICN6202 TO LVDS] LINE:0620-->lcd_panel_init:initialization:icn6202 init reg from mipi
      38454 bytes read in 192 ms (195.3 KiB/s)
      [01.218]Item0 (Map) magic is bad
      [01.220]the secure storage item0 copy0 magic is bad
      [01.237]Item0 (Map) magic is bad
      [01.240]the secure storage item0 copy1 magic is bad
      [01.245]Item0 (Map) magic is bad
      [01.248]out of usb burn from boot: not need burn key
      root_partition is rootfs
      set root to /dev/mmcblk0p4
      [01.257]update part info
      [01.260]update bootcmd
      [01.262]change working_fdt 0x5de8fe70 to 0x5de6fe70
      [01.269][mmc]: delete mmc-hs400-1_8v from dtb
      [01.273][mmc]: delete mmc-hs200-1_8v from dtb
      [01.277][mmc]: get max-frequency ok 50000000 Hz
      disable nand error: FDT_ERR_BADPATH
      [01.291]The storage not support sample function
      [01.297]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      [01.305][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.312]update dts
      [01.315][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.320][ICN6202 TO LVDS] LINE:0203-->lcd_bl_open:
      [01.327][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.331][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.336]LCD open finish
      Hit any key to stop autoboot:  0
      pubkey boot valid
      [02.484]no vendor_boot partition is found
      Android's image name: v853-vision
      [02.534]Starting kernel ...
      
      [02.536][mmc]: mmc exit start
      [02.554][mmc]: mmc 2 exit ok
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.9.191 (whycan@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #20 PREEMPT Sun Nov 6 05:54:56 UTC 2022
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      [    0.000000] CPU: div instructions available: patching division code
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
      [    0.000000] OF: fdt:Machine model: sun8iw21
      [    0.000000] ion_mem_reserve: err format for ion reserve list!
      [    0.000000] disp reserve base 0x5df1a000 ,size 0x3e8000
      [    0.000000] Reserved memory: created DMA memory pool at 0x47bc0000, size 0 MiB
      [    0.000000] OF: reserved mem: initialized node vdev0buffer@0x47BC0000, compatible id shared-dma-pool
      [    0.000000] Memory policy: Data cache writeback
      [    0.000000] On node 0 totalpages: 129980
      [    0.000000] free_area_init_node: node 0, pgdat c0b552f4, node_mem_map dfbf8000
      [    0.000000]   Normal zone: 1024 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 129980 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: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] CPU: All CPU(s) started in SVC mode.
      [    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: 128956
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:recovery@mmcblk0p6:UDISK@mmcblk0p7 cma= mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=32K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw21p1 boot_type=2 androidboot.boot_type=2 gpt=1 androidboot.verifiedbootstate=<NULL> uboot_message=2018.05(11/06/2022-13:44:39) mbr_offset=1126400 disp_reserve=4096000,0x5df1a000 bootreason=unknow androidboot.dramsize=512
      [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
      [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
      [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
      [    0.000000] Memory: 498540K/519920K available (6144K kernel code, 344K rwdata, 2276K rodata, 1024K init, 182K bss, 21380K reserved, 0K cma-reserved, 0K highmem)
      [    0.000000] Virtual kernel memory layout:
      [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
      [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
      [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
      [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
      [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
      [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      [    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
      [    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
      [    0.000000]       .data : 0xc0b00000 - 0xc0b56390   ( 345 kB)
      [    0.000000]        .bss : 0xc0b56390 - 0xc0b83ca4   ( 183 kB)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      [    0.000000] Preemptible hierarchical RCU implementation.
      [    0.000000]  Build-time adjustment of leaf fanout to 32.
      [    0.000000] NR_IRQS:16 nr_irqs:16 16
      [    0.000000] sunxi_efuse_readn failed:-13
      [    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 (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000021] Switching to timer-based delay loop, resolution 41ns
      [    0.000202] Console: colour dummy device 80x30
      [    0.000226] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000241] pid_max: default: 32768 minimum: 301
      [    0.000430] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000443] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000987] CPU: Testing write buffer coherency: ok
      [    0.001486] Setting up static identity map for 0x40100000 - 0x40100058
      [    0.002999] devtmpfs: initialized
      [    0.040325] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.040832] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.040856] futex hash table entries: 256 (order: -1, 3072 bytes)
      [    0.041007] atomic64_test: passed
      [    0.041018] pinctrl core: initialized pinctrl subsystem
      [    0.042107] NET: Registered protocol family 16
      [    0.042837] DMA: preallocated 32 KiB pool for atomic coherent allocations
      [    0.044130] dump_class_init,857, success
      [    0.069451] cpuidle: using governor menu
      [    0.070681] platform 2010000.iommu: iova_base: 0x48400000
      [    0.071161] sunxi iommu: irq = 22
      [    0.091361] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver
      [    0.093162] sunxi hwspinlock vbase:0xe0822000
      [    0.095060] iommu: Adding device npu to group 0
      [    0.096533] iommu: Adding device 1c0e000.ve to group 0
      [    0.111389] iommu: Adding device 5410000.g2d to group 0
      [    0.112215] iommu: Adding device 5000000.disp to group 0
      [    0.121860] iommu: Adding device 5908000.tdm to group 0
      [    0.122509] iommu: Adding device 5900000.isp to group 0
      [    0.123148] iommu: Adding device 58ffffc.isp to group 0
      [    0.124083] iommu: Adding device 58ffff8.isp to group 0
      [    0.124901] iommu: Adding device 58ffff4.isp to group 0
      [    0.125317] iommu: Adding device 5800800.vind:isp@4 to group 0
      [    0.126091] iommu: Adding device 5910000.scaler to group 0
      [    0.126518] iommu: Adding device 590fffc.scaler to group 0
      [    0.126927] iommu: Adding device 590fff8.scaler to group 0
      [    0.127497] iommu: Adding device 590fff4.scaler to group 0
      [    0.128165] iommu: Adding device 5910400.scaler to group 0
      [    0.128815] iommu: Adding device 59103fc.scaler to group 0
      [    0.129241] iommu: Adding device 59103f8.scaler to group 0
      [    0.130115] iommu: Adding device 59103f4.scaler to group 0
      [    0.130783] iommu: Adding device 5910800.scaler to group 0
      [    0.131393] iommu: Adding device 59107fc.scaler to group 0
      [    0.131797] iommu: Adding device 59107f8.scaler to group 0
      [    0.132308] iommu: Adding device 59107f4.scaler to group 0
      [    0.133090] iommu: Adding device 5910c00.scaler to group 0
      [    0.133697] iommu: Adding device 5910bfc.scaler to group 0
      [    0.134228] iommu: Adding device 5910bf8.scaler to group 0
      [    0.134635] iommu: Adding device 5910bf4.scaler to group 0
      [    0.136093] iommu: Adding device vinc0 to group 0
      [    0.136944] iommu: Adding device vinc4 to group 0
      [    0.137858] iommu: Adding device vinc8 to group 0
      [    0.138661] iommu: Adding device vinc12 to group 0
      [    0.184209] pwm module init!
      [    0.188784] sunxi-pm debug v3.10
      [    0.193134] SCSI subsystem initialized
      [    0.193856] usbcore: registered new interface driver usbfs
      [    0.194040] usbcore: registered new interface driver hub
      [    0.194209] usbcore: registered new device driver usb
      [    0.194489] sunxi_i2c_adap_init()2748 - init
      [    0.194949] sunxi_i2c_probe()2443 - [i2c0] twi_drv_used = 0
      [    0.194965] sunxi_i2c_probe()2450 - [i2c0] twi_pkt_interval = 0
      [    0.195041] twi_regulator_request()647 - [i2c0] regulator not found(isn't configured in dts)!
      [    0.195052] twi_request_gpio()463 - [i2c0] init name: (null)
      [    0.195899] sunxi_i2c_probe()2443 - [i2c1] twi_drv_used = 0
      [    0.195918] sunxi_i2c_probe()2450 - [i2c1] twi_pkt_interval = 0
      [    0.195995] twi_regulator_request()647 - [i2c1] regulator not found(isn't configured in dts)!
      [    0.196006] twi_request_gpio()463 - [i2c1] init name: (null)
      [    0.197442] sunxi_i2c_probe()2443 - [i2c2] twi_drv_used = 0
      [    0.197460] sunxi_i2c_probe()2450 - [i2c2] twi_pkt_interval = 0
      [    0.197537] twi_regulator_request()647 - [i2c2] regulator not found(isn't configured in dts)!
      [    0.197547] twi_request_gpio()463 - [i2c2] init name: (null)
      [    0.199328] sunxi_i2c_probe()2443 - [i2c3] twi_drv_used = 0
      [    0.199346] sunxi_i2c_probe()2450 - [i2c3] twi_pkt_interval = 0
      [    0.199427] twi_regulator_request()647 - [i2c3] regulator not found(isn't configured in dts)!
      [    0.199437] twi_request_gpio()463 - [i2c3] init name: (null)
      [    0.201081] sunxi_i2c_probe()2443 - [i2c4] twi_drv_used = 0
      [    0.201101] sunxi_i2c_probe()2450 - [i2c4] twi_pkt_interval = 0
      [    0.201181] twi_regulator_request()647 - [i2c4] regulator not found(isn't configured in dts)!
      [    0.201192] twi_request_gpio()463 - [i2c4] init name: (null)
      [    0.202340] axp20x-i2c 4-0034: AXP20x variant AXP2101 found
      [    0.219314] random: fast init done
      [    0.232014] axp20x-i2c 4-0034: AXP20X driver loaded
      [    0.232526] media: Linux media interface: v0.10
      [    0.232676] Linux video capture interface: v2.00
      [    0.235855] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
      [    0.236176] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
      [    0.237403] Advanced Linux Sound Architecture Driver Initialized.
      [    0.238295] Bluetooth: Core ver 2.22
      [    0.238440] NET: Registered protocol family 31
      [    0.238451] Bluetooth: HCI device and connection manager initialized
      [    0.238472] Bluetooth: HCI socket layer initialized
      [    0.238486] Bluetooth: L2CAP socket layer initialized
      [    0.238526] Bluetooth: SCO socket layer initialized
      [    0.241818] G2D: rcq version initialized.major:251
      [    0.243578] clocksource: Switched to clocksource arch_sys_counter
      [    0.272135] udc_init,0
      [    0.273293] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
      [    0.274043] thermal thermal_zone2: power_allocator: sustainable_power will be estimated
      [    0.274222] NET: Registered protocol family 2
      [    0.293874] TCP established hash table entries: 16 (order: -6, 64 bytes)
      [    0.293892] TCP bind hash table entries: 16 (order: -6, 64 bytes)
      [    0.293902] TCP: Hash tables configured (established 16 bind 16)
      [    0.293965] UDP hash table entries: 256 (order: 0, 4096 bytes)
      [    0.293984] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
      [    0.294200] NET: Registered protocol family 1
      [    0.298714] sunxi_sid_driver_init+0x0/0x10 complete comp.
      [    0.299634] workingset: timestamp_bits=29 max_order=17 bucket_order=0
      [    0.316078] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.320162] io scheduler noop registered
      [    0.320178] io scheduler deadline registered
      [    0.320451] io scheduler cfq registered (default)
      [    0.321697] [DISP]disp_module_init
      [    0.323174] [DISP] disp_init,line:2340:
      [    0.323189] smooth display screen:0 type:1 mode:4
      [    0.360936] lcd 0, driver_name t050k589,  panel_name default_lcd
      [    0.360953] lcd 0, driver_name t050k589,  panel_name t050k589
      [    0.360972] lcd 0, driver_name t050k589,  panel_name icn6202
      [    0.360981] lcd 0, driver_name t050k589,  panel_name super_lcd_driver
      [    0.361113] display_fb_request,fb_id:0
      [    0.370211] [DISP] de_fcm_set_para,line:491:
      [    0.370225] fcm lut 0 not find, auto retry after init
      [    0.371447] [DISP]disp_module_init finish
      [    0.374243] [DISP] de_fcm_set_para,line:491:
      [    0.374257] fcm lut 0 not find, auto retry after init
      [    0.374280] [DISP] de_fcm_set_para,line:491:
      [    0.374286] fcm lut 0 not find, auto retry after init
      [    0.374356] [DISP] lcd_clk_config,line:699:
      [    0.374370] disp 0, clk: pll(360000000),clk(360000000),dclk(60000000) dsi_rate(60000000)
      [    0.374370]      clk real:pll(360000000),clk(360000000),dclk(90000000) dsi_rate(150000000)
      [    0.380892] Freeing logo buffer memory: 4000K
      [    0.381014] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI
      [    0.381042] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n
      [    1.601206] console [ttyS0] enabled
      [    1.606664] uart2: ttyS2 at MMIO 0x2500800 (irq = 290, base_baud = 1500000) is a SUNXI
      [    1.617071] misc dump reg init
      [    1.621317] npu[1][1] vipcore, platform driver device=0xdf5a5410
      [    1.628425] npu[1][1] vipcore irq number is 291.
      [    1.633693] gckvip_drv_adjust_param 232 SUCCESS
      [    1.638847] Want set pclk rate(492000000) support(492000000) real(492000000)
      [    1.646967] Want set mclk rate(492000000) support(492000000) real(492000000)
      [    1.654937] npu[1][1] This device support 64bits DMA
      [    1.661007] npu[1][1] core_0, request irqline=291, name=vipcore_0
      [    1.668130] npu[1][1] =======vipcore parameter=====
      [    1.673703] npu[1][1] registerMemBase     0x03050000,
      [    1.679475] npu[1][1] registerMemSize     0x00020000,
      [    1.685281] npu[1][1] irqLine             0x00000123,
      [    1.691064] npu[1][1] contiguousSize      0x00100000
      [    1.696712] npu[1][1] contiguousBase      0x30000000
      [    1.702286] npu[1][1] vipContiguousBase   0x0
      [    1.707228] npu[1][1] drvType             0x00000000
      [    1.712805] npu[1][1] AXISramSize         0x00000000
      [    1.718407] npu[1][1] AXISramBaseAddress  0x00000000
      [    1.724004] npu[1][1] VIPSramSize         0x00020000
      [    1.729580] npu[1][1] VIPSramBaseAddress  0x00400000
      [    1.735167] npu[1][1] sysHeapSize         0x00200000
      [    1.740750] npu[1][1] ===============================
      [    1.746506] npu[1][1] VIPLite driver version 1.8.1.0-AW-2022-07-26
      [    1.754318] sunxi-bt soc@03000000:bt: bt_power_num (0)
      [    1.760133] sunxi-bt soc@03000000:bt: Missing bt_io_regulator.
      [    1.766842] sunxi-bt soc@03000000:bt: io_regulator_name ((null))
      [    1.773675] sunxi-bt soc@03000000:bt: request pincrtl handle for device [soc@03000000:bt] failed
      [    1.783633] sunxi-bt soc@03000000:bt: bt_rst gpio=136  mul-sel=5  pull=1  drv_level=2  data=0
      [    1.793256] sunxi-bt soc@03000000:bt: clk_name ()
      [    1.798627] sunxi-bt soc@03000000:bt: clk not config
      [    1.805131] sun8iw21p1-pinctrl pio: expect_func as:fanout0, but muxsel(3) is func:clk
      [    1.814318] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
      [    1.820586] sunxi-wlan soc@03000000:wlan@0: wlan power voltage (3300000)
      [    1.828210] sunxi-wlan soc@03000000:wlan@0: wlan io voltage (3300000)
      [    1.835486] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (1)
      [    1.842059] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp2101-dcdc1)
      [    1.849964] sunxi-wlan soc@03000000:wlan@0: io_regulator_name (axp2101-dcdc1)
      [    1.858077] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=239  mul-sel=1  pull=1  drv_level=2  data=0
      [    1.868696] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
      [    1.875786] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=199  mul-sel=14  pull=1  drv_level=2  data=0
      [    1.886852] sunxi-wlan soc@03000000:wlan@0: clk_name ()
      [    1.894276] libphy: Fixed MDIO Bus: probed
      [    1.899725] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.907570] get ehci0-controller, regulator_io is no nocare
      [    1.913904] get ehci0-controller wakeup-source is fail.
      [    1.919929] sunxi ehci0-controller don't init wakeup source
      [    1.926361] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b76ac8, 0x:e0848000, irq_no:137
      [    1.938560] [sunxi-ehci0]: Not init ehci0
      [    1.943551] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.951067] get ohci0-controller, regulator_io is no nocare
      [    1.957426] get ohci0-controller wakeup-source is fail.
      [    1.963454] sunxi ohci0-controller don't init wakeup source
      [    1.969862] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0b76cec
      [    1.979634] [sunxi-ohci0]: Not init ohci0
      [    1.984817] usbcore: registered new interface driver uas
      [    1.991221] usbcore: registered new interface driver usb-storage
      [    1.998209] usbcore: registered new interface driver ums-alauda
      [    2.005178] usbcore: registered new interface driver ums-cypress
      [    2.012176] usbcore: registered new interface driver ums-datafab
      [    2.019202] usbcore: registered new interface driver ums_eneub6250
      [    2.026503] usbcore: registered new interface driver ums-freecom
      [    2.033487] usbcore: registered new interface driver ums-isd200
      [    2.040388] usbcore: registered new interface driver ums-jumpshot
      [    2.047520] usbcore: registered new interface driver ums-karma
      [    2.054456] usbcore: registered new interface driver ums-onetouch
      [    2.061577] usbcore: registered new interface driver ums-realtek
      [    2.068571] usbcore: registered new interface driver ums-sddr09
      [    2.075560] usbcore: registered new interface driver ums-sddr55
      [    2.082462] usbcore: registered new interface driver ums-usbat
      [    2.089270] usb_serial_number:20080411
      [    2.093991] [GOODIX 9XX INFO] LINE:0122-->goodix_reset:reset the tp !!!!!!
      [    2.203766] sunxi_i2c_do_xfer()1968 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
      [    2.213163] Goodix-TS 2-005d: read version failed: -70
      [    2.218954] Goodix-TS 2-005d: Read version failed.
      [    2.224408] Goodix-TS: probe of 2-005d failed with error -70
      [    2.231094] ERROR! get ctp_para failed, func:sunxi_ctp_startup, line:46
      [    2.238708] =========script_get_item_err============
      [    2.251104] input: axp2101-pek as /devices/platform/soc/twi4/i2c-4/4-0034/axp2101-pek.0/input/input0
      [    2.263314] input: sunxi-wiegand0 as /devices/virtual/input/input1
      [    2.271671] sunxi_gpadc_init,1949, success
      [    2.276966] sunxi_gpadc_setup: get channel scan data failed
      [    2.284420] input: sunxi-gpadc0 as /devices/virtual/input/input2
      [    2.293343] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
      [    2.300604] sunxi-rtc rtc: RTC enabled
      [    2.304998] fix to hot reboot, save boot reason
      [    2.310486] i2c /dev entries driver
      [    2.316150] sunxi cedar version 0.1
      [    2.320400] VE: install start!!!
      [    2.320400]
      [    2.326277] VE: cedar-ve the get irq is 292
      [    2.331073] VE: regs_csi = e0883000
      [    2.335678] VE: ve_proc_mgr: flag = 1
      [    2.335678]
      [    2.341491] VE: install end!!!
      [    2.341491]
      [    2.347287] google_vp9: sunxi google vp9 version 0.1
      [    2.356923] axp2101_charger: read chipid = 4a
      [    2.356923]
      [    2.370853] thermal thermal_zone3: power_allocator: sustainable_power will be estimated
      [    2.402968] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    2.412717] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903
      [    2.420515] Bluetooth: HCI UART protocol H4 registered
      [    2.426907] Bluetooth: HCI H4 protocol initialized
      [    2.433018] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07
      [    2.441787] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
      [    2.448248] axp2101_charger: the gauge have been reset, need to reload param
      [    2.448248]
      [    2.458247] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 0
      [    2.464846] [XR_BT_LPM] bluesleep_probe: uart_index(2)
      [    2.471608] bt_fdi debugfs_init
      [    2.514259] cpuidle: enable-method property 'psci' found operations
      [    2.523691] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
      [    2.532628] sunxi-mmc sdc2: ***ctl-spec-caps*** 308
      [    2.539170] sunxi-mmc sdc2: No vdmmc regulator found
      [    2.544857] sunxi-mmc sdc2: No vd33sw regulator found
      [    2.550519] sunxi-mmc sdc2: No vd18sw regulator found
      [    2.556266] sunxi-mmc sdc2: No vq33sw regulator found
      [    2.561926] sunxi-mmc sdc2: No vq18sw regulator found
      [    2.568013] sunxi-mmc sdc2: set host busy
      [    2.572588] mmc:failed to get gpios
      [    2.576853] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.613622] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.653608] sunxi-mmc sdc2: detmode:alway in(non removable)
      [    2.653633] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.661992] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.663055] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.673893] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.673959] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.686791] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.731453] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
      [    2.740422] sunxi-mmc sdc0: ***ctl-spec-caps*** 408
      [    2.747671] sunxi-mmc sdc0: No vqmmc regulator found
      [    2.753261] sunxi-mmc sdc0: No vdmmc regulator found
      [    2.759362] sunxi-mmc sdc0: set host busy
      [    2.763967] sunxi-mmc sdc0: Got CD GPIO
      [    2.768678] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.814825] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.838706] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B
      [    2.849888] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B
      [    2.861054] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS(SDR20) dt B
      [    2.872239] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-DDR52 dt B
      [    2.883194] mmc0: new DDR MMC card at address 0001
      [    2.889421] mmcblk0: mmc0:0001 AT2S38 7.23 GiB
      [    2.894852] mmcblk0boot0: mmc0:0001 AT2S38 partition 1 4.00 MiB
      [    2.901798] mmcblk0boot1: mmc0:0001 AT2S38 partition 2 4.00 MiB
      [    2.909103] mmcblk0rpmb: mmc0:0001 AT2S38 partition 3 4.00 MiB
      [    2.918329]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
      [    3.023688] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
      [    3.053595] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    3.093777] sunxi-mmc sdc0: detmode:gpio irq
      [    3.099060] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
      [    3.108014] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
      [    3.113353] sunxi-mmc sdc1: No vmmc regulator found
      [    3.118865] sunxi-mmc sdc1: No vqmmc regulator found
      [    3.124441] sunxi-mmc sdc1: No vdmmc regulator found
      [    3.130003] sunxi-mmc sdc1: No vd33sw regulator found
      [    3.135680] sunxi-mmc sdc1: No vd18sw regulator found
      [    3.141338] sunxi-mmc sdc1: No vq33sw regulator found
      [    3.147008] sunxi-mmc sdc1: No vq18sw regulator found
      [    3.153061] sunxi-mmc sdc1: set host busy
      [    3.157652] mmc:failed to get gpios
      [    3.161846] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.193622] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.233606] sunxi-mmc sdc1: detmode:manually by software
      [    3.239597] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.245588] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.245608] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.253675] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.265490] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.276261] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.282131] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.288016] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.288034] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.289105] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.311166] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.321497] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.344058] usbcore: registered new interface driver usbhid
      [    3.350326] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.356577] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.356616] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.364757] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.376604] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.387439] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.393345] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.399228] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.399259] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.400336] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.432659] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.443956] usbhid: USB HID core driver
      [    3.451431] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid
      [    3.462000] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok
      [    3.462014] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.480512] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.486578] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.498570] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok
      [    3.499873] Netfilter messages via NETLINK v0.30.
      [    3.500107] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
      [    3.500250] ctnetlink v0.93: registering with nfnetlink.
      [    3.500560] ip_tables: (C) 2000-2006 Netfilter Core Team
      [    3.501316] NET: Registered protocol family 10
      [    3.502568] NET: Registered protocol family 17
      [    3.502600] NET: Registered protocol family 15
      [    3.503275] Bluetooth: RFCOMM TTY layer initialized
      [    3.503295] Bluetooth: RFCOMM socket layer initialized
      [    3.503316] Bluetooth: RFCOMM ver 1.11
      [    3.504516] Registering SWP/SWPB emulation handler
      [    3.585462] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.596660] sunxi-rtc rtc: setting system clock to 1970-01-01 00:19:11 UTC (1151)
      [    3.597390] clk: Not disabling unused clocks
      [    3.597511] usb-vbus: disabling
      [    3.597800] axp2101-dcdc2: disabling
      [    3.615229] axp2101-rtcldo1: disabling
      [    3.623670] axp2101-aldo2: disabling
      [    3.628341] axp2101-aldo3: disabling
      [    3.633047] axp2101-aldo4: disabling
      [    3.637088] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.642987] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.648869] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.654777] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.654799] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.655883] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.683031] axp2101-bldo2: disabling
      [    3.687068] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.698663] axp2101-dldo1: disabling
      [    3.703346] axp2101-dldo2: disabling
      [    3.708040] axp2101-cpusldo: disabling
      [    3.712704] ALSA device list:
      [    3.716059]   #0: audiocodec
      [    3.719292] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.725275] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.725293] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.733419] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.745297] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.756078] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.761949] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.767841] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.767859] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.790920]   #1: snddaudio0
      [    3.809602] VFS: Mounted root (squashfs filesystem) readonly on device 179:4.
      [    3.819111] devtmpfs: mounted
      [    3.824228] Freeing unused kernel memory: 1024K
      mount: mounting none on /dev failed: Resource busy
      [    4.021007] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
      [    4.033950] EXT4-fs (mmcblk0p5): mounted filesystem with journalled data mode. Opts: data=journal
      starting pid 842, tty '': '/etc/preinit'
      can't run '/etc/preinit': No such file or directory
      starting pid 843, tty '': '/bin/mount -t proc proc /proc'
      mount: mounting proc on /proc failed: Resource busy
      starting pid 844, tty '': '/bin/mount -t tmpfs tmpfs /run'
      starting pid 845, tty '': '/bin/mount -o remount,rw /'
      starting pid 846, tty '': '/bin/mkdir -p /dev/pts'
      starting pid 847, tty '': '/bin/mkdir -p /dev/shm'
      starting pid 848, tty '': '/bin/mount -a'
      starting pid 849, tty '': '/bin/hostname -F /etc/hostname'
      hostname: can't open '/etc/hostname': No such file or directory
      starting pid 850, tty '': '/etc/init.d/rcS boot'
      ------run rc.preboot file-----
      [    4.165805] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
      ------run rc.modules file-----
      [    4.224891] ======== XRADIO WIFI OPEN ========
      [    4.229910] [XRADIO] Driver Label:XR_V02.16.91 _HT40_01.33  Oct 28 2022 04:26:30
      [    4.238385] [XRADIO] Allocated hw_priv @ dec44c80
      [    4.243895] [XRADIO_ERR] Access_file failed, path:/data/misc/wifi/xr_wifi.conf!
      [    4.252792] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
      [    4.260194] sunxi-wlan soc@03000000:wlan@0: check wlan wlan_power voltage: 3300000
      [    4.270094] sunxi-wlan soc@03000000:wlan@0: check wlan io_regulator voltage: 3300000
      [    4.388955] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.399226] [XRADIO] Detect SDIO card 1
      [    4.443627] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.484235] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.497453] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.518463] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    4.529185] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    4.540175] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    4.551944] mmc2: new high speed SDIO card at address 0001
      [    4.558731] [SBUS] XRadio Device:sdio clk=50000000
      [    4.564926] [XRADIO] XRADIO_HW_REV 1.0 detected.
      [    4.644079] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
      [    4.683539] [XRADIO] Bootloader complete
      [    4.771306] [XRADIO] Firmware completed.
      [    4.777149] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
      [    4.794576] [XRADIO] Firmware Startup Done.
      [    4.799566] [XRADIO_WRN] enable Multi-Rx!
      [    4.818036] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
      ------run rc.final file-----
      Load mpp modules
      [    4.894226] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
      [    4.905102] [VIN_WARN]sensor_helper_probe: cannot get sensor1_cameravdd supply, setting it to NULL!
      [    5.218464] [VIN_ERR]registering imx386_mipi_2, No such device!
      insmod: can't insert '/lib/modules/4.9.191/sunxi_aio.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.191/sunxi_eise.ko': No such file or directory
      Starting logging: start-stop-daemon: unrecognized option: exec
      start-stop-daemon: unrecognized option: exec
      OK
      Starting audio: Successfully play boot music
      Populating /dev using udev: playing '/home/res/audio/startup.wav': 2 ch, 48000 hz, 16 bit
      [    5.331372] udevd[974]: could not create /tmp/run/udev: No such file or directory
      done
      mkdir: can't create directory '/dev/pts': File exists
      mkdir: can't create directory '/dev/shm': File exists
      Initializing random number generator... [    5.495538] random: dd: uninitialized urandom read (512 bytes read)
      done.
      Starting network: Failed to connect to ubus
      /sbin/ifup: line 51: /sbin/wifi: not found
      FAIL
      ifconfig: invalid hw-addr 00:
      udhcpc: SIOCGIFINDEX: No such device
      Starting telnetd: OK
      enable android usb
      insmod: can't insert '/lib/modules/4.9.191/sunxi_usb_udc.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.191/sunxi_usbc.ko': No such file or directory
      [    5.640487] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
      [    5.663783] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
      Unknown group "lp" in message bus configuration file
      [    5.789382] file system registered
      [    5.805364] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      sh: write error: No such device
      Starting wifi_deamon....: [    5.820806] read descriptors
      [    5.827793] read strings
      1970-01-01 00:19:13:767: WMG_INFO [wifi_deamon.c:main:1076]:  debug log level is: 3
      1970-01-01 00:19:13:767: WMG_INFO [wifi_deamon.c:main:1078]:  now set to debug level: 6
      [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
      
      [    7.163600]
      [    7.163600] insmod_device_driver
      [    7.163600]
      [    7.412696] android_work: sent uevent USB_STATE=CONNECTED
      [    7.508896] configfs-gadget gadget: high-speed config #1: c
      [    7.515250] android_work: sent uevent USB_STATE=CONFIGURED
      Close IRCUT........1970-01-01 00:19:15:777: WMG_DEBUG [wifi_deamon.c:cmd_handle_thread:961]:  get cmd: o sta
      1970-01-01 00:19:15:777: WMG_DEBUG [wifi_deamon.c:cmd_handle_o:259]:  cmd handle o: sta
      1970-01-01 00:19:15:777: WMG_INFO [wifi_deamon.c:cmd_handle_o:261]:  open sta mode
      1970-01-01 00:19:15:777: WMG_INFO [src/wmg_sta.c:sta_mode_init:363]:  sta mode init now
      1970-01-01 00:19:15:777: WMG_INFO [src/os/linux/linux_wpa.c:linux_supplicant_init:1436]:  linux supplicant init now
      1970-01-01 00:19:15:777: WMG_INFO [src/wmg_ap.c:ap_mode_init:216]:  ap mode init now
      1970-01-01 00:19:15:777: WMG_INFO [src/os/linux/linux_hapd.c:linux_ap_hapd_init:754]:  linux host[    7.933245] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
      apd init now
      1970-01-01 00:19:15:777: WMG_INFO [src/wmg_monitor.c:monitor_mode_init:206]:  monitor mode init now
      1970-01-01 00:19:15:777: WMG_INFO [src/os/linux/linux_nl.c:linux_monitor_nl_init:250]:  linux monitor nl init now
      1970-01-01 00:19:15:778: WMG_DEBUG [src/os/linux/linux_nl.c:linux_monitor_nl_init:255]:  nl80211 init success
      1970-01-01 00:19:15:778: WMG_DEBUG [src/wmg_common.c:wifimg_init:837]:  wifi_manager initialize, version: 2.0.1
      Copyright (c) 2019-2025 Allwinner Technology Co., Ltd. ALL rights reserved
      1970-01-01 00:19:15:778: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:950]:  switch wifi mode from current_mode 'unknown' to new_mode 'station'
      1970-01-01 00:19:15:778: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:954]:  switch_mode_bitmap:0x1
      1970-01-01 00:19:15:778: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:955]:  current_mode_bitmap:0x0
      1970-01-01 00:19:15:778: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:958]:  disable_mode_bitmap:0x0
      1970-01-01 00:19:15:778: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:988]:  enable_mode_bitmap:0x1
      1970-01-01 00:19:15:778: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:412]: wifi station enabling...
      /etc/init.d/rcS: /etc/init.d/rc.final: line 36: powerkey_daemon: not found
      1970-01-01 00:19:15:822: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:32]: hostapd not exist
      Trying to connect to SWUpdate...
      1970-01-01 00:19:15:875: WMG_EXCESSIVE [[    8.073731] urandom_read: 2 callbacks suppressed
      src/os/linux/utils.c:check_proce[    8.073737] random: wpa_supplicant: uninitialized urandom read (3 bytes read)
      ss_is_exist:32]: wpa_supplicant [    8.090470] random: wpa_supplicant: uninitialized urandom read (1024 bytes read)
      not exist
      1970-01-01 00:19:15:875: WMG_DEBUG [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1519]:  wpa_supplicant is not running, need to start it
      mount: mounting /dev/mmcblk1p1 on /mnt/sdcard failed: No such file or directory
      starting pid 1089, tty '/dev/console': '-/bin/sh'
      
      
      BusyBox v1.27.2 () built-in shell (ash)
      
      ------run profile file-----
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
      [    8.148365] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=84:2b:9f:30:6b:c8
      
        |_|  |_||_|_||_|_|  Tina is B[    8.156879] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=84:2b:9f:30:6b:c8
      ased on OpenWrt!
       ----------------------------------------------
       Tina Linux (Neptune, 5C1C9C5[    8.175768] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
      3)
       ----------------------------------------------
      swu_param: ####
      swu_software: ####
      swu_mode: ####
      no swupdate_cmd to run, wait for next swupdate
      root@TinaLinux:/# Successfully initial[    8.198990] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
      ized wpa_supplicant
      [    8.240910] random: wpa_supplicant: uninitialized urandom read (3 bytes read)
      1
      

      d6be7437-678e-4646-a5e7-54075b901811-image.png

      重启后, 看我发现了啥!

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      b864d6bf-66c0-424e-b506-2fecc9b643ed-image.png

      只能烧录一次, 再次烧写提示失败.

      key_count=1
      ^^^^^^^^^^^^^^^^^^^
      key index=0
      key name=rotpk
      key type=0
      key len=32
      key if_burn=1
      key if_replace=1
      key if_crypt=0
      ###################
      offset=116
      ready to burn rootkey
      SUNXI_USB_SEND_DATA=68
      usb command = 1
      recv_size=404
      5e4020c0: 2d79656b 756f7267 62642d70 00000000    key-group-db....
      5e4020d0: 00000000 00000000 00000000 00000000    ................
      5e4020e0: 00000000 00000000 00000000 00000000    ................
      5e4020f0: 00000000 00000000 00000000 00000000    ................
      5e402100: 00000000 00000000 00000000 00000000    ................
      5e402110: 00000000 00000000 00000000 00000000    ................
      5e402120: 00000000 00000000 00000000 00000000    ................
      5e402130: 00000000 00000000 00000000 00000000    ................
      5e402140: 00000000 00000000 00000000 00000000    ................
      5e402150: 00000000 00000000 00000000 00000000    ................
      5e402160: 00000000 00000000 00000000 00000000    ................
      5e402170: 00000000 00000000 00000000 00000000    ................
      5e402180: 00000000 00000000 00000000 00000000    ................
      5e402190: 00000000 00000000 00000000 00000000    ................
      5e4021a0: 00000000 00000000 00000000 00000000    ................
      5e4021b0: 00000000 00000000 00000000 00000000    ................
      5e4021c0: 00000000 00000000 00000000 00000000    ................
      5e4021d0: 00000001 00000000 00000000 00000000    ................
      5e4021e0: 70746f72 0000006b f5b0e100 032f74e0    rotpk........t/.
      5e4021f0: 032fcb60 00000000 00000000 01580000    `./...........X.
      5e402200: 00000002 00000000 00000005 01580000    ..............X.
      5e402210: 015801cc 00000000 00000020 01580954    ..X..... ...T.X.
      5e402220: 00000000 00000020 00000001 00000001    .... ...........
      5e402230: 00000000 c7d178a3 3004bf9c 3c10b6ad    .....x.....0...<
      5e402240: 28c9db2c 4a834387 64ab7659 e23f85b8    ,..(.C.JYv.d..?.
      5e402250: e52551c5 00000000 00000000 00000000    .Q%.............
      usb command = 2
      recv_size=404
      5e4020c0: 2d79656b 756f7267 62642d70 00000000    key-group-db....
      5e4020d0: 00000000 00000000 00000000 00000000    ................
      5e4020e0: 00000000 00000000 00000000 00000000    ................
      5e4020f0: 00000000 00000000 00000000 00000000    ................
      5e402100: 00000000 00000000 00000000 00000000    ................
      5e402110: 00000000 00000000 00000000 00000000    ................
      5e402120: 00000000 00000000 00000000 00000000    ................
      5e402130: 00000000 00000000 00000000 00000000    ................
      5e402140: 00000000 00000000 00000000 00000000    ................
      5e402150: 00000000 00000000 00000000 00000000    ................
      5e402160: 00000000 00000000 00000000 00000000    ................
      5e402170: 00000000 00000000 00000000 00000000    ................
      5e402180: 00000000 00000000 00000000 00000000    ................
      5e402190: 00000000 00000000 00000000 00000000    ................
      5e4021a0: 00000000 00000000 00000000 00000000    ................
      5e4021b0: 00000000 00000000 00000000 00000000    ................
      5e4021c0: 00000000 00000000 00000000 00000000    ................
      5e4021d0: 00000001 00000000 00000000 00000000    ................
      5e4021e0: 70746f72 0000006b f5b0e100 032f74e0    rotpk........t/.
      5e4021f0: 032fcb60 00000000 00000000 01580000    `./...........X.
      5e402200: 00000002 00000000 00000005 01580000    ..............X.
      5e402210: 015801cc 00000000 00000020 01580954    ..X..... ...T.X.
      5e402220: 00000000 00000020 00000001 00000001    .... ...........
      5e402230: 00000000 c7d178a3 3004bf9c 3c10b6ad    .....x.....0...<
      5e402240: 28c9db2c 4a834387 64ab7659 e23f85b8    ,..(.C.JYv.d..?.
      5e402250: e52551c5 00000000 00000000 00000000    .Q%.............
      key_count=1
      [214.895]Item0 (Map) magic is bad
      [214.898]the secure storage item0 copy0 magic is bad
      [214.915]Item0 (Map) magic is bad
      [214.918]the secure storage item0 copy1 magic is bad
      [214.922]Item0 (Map) magic is bad
      ^^^^^^^^^^^^^^^^^^^
      key index=0
      key name=rotpk
      key type=0
      key len=32
      key if_burn=1
      key if_replace=1
      key if_crypt=0
      ###################
      offset=116
      ready to burn rootkey
      sunxi_efuse_write failed with:-5
      SUNXI_USB_SEND_DATA=68
      
      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      b46702d1-df4b-4e4c-9722-83fef1f32273-image.png

      往V853开发板烧录一个与eMMC不同的rotpk.bin密钥,dragonsn提示:

      rotpk = 044A6C54E23C53A08F7F1ABEF1B6C876A1BCA8BA409505A6370AED19F2B9ECD1

      正在烧写Key...

      烧写失败Key, 请重新尝试

      烧录FAIL

      ff25bd33-77f6-48c5-8800-8adbd1febd9c-image.png
      往V853开发板烧录一个与eMMC相同的rotpk.bin密钥,dragonsn提示:

      rotpk = A378D1C79CBF0430ADB6103C2CDBC9288743834A5976AB64B8853FE2C55125E5

      正在烧写Key...

      烧录OK

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      V853 SID 相关寄存器配置:./lichee/brandy-2.0/u-boot-2018/arch/arm/include/asm/arch-sunxi/sid_sun8iw21.h

      /*
       * (C) Copyright 2013-2016
       * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
       *
       * wangwei <wangwei@allwinnertech.com>
       * SPDX-License-Identifier:     GPL-2.0+
       */
      
      #ifndef __SID_H__
      #define __SID_H__
      
      #include <linux/types.h>
      #include <asm/arch/cpu.h>
      
      #define SID_PRCTL               (SUNXI_SID_BASE + 0x40)
      #define SID_PRKEY               (SUNXI_SID_BASE + 0x50)
      #define SID_RDKEY               (SUNXI_SID_BASE + 0x60)
      #define SJTAG_AT0               (SUNXI_SID_BASE + 0x80)
      #define SJTAG_AT1               (SUNXI_SID_BASE + 0x84)
      #define SJTAG_S                 (SUNXI_SID_BASE + 0x88)
      
      #define SID_ROTPK_VALUE(n)              (SUNXI_SID_BASE + 0x120 + (n * 4))
      #define SID_ROTPK_CTRL                  (SUNXI_SID_BASE + 0x140)
      #define SID_ROTPK_EFUSED_BIT    (1)
      #define SID_ROTPK_CMP_RET_BIT   (0)
      
      #define SID_EFUSE               (SUNXI_SID_BASE + 0x200)
      #define SID_SECURE_MODE         (SUNXI_SID_BASE + 0xA0)
      #define SID_OP_LOCK  (0xAC)
      
      #define EFUSE_CHIPID            (0x0)
      #define EFUSE_ROTPK             (0xA8)
      /* write protect */
      #define EFUSE_WRITE_PROTECT     (0x38)
      /* read  protect */
      #define EFUSE_READ_PROTECT      (0x3c)
      /* jtag security */
      #define EFUSE_LCJS              (0x40)
      
      /*efuse power ctl*/
      #define EFUSE_HV_SWITCH                 (SUNXI_RTC_BASE + 0x204)
      #endif    /*  #ifndef __SID_H__  */
      

      根据V853手册,查得SID基址0x0300 6000

      用uboot读出未烧录加密芯片的SID寄存器值:

      => md.b 0x03006000
      03006000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006090: 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    $...............
      030060a0: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................
      030060b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006200: 00 78 c0 62 20 48 00 2c 4c 04 43 01 4c 18 4a 48    .x.b H.,L.C.L.JH
      03006210: 00 00 00 00 f0 30 98 86 a9 98 84 00 09 14 0c 10    .....0..........
      03006220: d0 0d 2e 13 00 82 20 00 10 15 6a 00 00 00 00 00    ...... ...j.....
      03006230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006660: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006670: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006690: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      

      烧过加密芯片的:

      => md.b 0x03006000
      03006000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006090: 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    $...............
      030060a0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030060f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006120: a3 00 00 00 9c 00 00 00 ad 00 00 00 2c 00 00 00    ............,...
      03006130: 87 00 00 00 59 00 00 00 b8 00 00 00 c5 00 00 00    ....Y...........
      03006140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030061f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006200: 00 78 c0 62 20 48 00 2c 4c 04 43 01 cc 15 6c 50    .x.b H.,L.C...lP
      03006210: 00 00 00 00 f5 d0 96 71 49 97 8d 00 19 13 d4 0f    .......qI.......
      03006220: bb 0d af 12 00 60 06 81 16 13 69 00 00 00 00 00    .....`....i.....
      03006230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030062f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030063f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030064f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030065f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006660: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006670: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      03006690: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      030066b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
      

      f65b0bc2-421d-42ce-9e78-57b3c1370866-image.png

      可以看出,烧过加密固件, 0xA0偏移 也就是 SID_SECURE_MODE 和 SID_ROTPK_VALUE 值会改变.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      @whycan

      [122]HELLO! SBOOT is starting!
      [125]sboot commit : 4b419f21ba
      [129]PMU: AXP21
      [131]set pll start
      [133]periph0 has been enabled
      [136]set pll end
      [138]board init ok
      [140]rtc[0] value = 0x80000001
      [143]DRAM use external ZQ!!
      [145]chip id check OK
      [148]DRAM_VCC set to 1500 mv
      [150]DRAM BOOT DRIVE INFO: V0.16
      [153]DRAM CLK = 936 MHz
      [156]DRAM Type = 3 (2:DDR2,3:DDR3)
      [159]DRAMC ZQ value: 0x7b7bfb
      [162]DRAM ODT value: 0x42.
      [165]DRAM SIZE =512 M
      [167]dram_tpr4:0x0
      [170]DRAM simple test OK.
      [173]rtc standby flag is 0x0, super standby flag is 0x0
      [178]dram size =512
      [180]audio:avcc calibration
      [182][mmc]: mmc driver ver 2021-12-27 10:07
      [192][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
      [198][mmc]: ***Try MMC card 2***
      [213][mmc]: RMCA OK!
      [215][mmc]: bias 100
      [217][mmc]: mmc 2 bias 100
      [220][mmc]: MMC 5.1
      [222][mmc]: HSSDR52/SDR25 8 bit
      [225][mmc]: 50000000 Hz
      [227][mmc]: 7400 MB
      [229][mmc]: ***SD/MMC 2 init OK!!!***
      [293]read toc1 from emmc 32800 sector
      [297]OLD version: 0.0
      [299]NEW version: 0.0
      [302]don't have rotpk, skip check
      [367]load rotpk hash
      [429]load boot-key hash
      [431]load boot hash
      [563]monitor entry=0x0
      [565]uboot entry=0x43000000
      [568]optee entry=0x41980000
      [570]opensbi entry=0x0
      [573]no need rotpk flag
      [575]tunning data addr:0x430003e8
      [578]drm_region_size is 0
      [580]run out of boot0
      M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
      
      
      U-Boot 2018.05 (Nov 06 2022 - 13:44:39 +0800) Allwinner Technology
      
      [00.762]CPU:   Allwinner Family
      [00.765]Model: sun8iw21
      I2C:   ready
      [00.792]DRAM:  512 MiB
      [00.795]Relocation Offset is: 1ced0000
      [00.820]secure enable bit: 1
      E/TC:0   fdt_getprop_u32:343 prop trace_level not found
      [00.835]PMU: AXP21
      [00.837]BMU: AXP21
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      bias_name:pc_bias        bias_vol:1800
      bias_name:pi_bias        bias_vol:1800
      [00.860]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
      [00.866]gic: sec monitor mode
      sunxi flash map init
      [00.871]flash init start
      [00.873]workmode = 0,storage type = 2
      [00.877][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.882][mmc]: get sdc_type fail and use default host:tm4.
      [00.889][mmc]: SUNXI SDMMC Controller Version:0x50400
      [00.917][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
      [00.924]sunxi flash init ok
      [00.939]line:724 init_clocks
      [00.942]drv_disp_init
      request pwm success, pwm9:pwm9:0x2000c00.
      [00.956]drv_disp_init finish
      [00.960]Loading Environment from SUNXI_FLASH... OK
      [00.971]boot_gui_init:start
      [00.974]set disp.dev2_output_type fail. using defval=0
      [00.979][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [00.984][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [00.988][ICN6202 TO LVDS] LINE:0167-->lcd_power_on:
      [01.006]boot_gui_init:finish
      partno erro : can't find partition bootloader
      54 bytes read in 0 ms
      [01.015]bmp_name=bootlogo.bmp size 38454
      [01.019][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.024][ICN6202 TO LVDS] LINE:0575-->lcd_panel_init:
      [01.190][ICN6202 TO LVDS] LINE:0620-->lcd_panel_init:initialization:icn6202 init reg from mipi
      38454 bytes read in 192 ms (195.3 KiB/s)
      [01.230]Item0 (Map) magic is bad
      [01.233]the secure storage item0 copy0 magic is bad
      [01.250]Item0 (Map) magic is bad
      [01.253]the secure storage item0 copy1 magic is bad
      [01.258]Item0 (Map) magic is bad
      [01.261]out of usb burn from boot: not need burn key
      root_partition is rootfs
      set root to /dev/mmcblk0p4
      [01.270]update part info
      [01.273]update bootcmd
      [01.275]change working_fdt 0x5de8fe70 to 0x5de6fe70
      [01.282][mmc]: delete mmc-hs400-1_8v from dtb
      [01.286][mmc]: delete mmc-hs200-1_8v from dtb
      [01.290][mmc]: get max-frequency ok 50000000 Hz
      disable nand error: FDT_ERR_BADPATH
      [01.304]The storage not support sample function
      [01.310]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      [01.318][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.324]update dts
      [01.328][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.332][ICN6202 TO LVDS] LINE:0203-->lcd_bl_open:
      [01.340][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.344][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
      [01.349]LCD open finish
      Hit any key to stop autoboot:  0
      pubkey boot valid
      [02.497]no vendor_boot partition is found
      Android's image name: v853-vision
      [02.546]Starting kernel ...
      
      [02.549][mmc]: mmc exit start
      [02.567][mmc]: mmc 2 exit ok
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.9.191 (whycan@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #20 PREEMPT Sun Nov 6 05:54:56 UTC 2022
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      [    0.000000] CPU: div instructions available: patching division code
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
      [    0.000000] OF: fdt:Machine model: sun8iw21
      [    0.000000] ion_mem_reserve: err format for ion reserve list!
      [    0.000000] disp reserve base 0x5df1a000 ,size 0x3e8000
      [    0.000000] Reserved memory: created DMA memory pool at 0x47bc0000, size 0 MiB
      [    0.000000] OF: reserved mem: initialized node vdev0buffer@0x47BC0000, compatible id shared-dma-pool
      [    0.000000] Memory policy: Data cache writeback
      [    0.000000] On node 0 totalpages: 129980
      [    0.000000] free_area_init_node: node 0, pgdat c0b552f4, node_mem_map dfbf8000
      [    0.000000]   Normal zone: 1024 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 129980 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: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] CPU: All CPU(s) started in SVC mode.
      [    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: 128956
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:recovery@mmcblk0p6:UDISK@mmcblk0p7 cma= mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=32K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw21p1 boot_type=2 androidboot.boot_type=2 gpt=1 androidboot.verifiedbootstate=<NULL> uboot_message=2018.05(11/06/2022-13:44:39) mbr_offset=1126400 disp_reserve=4096000,0x5df1a000 bootreason=unknow androidboot.dramsize=512
      [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
      [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
      [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
      [    0.000000] Memory: 498540K/519920K available (6144K kernel code, 344K rwdata, 2276K rodata, 1024K init, 182K bss, 21380K reserved, 0K cma-reserved, 0K highmem)
      [    0.000000] Virtual kernel memory layout:
      [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
      [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
      [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
      [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
      [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
      [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      [    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
      [    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
      [    0.000000]       .data : 0xc0b00000 - 0xc0b56390   ( 345 kB)
      [    0.000000]        .bss : 0xc0b56390 - 0xc0b83ca4   ( 183 kB)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      [    0.000000] Preemptible hierarchical RCU implementation.
      [    0.000000]  Build-time adjustment of leaf fanout to 32.
      [    0.000000] NR_IRQS:16 nr_irqs:16 16
      [    0.000000] sunxi_efuse_readn failed:-13
      [    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 (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000021] Switching to timer-based delay loop, resolution 41ns
      [    0.000202] Console: colour dummy device 80x30
      [    0.000226] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000240] pid_max: default: 32768 minimum: 301
      [    0.000429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000442] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000981] CPU: Testing write buffer coherency: ok
      [    0.001476] Setting up static identity map for 0x40100000 - 0x40100058
      [    0.003003] devtmpfs: initialized
      [    0.040342] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.040852] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.040876] futex hash table entries: 256 (order: -1, 3072 bytes)
      [    0.041024] atomic64_test: passed
      [    0.041035] pinctrl core: initialized pinctrl subsystem
      [    0.042127] NET: Registered protocol family 16
      [    0.042854] DMA: preallocated 32 KiB pool for atomic coherent allocations
      [    0.044143] dump_class_init,857, success
      [    0.069459] cpuidle: using governor menu
      [    0.070682] platform 2010000.iommu: iova_base: 0x48400000
      [    0.071154] sunxi iommu: irq = 22
      [    0.091361] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver
      [    0.093149] sunxi hwspinlock vbase:0xe0822000
      [    0.094994] iommu: Adding device npu to group 0
      [    0.096669] iommu: Adding device 1c0e000.ve to group 0
      [    0.111569] iommu: Adding device 5410000.g2d to group 0
      [    0.112517] iommu: Adding device 5000000.disp to group 0
      [    0.122629] iommu: Adding device 5908000.tdm to group 0
      [    0.123286] iommu: Adding device 5900000.isp to group 0
      [    0.124163] iommu: Adding device 58ffffc.isp to group 0
      [    0.124994] iommu: Adding device 58ffff8.isp to group 0
      [    0.125628] iommu: Adding device 58ffff4.isp to group 0
      [    0.126161] iommu: Adding device 5800800.vind:isp@4 to group 0
      [    0.126827] iommu: Adding device 5910000.scaler to group 0
      [    0.127244] iommu: Adding device 590fffc.scaler to group 0
      [    0.127827] iommu: Adding device 590fff8.scaler to group 0
      [    0.128333] iommu: Adding device 590fff4.scaler to group 0
      [    0.129143] iommu: Adding device 5910400.scaler to group 0
      [    0.129978] iommu: Adding device 59103fc.scaler to group 0
      [    0.130530] iommu: Adding device 59103f8.scaler to group 0
      [    0.130968] iommu: Adding device 59103f4.scaler to group 0
      [    0.131723] iommu: Adding device 5910800.scaler to group 0
      [    0.132283] iommu: Adding device 59107fc.scaler to group 0
      [    0.132797] iommu: Adding device 59107f8.scaler to group 0
      [    0.133351] iommu: Adding device 59107f4.scaler to group 0
      [    0.134018] iommu: Adding device 5910c00.scaler to group 0
      [    0.134642] iommu: Adding device 5910bfc.scaler to group 0
      [    0.135069] iommu: Adding device 5910bf8.scaler to group 0
      [    0.135638] iommu: Adding device 5910bf4.scaler to group 0
      [    0.136873] iommu: Adding device vinc0 to group 0
      [    0.137727] iommu: Adding device vinc4 to group 0
      [    0.138673] iommu: Adding device vinc8 to group 0
      [    0.139473] iommu: Adding device vinc12 to group 0
      [    0.184348] pwm module init!
      [    0.188913] sunxi-pm debug v3.10
      [    0.193237] SCSI subsystem initialized
      [    0.193959] usbcore: registered new interface driver usbfs
      [    0.194139] usbcore: registered new interface driver hub
      [    0.194315] usbcore: registered new device driver usb
      [    0.194606] sunxi_i2c_adap_init()2748 - init
      [    0.195068] sunxi_i2c_probe()2443 - [i2c0] twi_drv_used = 0
      [    0.195083] sunxi_i2c_probe()2450 - [i2c0] twi_pkt_interval = 0
      [    0.195159] twi_regulator_request()647 - [i2c0] regulator not found(isn't configured in dts)!
      [    0.195168] twi_request_gpio()463 - [i2c0] init name: (null)
      [    0.195999] sunxi_i2c_probe()2443 - [i2c1] twi_drv_used = 0
      [    0.196018] sunxi_i2c_probe()2450 - [i2c1] twi_pkt_interval = 0
      [    0.196093] twi_regulator_request()647 - [i2c1] regulator not found(isn't configured in dts)!
      [    0.196104] twi_request_gpio()463 - [i2c1] init name: (null)
      [    0.197534] sunxi_i2c_probe()2443 - [i2c2] twi_drv_used = 0
      [    0.197554] sunxi_i2c_probe()2450 - [i2c2] twi_pkt_interval = 0
      [    0.197628] twi_regulator_request()647 - [i2c2] regulator not found(isn't configured in dts)!
      [    0.197639] twi_request_gpio()463 - [i2c2] init name: (null)
      [    0.199416] sunxi_i2c_probe()2443 - [i2c3] twi_drv_used = 0
      [    0.199434] sunxi_i2c_probe()2450 - [i2c3] twi_pkt_interval = 0
      [    0.199510] twi_regulator_request()647 - [i2c3] regulator not found(isn't configured in dts)!
      [    0.199520] twi_request_gpio()463 - [i2c3] init name: (null)
      [    0.201153] sunxi_i2c_probe()2443 - [i2c4] twi_drv_used = 0
      [    0.201171] sunxi_i2c_probe()2450 - [i2c4] twi_pkt_interval = 0
      [    0.201254] twi_regulator_request()647 - [i2c4] regulator not found(isn't configured in dts)!
      [    0.201265] twi_request_gpio()463 - [i2c4] init name: (null)
      [    0.202365] axp20x-i2c 4-0034: AXP20x variant AXP2101 found
      [    0.219328] random: fast init done
      [    0.232056] axp20x-i2c 4-0034: AXP20X driver loaded
      [    0.232569] media: Linux media interface: v0.10
      [    0.232713] Linux video capture interface: v2.00
      [    0.235943] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
      [    0.236266] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
      [    0.237476] Advanced Linux Sound Architecture Driver Initialized.
      [    0.238363] Bluetooth: Core ver 2.22
      [    0.238508] NET: Registered protocol family 31
      [    0.238520] Bluetooth: HCI device and connection manager initialized
      [    0.238540] Bluetooth: HCI socket layer initialized
      [    0.238555] Bluetooth: L2CAP socket layer initialized
      [    0.238594] Bluetooth: SCO socket layer initialized
      [    0.241798] G2D: rcq version initialized.major:251
      [    0.243593] clocksource: Switched to clocksource arch_sys_counter
      [    0.272298] udc_init,0
      [    0.273450] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
      [    0.274160] thermal thermal_zone2: power_allocator: sustainable_power will be estimated
      [    0.274339] NET: Registered protocol family 2
      [    0.293887] TCP established hash table entries: 16 (order: -6, 64 bytes)
      [    0.293905] TCP bind hash table entries: 16 (order: -6, 64 bytes)
      [    0.293915] TCP: Hash tables configured (established 16 bind 16)
      [    0.293978] UDP hash table entries: 256 (order: 0, 4096 bytes)
      [    0.294009] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
      [    0.294220] NET: Registered protocol family 1
      [    0.298732] sunxi_sid_driver_init+0x0/0x10 complete comp.
      [    0.299641] workingset: timestamp_bits=29 max_order=17 bucket_order=0
      [    0.316002] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.320052] io scheduler noop registered
      [    0.320068] io scheduler deadline registered
      [    0.320345] io scheduler cfq registered (default)
      [    0.321597] [DISP]disp_module_init
      [    0.323021] [DISP] disp_init,line:2340:
      [    0.323038] smooth display screen:0 type:1 mode:4
      [    0.360838] lcd 0, driver_name t050k589,  panel_name default_lcd
      [    0.360856] lcd 0, driver_name t050k589,  panel_name t050k589
      [    0.360874] lcd 0, driver_name t050k589,  panel_name icn6202
      [    0.360882] lcd 0, driver_name t050k589,  panel_name super_lcd_driver
      [    0.361015] display_fb_request,fb_id:0
      [    0.370468] [DISP] de_fcm_set_para,line:491:
      [    0.370483] fcm lut 0 not find, auto retry after init
      [    0.371716] [DISP]disp_module_init finish
      [    0.374525] [DISP] de_fcm_set_para,line:491:
      [    0.374539] fcm lut 0 not find, auto retry after init
      [    0.374563] [DISP] de_fcm_set_para,line:491:
      [    0.374569] fcm lut 0 not find, auto retry after init
      [    0.374638] [DISP] lcd_clk_config,line:699:
      [    0.374651] disp 0, clk: pll(360000000),clk(360000000),dclk(60000000) dsi_rate(60000000)
      [    0.374651]      clk real:pll(360000000),clk(360000000),dclk(90000000) dsi_rate(150000000)
      [    0.381023] Freeing logo buffer memory: 4000K
      [    0.381278] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI
      [    0.381307] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n
      [    1.601492] console [ttyS0] enabled
      [    1.607000] uart2: ttyS2 at MMIO 0x2500800 (irq = 290, base_baud = 1500000) is a SUNXI
      [    1.617378] misc dump reg init
      [    1.621620] npu[1][1] vipcore, platform driver device=0xdf5a5410
      [    1.628727] npu[1][1] vipcore irq number is 291.
      [    1.633992] gckvip_drv_adjust_param 232 SUCCESS
      [    1.639145] Want set pclk rate(492000000) support(492000000) real(492000000)
      [    1.647268] Want set mclk rate(492000000) support(492000000) real(492000000)
      [    1.655239] npu[1][1] This device support 64bits DMA
      [    1.661307] npu[1][1] core_0, request irqline=291, name=vipcore_0
      [    1.668433] npu[1][1] =======vipcore parameter=====
      [    1.674003] npu[1][1] registerMemBase     0x03050000,
      [    1.679777] npu[1][1] registerMemSize     0x00020000,
      [    1.685584] npu[1][1] irqLine             0x00000123,
      [    1.691368] npu[1][1] contiguousSize      0x00100000
      [    1.697016] npu[1][1] contiguousBase      0x30000000
      [    1.702592] npu[1][1] vipContiguousBase   0x0
      [    1.707532] npu[1][1] drvType             0x00000000
      [    1.713109] npu[1][1] AXISramSize         0x00000000
      [    1.718711] npu[1][1] AXISramBaseAddress  0x00000000
      [    1.724308] npu[1][1] VIPSramSize         0x00020000
      [    1.729884] npu[1][1] VIPSramBaseAddress  0x00400000
      [    1.735472] npu[1][1] sysHeapSize         0x00200000
      [    1.741055] npu[1][1] ===============================
      [    1.746811] npu[1][1] VIPLite driver version 1.8.1.0-AW-2022-07-26
      [    1.754609] sunxi-bt soc@03000000:bt: bt_power_num (0)
      [    1.760425] sunxi-bt soc@03000000:bt: Missing bt_io_regulator.
      [    1.767134] sunxi-bt soc@03000000:bt: io_regulator_name ((null))
      [    1.773978] sunxi-bt soc@03000000:bt: request pincrtl handle for device [soc@03000000:bt] failed
      [    1.783934] sunxi-bt soc@03000000:bt: bt_rst gpio=136  mul-sel=5  pull=1  drv_level=2  data=0
      [    1.793558] sunxi-bt soc@03000000:bt: clk_name ()
      [    1.798935] sunxi-bt soc@03000000:bt: clk not config
      [    1.805435] sun8iw21p1-pinctrl pio: expect_func as:fanout0, but muxsel(3) is func:clk
      [    1.814615] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
      [    1.820884] sunxi-wlan soc@03000000:wlan@0: wlan power voltage (3300000)
      [    1.828506] sunxi-wlan soc@03000000:wlan@0: wlan io voltage (3300000)
      [    1.835784] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (1)
      [    1.842355] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp2101-dcdc1)
      [    1.850257] sunxi-wlan soc@03000000:wlan@0: io_regulator_name (axp2101-dcdc1)
      [    1.858365] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=239  mul-sel=1  pull=1  drv_level=2  data=0
      [    1.868985] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
      [    1.876071] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=199  mul-sel=14  pull=1  drv_level=2  data=0
      [    1.887141] sunxi-wlan soc@03000000:wlan@0: clk_name ()
      [    1.894548] libphy: Fixed MDIO Bus: probed
      [    1.899998] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.907839] get ehci0-controller, regulator_io is no nocare
      [    1.914176] get ehci0-controller wakeup-source is fail.
      [    1.920202] sunxi ehci0-controller don't init wakeup source
      [    1.926633] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b76ac8, 0x:e0848000, irq_no:137
      [    1.938812] [sunxi-ehci0]: Not init ehci0
      [    1.943857] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.951208] get ohci0-controller, regulator_io is no nocare
      [    1.957667] get ohci0-controller wakeup-source is fail.
      [    1.963760] sunxi ohci0-controller don't init wakeup source
      [    1.970108] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0b76cec
      [    1.979873] [sunxi-ohci0]: Not init ohci0
      [    1.985076] usbcore: registered new interface driver uas
      [    1.991475] usbcore: registered new interface driver usb-storage
      [    1.998459] usbcore: registered new interface driver ums-alauda
      [    2.005436] usbcore: registered new interface driver ums-cypress
      [    2.012434] usbcore: registered new interface driver ums-datafab
      [    2.019466] usbcore: registered new interface driver ums_eneub6250
      [    2.026779] usbcore: registered new interface driver ums-freecom
      [    2.033814] usbcore: registered new interface driver ums-isd200
      [    2.040756] usbcore: registered new interface driver ums-jumpshot
      [    2.047824] usbcore: registered new interface driver ums-karma
      [    2.054719] usbcore: registered new interface driver ums-onetouch
      [    2.061833] usbcore: registered new interface driver ums-realtek
      [    2.068855] usbcore: registered new interface driver ums-sddr09
      [    2.075877] usbcore: registered new interface driver ums-sddr55
      [    2.082772] usbcore: registered new interface driver ums-usbat
      [    2.089531] usb_serial_number:20080411
      [    2.094182] [GOODIX 9XX INFO] LINE:0122-->goodix_reset:reset the tp !!!!!!
      [    2.203783] sunxi_i2c_do_xfer()1968 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
      [    2.213183] Goodix-TS 2-005d: read version failed: -70
      [    2.218974] Goodix-TS 2-005d: Read version failed.
      [    2.224426] Goodix-TS: probe of 2-005d failed with error -70
      [    2.231113] ERROR! get ctp_para failed, func:sunxi_ctp_startup, line:46
      [    2.238725] =========script_get_item_err============
      [    2.251103] input: axp2101-pek as /devices/platform/soc/twi4/i2c-4/4-0034/axp2101-pek.0/input/input0
      [    2.263309] input: sunxi-wiegand0 as /devices/virtual/input/input1
      [    2.271668] sunxi_gpadc_init,1949, success
      [    2.276952] sunxi_gpadc_setup: get channel scan data failed
      [    2.284403] input: sunxi-gpadc0 as /devices/virtual/input/input2
      [    2.293311] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
      [    2.300567] sunxi-rtc rtc: RTC enabled
      [    2.304960] fix to hot reboot, save boot reason
      [    2.310454] i2c /dev entries driver
      [    2.316137] sunxi cedar version 0.1
      [    2.320388] VE: install start!!!
      [    2.320388]
      [    2.326252] VE: cedar-ve the get irq is 292
      [    2.331048] VE: regs_csi = e0883000
      [    2.335647] VE: ve_proc_mgr: flag = 1
      [    2.335647]
      [    2.341458] VE: install end!!!
      [    2.341458]
      [    2.347259] google_vp9: sunxi google vp9 version 0.1
      [    2.356898] axp2101_charger: read chipid = 4a
      [    2.356898]
      [    2.370777] thermal thermal_zone3: power_allocator: sustainable_power will be estimated
      [    2.402885] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    2.412637] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903
      [    2.420431] Bluetooth: HCI UART protocol H4 registered
      [    2.426821] Bluetooth: HCI H4 protocol initialized
      [    2.432923] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07
      [    2.441693] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
      [    2.448154] axp2101_charger: the gauge have been reset, need to reload param
      [    2.448154]
      [    2.458159] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 0
      [    2.464758] [XR_BT_LPM] bluesleep_probe: uart_index(2)
      [    2.471518] bt_fdi debugfs_init
      [    2.514246] cpuidle: enable-method property 'psci' found operations
      [    2.523579] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
      [    2.532623] sunxi-mmc sdc2: ***ctl-spec-caps*** 308
      [    2.539151] sunxi-mmc sdc2: No vdmmc regulator found
      [    2.544836] sunxi-mmc sdc2: No vd33sw regulator found
      [    2.550498] sunxi-mmc sdc2: No vd18sw regulator found
      [    2.556244] sunxi-mmc sdc2: No vq33sw regulator found
      [    2.561904] sunxi-mmc sdc2: No vq18sw regulator found
      [    2.567997] sunxi-mmc sdc2: set host busy
      [    2.572570] mmc:failed to get gpios
      [    2.576839] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.613638] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.653621] sunxi-mmc sdc2: detmode:alway in(non removable)
      [    2.653646] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.662002] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.663066] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.673904] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.673972] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.686802] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.731461] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
      [    2.740431] sunxi-mmc sdc0: ***ctl-spec-caps*** 408
      [    2.747677] sunxi-mmc sdc0: No vqmmc regulator found
      [    2.753267] sunxi-mmc sdc0: No vdmmc regulator found
      [    2.759368] sunxi-mmc sdc0: set host busy
      [    2.763969] sunxi-mmc sdc0: Got CD GPIO
      [    2.768683] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.814841] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    2.838722] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B
      [    2.849904] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B
      [    2.861072] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS(SDR20) dt B
      [    2.872256] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-DDR52 dt B
      [    2.883194] mmc0: new DDR MMC card at address 0001
      [    2.889424] mmcblk0: mmc0:0001 AT2S38 7.23 GiB
      [    2.894861] mmcblk0boot0: mmc0:0001 AT2S38 partition 1 4.00 MiB
      [    2.901804] mmcblk0boot1: mmc0:0001 AT2S38 partition 2 4.00 MiB
      [    2.909090] mmcblk0rpmb: mmc0:0001 AT2S38 partition 3 4.00 MiB
      [    2.918335]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
      [    3.023706] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
      [    3.053612] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
      [    3.093788] sunxi-mmc sdc0: detmode:gpio irq
      [    3.099072] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
      [    3.108025] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
      [    3.113365] sunxi-mmc sdc1: No vmmc regulator found
      [    3.118875] sunxi-mmc sdc1: No vqmmc regulator found
      [    3.124453] sunxi-mmc sdc1: No vdmmc regulator found
      [    3.130015] sunxi-mmc sdc1: No vd33sw regulator found
      [    3.135693] sunxi-mmc sdc1: No vd18sw regulator found
      [    3.141352] sunxi-mmc sdc1: No vq33sw regulator found
      [    3.147021] sunxi-mmc sdc1: No vq18sw regulator found
      [    3.153066] sunxi-mmc sdc1: set host busy
      [    3.157654] mmc:failed to get gpios
      [    3.161850] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.193638] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.233620] sunxi-mmc sdc1: detmode:manually by software
      [    3.239613] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.245602] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.245622] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.253687] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.265499] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.276273] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.282143] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.288028] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.288047] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.289116] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.311177] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.321507] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.344073] usbcore: registered new interface driver usbhid
      [    3.350340] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.356595] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.356635] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.364775] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.376625] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.387463] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.393367] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.399251] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.399283] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.400358] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.432680] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.443982] usbhid: USB HID core driver
      [    3.451457] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid
      [    3.462036] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.468244] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok
      [    3.479108] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.479169] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.487353] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.499259] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.510054] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.515951] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.521833] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.521849] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.522928] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.546068] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.569426] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok
      [    3.582206] Netfilter messages via NETLINK v0.30.
      [    3.587543] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.593837] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    3.593877] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.602063] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.613958] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.624845] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.630737] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.636632] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    3.636661] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.660082] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
      [    3.667132] ctnetlink v0.93: registering with nfnetlink.
      [    3.673392] ip_tables: (C) 2000-2006 Netfilter Core Team
      [    3.680509] NET: Registered protocol family 10
      [    3.686961] NET: Registered protocol family 17
      [    3.691973] NET: Registered protocol family 15
      [    3.697290] Bluetooth: RFCOMM TTY layer initialized
      [    3.702771] Bluetooth: RFCOMM socket layer initialized
      [    3.708648] Bluetooth: RFCOMM ver 1.11
      [    3.714157] Registering SWP/SWPB emulation handler
      [    3.726656] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:31 UTC (31)
      [    3.735855] clk: Not disabling unused clocks
      [    3.740765] usb-vbus: disabling
      [    3.744713] axp2101-dcdc2: disabling
      [    3.749424] axp2101-rtcldo1: disabling
      [    3.753960] axp2101-aldo2: disabling
      [    3.758635] axp2101-aldo3: disabling
      [    3.763321] axp2101-aldo4: disabling
      [    3.768040] axp2101-bldo2: disabling
      [    3.772712] axp2101-dldo1: disabling
      [    3.777424] axp2101-dldo2: disabling
      [    3.782121] axp2101-cpusldo: disabling
      [    3.786774] ALSA device list:
      [    3.790095]   #0: audiocodec
      [    3.793316]   #1: snddaudio0
      [    3.812064] VFS: Mounted root (squashfs filesystem) readonly on device 179:4.
      [    3.821537] devtmpfs: mounted
      [    3.826660] Freeing unused kernel memory: 1024K
      mount: mounting none on /dev failed: Resource busy
      [    4.022775] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
      [    4.035671] EXT4-fs (mmcblk0p5): mounted filesystem with journalled data mode. Opts: data=journal
      starting pid 841, tty '': '/etc/preinit'
      can't run '/etc/preinit': No such file or directory
      starting pid 842, tty '': '/bin/mount -t proc proc /proc'
      mount: mounting proc on /proc failed: Resource busy
      starting pid 843, tty '': '/bin/mount -t tmpfs tmpfs /run'
      starting pid 844, tty '': '/bin/mount -o remount,rw /'
      starting pid 845, tty '': '/bin/mkdir -p /dev/pts'
      starting pid 846, tty '': '/bin/mkdir -p /dev/shm'
      starting pid 847, tty '': '/bin/mount -a'
      starting pid 848, tty '': '/bin/hostname -F /etc/hostname'
      hostname: can't open '/etc/hostname': No such file or directory
      starting pid 849, tty '': '/etc/init.d/rcS boot'
      ------run rc.preboot file-----
      [    4.193497] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
      ------run rc.modules file-----
      [    4.252352] ======== XRADIO WIFI OPEN ========
      [    4.257587] [XRADIO] Driver Label:XR_V02.16.91 _HT40_01.33  Oct 28 2022 04:26:30
      [    4.265983] [XRADIO] Allocated hw_priv @ dec7cc80
      [    4.271399] [XRADIO_ERR] Access_file failed, path:/data/misc/wifi/xr_wifi.conf!
      [    4.280373] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
      [    4.287787] sunxi-wlan soc@03000000:wlan@0: check wlan wlan_power voltage: 3300000
      [    4.297692] sunxi-wlan soc@03000000:wlan@0: check wlan io_regulator voltage: 3300000
      [    4.416530] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.426800] [XRADIO] Detect SDIO card 1
      [    4.463642] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.504254] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.517467] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.538479] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    4.549204] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    4.560195] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    4.571698] mmc2: new high speed SDIO card at address 0001
      [    4.578474] [SBUS] XRadio Device:sdio clk=50000000
      [    4.584678] [XRADIO] XRADIO_HW_REV 1.0 detected.
      [    4.664022] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
      [    4.705928] [XRADIO] Bootloader complete
      [    4.794118] [XRADIO] Firmware completed.
      [    4.799867] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
      [    4.817315] [XRADIO] Firmware Startup Done.
      [    4.822313] [XRADIO_WRN] enable Multi-Rx!
      [    4.840778] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
      ------run rc.final file-----
      Load mpp modules
      [    4.917246] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
      [    4.928100] [VIN_WARN]sensor_helper_probe: cannot get sensor1_cameravdd supply, setting it to NULL!
      [    5.229749] [VIN_ERR]registering imx386_mipi_2, No such device!
      insmod: can't insert '/lib/modules/4.9.191/sunxi_aio.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.191/sunxi_eise.ko': No such file or directory
      Starting logging: start-stop-daemon: unrecognized option: exec
      start-stop-daemon: unrecognized option: exec
      OK
      Starting audio: Successfully play boot music
      Populating /dev using udev: playing '/home/res/audio/startup.wav': 2 ch, 48000 hz, 16 bit
      [    5.342227] udevd[972]: could not create /tmp/run/udev: No such file or directory
      done
      mkdir: can't create directory '/dev/pts': File exists
      mkdir: can't create directory '/dev/shm': File exists
      Initializing random number generator... [    5.506585] random: dd: uninitialized urandom read (512 bytes read)
      done.
      Starting network: Failed to connect to ubus
      /sbin/ifup: line 51: /sbin/wifi: not found
      FAIL
      ifconfig: invalid hw-addr 00:
      udhcpc: SIOCGIFINDEX: No such device
      Starting telnetd: OK
      enable android usb
      insmod: can't insert '/lib/modules/4.9.191/sunxi_usb_udc.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.191/sunxi_usbc.ko': No such file or directory
      [    5.651731] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
      [    5.673798] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
      Unknown group "lp" in message bus configuration file
      [    5.799449] file system registered
      [    5.815475] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      sh: write error: No such device
      Starting wifi_deamon....: [    5.832947] read descriptors
      [    5.836338] read strings
      1970-01-01 00:00:33:636: WMG_INFO [wifi_deamon.c:main:1076]:  debug log level is: 3
      1970-01-01 00:00:33:637: WMG_INFO [wifi_deamon.c:main:1078]:  now set to debug level: 6
      [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
      
      [    7.323613]
      [    7.323613] insmod_device_driver
      [    7.323613]
      [    7.572517] android_work: sent uevent USB_STATE=CONNECTED
      [    7.673715] configfs-gadget gadget: high-speed config #1: c
      [    7.680148] android_work: sent uevent USB_STATE=CONFIGURED
      Close IRCUT........1970-01-01 00:00:35:645: WMG_DEBUG [wifi_deamon.c:cmd_handle_thread:961]:  get cmd: o sta
      1970-01-01 00:00:35:645: WMG_DEBUG [wifi_deamon.c:cmd_handle_o:259]:  cmd handle o: sta
      1970-01-01 00:00:35:645: WMG_INFO [wifi_deamon.c:cmd_handle_o:261]:  open sta mode
      1970-01-01 00:00:35:645: WMG_INFO [src/wmg_sta.c:sta_mode_init:363]:  sta mode init now
      1970-01-01 00:00:35:645: WMG_INFO [src/os/linux/linux_wpa.c:linux_supplicant_init:1436]:  linux supplicant init now
      1970-01-01 00:00:35:645: WMG_INFO [src/wmg_ap.c:ap_mode_init:216]:  ap mode init now
      1970-01-01 00:00:35:645: WMG_INFO [src/os/linux/linux_hapd.c:linu[    7.930293] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
      x_ap_hapd_init:754]:  linux hostapd init now
      1970-01-01 00:00:35:645: WMG_INFO [src/wmg_monitor.c:monitor_mode_init:206]:  monitor mode init now
      1970-01-01 00:00:35:645: WMG_INFO [src/os/linux/linux_nl.c:linux_monitor_nl_init:250]:  linux monitor nl init now
      1970-01-01 00:00:35:646: WMG_DEBUG [src/os/linux/linux_nl.c:linux_monitor_nl_init:255]:  nl80211 init success
      1970-01-01 00:00:35:646: WMG_DEBUG [src/wmg_common.c:wifimg_init:837]:  wifi_manager initialize, version: 2.0.1
      Copyright (c) 2019-2025 Allwinner Technology Co., Ltd. ALL rights reserved
      1970-01-01 00:00:35:646: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:950]:  switch wifi mode from current_mode 'unknown' to new_mode 'station'
      1970-01-01 00:00:35:646: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:954]:  switch_mode_bitmap:0x1
      1970-01-01 00:00:35:646: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:955]:  current_mode_bitmap:0x0
      1970-01-01 00:00:35:646: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:958]:  disable_mode_bitmap:0x0
      1970-01-01 00:00:35:646: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:988]:  enable_mode_bitmap:0x1
      1970-01-01 00:00:35:646: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:412]: wifi station enabling...
      /etc/init.d/rcS: /etc/init.d/rc.final: line 36: powerkey_daemon: not found
      1970-01-01 00:00:35:69[    8.056746] urandom_read: 2 callbacks suppressed
      0: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:32]: hostapd not exist
      Trying to [    8.056753] random: wpa_supplicant: uninitialized urandom read (3 bytes read)
      connect to SWUpdate...
      1970-01-01 00:00:35:740: WMG_EXCESSIVE [src/os/linux/utils.c:check_proce[    8.086280] random: wpa_supplicant: uninitialized urandom read (1024 bytes read)
      ss_is_exist:32]: wpa_supplicant not exist
      1970-01-01 00:00:35:740: WMG_DEBUG [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1519]:  wpa_supplicant is not running, need to start it
      mount: mounting /dev/mmcblk1p1 on /mnt/sdcard failed: No such file or directory
      starting pid 1087, tty '/dev/console': '-/bin/sh'
      
      
      BusyBox v1.27.2 () built-in shell (ash)
      
      ------run profile file-----
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
      [    8.144105] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=a4:51:88:94:12:4c
      
        |_|  |_||_|_||_|_|  Tina is B[    8.155212] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=a4:51:88:94:12:4c
      ased on OpenWrt!
       ----------------------------------------------
       Tina Linux (Neptune, 5C1C9C5[    8.173238] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
      3)
       ----------------------------------------------
      swu_param: ####
      swu_software: ####
      swu_mode: ####
      no swupdate_cmd to run, wait for next swupdate
      root@TinaLinux:/# Successfully initial[    8.197019] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
      ized wpa_supplicant
      [    8.253563] random: wpa_supplicant: uninitialized urandom read (3 bytes read)
      1970-01-01 00:00:36:767: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:29]: wpa_supplicant exist
      1970-01-01 00:00:36:768: WMG_DEBUG [src/os/linux/linux_wpa.c:start_supplicant:367]:  start wpa_supplicant times 1 success
      1970-01-01 00:00:36:768: WMG_EXCESSIVE [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1526]: start wpa_supplicant success
      1970-01-01 00:00:36:768: WMG_EXCESSIVE [src/os/linux/linux_wpa.c:wifi_connect_on_socket_path:168]: connect to wpa_supplicant ok!
      1970-01-01 00:00:36:769: WMG_DUMP [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1561]: create linux sta event handle thread success
      1970-01-01 00:00:36:769: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:420]: start wpa_supplicant success
      1970-01-01 00:00:36:769: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:424]: wifi station enable success
      1970-01-01 00:00:36:769: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:994]:  wifi sta mode enable success
      1970-01-01 00:00:36:769: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:1014]:  switch after current_mode_bitmap:0x1
      1970-01-01 00:00:36:769: WMG_DEBUG [src/wmg_common.c:__wifi_on:46]:  switch wifi mode success
      1970-01-01 00:00:36:769: WMG_INFO [wifi_deamon.c:cmd_handle_o:265]:  wifi on sta mode success
      1970-01-01 00:00:36:769: WMG_INFO [wifi_deamon.c:cmd_handle_o:270]:  wifi register msg cb
      1970-01-01 00:00:36:769: WMG_DEBUG [src/wmg_sta.c:sta_mode_ctl:463]:  =====sta_mode_ctl  cmd: 9=====
      1970-01-01 00:00:36:769: WMG_WARNG [src/wmg_ap.c:ap_mode_ctl:308]:  wifi ap already disabled
      1970-01-01 00:00:36:769: WMG_WARNG [src/wmg_monitor.c:monitor_mode_ctl:298]:  wifi monitor already disabled
      1970-01-01 00:00:36:769: WMG_DEBUG [src/wmg_common.c:__wifi_register_msg_cb:433]:  register msg cb success
      [   67.134329] random: crng init done
      [   67.138150] random: 2 urandom warning(s) missed due to ratelimiting
      

      手上这个V853开发板,只烧写了安全固件,但是没有烧rotpk.bin,
      只符合:

      “sboot commit...”、“OLD version:...”、“NEW version: ...”、“secure enable bit: 1

      不符合:

      “have rotpk, do check”

      所以,现在这块V853开发板只能烧加密固件(不管密钥是啥),不能烧非加密固件了:
      80924d4b-3bb1-4004-96c3-7abe3b208a2d-image.png

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 请教t113s3运行芒果例程驱动7寸RGB问题

      @justyu666
      是不是uboot 里面开屏了? 如果是的改 uboot-board.dts 试一试.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 在wsl下开发T113的主线linux(最新gcc+awboot+最新kernel+最新buildroot)

      这篇文章记录了在wsl系统下编译调试awboot和linux的全过程

      硬件要求:任意T113-S3芯片的板子,SPI0接spinand标准接法。

      1、准备wsl开发环境

      首先在win10或win11下安装wsl,选择wsl1或者wsl2都可以,wsl2的性能更高一些,wsl1的跨系统文件操作速度更快一些,我这里因为有一些工程在win文件系统下,所以选择了wsl1,发行版使用最新的Ubuntu 22.04.01 LTS。
      这里我没有选用vm虚拟机安装ubuntu开发的原因是虚拟机下的文件交互不够方便,特别是git和文件对比,有时在内核源码改了一些文件,使用win下的TortoiseGit工具就可以很方便的查看差异,提交变更。使用beyond compare也可很方便的比较各种文件文件夹的不同版本的差异。
      21d39193-ed21-4a4f-ae6f-d6dec28b7a9f-image.png
      在win资源管理器下可以直接查看wsl的linux根目录,右键可以直接执行各种操作,就像操作win文件一样

      这里编译开发的核心软件只有一个,就是VS code,安装好后添加所需的插件。
      串口调试工具使用MobaXterm

      下载交叉编译器,这里使用arm官方最新的GCC 12.2
      https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
      arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz
      下载后解压在wsl的主目录,在.bashrc中添加编译器路径

      PATH="$PATH:/home/wsl/arm-none-linux-gnueabihf/bin"

      2、编译awboot

      意外发现有awboot能够代替uboot直接引导内核,体验了一下果断选择awboot,因为足够简洁,编译大小只有32k,和uboot接近1M的体量相比,简直是小而美,启动速度也比uboot快上不少,也能同时支持sd卡,spinand,spinorflash启动。
      https://github.com/szemzoa/awboot

      说起uboot不禁想起几年前路由器第三方固件盛行的时期,那时的路由器还没有很复杂的方案,第三方固件往往比官方固件更易用功能更丰富,买个普通路由器换颗flash,内存芯片刷个系统就能获得更丰富的功能体验,各种固件openwrt,Padavan,高格百花齐放,为了刷机方便,系统的uboot都要支持tftp,串口甚至web的文件传输接口,由此孕育而出了大名鼎鼎的Breed,仅仅为了更新固件更方便,不用spi flash编程器那么麻烦的烧写。而到了全志嵌入式这边,由于自带usb接口的BROM,使用sunxi-fel或者xfel烧写flash已足够方便,所以使用uboot更新固件的需求就不是那么大,况且全志的方案比路由器的方案定制性更高一些,没有通用的第三方固件可以刷,所以uboot的功能就完全成了摆设,让用户使用sunxi-fel更新固件都要比uboot更新固件更稳定更实用,消费者用户用不到,开发人员也不会去用,那uboot的1m大小,集成的各种usb,网络,屏幕驱动,环境变量,文件系统,设备树编辑等功能就显得格外多余。

      15a4a48f-2147-485d-a424-e76bd042c293-image.png

      awboot相比spl+uboot的区别就是少了一次跳转的过程,由BROM拉起的boot0拥有足足160kb的sram,足够编写执行引导kernel的代码,所以这何尝不是一种恰到好处。

      下面是awboot的编译过程:
      修改makefile中的CROSS_COMPILE编译器定义为arm-none-linux-gnueabihf,或者使用

      make CROSS_COMPILE=arm-none-linux-gnueabihf
      命令编译
      如果不是git拉取的而是手动下载解压的源码,需要去除git编译目标,位于makefile line:49
      出现DWORD重复定义的错误,删除lib\fatfs\integer.h中的DWORD定义
      链接出现未定义函数__aeabi_unwind_cpp_pr0,makefile中添加编译选项CFLAGS += -lgcc_eh
      链接出现未定义函数raise,在main.c中添加函数

      int raise(void)
      {
      	return 0;
      }
      

      编译成功,出现awboot.bin等文件

      3、写入spinand测试

      接下来是烧写入硬件验证,我的板子焊接的是W25N01GV,这里使用xfel,因为支持写入spi-nand。
      https://github.com/xboot/xfel

      为什么不使用sd卡验证,因为烧写sd卡需要:
      拔卡->插到电脑->dd命令写入->拔卡->插到板子上。
      而写入spi-nand只需要:
      按着boot键同时按复位键->xfel命令写入(可以飞线两个按键,复位键接到reset脚到地,boot键接到spi-cs脚到地)。
      步骤大幅减少,同时没有拔插sd卡造成的触点磨损。同时因为使用的wsl系统,并不能很方便的使用dd命令写入sd卡。虽然wsl下也不能直接访问全志的usb设备,但是xfel有win的版本,wsl下可直接执行exe文件,所以只需要下载xfel-windows解压到wsl中,在.bashrc中添加命令别名

      alias xfel='/home/wsl/xfel-windows-v1.2.9/xfel.exe'
      即可在wsl中使用win版的xfel,就像linux中的xfel一模一样。

      make spi-boot.img
      xfel version
      xfel spinand
      xfel spinand erase 0 0x8000000
      xfel spinand write 0 spi-boot.img
      

      复位重启,可以在串口看到awboot打印的信息
      awboot默认使用uart5打印,其他串口可以修改board.c中的配置,非常通俗易懂
      内核加载地址如下表,可在board.h中修改

      • spi-nand内存划分 起始地址 空间容量
      • awboot 0 0x40000(256k)
      • dtb 0x40000 0x40000(256k)
      • kernel 0x80000 任意
      [I] AWBoot r6143 starting...
      [I] SPI-NAND: W25N01GV detected
      [E] SPI-NAND: DTB verification failed
      [F] SPI-NAND: loading failed
      restarting...
      

      4、编译kernel

      接下来编译kernel,编译过程可能会出现缺少命令的报错,大概是下面这几个

      sudo apt update
      sudo apt install flex bison bc libncurses-dev
      

      目前linux主线的最新版本并没有适配t113的相关外设驱动,虽然能启动并串口打印,但其他的一些外设并没有驱动,还不是可用的状态,所以这里选择全志D1的kernel进行修改。
      https://github.com/smaeul/linux/tree/d1/all

      unzip linux-d1-all.zip
      cd linux-d1-all
      

      应用awboot提供的linux补丁

      linux/allow_select_d1_ccu_on_t113.patch
      linux/ccu-sun20i-make_cpux_clk_critical_for_t113.patch
      linux/second_core_support_in_platsmp.patch
      linux/d1s_t113_can_bus.patch
      

      在arch\arm\configs\sunxi_defconfig中添加D1时钟

      CONFIG_SUN20I_D1_CCU=y
      CONFIG_SUN20I_D1_R_CCU=y
      

      添加sun8i-t113.dtsi和sun8i-t113-mangopi-dual.dts设备树配置文件到arch\arm\boot\dts
      在arch\arm\boot\dts\Makefile的line:1389 处,CONFIG_MACH_SUN8I配置中添加sun8i-t113-mangopi-dual.dtb

      awboot提供的sun8i-t113-mangopi-dual.dts设备树文件调试终端串口是5,需要改成uart0。

      make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- sunxi_defconfig
      make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- zImage -j4
      make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- dtbs
      
      xfel spinand write 0x40000 arch/arm/boot/dts/sun8i-t113-mangopi-dual.dtb
      xfel spinand write 0x80000 arch/arm/boot/zImage
      

      5245787f-02fb-49ac-ba26-e4167ce500f2-image.png

      复位,串口成功打印内核信息,目前spinand中还没有文件系统,所以系统无法启动成功。

      5、构建ubi文件系统

      接下来是构建文件系统,这里使用最新的buildroot
      https://buildroot.org/downloads/buildroot-2022.11.tar.gz

      tar xf buildroot-2022.11.tar.gz
      cd buildroot-2022.11
      make menuconfig
      配置目标指令集类型
      006b7cd7-d0d3-40a7-b20b-b58a0ae89aca-image.png

      配置外部自定义编译器
      345e868b-a6ef-4376-9f7b-d01239c4aa36-image.png

      配置生成文件系统类型为ubifs,最大逻辑擦除块数量决定了spinand的容量,我这里是128M的spinand,所以128M/128k = 1024
      c798468b-ad46-44ea-b24a-bbe272779220-image.png

      上面的这些配置操作可以用下面的默认配置文件代替,在configs文件夹创建sunxi_t113_spinand_defconfig文件,添加下面内容,使用make sunxi_t113_spinand_defconfig载入配置。

      # architecture
      BR2_arm=y
      BR2_cortex_a7=y
      BR2_ARM_FPU_VFPV4=y
      
      # Toolchain
      BR2_TOOLCHAIN_EXTERNAL=y
      BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
      BR2_TOOLCHAIN_EXTERNAL_PATH="/home/wsl/arm-none-linux-gnueabihf"
      BR2_TOOLCHAIN_EXTERNAL_GLIBC=y
      BR2_TOOLCHAIN_EXTERNAL_PREFIX="arm-none-linux-gnueabihf"
      BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-none-linux-gnueabihf"
      BR2_TOOLCHAIN_EXTERNAL_GCC_12=y
      BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20=y
      BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
      # BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set
      BR2_TOOLCHAIN_EXTERNAL_CXX=y
      
      # system
      
      # kernel
      
      # bootloader
      
      # filesystem / image
      BR2_TARGET_ROOTFS_UBI=y
      BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000
      BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
      BR2_TARGET_ROOTFS_UBIFS=y
      BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
      BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800
      BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=1024
      BR2_TARGET_ROOTFS_UBIFS_OPTS="-F"
      

      配置完成后make开始编译,接下来就是漫长的下载编译过程,大概需要半小时。
      编译成功后会生成output/images/rootfs.ubi,使用xfel命令写入。

      xfel spinand erase 0x800000 0x7800000
      xfel spinand write 0x800000 output/images/rootfs.ubi
      复位发现没有启动成功,原来内核默认没有打开mtd和ubi支持,在内核配置添加下面选项

      Device Drivers -> Memory Technology Device (MTD) support -> NAND -> SPI NAND device Support
      Device Drivers -> Memory Technology Device (MTD) support -> Enable UBI - Unsorted block images
      File Systems -> Miscellaneous filesystems -> UBIFS file system support
      或者在arch\arm\configs\sunxi_defconfig中添加

      CONFIG_MTD=y
      CONFIG_MTD_SPI_NAND=y
      CONFIG_MTD_UBI=y
      CONFIG_UBIFS_FS=y
      后重新载入配置。

      另外设备树中的启动参数和分区也需要修改

      bootargs = "mem=128M ubi.mtd=3 rootfstype=ubifs root=ubi0:rootfs rw rootwait console=ttyS0,115200";
      
      &spi0 {
      	pinctrl-0 = <&spi0_pins>;
      	pinctrl-names = "default";
      	status = "okay";
      
      	spi_nand: spi_nand@0 {
              #address-cells = <1>;
              #size-cells = <1>;
      		compatible = "spi-nand";
      		reg = <0>;
      
      		partition@0 {
      				label = "awboot";
      				reg = <0x0 0x40000>;	/* 256K */
      				read-only;
      		};
      
      		partition@40000 {
      				label = "dtb";
      				reg = <0x40000 0x40000>;  /* 256k */
      				read-only;
      		};
      
      		partition@80000 {
      				label = "kernel";
      				reg = <0x80000 0x780000>;  /* 7.5MB */
      				read-only;
      		};
      
      		partition@800000 {
      				label = "rootfs";
      				reg = <0x800000 0x7800000>;
      		};
      	};
      };
      

      修改完后重新写入spi-nand,系统顺利启动,一个标准linux 6.1的基础busybox文件系统就做好了,可以根据不同应用可在buildroot添加所需的命令,下面是我常用的一些命令,总之非常方便。

      make menuconfig
      System configuration  ---> [*] Enable root login with password
      Target packages  ---> Networking applications  ---> dropbear
      Target packages ---> Libraries ---> Hardware handling ---> tslib
      Target packages ---> Text editors and viewers ---> nano
      Target packages ---> System tools ---> htop
      iperf3
      coremark
      dhrystone
      
      make busybox-menuconfig
      Archival Utilities ---> Make tar xxx, Autodetect compressed tarballs
      Linux System Utilities ---> Support mounting CIFS/SMB file systems
      Networking Utilities ---> httpd
      Networking Utilities ---> ntpd
      Networking Utilities ---> udhcpd
      Process Utilities ---> Support thread display in ps/pstree/top
      Process Utilities ---> pgrep
      Process Utilities ---> pmap
      Process Utilities ---> Show the number of users
      

      完整启动日志

      [I] AWBoot r6143 starting...
      [I] SPI-NAND: W25N01GV detected
      [I] SPI-NAND: read dt blob of size 22242 at 43.00MB/S
      [I] SPI-NAND: read Image of size 5424416 at 49.00MB/S
      [I] booting linux...
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 6.1.0-rc3 (wsl@DESKTOP-NQRKTHB) (arm-none-linux-gnueabihf-gcc (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205, GNU ld (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.1210) #7 SMP Fri Dec 30 18:52:12 CST 2022
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      [    0.000000] CPU: div instructions available: patching division code
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
      [    0.000000] OF: fdt: Machine model: MangoPi MQ-Dual
      [    0.000000] Memory policy: Data cache writealloc
      [    0.000000] cma: Reserved 16 MiB at 0x47000000
      [    0.000000] Zone ranges:
      [    0.000000]   Normal   [mem 0x0000000040000000-0x0000000047ffffff]
      [    0.000000]   HighMem  empty
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000040000000-0x0000000047ffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff]
      [    0.000000] percpu: Embedded 11 pages/cpu s15764 r8192 d21100 u45056
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
      [    0.000000] Kernel command line: mem=128M ubi.mtd=3 rootfstype=ubifs root=ubi0:rootfs rw rootwait console=ttyS0,115200
      [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
      [    0.000000] Memory: 99804K/131072K available (8192K kernel code, 952K rwdata, 2188K rodata, 1024K init, 270K bss, 14884K reserved, 16384K cma-reserved, 0K highmem)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] rcu: Hierarchical RCU implementation.
      [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
      [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
      [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000013] Switching to timer-based delay loop, resolution 41ns
      [    0.000188] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.000681] Console: colour dummy device 80x30
      [    0.000724] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000740] pid_max: default: 32768 minimum: 301
      [    0.000901] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.000916] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.001461] CPU: Testing write buffer coherency: ok
      [    0.001766] /cpus/cpu@0 missing clock-frequency property
      [    0.001795] /cpus/cpu@1 missing clock-frequency property
      [    0.001805] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.002581] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.002720] rcu: Hierarchical SRCU implementation.
      [    0.002725] rcu:     Max phase no-delay instances is 1000.
      [    0.003261] smp: Bringing up secondary CPUs ...
      [    0.003971] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.004097] smp: Brought up 1 node, 2 CPUs
      [    0.004107] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.004114] CPU: All CPU(s) started in SVC mode.
      [    0.004635] devtmpfs: initialized
      [    0.008727] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.008927] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.008951] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
      [    0.009546] pinctrl core: initialized pinctrl subsystem
      [    0.010921] NET: Registered PF_NETLINK/PF_ROUTE protocol family
      [    0.011968] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.012787] thermal_sys: Registered thermal governor 'step_wise'
      [    0.012969] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
      [    0.012981] hw-breakpoint: maximum watchpoint size is 8 bytes.
      [    0.020855] platform 5460000.tcon-top: Fixing up cyclic dependency with 5200000.mixer
      [    0.020919] platform 5460000.tcon-top: Fixing up cyclic dependency with 5100000.mixer
      [    0.021185] platform 5461000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
      [    0.021537] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5604000.tv-encoder
      [    0.021593] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
      [    0.022352] platform 7090000.rtc: Fixing up cyclic dependency with 7010000.clock-controller
      [    0.032234] SCSI subsystem initialized
      [    0.032716] usbcore: registered new interface driver usbfs
      [    0.032754] usbcore: registered new interface driver hub
      [    0.032791] usbcore: registered new device driver usb
      [    0.032977] mc: Linux media interface: v0.10
      [    0.033022] videodev: Linux video capture interface: v2.00
      [    0.033106] pps_core: LinuxPPS API ver. 1 registered
      [    0.033112] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
      [    0.033127] PTP clock support registered
      [    0.033547] Advanced Linux Sound Architecture Driver Initialized.
      [    0.034416] clocksource: Switched to clocksource arch_sys_counter
      [    0.041644] NET: Registered PF_INET protocol family
      [    0.041849] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [    0.042389] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
      [    0.042417] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
      [    0.042428] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.042444] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
      [    0.042479] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.042567] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.042599] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.042749] NET: Registered PF_UNIX/PF_LOCAL protocol family
      [    0.043429] RPC: Registered named UNIX socket transport module.
      [    0.043443] RPC: Registered udp transport module.
      [    0.043447] RPC: Registered tcp transport module.
      [    0.043450] RPC: Registered tcp NFSv4.1 backchannel transport module.
      [    0.044815] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.049789] NFS: Registering the id_resolver key type
      [    0.049854] Key type id_resolver registered
      [    0.049858] Key type id_legacy registered
      [    0.050022] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
      [    0.050031] io scheduler mq-deadline registered
      [    0.050036] io scheduler kyber registered
      [    0.108727] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
      [    0.118865] CAN device driver interface
      [    0.122269] sun6i-rtc 7090000.rtc: registered as rtc0
      [    0.122395] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T00:00:00 UTC (86400)
      [    0.122514] sun6i-rtc 7090000.rtc: RTC enabled
      [    0.122857] i2c_dev: i2c /dev entries driver
      [    0.124723] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    0.125850] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
      [    0.126215] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.126553] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.126774] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.126977] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.127118] sun8i-ce 3040000.crypto: Register cbc(aes)
      [    0.127146] sun8i-ce 3040000.crypto: Register ecb(aes)
      [    0.127157] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
      [    0.127166] sun8i-ce 3040000.crypto: Register ecb(des3_ede)
      [    0.127195] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
      [    0.128073] usbcore: registered new interface driver usbhid
      [    0.128082] usbhid: USB HID core driver
      [    0.130773] NET: Registered PF_PACKET protocol family
      [    0.130787] can: controller area network core
      [    0.130861] NET: Registered PF_CAN protocol family
      [    0.130869] can: raw protocol
      [    0.130876] can: broadcast manager protocol
      [    0.130885] can: netlink gateway - max_hops=1
      [    0.130991] Key type dns_resolver registered
      [    0.131078] Registering SWP/SWPB emulation handler
      [    0.151942] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.153211] printk: console [ttyS0] disabled
      [    0.173477] 2500000.serial: ttyS0 at MMIO 0x2500000 (irq = 231, base_baud = 1500000) is a 16550A
      [    0.980691] printk: console [ttyS0] enabled
      [    0.987508] spi-nand spi0.0: Winbond SPI NAND was found.
      [    0.992841] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
      [    1.001736] 4 fixed-partitions partitions found on MTD device spi0.0
      [    1.008126] Creating 4 MTD partitions on "spi0.0":
      [    1.012920] 0x000000000000-0x000000040000 : "awboot"
      [    1.018743] 0x000000040000-0x000000080000 : "dtb"
      [    1.024176] 0x000000080000-0x000000800000 : "kernel"
      [    1.038649] 0x000000800000-0x000008000000 : "rootfs"
      [    1.194220] phy phy-4100400.phy.0: Changing dr_mode to 1
      [    1.195527] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
      [    1.199603] ehci-platform 4101000.usb: EHCI Host Controller
      [    1.209317] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
      [    1.214352] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 1
      [    1.220112] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
      [    1.236616] hub 2-0:1.0: USB hub found
      [    1.236719] ehci-platform 4200000.usb: EHCI Host Controller
      [    1.240434] hub 2-0:1.0: 1 port detected
      [    1.247931] ohci-platform 4200400.usb: Generic Platform OHCI controller
      [    1.256590] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 3
      [    1.264527] ehci-platform 4101000.usb: irq 233, io mem 0x04101000
      [    1.270652] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 4
      [    1.270760] ohci-platform 4200400.usb: irq 237, io mem 0x04200400
      [    1.286255] ehci-platform 4200000.usb: irq 235, io mem 0x04200000
      [    1.292563] sunxi-mmc 4020000.mmc: Got CD GPIO
      [    1.294477] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
      [    1.303231] ubi0: attaching mtd3
      [    1.308189] hub 1-0:1.0: USB hub found
      [    1.312277] hub 1-0:1.0: 1 port detected
      [    1.322619] sunxi-mmc 4020000.mmc: initialized, max. request size: 2047 KB, uses new timings mode
      [    1.334453] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
      [    1.341315] hub 4-0:1.0: USB hub found
      [    1.345162] hub 4-0:1.0: 1 port detected
      [    1.359176] hub 3-0:1.0: USB hub found
      [    1.362978] hub 3-0:1.0: 1 port detected
      [    1.444542] ohci-platform 4101400.usb: Generic Platform OHCI controller
      [    1.451202] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 5
      [    1.459287] ohci-platform 4101400.usb: irq 236, io mem 0x04101400
      [    1.539278] hub 5-0:1.0: USB hub found
      [    1.543116] hub 5-0:1.0: 1 port detected
      [    1.574453] random: crng init done
      [    2.100239] ubi0: scanning is finished
      [    2.114539] ubi0: attached mtd3 (name "rootfs", size 120 MiB)
      [    2.120305] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
      [    2.127199] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
      [    2.133981] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [    2.140952] ubi0: good PEBs: 960, bad PEBs: 0, corrupted PEBs: 0
      [    2.146964] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
      [    2.154178] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 2041766426
      [    2.163310] ubi0: available PEBs: 0, total reserved PEBs: 960, PEBs reserved for bad PEB handling: 20
      [    2.172542] ubi0: background thread "ubi_bgt0d" started, PID 85
      [    2.172894] ALSA device list:
      [    2.181451]   No soundcards found.
      [    2.186632] UBIFS (ubi0:0): Mounting in unauthenticated mode
      [    2.192477] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 86
      [    2.249179] UBIFS (ubi0:0): recovery needed
      [    2.379732] UBIFS (ubi0:0): recovery completed
      [    2.384300] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
      [    2.391721] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
      [    2.401642] UBIFS (ubi0:0): FS size: 117452800 bytes (112 MiB, 925 LEBs), max 1024 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
      [    2.413554] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
      [    2.419390] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 9AE4F0B9-2A05-4C7A-8644-AA2CE4D2FFF0, small LPT model
      [    2.432511] VFS: Mounted root (ubifs filesystem) on device 0:13.
      [    2.440323] devtmpfs: mounted
      [    2.444496] Freeing unused kernel image (initmem) memory: 1024K
      [    2.450581] Run /sbin/init as init processSB bus registered, assigned bus number 2
      [    1.228343] ehci-platform 4200000.usb: EHCI Host Controller
      [    1.235904] hub 2-0:1.0: USB hub found
      [    1.242613] ohci-platform 4200400.usb: Generic Platform OHCI controller
      [    1.244554] hub 2-0:1.0: 1 port detected
      [    1.255208] ehci-platform 4101000.usb: irq 233, io mem 0x04101000
      [    1.261339] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 3
      [    1.264326] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 4
      [    1.278588] ehci-platform 4200000.usb: irq 235, io mem 0x04200000
      [    1.284829] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
      [    1.284899] sunxi-mmc 4020000.mmc: Got CD GPIO
      [    1.296563] ubi0: attaching mtd3
      [    1.300503] ohci-platform 4200400.usb: irq 237, io mem 0x04200400
      [    1.307274] hub 1-0:1.0: USB hub found
      [    1.311088] hub 1-0:1.0: 1 port detected
      [    1.315120] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
      [    1.320965] sunxi-mmc 4020000.mmc: initialized, max. request size: 2047 KB, uses new timings mode
      [    1.322827] hub 3-0:1.0: USB hub found
      [    1.333954] hub 3-0:1.0: 1 port detected
      [    1.379177] hub 4-0:1.0: USB hub found
      [    1.382997] hub 4-0:1.0: 1 port detected
      [    1.444407] ohci-platform 4101400.usb: Generic Platform OHCI controller
      [    1.451070] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 5
      [    1.459134] ohci-platform 4101400.usb: irq 236, io mem 0x04101400
      [    1.539152] hub 5-0:1.0: USB hub found
      [    1.542954] hub 5-0:1.0: 1 port detected
      [    1.614309] random: crng init done
      [    2.110704] ubi0: scanning is finished
      [    2.124757] ubi0: attached mtd3 (name "rootfs", size 120 MiB)
      [    2.130523] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
      [    2.137436] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
      [    2.144219] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [    2.151185] ubi0: good PEBs: 960, bad PEBs: 0, corrupted PEBs: 0
      [    2.157205] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
      [    2.164431] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 2041766426
      [    2.173555] ubi0: available PEBs: 0, total reserved PEBs: 960, PEBs reserved for bad PEB handling: 20
      [    2.183138] ALSA device list:
      [    2.186140]   No soundcards found.
      [    2.186172] ubi0: background thread "ubi_bgt0d" started, PID 85
      [    2.197304] UBIFS (ubi0:0): Mounting in unauthenticated mode
      [    2.203409] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 86
      [    2.318154] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
      [    2.325610] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
      [    2.335531] UBIFS (ubi0:0): FS size: 117452800 bytes (112 MiB, 925 LEBs), max 1024 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
      [    2.347444] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
      [    2.353272] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 9AE4F0B9-2A05-4C7A-8644-AA2CE4D2FFF0, small LPT model
      [    2.366769] VFS: Mounted root (ubifs filesystem) on device 0:13.
      [    2.374505] devtmpfs: mounted
      [    2.378644] Freeing unused kernel image (initmem) memory: 1024K
      [    2.384764] Run /sbin/init as init process
      Starting syslogd: OK
      Starting klogd: OK
      Running sysctl: OK
      Initializing random number generator: OK
      Saving random seed: OK
      Starting network: OK
      
      Welcome to Buildroot
      buildroot login: root
      #
      # uname -a
      Linux buildroot 6.1.0-rc3 #7 SMP Fri Dec 30 18:52:12 CST 2022 armv7l GNU/Linux
      #
      # cat /proc/cpuinfo
      processor       : 0
      model name      : ARMv7 Processor rev 5 (v7l)
      BogoMIPS        : 48.00
      Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xc07
      CPU revision    : 5
      
      processor       : 1
      model name      : ARMv7 Processor rev 5 (v7l)
      BogoMIPS        : 48.00
      Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xc07
      CPU revision    : 5
      
      Hardware        : Generic DT based system
      Revision        : 0000
      Serial          : 0000000000000000
      #
      # cat /proc/mtd
      dev:    size   erasesize  name
      mtd0: 00040000 00020000 "awboot"
      mtd1: 00040000 00020000 "dtb"
      mtd2: 00780000 00020000 "kernel"
      mtd3: 07800000 00020000 "rootfs"
      #
      # mount
      ubi0:rootfs on / type ubifs (rw,relatime,assert=read-only,ubi=0,vol=0)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=49900k,nr_inodes=12475,mode=755)
      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)
      #
      # df -h
      Filesystem                Size      Used Available Use% Mounted on
      ubi0:rootfs             102.9M      3.5M     99.5M   3% /
      devtmpfs                 48.7M         0     48.7M   0% /dev
      tmpfs                    57.2M         0     57.2M   0% /dev/shm
      tmpfs                    57.2M     24.0K     57.2M   0% /tmp
      tmpfs                    57.2M     16.0K     57.2M   0% /run
      #
      # time dd if=/dev/zero of=test.bin bs=1M count=64 conv=fsync
      64+0 records in
      64+0 records out
      real    0m 1.26s
      user    0m 0.00s
      sys     0m 0.48s
      #
      #
      # reboot
      # Stopping network: OK
      Saving random seed: OK
      Stopping klogd: OK
      Stopping syslogd: OK
      umount: devtmpfs busy - remounted read-only
      [  123.118531] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
      The system is going down NOW!
      Sent SIGTERM to all processes
      Sent SIGKILL to[  125.165719] reboot: Restarting system
      

      编译启动能够如此顺利必定少不了各位大佬的付出,特此感谢 big_smile

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 在wsl下开发T113的主线linux(最新gcc+awboot+最新kernel+最新buildroot)

      转载地址:在wsl下开发T113的主线linux(最新gcc+awboot+最新kernel+最新buildroot)
      作者:epoko

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      @whycan
      从楼上的日志看,

      判断出 anti-brush bit 已烧写,
      rotpk.bin 也已烧写。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      如何判断 anti-brush bit 是否烧写?

      因为只有 anti-brush bit 烧写后才能启动安全固件,所以如果是安全启动,anti-brush bit
      就一定烧写了。安全启动过程中有一些特有的打印,如“sboot commit...”、“OLD version:...
      ”、“NEW version: ...”、“secure enable bit: 1”等等,可用来进行判断。

      如何判断 rotpk.bin 是否烧写?

      反证法。烧录使用其他 key 签名的安全固件(安全版本号一致),如果不能启动,则表明已经烧写 rotpk。

      sboot 启动 log 中如果有 “have rotpk, do check”,表明 rotpk.bin 已经烧写。

      [89]HELLO! SBOOT is starting!
      [92]sboot commit : 88480af-dirty
      [95]set pll start
      [101]periph0 has been enabled
      [104]set pll end
      [106][pmu]: bus read error
      [108]board init ok
      [110]ZQ value = 0x2f
      [112]get_pmu_exist() = -1
      [115]DRAM BOOT DRIVE INFO: V0.33
      [118]DRAM CLK = 936 MHz
      [120]DRAM Type = 3 (2:DDR2,3:DDR3)
      [123]DRAMC read ODT  off.
      [126]DRAM ODT value: 0x42.
      [128]ddr_efuse_type: 0xa
      [131]DRAM SIZE =128 M
      [133]dram_tpr4:0x0
      [135]PLL_DDR_CTRL_REG:0xf8004d00
      [138]DRAM_CLK_REG:0xc0000000
      [141][TIMING DEBUG] MR2= 0x20
      [145]DRAM simple test OK.
      [147]rtc standby flag is 0x0, super standby flag is 0x0
      [152]dram size =128
      [154]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
      [159]block from 8 to 32
      [266]Check is correct.
      [268]dma 0x32cd8 int is not used yet
      [271]dma 0x32cd8 int is free, you do not need to free it again
      [277]OLD version: 0.0
      [279]NEW version: 0.0
      [282]have rotpk, do check
      [331]load rotpk hash
      [425]load boot-key hash
      [427]load boot hash
      [481]monitor entry=0x0
      [483]uboot entry=0x43000000
      [486]optee entry=0x41b00000
      [489]opensbi entry=0x0
      [491]no need rotpk flag
      [493]run out of boot0
      M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm
      
      
      U-Boot 2018.05-g24521d6-dirty (Dec 30 2022 - 16:57:32 +0800) Allwinner Technology
      
      [00.546]CPU:   Allwinner Family
      [00.549]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
      ready
      [00.570]DRAM:  128 MiB
      [00.574]Relocation Offset is: 04ecc000
      [00.598]secure enable bit: 1
      [00.600]smc_tee_inform_fdt failed with: -65526[00.605]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.611]gic: sec monitor mode
      [00.614]flash init start
      [00.616]workmode = 0,storage type = 0
      sspi->base_addr = 0x4025000, the SPI control register:
      [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
      [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
      [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
      [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
      [BCC] 0x4025038 = 0x20000000, [DMA] 0x4025088 = 0x000000e5
      
      [00.663]sunxi-spinand-phy: not detect any munufacture from id table
      [00.670]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [00.675]sunxi-spinand-phy: get phy info from fdt fail
      
      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x07b00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [00.792]ubi0: attaching mtd4
      [00.897]ubi0: scanning is finished
      [00.904]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [00.909]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [00.915]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [00.921]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [00.927]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [00.933]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [00.939]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [00.947]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [00.956]sunxi flash init ok
      [00.958]line:703 init_clocks
      [00.961]drv_disp_init
      fdt get node offset faill: hdmi
      [00.974]drv_disp_init finish
      [00.977]boot_gui_init:start
      [00.979]set disp.dev2_output_type fail. using defval=0
      [01.116]set disp.fb0_width fail. using defval=0
      [01.120]set disp.fb0_height fail. using defval=0
      [01.124]boot_gu[01.126]smallwitpi lcd_panel_init 187 xxxxxxxxxxxxxxxxxx
      i_init:finish
      [01.419]LCD open finish
      partno erro : can't find partition bootloader
      54 bytes read in 0 ms
      [01.489]bmp_name=bootlogo.bmp size 691254
      691254 bytes read in 36 ms (18.3 MiB/s)
      [01.648]Loading Environment from SUNXI_FLASH... OK
      [01.669]Item0 (Map) magic is bad
      secure storage read widevine fail
      [01.675]secure storage read widevine fail with:-1
      secure storage read ec_key fail
      [01.683]secure storage read ec_key fail with:-1
      secure storage read ec_cert1 fail
      [01.690]secure storage read ec_cert1 fail with:-1
      secure storage read ec_cert2 fail
      [01.697]secure storage read ec_cert2 fail with:-1
      secure storage read ec_cert3 fail
      [01.705]secure storage read ec_cert3 fail with:-1
      secure storage read rsa_key fail
      [01.712]secure storage read rsa_key fail with:-1
      secure storage read rsa_cert1 fail
      [01.720]secure storage read rsa_cert1 fail with:-1
      secure storage read rsa_cert2 fail
      [01.727]secure storage read rsa_cert2 fail with:-1
      secure storage read rsa_cert3 fail
      [01.735]secure storage read rsa_cert3 fail with:-1
      [01.739]out of usb burn from boot: not need burn key
      [01.755]update bootcmd
      [01.768]change working_fdt 0x43e8be70 to 0x43e6be70
      [01.788]update dts
      Hit any key to stop autoboot:  0
      pubkey boot valid
      [02.108]no vendor_boot partition is found
      Android's image name: t113-whycanpij
      [02.119]Starting kernel ...
      
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 5.4.61 (whycan@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #87 SMP PREEMPT Fri Dec 30 09:20:00 UTC 2022
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      [    0.000000] CPU: div instructions available: patching division code
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
      [    0.000000] OF: fdt: Machine model: sun8iw20
      [    0.000000] printk: bootconsole [earlycon0] enabled
      [    0.000000] Memory policy: Data cache writealloc
      [    0.000000] cma: Reserved 32 MiB at 0x46000000
      [    0.000000] On node 0 totalpages: 32768
      [    0.000000]   Normal zone: 256 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
      [    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: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
      [    0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
      [    0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=32M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 androidboot.verifiedbootstate=<NULL> uboot_message=2018.05-g24521d6-dirty(12/30/2022-16:57:32) disp_reserve=3686400,0x43f0f000 aw-ubi-spinand.ubootblks=24 androidboot.dramsize=128
      [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 81376K/131072K available (6144K kernel code, 292K rwdata, 1704K rodata, 1024K init, 1173K bss, 16928K reserved, 32768K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] rcu: Preemptible hierarchical RCU implementation.
      [    0.000000]  Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [    0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 with crng_init=0
      [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.008017] Switching to timer-based delay loop, resolution 41ns
      [    0.014186] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.023909] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.034285] pid_max: default: 32768 minimum: 301
      [    0.039026] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.046385] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.054719] CPU: Testing write buffer coherency: ok
      [    0.059951] /cpus/cpu@0 missing clock-frequency property
      [    0.065275] /cpus/cpu@1 missing clock-frequency property
      [    0.070631] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.076785] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.083459] rcu: Hierarchical SRCU implementation.
      [    0.088668] smp: Bringing up secondary CPUs ...
      [    0.094317] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.094437] smp: Brought up 1 node, 2 CPUs
      [    0.104233] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.110438] CPU: All CPU(s) started in SVC mode.
      [    0.115526] devtmpfs: initialized
      [    0.130336] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.138460] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.148317] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
      [    0.156466] pinctrl core: initialized pinctrl subsystem
      [    0.162996] NET: Registered protocol family 16
      [    0.168947] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.211786] rtc_ccu: sunxi ccu init OK
      [    0.217860] ccu: sunxi ccu init OK
      [    0.221652] r_ccu: sunxi ccu init OK
      [    0.267228] iommu: Default domain type: Translated
      [    0.272309] sunxi iommu: irq = 24
      [    0.276786] SCSI subsystem initialized
      [    0.280879] usbcore: registered new interface driver usbfs
      [    0.286902] usbcore: registered new interface driver hub
      [    0.292334] usbcore: registered new device driver usb
      [    0.297633] videodev: Linux video capture interface: v2.00
      [    0.304158] Advanced Linux Sound Architecture Driver Initialized.
      [    0.310943] Bluetooth: Core ver 2.22
      [    0.314620] NET: Registered protocol family 31
      [    0.319084] Bluetooth: HCI device and connection manager initialized
      [    0.325770] Bluetooth: HCI socket layer initialized
      [    0.330656] Bluetooth: L2CAP socket layer initialized
      [    0.335766] Bluetooth: SCO socket layer initialized
      [    0.340916] pwm module init!
      [    0.345200] g2d 5410000.g2d: Adding to iommu group 0
      [    0.350604] G2D: rcq version initialized.major:252
      [    0.356312] clocksource: Switched to clocksource arch_sys_counter
      [    0.370899] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.380582] NET: Registered protocol family 2
      [    0.385487] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
      [    0.393911] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.401666] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.408749] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.415208] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.421784] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.428964] NET: Registered protocol family 1
      [    0.434314] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    0.444662] spi spi0: spi0 supply spi not found, using dummy regulator
      [    0.451459] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
      [    0.457646] sunxi_spi_resource_get()2189 - Failed to get sample mode
      [    0.464008] sunxi_spi_resource_get()2194 - Failed to get sample delay
      [    0.470471] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
      [    0.478873] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
      [    0.485149] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c881f000, irq 41
      [    0.495175] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.509716] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.515727] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.548780] io scheduler mq-deadline registered
      [    0.553319] io scheduler kyber registered
      [    0.559376] [DISP]disp_module_init
      [    0.563337] disp 5000000.disp: Adding to iommu group 0
      [    0.569104] [DISP] parser_disp_init_para,line:1430:
      [    0.569108] of_property_read fb0_width fail
      [    0.578192] [DISP] disp_init,line:2386:
      [    0.578196] smooth display screen:0 type:1 mode:4
      [    0.603262] display_fb_request,fb_id:0
      [    0.613050] Freeing logo buffer memory: 3600K
      [    0.617975] disp_al_manager_apply ouput_type:1
      [    0.622590] [DISP] lcd_clk_config,line:744:
      [    0.622601] disp 0, clk: pll(396000000),clk(396000000),dclk(66000000) dsi_rate(66000000)
      [    0.622601]      clk real:pll(396000000),clk(396000000),dclk(99000000) dsi_rate(150000000)
      [    0.626870] [DISP]disp_module_init finish
      [    0.643628] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.648932] sunxi_sid_init()551 - insmod ok
      [    0.662671] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    0.672968] uart uart1: get regulator failed
      [    0.677301] uart uart1: uart1 supply uart not found, using dummy regulator
      [    0.684464] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI
      [    0.692980] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    0.703210] uart uart3: get regulator failed
      [    0.707600] uart uart3: uart3 supply uart not found, using dummy regulator
      [    0.714753] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
      [    0.722630] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      ▒[    0.730613] printk: console [ttyS3] enabled
      [    0.730613] printk: console [ttyS3] enabled
      [    0.739535] printk: bootconsole [earlycon0] disabled
      [    0.739535] printk: bootconsole [earlycon0] disabled
      [    0.751034] misc dump reg init
      [    0.755554] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
      [    0.762838] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      [    0.770142] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      [    0.777543] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
      [    0.784031] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
      [    0.790935] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
      [    0.798626] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
      [    0.806425] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
      [    0.814484] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
      [    0.822099] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
      [    0.828838] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
      [    0.836326] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0
      [    0.843809] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    0.855603] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
      [    0.862825] [ADDR_MGT] addr_mgt_probe: success.
      [    0.868317] dma-buf: Running sanitycheck
      [    0.872688] dma-buf: Running dma_fence
      [    0.876901] sizeof(dma_fence)=48
      [    0.880604] dma-buf: Running dma_fence/sanitycheck
      [    0.885945] dma-buf: Running dma_fence/test_signaling
      [    0.891624] dma-buf: Running dma_fence/test_add_callback
      [    0.897558] dma-buf: Running dma_fence/test_late_add_callback
      [    0.903943] dma-buf: Running dma_fence/test_rm_callback
      [    0.909774] dma-buf: Running dma_fence/test_late_rm_callback
      [    0.916065] dma-buf: Running dma_fence/test_status
      [    0.921399] dma-buf: Running dma_fence/test_error
      [    0.926651] dma-buf: Running dma_fence/test_wait
      [    0.931790] dma-buf: Running dma_fence/test_wait_timeout
      [    0.976326] dma-buf: Running dma_fence/test_stub
      [    0.981479] dma-buf: Running dma_fence/race_signal_callback
      [    1.056337] thread_signal_callback[0] completed 36911 passes, 81 misses
      [    1.063731] thread_signal_callback[1] completed 36925 passes, 96 misses
      [    1.136320] thread_signal_callback[0] completed 40806 passes, 40806 misses
      [    1.144000] thread_signal_callback[1] completed 40759 passes, 40758 misses
      [    1.152224] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
      [    1.159535] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [    1.167456] sunxi-spinand-phy: not detect any munufacture from id table
      [    1.174822] sunxi-spinand-phy: get spi-nand Model from fdt fail
      [    1.181424] sunxi-spinand-phy: get phy info from fdt fail
      [    1.187439] sunxi-spinand-phy: not detect munufacture from fdt
      [    1.194045] sunxi-spinand-phy: detect munufacture from id table: Winbond
      [    1.201509] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [    1.208495] sunxi-spinand-phy: ========== arch info ==========
      [    1.214978] sunxi-spinand-phy: Model:               W25N01GVZEIG
      [    1.221666] sunxi-spinand-phy: Munufacture:         Winbond
      [    1.227874] sunxi-spinand-phy: DieCntPerChip:       1
      [    1.233484] sunxi-spinand-phy: BlkCntPerDie:        1024
      [    1.239397] sunxi-spinand-phy: PageCntPerBlk:       64
      [    1.245114] sunxi-spinand-phy: SectCntPerPage:      4
      [    1.250743] sunxi-spinand-phy: OobSizePerPage:      64
      [    1.256466] sunxi-spinand-phy: BadBlockFlag:        0x0
      [    1.262278] sunxi-spinand-phy: OperationOpt:        0x7
      [    1.268099] sunxi-spinand-phy: MaxEraseTimes:       65000
      [    1.274101] sunxi-spinand-phy: EccFlag:             0x0
      [    1.279927] sunxi-spinand-phy: EccType:             2
      [    1.285544] sunxi-spinand-phy: EccProtectedType:    3
      [    1.291165] sunxi-spinand-phy: ========================================
      [    1.298547] sunxi-spinand-phy:
      [    1.302036] sunxi-spinand-phy: ========== physical info ==========
      [    1.308933] sunxi-spinand-phy: TotalSize:    128 M
      [    1.314258] sunxi-spinand-phy: SectorSize:   512 B
      [    1.319655] sunxi-spinand-phy: PageSize:     2 K
      [    1.324787] sunxi-spinand-phy: BlockSize:    128 K
      [    1.330148] sunxi-spinand-phy: OOBSize:      64 B
      [    1.335379] sunxi-spinand-phy: ========================================
      [    1.342752] sunxi-spinand-phy:
      [    1.346239] sunxi-spinand-phy: ========== logical info ==========
      [    1.353029] sunxi-spinand-phy: TotalSize:    128 M
      [    1.358364] sunxi-spinand-phy: SectorSize:   512 B
      [    1.363693] sunxi-spinand-phy: PageSize:     4 K
      [    1.368831] sunxi-spinand-phy: BlockSize:    256 K
      [    1.374152] sunxi-spinand-phy: OOBSize:      128 B
      [    1.379500] sunxi-spinand-phy: ========================================
      [    1.386954] sunxi-spinand-phy: block lock register: 0x00
      [    1.393016] sunxi-spinand-phy: feature register: 0x19
      [    1.398646] sunxi-spinand-phy: sunxi physic nand init end
      [    1.405014] Creating 4 MTD partitions on "sunxi_mtd_nand":
      [    1.411169] 0x000000000000-0x000000100000 : "boot0"
      [    1.427262] 0x000000100000-0x000000400000 : "uboot"
      [    1.436221] random: fast init done
      [    1.447264] 0x000000400000-0x000000500000 : "secure_storage"
      [    1.467253] 0x000000500000-0x000008000000 : "sys"
      [    1.688037] libphy: Fixed MDIO Bus: probed
      [    1.693495] sunxi gmac driver's version: 1.0.0
      [    1.698636] gmac-power0: NULL
      [    1.701935] gmac-power1: NULL
      [    1.705230] gmac-power2: NULL
      [    1.709578] Failed to alloc md5
      [    1.713079] eth0: Use random mac address
      [    1.717779] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.725041] sunxi-ehci: EHCI SUNXI driver
      [    1.729988] get ehci0-controller wakeup-source is fail.
      [    1.735898] sunxi ehci0-controller don't init wakeup source
      [    1.742120] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b65538, 0x:c8881000, irq_no:3c
      [    1.754027] [sunxi-ehci0]: Not init ehci0
      [    1.758776] get ehci1-controller wakeup-source is fail.
      [    1.764673] sunxi ehci1-controller don't init wakeup source
      [    1.770891] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b65a58, 0x:c8885000, irq_no:3e
      [    1.782826] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    1.795234] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    1.807325] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    1.814531] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    1.824482] sunxi-ehci 4200000.ehci1-controller: irq 62, io mem 0x04200000
      [    1.856339] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    1.864969] hub 1-0:1.0: USB hub found
      [    1.869212] hub 1-0:1.0: 1 port detected
      [    1.874223] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.881152] sunxi-ohci: OHCI SUNXI driver
      [    1.886105] get ohci0-controller wakeup-source is fail.
      [    1.892045] sunxi ohci0-controller don't init wakeup source
      [    1.898262] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b657c8
      [    1.907851] [sunxi-ohci0]: Not init ohci0
      [    1.912580] get ohci1-controller wakeup-source is fail.
      [    1.918504] sunxi ohci1-controller don't init wakeup source
      [    1.924708] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b65ce8
      [    1.934326] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    1.946753] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    1.958859] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    1.966071] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    1.975887] sunxi-ohci 4200400.ohci1-controller: irq 63, io mem 0x04200400
      [    2.051188] hub 2-0:1.0: USB hub found
      [    2.055402] hub 2-0:1.0: 1 port detected
      [    2.060601] i2c /dev entries driver
      [    2.064585] sunxi cedar version 1.1
      [    2.068693] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    2.074928] VE: sunxi_cedar_probe power-domain init!!!
      [    2.080665] VE: install start!!!
      [    2.080665]
      [    2.086170] VE: cedar-ve the get irq is 42
      [    2.086170]
      [    2.092580] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
      [    2.092580]
      [    2.101795] VE: install end!!!
      [    2.101795]
      [    2.106838] VE: sunxi_cedar_probe
      [    2.110815] Bluetooth: HCI UART driver ver 2.3
      [    2.115756] Bluetooth: HCI UART protocol H4 registered
      [    2.121495] Bluetooth: HCI UART protocol BCSP registered
      [    2.127417] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
      [    2.134569] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
      [    2.140932] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
      [    2.147455] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
      [    2.147455]
      [    2.156064] [XR_BT_LPM] bluesleep_probe: uart_index(1)
      [    2.164088] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      [    2.174002] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    2.180172] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    2.186484] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    2.192871] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    2.199269] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    2.205755] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    2.212250] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    2.218744] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    2.225659] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    2.230978] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      [    2.237609] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.248690] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    2.268766] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.293088] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    2.298752] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.306908] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      [    2.319742] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      [    2.325895] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      [    2.332222] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      [    2.338627] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      [    2.345010] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      [    2.351513] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      [    2.358009] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      [    2.364501] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      [    2.371014] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    2.380336] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.391429] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    2.411538] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.435686] sunxi-mmc 4021000.sdmmc: detmode:manually by software
      [    2.443311] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    2.450473] sunxi_led_probe()1751 - start
      [    2.454945] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    2.461776] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.466365] sunxi_get_str_of_property()1597 - failed to get the string of propname led_regulator!
      [    2.476343] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.483192] sunxi_register_led_classdev()1485 - led_classdev start
      [    2.496850] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.502632] sunxi_led_probe()1847 - finish
      [    2.509508] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.513219] usbcore: registered new interface driver usbkbd
      [    2.520584] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.525807] usbcore: registered new interface driver usbmouse
      [    2.533357] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.538835] exFAT: Version 1.3.0
      [    2.545538] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.551211] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    2.551211]
      [    2.577235] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    2.588523] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
      [    2.597693] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    2.607470] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    2.614539] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    2.625433] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      [    2.637437] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    2.646595] NET: Registered protocol family 10
      [    2.652623] Segment Routing with IPv6
      [    2.656762] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
      [    2.664168] NET: Registered protocol family 17
      [    2.669288] Bluetooth: RFCOMM TTY layer initialized
      [    2.674730] Bluetooth: RFCOMM socket layer initialized
      [    2.680587] Bluetooth: RFCOMM ver 1.11
      [    2.685474] Registering SWP/SWPB emulation handler
      [    2.705336] sunxi-i2c sunxi-i2c0: sunxi-i2c0 supply twi not found, using dummy regulator
      [    2.715369] sunxi-i2c sunxi-i2c0: probe success
      [    2.722731] ubi0: attaching mtd3
      [    2.982486] random: crng init done
      [    3.024909] ubi0: scanning is finished
      [    3.040171] ubi0: attached mtd3 (name "sys", size 123 MiB)
      [    3.046277] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [    3.053951] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [    3.061516] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [    3.069266] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [    3.075944] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [    3.083994] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [    3.093292] ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [    3.103570] ubi0: background thread "ubi_bgt0d" started, PID 907
      [    3.111495] block ubiblock0_5: created from ubi0:5(rootfs)
      [    3.120462] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    3.126389] clk: Not disabling unused clocks
      [    3.130098] cfg80211: failed to load regulatory.db
      [    3.134823] ALSA device list:
      [    3.143437]   #0: audiocodec
      [    3.146700] alloc_fd: slot 0 not NULL!
      [    3.154297] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
      [    3.164553] devtmpfs: mounted
      [    3.169860] Freeing unused kernel memory: 1024K
      [    3.206447] Run /pseudo_init as init process
      mount: mounting none on /dev failed: Resource busy
      [    3.419778] UBIFS (ubi0:7): Mounting in unauthenticated mode
      [    3.426204] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 944
      [    3.507710] UBIFS (ubi0:7): recovery needed
      [    3.629165] UBIFS (ubi0:7): recovery completed
      [    3.634232] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
      [    3.642978] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
      [    3.654018] UBIFS (ubi0:7): FS size: 43352064 bytes (41 MiB, 168 LEBs), journal size 2064385 bytes (1 MiB, 8 LEBs)
      [    3.665539] UBIFS (ubi0:7): reserved for root: 2047624 bytes (1999 KiB)
      [    3.672905] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 666D6CE4-87B8-4FAD-ACEA-AE9FDFC0CEC8, small LPT model
      can't run '/etc/preinit': No such file or directory
      mount: mounting proc on /proc failed: Resource busy
      hostname: can't open '/etc/hostname': No such file or directory
      ------run rc.preboot file-----
      [    3.808674] UBIFS (ubi0:8): Mounting in unauthenticated mode
      [    3.815109] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 973
      [    3.926193] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK"
      [    3.934364] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
      [    3.945427] UBIFS (ubi0:8): FS size: 6451200 bytes (6 MiB, 25 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs)
      [    3.956672] UBIFS (ubi0:8): reserved for root: 304706 bytes (297 KiB)
      [    3.963836] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID F8A2B032-4867-4AEF-BF86-67BFD7817832, small LPT model
      ------run rc.modules file-----
      [    4.109940] usbcore: registered new interface driver usb-storage
      [    4.120725] sunxi_gpadc_init,2151, success
      [    4.125637] sunxi_gpadc_setup: get channel scan data failed
      [    4.132432] input: sunxi-gpadc0 as /devices/virtual/input/input1
      [    4.147926] get ctp_power is fail, -22
      [    4.152118] get ctp_power_ldo_vol is fail, -22
      [    4.157167] sunxi_ctp_startup: ctp_power_io is invalid.
      [    4.163011] get ctp_gesture_wakeup fail, no gesture wakeup
      [    4.169143] gt9xxnew_ts 0-0014: 0-0014 supply ctp not found, using dummy regulator
      [    4.336455] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.344521] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.352210] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.360264] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.367944] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.375995] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.383670] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.391721] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.399411] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.407468] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.415028] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
      [    4.576319] <<-GTP-ERROR->> GTP i2c test failed time 1.
      [    4.606430] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.614482] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.622149] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.630202] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.637878] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.645934] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.653616] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.661663] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.669338] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.677392] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.684942] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
      [    4.846318] <<-GTP-ERROR->> GTP i2c test failed time 2.
      [    4.876429] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.884482] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.892153] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.900212] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.907887] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.915938] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.923610] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.931667] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.939343] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    4.947396] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    4.954946] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
      [    5.116335] <<-GTP-ERROR->> GTP i2c test failed time 3.
      [    5.146431] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.154483] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.162155] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.170208] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.177884] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.185938] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.193613] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.201662] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.209340] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.217395] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.224942] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
      [    5.386319] <<-GTP-ERROR->> GTP i2c test failed time 4.
      [    5.416433] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.424495] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.432173] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.440226] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.447901] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.455953] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.463626] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.471684] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.479361] sunxi-i2c sunxi-i2c0: SLA+W has been transmitted; ACK not received
      [    5.487420] sunxi-i2c sunxi-i2c0: engine-mode: xfer failed(dev addr:0x14)
      [    5.494975] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
      [    5.656318] <<-GTP-ERROR->> GTP i2c test failed time 5.
      [    5.686315] I2C communication ERROR!
      [    5.686344] regulator-dummy: Underflow of regulator enable count
      [    5.697217] gt9xxnew_ts: probe of 0-0014 failed with error -1
      [    5.798694] Error: Driver 'gt9xxnew_ts' is already registered, aborting...
      insmod: can't insert '/lib/modules/5.4.61/gt9xxnew_ts.ko': Operation not permitted
      [    5.978071] ======== XRADIO WIFI OPEN ========
      [    5.983541] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
      [    5.990298] [XRADIO] Allocated hw_priv @ 6a6dd56c
      [    5.996120] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
      [    6.012417] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
      [    6.219546] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    6.230595] [XRADIO] Detect SDIO card 1
      [    6.245050] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    6.265188] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    6.289968] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    6.304469] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    6.326548] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    6.338060] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    6.349797] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    6.362401] mmc1: new high speed SDIO card at address 0001
      [    6.369022] [SBUS] XRadio Device:sdio clk=50000000
      [    6.383775] [XRADIO] XRADIO_HW_REV 1.0 detected.
      [    6.466734] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
      [    6.498652] [XRADIO] Bootloader complete
      [    6.586371] [XRADIO] Firmware completed.
      [    6.592491] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
      [    6.601826] [XRADIO] Firmware Startup Done.
      [    6.606861] [XRADIO_WRN] enable Multi-Rx!
      [    6.612100] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
      [    6.716639] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
      Successfully initialized wpa_supplicant
      [    6.833756] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=14:4f:45:4b:74:5d
      [    6.841893] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=14:4f:45:4b:74:5d
      [    6.857334] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
      ------run rc.final file-----
      numid=30,iface=MIXER,name='Headphone Switch'
        ; type=BOOLEAN,access=rw------,values=1
        : values=on
      ------light up RGB LED-----
      [    7.094079] file system registered
      [    7.111625] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      sh: write error: No such device
      [    7.134424] read descriptors
      [    7.137781] read strings
      [    7.382009] android_work: sent uevent USB_STATE=CONNECTED
      [    7.479380] configfs-gadget gadget: high-speed config #1: c
      [    7.485687] android_work: sent uevent USB_STATE=CONFIGURED
      ------light up LED-----
      
      
      BusyBox v1.27.2 () built-in shell (ash)
      
      ------run profile file-----
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
        | |  | || | || _ |  |_____||_||_|_||___||_,_|
        |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
       ----------------------------------------------
       Tina Linux (Neptune, 61CC0487)
       ----------------------------------------------
      Wed Jun  1 00:00:00 GMT 2022
      nodev   debugfs
      root@TinaLinux:/# [   33.156354] usb1-vbus: disabling
      

      各镜像在哪个阶段进行校验?

      默认配置情况下,会对 sboot、opensbi、u-boot、kernel 进行校验。

      brom 运行阶段对 sboot 进行校验。如果 sboot 能启动,表明已经经过了校验。

      sboot 运行阶段对 opensbi 与 u-boot 进行校验。

      uboot 运行阶段会对 kernel 进行校验。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      065d5907-45b2-4919-9feb-be412d0ebefb-03fe3048e77962e20c9dc1867be453b.png

      烧录rotpk.bin

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

      ①执行 ./scripts/createkeys 生成密钥
      ②生成安全固件:pack -s ==> tina_t113-whycanpij_uart3_secure_v0.img

      用 PhoenixSuit.exe 烧录上面的安全固件,用dragonsn.exe烧录out/板级目录/keys/rotpk.bin

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • T113-S3 / V853 安全固件学习记录

      参考1:tina-linux-安全启动-开发指南.pdf

      参考2:全志平台Tina系统安全设备验证rotpk是否烧写成功的方法

      参考3:安卓车机Secure boot原理与实现

      鸣谢 @mengxp 大佬不吝赐教.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 系统运行一段时间emmc就报错

      @jinxiangwzh
      把eMMC频率降下来试一试,board.dts

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: 系统运行一段时间emmc就报错

      @jinxiangwzh
      前面那个找到eMMC 分区是怎么解决的呢?

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: 系统无法启动

      @jinxiangwzh
      eMMC接sdc0,还是sdc1?dts配置有没有冲突?

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: 系统无法启动

      @jinxiangwzh 看下前面的日志,是不是没有生成eMMC分区?

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: 系统无法启动

      用的是eMMC吗?

      发布在 Linux
      whycan
      whycan晕哥
    • 回复: V853S telnet如何使用

      @cola123456
      串口终端输入 passwd,强行修改 root密码试一试。

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 求助親幫幫忙

      DragonFrace v2.6.1.zip

      只能打开修改安卓的固件,Linux固件不支持.

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 求助親幫幫忙

      @bossctwboss

      花了好大力气CSDN下载的:DragonFrace v2.3.1.zip

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: D1哪吒开发板 pwm设置

      按pwm7一样的方法配置 board.dts 的其他pwm引脚即可.

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: V536H用的哪个uboot

      @jinxiangwzh
      其他不清楚,没有用过V536.

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: 一个简单的LVGL仪表demo@V853官方开发板

      源码下载: lvgl83_port_linux_frame_buffer_for_auto_dashboard.tgz

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: V536H用的哪个uboot

      @jinxiangwzh
      不好意思,看成了chip id error

      这个是DDR 初始化出错,检查DDR配置,型号与开发板是否一致,有没有焊妥.

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V536H用的哪个uboot

      提示这个,说明不是对应的SDK.

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: tian编译问题

      @gil92429
      执行了 source build/envsetup.sh 吗?lunch 哪个板级配置呢?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: T113开发资料下载

      分享T113资料,百度网盘:
      https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol 
      提取码:awol--来自百度网盘超级会员V4的分享

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: dragonsecboot有arm版本吗?

      @mxlol233
      只有x86版本,没有发现x64版本,也没有听说过arm版本。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: V853无法烧写固件

      @jeffersonchou
      按默认配置烧录没有问题。

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V853无法烧写固件

      @jeffersonchou 在 V853无法烧写固件 中说:

      119296

      find . -name sys_partition.fex

      把 rootfs.fex 改成 120000

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V853无法烧写固件

      @jeffersonchou
      你的SDK哪里来的?

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: 麻雀开发板,spinand烧录问题,PhoenixSuit识别不到设备

      @wjp2547532

      D1s SPI NAND 固件: tina_d1s-whycanpij_uart3(HSD088测试固件).img

      原理图: https://oshwhub.com/GloomyGhost/34e1fe88b79f49b891df150db9c34cc4

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: sdk repo init下载失败

      @cola123456
      这个ip从哪里来的,不应该是 sdk.allwinnertech.com 吗?

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 麻雀开发板,spinand烧录问题,PhoenixSuit识别不到设备

      @wjp2547532
      试一试这个固件: (8.8寸长条形烧录固件)tina_t113-whycanpij_uart3.img

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 求助,自己做的V536H板子无法下载程序

      @jinxiangwzh
      DDR芯片是同一个型号吗?

      发布在 代码下载问题专区
      whycan
      whycan晕哥
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 21
    • 22
    • 8 / 22