导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. ubuntu
    3. 帖子
    U
    • 资料
    • 关注 0
    • 粉丝 2
    • 我的积分 5526
    • 主题 45
    • 帖子 159
    • 最佳 6
    • 群组 0

    ubuntu 发布的帖子

    • 手机120W的充电器都做得那么小,为什么电脑的100W充电器这么大

      手机120W的充电器都做得那么小,为什么电脑的100W充电器这么大

      发布在 灌水区
      U
      ubuntu
    • 回复: 液晶屏长期显示静止画面会有残影?

      @binggee
      感谢大佬解惑,貌似IPS也有这个问题吧?

      发布在 灌水区
      U
      ubuntu
    • 液晶屏长期显示静止画面会有残影?

      https://item.taobao.com/item.htm?id=702253311679

      913f3a7b-bc50-449b-a15e-44fe3341c023-image.png

      发布在 灌水区
      U
      ubuntu
    • 回复: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      4274b7507b0d6d4d1cc5104100b1c2a.jpg

      c642cbcea53e2917167bc78f5ac2a37.jpg

      cb3acc87-89d9-45ad-b31d-b05957fc3a29-image.png

      发布在 灌水区
      U
      ubuntu
    • 回复: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      这个4G网卡连不了几个wifi终端,多连几个wifi就挂了,而且用不了only 5G SIM卡,我换这个了,目前用起来还行。

      发布在 灌水区
      U
      ubuntu
    • 回复: 麦当劳的点单系统居然是linux

      @zznzzn
      嗯,或者找到usb口,插入键盘,执行 rm / -rf,迅速逃走。

      发布在 灌水区
      U
      ubuntu
    • 回复: 麦当劳的点单系统居然是linux

      点一下右上角的 reboot

      然后 (百米冲刺跑出去

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      @whycan 在 华为/小米 智能开关 中说:

      这两天研究了一下办公室的小米智能开关,不用楼主那样一个一个设置,只要开启一个定时任务就可以了:

      谢谢谢谢,这个功能真是测试神器!

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      mmexport1690633410313.jpg

      mmexport1690633417479.jpg

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      mmexport1690633408640.jpg

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      下面再试一试小米的智能开关:

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      上面是华为的智能开关,本来想用来给机器做定时开关测试的,结果设置五个时间段就炸了。

      发布在 灌水区
      U
      ubuntu
    • 华为/小米 智能插座

      IMG_20230729_201442.jpg

      发布在 灌水区
      U
      ubuntu
    • 回复: 这种接线端子叫啥名字?

      按压式快接头
      按压式快接头

      发布在 灌水区
      U
      ubuntu
    • 回复: A133 Android10 启动很慢

      vdc开始 到random: crng init done 将近花了1min ?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 我想调整eMMC的频率,又不想重新烧固件,请问可以实现吗?

      按住s启动可以进入uboot命令行

      进入uboot命令行后
      输入命令

      1.fdt set mmc0 max-frequency <100000000>
      2.fdt save
      3.boot
      

      注:<100000000>就是要设置的频率,单位是hz。最大值<200000000>
      比较新的一些平台步骤2不再支持,因此一旦系统重启,max-frequency会再次恢复固件里面的设置值。

      发布在 MR Series
      U
      ubuntu
    • 以太网phy自动协商原理中,为什么千兆需要协商主从,百兆不需要?

      以太网phy自动协商原理中,为什么千兆需要协商主从,百兆不需要?

      发布在 MR Series
      U
      ubuntu
    • 电信移动在http网页插广告,这是中间人攻击吗?

      电信移动在http网页插广告,这是中间人攻击吗?

      发布在 灌水区
      U
      ubuntu
    • 请问有C语言接口接口获取eth的网速1Gbps / 100Mbps吗?

      请问有C语言接口接口获取eth的网速1Gbps / 100Mbps吗?

      发布在 MR Series
      U
      ubuntu
    • 回复: 把固件烧写到开发板上之后白屏了

      @bishe
      这是要抛出一个没头没尾的问题让人猜么?

      发布在 编译和烧写问题专区
      U
      ubuntu
    • 一个 Linux下非对称加密demo,ubuntu18.04验证通过

      生成密钥对:

      openssl genrsa -out private_key.pem 2048
      openssl rsa -in private_key.pem -outform PEM -pubout -out public_key.pem
      
      #include <stdio.h>
      #include <string.h>
      #include <openssl/rsa.h>
      #include <openssl/pem.h>
      
      int main() {
          // 加载RSA密钥对
          RSA *rsa_keypair = RSA_new();
          FILE *private_key_file = fopen("private_key.pem", "r");
          PEM_read_RSAPrivateKey(private_key_file, &rsa_keypair, NULL, NULL);
          fclose(private_key_file);
      
          // 加载公钥
          RSA *rsa_public_key = RSA_new();
          FILE *public_key_file = fopen("public_key.pem", "r");
          PEM_read_RSA_PUBKEY(public_key_file, &rsa_public_key, NULL, NULL);
          fclose(public_key_file);
      
          // 明文数据
          char *plaintext = "Hello, world!";
      
          // 分配内存保存加密后的数据
          int plaintext_len = strlen(plaintext);
          int encrypted_len = RSA_size(rsa_public_key);
          unsigned char *encrypted_data = (unsigned char *)malloc(encrypted_len);
      
          // 加密数据
          int result = RSA_public_encrypt(plaintext_len, (unsigned char *)plaintext,
                  encrypted_data, rsa_public_key, RSA_PKCS1_PADDING);
          if (result == -1) {
              printf("Error: RSA_public_encrypt failed!\n");
              return -1;
          }
      
          // 输出加密后的数据
          printf("Encrypted data: ");
          for (int i = 0; i < result; i++) {
              printf("%02x", encrypted_data[i]);
          }
          printf("\n");
      
          // 分配内存保存解密后的数据
          int decrypted_len = RSA_size(rsa_keypair);
          unsigned char *decrypted_data = (unsigned char *)malloc(decrypted_len);
      
          // 解密数据
          result = RSA_private_decrypt(encrypted_len, encrypted_data, decrypted_data,
                  rsa_keypair, RSA_PKCS1_PADDING);
          if (result == -1) {
              printf("Error: RSA_private_decrypt failed!\n");
              return -1;
          }
      
          // 输出解密后的数据
          printf("Decrypted data: %s\n", decrypted_data);
      
          // 释放内存
          free(encrypted_data);
          free(decrypted_data);
          RSA_free(rsa_keypair);
          RSA_free(rsa_public_key);
      
          return 0;
      }
      

      编译指令:

      gcc -o rsa_example rsa_example.c -lcrypto
      

      运行:

      ./rsa_example
      Encrypted data: 831bbcc94a2f5b30b605849d4756273b7d88d4995f2a2688f26aab81ef3ab992e7fcebe0530e8c0d5c4f889313648f319d55e2321d48edec4e1760959ca24b168               2d0e06911c3e1f8e94357f10b88f2fd6a0e3b1978a8ce6252de849d410f36b1123d7a4a66913eb1bd6c8096fb80f15bda150530a77f6aace39008f35bf7873d11a4903fa0d97647a6               18630b7781732a81d72e17771c60cf343b18565f1e49422dcd2de33cb4f18693a1def0c9b029ec6d1b96991bde6e55b3bdd972391df3c403c13fe27b38df75b4aeb963ad34cd0d55b               26f810d0735017c0e93da288c12bcf71a9b08cacee9923843a506585b534b484ef63119fe813dbf90b9c85fd707ef
      Decrypted data: Hello, world!
      
      发布在 Linux
      U
      ubuntu
    • 回复: 请问如何用C代码判断音量强度,或者有没有声音?

      @whycan

      请问均方根值的物理意义是什么?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 请问如何用C代码判断音量强度,或者有没有声音?

      请问如何用C代码判断音量强度,或者有没有声音?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 全志D1s 使用 tplayerdemo播放 mp4视频出现错误。请各位大佬们帮着看看。问题出在什么哪?谢谢!

      @houxiaoni

      87ae013e-d8e0-47ea-a878-6f090e309c9a-3264a937442255223019632c7923768.png

      内存足够也寄😧

      发布在 MR Series
      U
      ubuntu
    • 回复: awcast 如果用glibc编译失败

      @ubuntu

      $ grep CWA_SetRes -r external/
      external/awcast/src/wireless_display.c:        CWA_SetRes(CWA_RES_MID);
      external/awcast/src/airplay/include/coolserver.h:int CWA_SetRes(int res);
      Binary file external/awcast/src/airplay/lib/lib32/openwrt-arm-musl/libcoolserver.so matches
      Binary file external/awcast/src/airplay/lib/lib32/openwrt-arm-musl/libcoolserver_s.a matches
      

      只有 musl 实现了 CWA_SetRes,glibc没有实现。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 烧写固件时开发板自动关机

      @h2631436132
      请贴出串口日志。

      发布在 V Series
      U
      ubuntu
    • awcast 如果用glibc编译失败

      0f9e46f2-e71d-4300-beb9-8b07e35f9567-image.png

      CFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard  -Wformat -Werror=format-security -fPIC -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -DCONF_AWCAST_DLNA_ENABLE -DCONF_AWCAST_MIRACAST_ENABLE -DCONF_AWCAST_AIRPLAY_ENABLE  -I/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/usr/include -I/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/include -I/opt/H133/H133-lianhe/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-glibc/toolchain/usr/include -I/opt/H133/H133-lianhe/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-glibc/toolchain/include " CXXFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard  -Wformat -Werror=format-security -fPIC -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -DCONF_AWCAST_DLNA_ENABLE -DCONF_AWCAST_MIRACAST_ENABLE -DCONF_AWCAST_AIRPLAY_ENABLE -Wno-virtual-dtor  -I/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/usr/include -I/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/include -I/opt/H133/H133-lianhe/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-glibc/toolchain/usr/include -I/opt/H133/H133-lianhe/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-glibc/toolchain/include " LDFLAGS="-L/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/usr/lib -L/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/lib -L/opt/H133/H133-lianhe/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-glibc/toolchain/usr/lib -L/opt/H133/H133-lianhe/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-glibc/toolchain/lib -specs=/opt/H133/H133-lianhe/build/hardened-ld-pie.specs -znow -zrelro " LIBS="" make -j1 -C /opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast/. AR="arm-openwrt-linux-gnueabi-ar" AS="arm-openwrt-linux-gnueabi-gcc -c -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard  -Wformat -Werror=format-security -fPIC -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -DCONF_AWCAST_DLNA_ENABLE -DCONF_AWCAST_MIRACAST_ENABLE -DCONF_AWCAST_AIRPLAY_ENABLE" LD=arm-openwrt-linux-gnueabi-ld NM="arm-openwrt-linux-gnueabi-nm" CC="arm-openwrt-linux-gnueabi-gcc" GCC="arm-openwrt-linux-gnueabi-gcc" CXX="arm-openwrt-linux-gnueabi-g++" RANLIB="arm-openwrt-linux-gnueabi-ranlib" STRIP=arm-openwrt-linux-gnueabi-strip OBJCOPY=arm-openwrt-linux-gnueabi-objcopy OBJDUMP=arm-openwrt-linux-gnueabi-objdump SIZE=arm-openwrt-linux-gnueabi-size CROSS="arm-openwrt-linux-gnueabi-" ARCH="arm" CMAKE_COMMAND='/opt/H133/H133-lianhe/out/host/bin/cmake' CMAKE_DISABLE_cmake_check_build_system=1 ;
      make[4]: Entering directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      make[5]: Entering directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      make[6]: Entering directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      make[6]: Leaving directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      [ 28%] Built target tinyui
      make[6]: Entering directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      make[6]: Leaving directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      make[6]: Entering directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      [ 35%] Linking C executable awcast
      CMakeFiles/awcast.dir/wireless_display.c.o: In function `wd_start_airplay':
      wireless_display.c:(.text+0x344): undefined reference to `CWA_SetRes'
      collect2: error: ld returned 1 exit status
      CMakeFiles/awcast.dir/build.make:303: recipe for target 'awcast' failed
      make[6]: *** [awcast] Error 1
      make[6]: Leaving directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/awcast.dir/all' failed
      make[5]: *** [CMakeFiles/awcast.dir/all] Error 2
      make[5]: Leaving directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      Makefile:127: recipe for target 'all' failed
      make[4]: *** [all] Error 2
      make[4]: Leaving directory '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast'
      Makefile:130: recipe for target '/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast/.built' failed
      make[3]: *** [/opt/H133/H133-lianhe/out/h133-p2/compile_dir/target/awcast/.built] Error 2
      make[3]: Leaving directory '/opt/H133/H133-lianhe/package/allwinner/homlet/awcast'
      package/Makefile:192: recipe for target 'package/allwinner/homlet/awcast/compile' failed
      make[2]: *** [package/allwinner/homlet/awcast/compile] Error 2
      make[2]: Leaving directory '/opt/H133/H133-lianhe'
      package/Makefile:189: recipe for target '/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/stamp/.package_compile' failed
      make[1]: *** [/opt/H133/H133-lianhe/out/h133-p2/staging_dir/target/stamp/.package_compile] Error 2
      make[1]: Leaving directory '/opt/H133/H133-lianhe'
      /opt/H133/H133-lianhe/build/toplevel.mk:304: recipe for target 'world' failed
      make: *** [world] Error 2
      [2]+  Done                    $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
      
      #### make failed to build some targets (02:53 (mm:ss)) ####
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 【FAQ】全志R329出现以太网使能报No phy found或Initialize hardware error怎么解决?

      @ubuntu

      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/# ifconfig eth0 up
      [   13.062114] libphy: 4500000.eth: probed
      [   13.092260] sunxi-gmac 4500000.eth eth0: eth0: Type(7) PHY ID 001cc816 at 0 IRQ poll (4500000.eth-0:00)
      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/# udhcpc -i eth0
      udhcpc: started, v1.27.2
      udhcpc: sending discover
      [   16.296790] sunxi-gmac 4500000.eth eth0: Link is Up - 100Mbps/Full - flow control off
      [   16.305630] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
      udhcpc: sending discover
      udhcpc: sending select for 192.168.141.169
      udhcpc: lease of 192.168.141.169 obtained, lease time 3599
      udhcpc: ifconfig eth0 192.168.141.169 netmask 255.255.255.0 broadcast 192.168.141.255
      udhcpc: setting default routers: 192.168.141.72
      root@TinaLinux:/#
      

      拖焊一下D1s搞定了.

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 【FAQ】全志R329出现以太网使能报No phy found或Initialize hardware error怎么解决?
      root@TinaLinux:/# ifconfig eth0 up
      [   80.396133] libphy: 4500000.eth: probed
      [   80.437613] sunxi-gmac 4500000.eth eth0: eth0: Type(7) PHY ID 001cc816 at 0 IRQ poll (4500000.eth-0:00)
      [   80.508656] sunxi-gmac 4500000.eth eth0: Initialize hardware error
      root@TinaLinux:/#
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: reboot 命令为什么不能重新启动?

      @memory @whycan 谢谢两位,开看门狗之后正常了。

      eeaf7512-0430-40cf-88fb-89919f855644-image.png

      发布在 MR Series
      U
      ubuntu
    • reboot 命令为什么不能重新启动?
      root@TinaLinux:/# 
      root@TinaLinux:/# /etc/init.d/rcK: line 7: /etc/init.d/S01app: not found
      Not defined "stop" functions!!!
      Stopping telnetd: FAIL
      cat: can't open '/sys/class/sunxi_info/sys_info': No such file or directory
      Stopping network: FAIL
      stop...
      Stopping logging: OK
      Unload mpp modules
      rmmod: can't unload module 'sunxi_eise': No such file or directory
      rmmod: can't unload module 'sunxi_aio': No such file or directory
      rmmod: can't unload module 'vin_v4l2': No such file or directory
      rmmod: can't unload module 'imx386_mipi': No such file or directory
      rmmod: can't unload module 'vin_io': No such file or directory
      rmmod: can't unload module 'videobuf2_v4l2': No such file or directory
      rmmod: can't unload module 'videobuf2_dma_contig': No such file or directory
      rmmod: can't unload module 'videobuf2_memops': No such file or directory
      rmmod: can't unload module 'videobuf2_core': No such file or directory
      can't run '/sbin/swapoff': No such file or directory
      [ 1964.322835] ffs_data_put(): freeing
      [ 1964.335387] [EXFAT] trying to unmount...
      [ 1964.339937] [EXFAT] unmounted successfully
      [ 1964.345819] UBIFS (ubi0:7): un-mount UBI device 0
      [ 1964.351114] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" stops
      umount: devtmpfs busy - remounted read-only
      The system is going down NOW!
      Sent SIGTERM to all processes
      Requesting system reboot
      [ 1966.365810] [ohci1-controller]: ohci shutdown start
      [ 1966.371318] [ohci1-controller]: ohci shutdown end
      [ 1966.376680] [ehci1-controller]: ehci shutdown start
      [ 1966.382664] [ehci1-controller]: ehci shutdown end
      [ 1966.388370] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
      [ 1966.397002] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
      [ 1967.424711] reboot: Restarting system
      [ 1968.428877] Reboot failed -- System halted
      
      发布在 MR Series
      U
      ubuntu
    • 回复: T113-S3 (128M DDR3) 也播不了1080p视频吗?

      @whycanservice
      搞定了,换 T133-I + 256M DDR 解决了。

      c0b52db7-7549-4235-8e62-258f2b8422f9-30381fb7d840d1a3274e8200523e98a.png

      75e83016-e6c3-48cf-8e93-79aa8225843e-95831a9abfa2a8d7ac8a60baec78bd8.png

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: T113-S3 (128M DDR3) 也播不了1080p视频吗?

      @whycanservice
      播放720p没问题,
      那除了和分辨率有关系,还和码率有关系吗?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: T113-S3 (128M DDR3) 也播不了1080p视频吗?

      @whycanservice

      root@TinaLinux:/# tplayerdemo /mnt/exUDISK/film/
      5.Ice.Age.Collision.Course.2016.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
      bhsj.mp4
      root@TinaLinux:/# tplayerdemo /mnt/exUDISK/film/5.Ice.Age.Collision.Course.2016.
      BD1080P.X264.AAC.Mandarin\&English.CHS-ENG.mp4
      WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 6
      INFO   : cedarc <CedarPluginVDInit:79>: register h264 decoder success!
      INFO   : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
      INFO   : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
      INFO   : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success!
      INFO   : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
      INFO   : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
      INFO   : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
      INFO   : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
      
      ******************************************************************************************
      * This program implements a simple player, you can type commands to control the player.
      * To show what commands supported, type 'help'.
      ******************************************************************************************
      dd: writing '/dev/fb0': No space left on device
      7201+0 records in
      7200+0 records out
      argc = 2
      argv[0] = tplayerdemo
      argv[1] = /mnt/exUDISK/film/5.Ice.Age.Collision.Course.2016.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
      may be is one file:cut down suffix is:.mp4
      find the matched type:.mp4
      create player:0
      
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : tina3.5
      branch: tina-dev
      date  : Mon Jul 15 19:04:59 2019 +0800
      Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
      -------------------------------------------------------------------------------
      xplayer:process message XPLAYER_COMMAND_SET_AUDIOSINK.
      xplayer:process message XPLAYER_COMMAND_SET_SURFACE.
      xplayer:process message XPLAYER_COMMAND_SET_SUBCTRL.
      xplayer:process message XPLAYER_COMMAND_SET_DI.
      create player[0]:0x150ccf8
      screen width:480,screen height:1920
      1:playVideo:0
      before TPlayerSetDataSource,4759580:/mnt/exUDISK/film/5.Ice.Age.Collision.Course.2016.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
      xplayer:process message XPLAYER_COMMAND_SET_SOURCE.
      xplayer:process message XPLAYER_COMMAND_PREPARE.
      ERROR  : CdxFlvParser.c <__CdxFlvParserProbe:4030>: FlvProbe failed.
      ERROR  : CdxAviParser <__CdxAviParserProbe:1251>: AviProbe failed.
      INFO   : cedarc <log_set_level:43>: Set log level to 5 from /vendor/etc/cedarc.conf[52493.212155] VE: VE real_freq=576000000
      [52493.212155]
      
      ERROR  : cedarc <DebugCheckConfig:301>: now cedarc log level:5
      WARNING: cedarc <getSocIdString:1117>: cannot open /dev/sunxi_soc_info, it maybe ok!
      
      setDataSource end
      xplayer:process message XPLAYER_COMMAND_PREPARE.
      *****tplayer:video width = 1920,height = 1080
      warning: unknown callback from Tinaplayer.
      TPLAYER_NOTIFY_PREPARED,has prepared.
      TPlayerPrepare end
      TPlayerSetHoldLastPicture()
      xplayer:process message XPLAYER_COMMAND_START.
      (Allwinner Audio Middle Layer),line(958) : Create Decoder!!=====
      (Allwinner Audio Middle Layer),line(592) : AudioDec_Installaudiolib ok
      (Allwinner Audio Middle Layer),line(595) : audio decoder init start ...
      (AllwinnerAlibs),line(50) :
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : audiocodec-v1.2
      branch: new
      commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
      date  : Tue Jan 8 16:25:27 2019 +0800
      ----------------------------------------------------------------------
      
      (AllwinnerAlibs),line(679) : ----Loading so success!
      (AllwinnerAlibs),line(877) : *************pAudioStreamInfo start******************
      (AllwinnerAlibs),line(878) : eCodecFormat         :id(4), name(aac low-complexy)
      (AllwinnerAlibs),line(879) : eSubCodecFormat      :0
      (AllwinnerAlibs),line(880) : nChannelNum          :6
      (AllwinnerAlibs),line(881) : nBitsPerSample       :16
      (AllwinnerAlibs),line(882) : nSampleRate          :48000
      (AllwinnerAlibs),line(883) : nAvgBitrate          :0
      (AllwinnerAlibs),line(884) : nMaxBitRate          :0
      (AllwinnerAlibs),line(885) : nFileSize            :0
      (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0
      (AllwinnerAlibs),line(887) : eDataEncodeType      :1
      (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:2
      (AllwinnerAlibs),line(889) : pCodecSpecificData   :0xb5068378
      (AllwinnerAlibs),line(890) : nFlags               :0
      (AllwinnerAlibs),line(891) : nBlockAlign          :0
      (AllwinnerAlibs),line(892) : *************pAudioStreamInfo end  ******************
      (AAC Decoder),line(36) : init successs...
      (Allwinner Audio Middle Layer),line(603) : AUDIO DECODE INIT OK...0
      started.
      WARNING: cedarc <H264MallocBuffer:1407>:  h264 scale down fbm buffer number need double check!
      [52493.924765] tplayerdemo invoked oom-killer: gfp_mask=0x142dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0
      [52493.938614] CPU: 1 PID: 14010 Comm: tplayerdemo Tainted: G      D           5.4.61 #307
      [52493.947592] Hardware name: Generic DT based system
      [52493.952985] [<c010de4c>] (unwind_backtrace) from [<c010a5f4>] (show_stack+0x10/0x14)
      [52493.961678] [<c010a5f4>] (show_stack) from [<c06d5b68>] (dump_stack+0x88/0xa4)
      [52493.969787] [<c06d5b68>] (dump_stack) from [<c01914a0>] (dump_header+0x50/0x200)
      [52493.978088] [<c01914a0>] (dump_header) from [<c01918a0>] (oom_kill_process+0x80/0x298)
      [52493.986973] [<c01918a0>] (oom_kill_process) from [<c0192220>] (out_of_memory+0x300/0x354)
      [52493.996153] [<c0192220>] (out_of_memory) from [<c01c038c>] (__alloc_pages_nodemask+0x704/0x970)
      [52494.005921] [<c01c038c>] (__alloc_pages_nodemask) from [<c050eca4>] (ion_system_heap_allocate+0x134/0x254)
      [52494.016759] [<c050eca4>] (ion_system_heap_allocate) from [<c050d72c>] (ion_buffer_alloc+0xc8/0x274)
      [52494.026913] [<c050d72c>] (ion_buffer_alloc) from [<c050e21c>] (ion_dmabuf_alloc+0x50/0xc8)
      [52494.036189] [<c050e21c>] (ion_dmabuf_alloc) from [<c050d060>] (ion_ioctl+0x114/0x2d0)
      [52494.044979] [<c050d060>] (ion_ioctl) from [<c01dd8b8>] (vfs_ioctl+0x28/0x3c)
      [52494.052892] [<c01dd8b8>] (vfs_ioctl) from [<c01de0a4>] (do_vfs_ioctl+0x90/0x6e0)
      [52494.061193] [<c01de0a4>] (do_vfs_ioctl) from [<c01de72c>] (ksys_ioctl+0x38/0x54)
      [52494.069494] [<c01de72c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
      [52494.078081] Exception stack(0xc2423fa8 to 0xc2423ff0)
      [52494.083749] 3fa0:                   01511fa0 b6a1cf18 00000005 c0184900 b37feac0 01511fa0
      [52494.092926] 3fc0: 01511fa0 b6a1cf18 b6a1d078 00000036 10624dd3 b6a3b0c8 015255e0 b6ec1e1c
      [52494.102100] 3fe0: b6a1cf44 b37fea84 b6a0ab34 b6cdb93c
      [52494.107896] Mem-Info:
      [52494.110550] active_anon:1134 inactive_anon:0 isolated_anon:0
      [52494.110550]  active_file:86 inactive_file:128 isolated_file:0
      [52494.110550]  unevictable:0 dirty:0 writeback:0 unstable:0
      [52494.110550]  slab_reclaimable:673 slab_unreclaimable:2483
      [52494.110550]  mapped:0 shmem:0 pagetables:61 bounce:0
      [52494.110550]  free:7390 free_pcp:0 free_cma:7053
      [52494.146163] Node 0 active_anon:4536kB inactive_anon:0kB active_file:344kB inactive_file:512kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
      [52494.170699] Normal free:29560kB min:1348kB low:1684kB high:2020kB active_anon:4536kB inactive_anon:0kB active_file:344kB inactive_file:512kB unevictable:0kB writepending:0kB present:131072kB managed:118752kB mlocked:0kB kernel_stack:568kB pagetables:244kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:28212kB
      [52494.201468] lowmem_reserve[]: 0 0
      [52494.205208] Normal: 24*4kB (UMEC) 37*8kB (UEC) 17*16kB (UE) 21*32kB (UC) 1*64kB (U) 0*128kB 0*256kB 1*512kB (C) 1*1024kB (C) 1*2048kB (C) 6*4096kB (C) = 29560kB
      [52494.221414] Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10
      [52494.234784] zone   Normal, type    Unmovable     21     29     14     20      1      0      0      0      0      0      0
      [52494.247298] zone   Normal, type      Movable      1      0      0      0      0      0      0      0      0      0      0
      [52494.259765] zone   Normal, type  Reclaimable      1      6      3      0      0      0      0      0      0      0      0
      [52494.272215] zone   Normal, type          CMA      1      2      0      1      0      0      0      1      1      1      6
      [52494.284698] zone   Normal, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
      [52494.297156] zone   Normal, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
      [52494.309601] 214 total pagecache pages
      [52494.313727] 32768 pages RAM
      [52494.316861] 0 pages HighMem/MovableOnly
      [52494.321197] 3080 pages reserved
      [52494.324722] 8192 pages cma reserved
      [52494.328656] Tasks state (memory values in pages):
      [52494.333950] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
      [52494.343659] [  13993]     0 13993      715       27    10240        0             0 sh
      [52494.352568] [  14003]     0 14003    35576     1086   104448        0             0 tplayerdemo
      [52494.362377] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=tplayerdemo,pid=14003,uid=0
      [52494.372336] Out of memory: Killed process 14003 (tplayerdemo) total-vm:142304kB, anon-rss:4344kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:102kB oom_score_adj:0
      [52494.391315] oom_reaper: reaped process 14003 (tplayerdemo), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
      Killed
      root@TinaLinux:/#
      

      这次没有 lv_example 了。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • T113-S3 (128M DDR3) 也播不了1080p视频吗?

      048fabac-3bb2-48a3-b1d0-32f94371be30-image.png

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: W25N01GVZEIG 这玩意不知道咋回事,三两下文件系统就变成了只读

      重烧又可以:

      烧录日志:

      2222222222222222[28]HELLO! BOOT0 is starting!
      [31]BOOT0 commit : 88480af-dirty
      [34]set pll start
      [40]periph0 has been enabled
      [43]set pll end
      [45][pmu]: bus read error
      [47]board init ok
      [49]key press : 2
      [51]detected user input 2
      [644]fes begin commit:88480af-dirty
      [647]set pll start
      [653]periph0 has been enabled
      [656]set pll end
      [658][pmu]: bus read error
      [660]board init ok
      [662]beign to init dram
      [664]ZQ value = 0x2e
      [666]get_pmu_exist() = -1
      [669]ddr_efuse_type: 0xa
      [671]trefi:7.8ms
      [673][AUTO DEBUG] single rank and full DQ!
      [677]ddr_efuse_type: 0xa
      [679]trefi:7.8ms
      [682][AUTO DEBUG] rank 0 row = 13
      [685][AUTO DEBUG] rank 0 bank = 8
      [688][AUTO DEBUG] rank 0 page size = 2 KB
      [692]DRAM BOOT DRIVE INFO: V0.33
      [695]DRAM CLK = 936 MHz
      [697]DRAM Type = 3 (2:DDR2,3:DDR3)
      [700]DRAMC read ODT  off.
      [702]DRAM ODT value: 0x42.
      [705]ddr_efuse_type: 0xa
      [708]DRAM SIZE =128 M
      [710]dram_tpr4:0x0
      [712]PLL_DDR_CTRL_REG:0xf8004d00
      [715]DRAM_CLK_REG:0xc0000000
      [717][TIMING DEBUG] MR2= 0x20
      [721]DRAM simple test OK.
      [724]rtc standby flag is 0x0, super standby flag is 0x0
      [729]init dram ok
      
      
      U-Boot 2018.05-g24521d6-dirty (Mar 28 2023 - 22:01:17 +0800) Allwinner Technology
      
      [03.122]CPU:   Allwinner Family
      [03.125]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
      ready
      [03.146]DRAM:  128 MiB
      [03.149]Relocation Offset is: 04ecc000
      [03.173]secure enable bit: 0
      [03.176]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [03.182]gic: normal mode
      [03.185]flash init start
      [03.187]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.195][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
      [03.201][mmc]: Is not Boot mode!
      [03.204][mmc]: SUNXI SDMMC Controller Version:0x50310
      [03.215][mmc]: ************Try SD card 2************
      [03.220][mmc]: mmc 2 cmd timeout 100 status 100
      [03.224][mmc]: smc 2 err, cmd 8,  RTO
      [03.228][mmc]: mmc 2 close bus gating and reset
      [03.233][mmc]: mmc 2 cmd timeout 100 status 100
      [03.237][mmc]: smc 2 err, cmd 55,  RTO
      [03.240][mmc]: mmc 2 close bus gating and reset
      [03.245][mmc]: ************Try MMC card 2************
      [03.253][mmc]: mmc 2 cmd timeout 100 status 100
      [03.258][mmc]: smc 2 err, cmd 1,  RTO
      [03.261][mmc]: mmc 2 close bus gating and reset
      [03.265][mmc]: Card did not respond to voltage select!
      [03.270][mmc]: ************SD/MMC 2 init error!************
      [03.275][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [03.282]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
      [03.288]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
      [03.295]sunxi-spinand-phy: request spi0 gpio ok
      [03.300]sunxi-spinand-phy: request general tx dma channel ok!
      [03.305]sunxi-spinand-phy: request general rx dma channel ok!
      [03.310]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [03.315]sunxi-spinand-phy: init spic0 clk ok
      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 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
      
      [03.360]sunxi-spinand-phy: not detect any munufacture from id table
      [03.367]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [03.372]sunxi-spinand-phy: get phy info from fdt fail
      [03.377]sunxi-spinand-phy: not detect munufacture from fdt
      [03.382]sunxi-spinand-phy: detect munufacture from id table: Winbond
      [03.388]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [03.394]sunxi-spinand-phy: ========== arch info ==========
      [03.399]sunxi-spinand-phy: Model:               W25N01GVZEIG
      [03.404]sunxi-spinand-phy: Munufacture:         Winbond
      [03.409]sunxi-spinand-phy: DieCntPerChip:       1
      [03.413]sunxi-spinand-phy: BlkCntPerDie:        1024
      [03.418]sunxi-spinand-phy: PageCntPerBlk:       64
      [03.423]sunxi-spinand-phy: SectCntPerPage:      4
      [03.427]sunxi-spinand-phy: OobSizePerPage:      64
      [03.432]sunxi-spinand-phy: BadBlockFlag:        0x0
      [03.436]sunxi-spinand-phy: OperationOpt:        0x7
      [03.441]sunxi-spinand-phy: MaxEraseTimes:       65000
      [03.446]sunxi-spinand-phy: EccFlag:             0x0
      [03.450]sunxi-spinand-phy: EccType:             2
      [03.455]sunxi-spinand-phy: EccProtectedType:    3
      [03.459]sunxi-spinand-phy: ========================================
      [03.465]sunxi-spinand-phy:
      [03.467]sunxi-spinand-phy: ========== physical info ==========
      [03.473]sunxi-spinand-phy: TotalSize:    128 M
      [03.477]sunxi-spinand-phy: SectorSize:   512 B
      [03.481]sunxi-spinand-phy: PageSize:     2 K
      [03.485]sunxi-spinand-phy: BlockSize:    128 K
      [03.489]sunxi-spinand-phy: OOBSize:      64 B
      [03.494]sunxi-spinand-phy: ========================================
      [03.500]sunxi-spinand-phy:
      [03.502]sunxi-spinand-phy: ========== logical info ==========
      [03.508]sunxi-spinand-phy: TotalSize:    128 M
      [03.512]sunxi-spinand-phy: SectorSize:   512 B
      [03.516]sunxi-spinand-phy: PageSize:     4 K
      [03.520]sunxi-spinand-phy: BlockSize:    256 K
      [03.524]sunxi-spinand-phy: OOBSize:      128 B
      [03.528]sunxi-spinand-phy: ========================================
      [03.535]sunxi-spinand-phy: set spic0 clk to 100 Mhz
      [03.539]sunxi-spinand-phy: block lock register: 0x00
      [03.544]sunxi-spinand-phy: feature register: 0x19
      [03.548]sunxi-spinand-phy: sunxi physic nand init end
      [03.553]Loading Environment from SUNXI_FLASH... OK
      [03.557]try to burn key
      [03.560]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      buf queue page size = 16384
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0xc
      set address 0xc ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      the 0 mbr table is ok
      the 1 mbr table is ok
      the 2 mbr table is ok
      the 3 mbr table is ok
      *************MBR DUMP***************
      total mbr part 7
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x8000
      part[0] lenlo     :0x800
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x8800
      part[1] lenlo     :0x1f8
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :env-redund
      part[2] classname :DISK
      part[2] addrlo    :0x89f8
      part[2] lenlo     :0x1f8
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :boot
      part[3] classname :DISK
      part[3] addrlo    :0x8bf0
      part[3] lenlo     :0x21e8
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs
      part[4] classname :DISK
      part[4] addrlo    :0xadd8
      part[4] lenlo     :0x142f8
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :rootfs_data
      part[5] classname :DISK
      part[5] addrlo    :0x1f0d0
      part[5] lenlo     :0x9e98
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :UDISK
      part[6] classname :DISK
      part[6] addrlo    :0x28f68
      part[6] lenlo     :0x0
      part[6] user_type :33024
      part[6] keydata   :0
      part[6] ro        :0
      
      total part: 8
      mbr 0, 8000, 8000
      boot-resource 1, 800, 8000
      env 2, 1f8, 8000
      env-redund 3, 1f8, 8000
      boot 4, 21e8, 8000
      rootfs 5, 142f8, 8000
      rootfs_data 6, 9e98, 8000
      UDISK 7, 0, 8100
      [06.668]erase blk 0 to blk 32
      need erase flash: 18
      [06.778]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      
      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)
      [06.829]MTD info (4)
      [06.830]pagesize: 0x1000
      [06.833]blksize: 0x40000
      [06.835]num  offset     bytes      name
      [06.838]0    0x00000000 0x00100000 boot0
      [06.842]1    0x00100000 0x00300000 uboot
      [06.846]2    0x00400000 0x00100000 secure_storage
      [06.850]3    0x00500000 0x07b00000 sys
      [06.854]ubi attach the last part of mtd device: NO.3
      [06.911]ubi0: attaching mtd4
      [06.942]ubi0: fixable bit-flip detected at PEB 163
      [06.979]ubi0 warning: scan_peb: bad ec header at pnum 364, drop this block
      
      [07.008]ubi0: scanning is finished
      [07.014]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [07.019]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [07.025]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [07.031]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [07.038]ubi0: good PEBs: 472, bad PEBs: 20, corrupted PEBs: 0
      [07.043]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
      [07.050]ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 0
      [07.057]ubi0: available PEBs: 0, total reserved PEBs: 472, PEBs reserved for bad PEB handling: 0
      [07.146]ubi0: fixable bit-flip detected at PEB 364
      [07.150]ubi0: run torture test for PEB 364
      [07.233]ubi0: fixable bit-flip detected at PEB 364
      [07.237]ubi0 error: torture_peb: read problems on freshly erased PEB 364, must be bad
      [07.244]ubi0 error: erase_worker: failed to erase PEB 364, error -5
      [07.250]ubi0 error: erase_worker: no reserved/available physical eraseblocks
      [07.257]ubi0 warning: ubi_ro_mode: switch to read-only mode
      [07.262]ubi0 error: do_work: work failed with error code -5
      [07.268]ubi0 error: ubi_do_worker: ubi_bgt0d: work failed with error code -5
      [07.275]erase blk 0 to blk 32
      [07.377]erase blk 40 to blk 1024
      [08.311]blk 340 is bad, skip to erase
      [08.315]blk 341 is bad, skip to erase
      [08.728]blk 474 is bad, skip to erase
      [08.732]blk 475 is bad, skip to erase
      [08.735]blk 476 is bad, skip to erase
      [08.738]blk 477 is bad, skip to erase
      [08.742]blk 478 is bad, skip to erase
      [08.745]blk 479 is bad, skip to erase
      [08.768]blk 486 is bad, skip to erase
      [08.771]blk 487 is bad, skip to erase
      [08.825]blk 504 is bad, skip to erase
      [08.828]blk 505 is bad, skip to erase
      [08.832]blk 506 is bad, skip to erase
      [08.835]blk 507 is bad, skip to erase
      [08.942]blk 540 is bad, skip to erase
      [08.945]blk 541 is bad, skip to erase
      [09.024]blk 566 is bad, skip to erase
      [09.028]blk 567 is bad, skip to erase
      [09.045]blk 572 is bad, skip to erase
      [09.048]blk 573 is bad, skip to erase
      [09.103]blk 590 is bad, skip to erase
      [09.107]blk 591 is bad, skip to erase
      [09.117]blk 594 is bad, skip to erase
      [09.120]blk 595 is bad, skip to erase
      [09.124]blk 596 is bad, skip to erase
      [09.127]blk 597 is bad, skip to erase
      [09.130]blk 598 is bad, skip to erase
      [09.134]blk 599 is bad, skip to erase
      [09.216]blk 624 is bad, skip to erase
      [09.220]blk 625 is bad, skip to erase
      [09.243]blk 632 is bad, skip to erase
      [09.246]blk 633 is bad, skip to erase
      [09.250]blk 634 is bad, skip to erase
      [09.253]blk 635 is bad, skip to erase
      [09.361]blk 668 is bad, skip to erase
      [09.365]blk 669 is bad, skip to erase
      [09.394]blk 678 is bad, skip to erase
      [09.398]blk 679 is bad, skip to erase
      [09.401]blk 680 is bad, skip to erase
      [09.404]blk 681 is bad, skip to erase
      [10.490]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33
      [10.497]Item0 (Map) magic is bad
      [10.499]the secure storage map is empty
      [10.540]sunxi-spinand: write secure storage itme 0 ok
      [10.545]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      force mbr
      
      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)
      [10.593]MTD info (4)
      [10.595]pagesize: 0x1000
      [10.597]blksize: 0x40000
      [10.599]num  offset     bytes      name
      [10.603]0    0x00000000 0x00100000 boot0
      [10.607]1    0x00100000 0x00300000 uboot
      [10.610]2    0x00400000 0x00100000 secure_storage
      [10.615]3    0x00500000 0x07b00000 sys
      [10.618]MBR info (unalign):
      [10.621]partno   addr       sects      type       name
      [10.625]0        0x00000000 0x00008000 0x00000001 mbr
      [10.630]1        0x00008000 0x00000800 0x00008000 boot-resource
      [10.636]2        0x00008800 0x000001f8 0x00008000 env
      [10.641]3        0x000089f8 0x000001f8 0x00008000 env-redund
      [10.646]4        0x00008bf0 0x000021e8 0x00008000 boot
      [10.651]5        0x0000add8 0x000142f8 0x00008000 rootfs
      [10.656]6        0x0001f0d0 0x00009e98 0x00008000 rootfs_data
      [10.661]7        0x00028f68 0x00000000 0x00008100 UDISK
      [10.666]ubi attach the last part of mtd device: NO.3
      [10.671]MBR info (align):
      [10.673]partno   addr       sects      type       name
      [10.678]0        0x00002800 0x000081f0 0x00000001 mbr
      [10.683]1        0x0000a9f0 0x000009d8 0x00008000 boot-resource
      [10.689]2        0x0000b3c8 0x000001f8 0x00008000 env
      [10.693]3        0x0000b5c0 0x000001f8 0x00008000 env-redund
      [10.699]4        0x0000b7b8 0x00002370 0x00008000 boot
      [10.704]5        0x0000db28 0x000144d8 0x00008000 rootfs
      [10.709]6        0x00022000 0x00009f78 0x00008000 rootfs_data
      [10.714]7        0x0002bf78 0x00000000 0x00008100 UDISK
      [10.719]ubi attach the last part of mtd device: NO.3
      [10.724]ubi attatch mtd, name: sys
      
      [10.727]ubi0: detaching mtd4
      [10.730]ubi0: mtd4 is detached
      [10.732]ubi0: attaching mtd4
      [10.777]ubi0: scanning is finished
      [10.780]ubi0: empty MTD device detected
      [10.807]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [10.812]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [10.818]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [10.824]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [10.830]ubi0: good PEBs: 472, bad PEBs: 20, corrupted PEBs: 0
      [10.836]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [10.842]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [10.850]ubi0: available PEBs: 468, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
      Creating static volume mbr of size 17031168
      Creating dynamic volume boot-resource of size 1290240
      Creating dynamic volume env of size 258048
      Creating dynamic volume env-redund of size 258048
      Creating dynamic volume boot of size 4644864
      Creating dynamic volume rootfs of size 42577920
      Creating dynamic volume rootfs_data of size 20901888
      No size specified -> Using max size (33804288)
      [14.184]reset last volume size to 0x101e8
      Creating dynamic volume UDISK of size 33804288
      [14.241]fill gap start: volume mbr sects 0x7f80
      [16.461]fill gap end: volume mbr
      [16.464]update partition map
      [16.467]logical area info: 468 258048 last_lba: 235871
      [16.475]logical area info: 468 258048 last_lba: 235871
      [16.482]logical area info: 468 258048 last_lba: 235871
      [16.490]logical area info: 468 258048 last_lba: 235871
      [16.498]logical area info: 468 258048 last_lba: 235871
      [16.505]logical area info: 468 258048 last_lba: 235871
      [16.513]logical area info: 468 258048 last_lba: 235871
      [16.521]logical area info: 468 258048 last_lba: 235871
      [16.528]logical area info: 468 258048 last_lba: 235871
      [16.536]logical area info: 468 258048 last_lba: 235871
      [16.544]logical area info: 468 258048 last_lba: 235871
      [16.551]logical area info: 468 258048 last_lba: 235871
      [16.559]logical area info: 468 258048 last_lba: 235871
      [16.566]logical area info: 468 258048 last_lba: 235871
      [16.574]logical area info: 468 258048 last_lba: 235871
      [16.582]logical area info: 468 258048 last_lba: 235871
      [16.589]logical area info: 468 258048 last_lba: 235871
      [16.597]logical area info: 468 258048 last_lba: 235871
      [16.605]logical area info: 468 258048 last_lba: 235871
      [16.612]logical area info: 468 258048 last_lba: 235871
      [16.620]logical area info: 468 258048 last_lba: 235871
      [16.628]logical area info: 468 258048 last_lba: 235871
      [16.635]logical area info: 468 258048 last_lba: 235871
      [16.643]logical area info: 468 258048 last_lba: 235871
      [16.651]logical area info: 468 258048 last_lba: 235871
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      [16.801]fill gap start: volume boot-resource sects 0x264
      [16.879]fill gap end: volume boot-resource
      FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0xb3800
      FEX_CMD_fes_verify_value 0x4e0977e6
      [16.956]fill gap start: volume env sects 0xf8
      [17.031]fill gap end: volume env
      FEX_CMD_fes_verify_value, start 0x8800, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0x8c36594c
      [17.080]fill gap start: volume env-redund sects 0xf8
      [17.155]fill gap end: volume env-redund
      FEX_CMD_fes_verify_value, start 0x89f8, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0x8c36594c
      [18.089]fill gap start: volume boot sects 0x9c
      [18.168]fill gap end: volume boot
      FEX_CMD_fes_verify_value, start 0x8bf0, size high 0x0:low 0x429800
      FEX_CMD_fes_verify_value 0xa3b02706
      [27.238]fill gap start: volume rootfs sects 0x4d0
      [27.319]fill gap end: volume rootfs
      [27.444]ubi0: fixable bit-flip detected at PEB 276
      [27.449]ubi0: schedule PEB 276 for scrubbing
      [27.464]ubi0: fixable bit-flip detected at PEB 276
      [27.532]ubi0: scrubbed PEB 276 (LEB 5:10), data moved to PEB 262
      [27.891]ubi0: fixable bit-flip detected at PEB 312
      [27.895]ubi0: schedule PEB 312 for scrubbing
      [27.910]ubi0: fixable bit-flip detected at PEB 312
      [27.977]ubi0: fixable bit-flip detected at PEB 276
      [27.981]ubi0: run torture test for PEB 276
      [28.064]ubi0: fixable bit-flip detected at PEB 276
      [28.068]ubi0 error: torture_peb: read problems on freshly erased PEB 276, must be bad
      [28.075]ubi0 error: erase_worker: failed to erase PEB 276, error -5
      [28.081]ubi0 error: erase_worker: no reserved/available physical eraseblocks
      [28.088]ubi0 warning: ubi_ro_mode: switch to read-only mode
      [28.093]ubi0 error: do_work: work failed with error code -5
      [28.099]ubi0 error: ubi_do_worker: ubi_bgt0d: work failed with error code -5
      [28.184]ubi0: fixable bit-flip detected at PEB 322
      [28.188]ubi0: schedule PEB 322 for scrubbing
      [28.248]ubi0: fixable bit-flip detected at PEB 327
      [28.252]ubi0: schedule PEB 327 for scrubbing
      [28.289]ubi0: fixable bit-flip detected at PEB 330
      [28.294]ubi0: schedule PEB 330 for scrubbing
      [28.320]ubi0: fixable bit-flip detected at PEB 332
      [28.324]ubi0: schedule PEB 332 for scrubbing
      [28.384]ubi0: fixable bit-flip detected at PEB 337
      [28.388]ubi0: schedule PEB 337 for scrubbing
      [28.403]ubi0: fixable bit-flip detected at PEB 338
      [28.408]ubi0: schedule PEB 338 for scrubbing
      [28.423]ubi0: fixable bit-flip detected at PEB 339
      [28.427]ubi0: schedule PEB 339 for scrubbing
      [28.520]ubi0: fixable bit-flip detected at PEB 346
      [28.525]ubi0: schedule PEB 346 for scrubbing
      [28.551]ubi0: fixable bit-flip detected at PEB 348
      [28.555]ubi0: schedule PEB 348 for scrubbing
      [28.570]ubi0: fixable bit-flip detected at PEB 349
      [28.575]ubi0: schedule PEB 349 for scrubbing
      [28.612]ubi0: fixable bit-flip detected at PEB 352
      [28.616]ubi0: schedule PEB 352 for scrubbing
      [28.665]ubi0: fixable bit-flip detected at PEB 356
      [28.669]ubi0: schedule PEB 356 for scrubbing
      [28.762]ubi0: fixable bit-flip detected at PEB 364
      [28.767]ubi0: schedule PEB 364 for scrubbing
      [28.815]ubi0: fixable bit-flip detected at PEB 368
      [28.820]ubi0: schedule PEB 368 for scrubbing
      [28.863]ubi0: fixable bit-flip detected at PEB 372
      [28.867]ubi0: schedule PEB 372 for scrubbing
      [28.954]ubi0: fixable bit-flip detected at PEB 378
      [28.959]ubi0: schedule PEB 378 for scrubbing
      [28.974]ubi0: fixable bit-flip detected at PEB 379
      [28.978]ubi0: schedule PEB 379 for scrubbing
      [28.994]ubi0: fixable bit-flip detected at PEB 380
      [28.998]ubi0: schedule PEB 380 for scrubbing
      [29.024]ubi0: fixable bit-flip detected at PEB 382
      [29.028]ubi0: schedule PEB 382 for scrubbing
      [29.077]ubi0: fixable bit-flip detected at PEB 386
      [29.081]ubi0: schedule PEB 386 for scrubbing
      [29.130]ubi0: fixable bit-flip detected at PEB 390
      [29.134]ubi0: schedule PEB 390 for scrubbing
      [29.160]ubi0: fixable bit-flip detected at PEB 392
      [29.165]ubi0: schedule PEB 392 for scrubbing
      [29.246]ubi0: fixable bit-flip detected at PEB 399
      [29.251]ubi0: schedule PEB 399 for scrubbing
      [29.277]ubi0: fixable bit-flip detected at PEB 401
      [29.281]ubi0: schedule PEB 401 for scrubbing
      [29.296]ubi0: fixable bit-flip detected at PEB 402
      [29.301]ubi0: schedule PEB 402 for scrubbing
      [29.316]ubi0: fixable bit-flip detected at PEB 403
      [29.320]ubi0: schedule PEB 403 for scrubbing
      [29.402]ubi0: fixable bit-flip detected at PEB 409
      [29.407]ubi0: schedule PEB 409 for scrubbing
      [29.455]ubi0: fixable bit-flip detected at PEB 413
      [29.460]ubi0: schedule PEB 413 for scrubbing
      [29.497]ubi0: fixable bit-flip detected at PEB 416
      [29.501]ubi0: schedule PEB 416 for scrubbing
      [29.516]ubi0: fixable bit-flip detected at PEB 417
      [29.521]ubi0: schedule PEB 417 for scrubbing
      [29.569]ubi0: fixable bit-flip detected at PEB 421
      [29.574]ubi0: schedule PEB 421 for scrubbing
      [29.589]ubi0: fixable bit-flip detected at PEB 422
      [29.593]ubi0: schedule PEB 422 for scrubbing
      [29.675]ubi0: fixable bit-flip detected at PEB 429
      [29.679]ubi0: schedule PEB 429 for scrubbing
      [29.728]ubi0: fixable bit-flip detected at PEB 433
      [29.732]ubi0: schedule PEB 433 for scrubbing
      FEX_CMD_fes_verify_value, start 0xadd8, size high 0x0:low 0x27c5000
      FEX_CMD_fes_verify_value 0xe1001ae8
      bootfile_mode=4
      SUNXI_EFEX_BOOT1_TAG
      boot1 size = 0x138000, max size = 0x400000
      uboot size = 0x138000
      storage type = 0
      preserved len:16384
      [29.833]uboot blk range [8-32)
      [29.836]download uboot to block 8 (10 blocks) len 1248K
      [30.111]download uboot to block 18 (10 blocks) len 1248K
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      bootfile_mode=4
      SUNXI_EFEX_BOOT0_TAG
      boot0 size = 0xc000
      dram para[0] = 3a8
      dram para[1] = 3
      dram para[2] = 7b7bfb
      dram para[3] = 0
      dram para[4] = 10d2
      dram para[5] = 800000
      dram para[6] = 1e14
      dram para[7] = 42
      dram para[8] = 20
      dram para[9] = 0
      dram para[10] = 4899d7
      dram para[11] = 1c241d0
      dram para[12] = a4073
      dram para[13] = b4787896
      dram para[14] = 0
      dram para[15] = 48484848
      dram para[16] = 48
      dram para[17] = 1620121e
      dram para[18] = 0
      dram para[19] = 0
      dram para[20] = 0
      dram para[21] = 340000
      dram para[22] = 46
      dram para[23] = b4006103
      dram para[24] = 0
      dram para[25] = 0
      dram para[26] = 0
      dram para[27] = 0
      dram para[28] = 0
      dram para[29] = 0
      dram para[30] = 0
      dram para[31] = 0
      storage type = 0
      [30.458]download boot0 to block 0 len 48K
      [30.474]download boot0 to block 1 len 48K
      [30.491]download boot0 to block 2 len 48K
      [30.507]download boot0 to block 3 len 48K
      [30.523]download boot0 to block 4 len 48K
      [30.540]download boot0 to block 5 len 48K
      [30.556]download boot0 to block 6 len 48K
      [30.572]download boot0 to block 7 len 48K
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      sunxi_efex_next_action=2
      exit usb
      next work 2
      

      启动日志:

      ▒[28]HELLO! BOOT0 is starting!T
      [31]BOOT0 commit : 88480af-dirty
      [34]set pll start
      [40]periph0 has been enabled
      [43]set pll end
      [45][pmu]: bus read error
      [47]board init ok
      [49]ZQ value = 0x2d
      [51]get_pmu_exist() = -1
      [53]DRAM BOOT DRIVE INFO: V0.33
      [56]DRAM CLK = 936 MHz
      [59]DRAM Type = 3 (2:DDR2,3:DDR3)
      [62]DRAMC read ODT  off.
      [64]DRAM ODT value: 0x42.
      [67]ddr_efuse_type: 0xa
      [70]DRAM SIZE =128 M
      [72]dram_tpr4:0x0
      [73]PLL_DDR_CTRL_REG:0xf8004d00
      [76]DRAM_CLK_REG:0xc0000000
      [79][TIMING DEBUG] MR2= 0x20
      [86]DRAM simple test OK.
      [89]rtc standby flag is 0x0, super standby flag is 0x0
      [94]dram size =128
      [97]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
      [102]block from 8 to 32
      [197]Check is correct.
      [199]dma 0x29c0c int is not used yet
      [202]dma 0x29c0c int is free, you do not need to free it again
      [208]Entry_name        = u-boot
      [214]Entry_name        = optee
      [218]Entry_name        = dtb
      [221]Jump to second Boot.
      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 (Mar 28 2023 - 22:01:17 +0800) Allwinner Technology
      
      [00.274]CPU:   Allwinner Family
      [00.277]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.299]DRAM:  128 MiB
      [00.302]Relocation Offset is: 04ecc000
      [00.326]secure enable bit: 0
      [00.329]smc_tee_inform_fdt failed with: -65526[00.333]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.340]gic: sec monitor mode
      [00.343]flash init start
      [00.345]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.391]sunxi-spinand-phy: not detect any munufacture from id table
      [00.398]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [00.403]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.503]ubi0: attaching mtd4
      [00.535]ubi0: fixable bit-flip detected at PEB 163
      [00.571]ubi0: fixable bit-flip detected at PEB 364
      [00.598]ubi0: scanning is finished
      [00.604]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [00.609]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [00.615]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [00.621]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [00.627]ubi0: good PEBs: 472, bad PEBs: 20, corrupted PEBs: 0
      [00.633]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
      [00.640]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [00.647]ubi0: available PEBs: 0, total reserved PEBs: 472, PEBs reserved for bad PEB handling: 0
      [00.707]ubi0: scrubbed PEB 163 (LEB 0:15), data moved to PEB 276
      [00.721]ubi0: fixable bit-flip detected at PEB 364
      [00.736]ubi0: fixable bit-flip detected at PEB 364
      [00.805]ubi0: scrubbed PEB 364 (LEB 5:89), data moved to PEB 261
      [00.818]sunxi flash init ok
      [00.820]line:703 init_clocks
      [00.823]drv_disp_init
      fdt get node offset faill: hdmi
      [00.836]drv_disp_init finish
      [00.839]boot_gui_init:start
      [00.842]set disp.dev2_output_type fail. using defval=0
      [00.978]set disp.fb0_width fail. using defval=0
      [00.982]set disp.fb0_height fail. using defval=0
      [00.986]boot_gu[00.988]smallwitpi lcd_panel_init 187 xxxxxxxxxxxxxxxxxx
      i_init:finish
      [01.281]LCD open finish
      partno erro : can't find partition bootloader
      54 bytes read in 1 ms (52.7 KiB/s)
      [01.326]bmp_name=bootlogo.bmp size 691254
      691254 bytes read in 31 ms (21.3 MiB/s)
      [01.454]Loading Environment from SUNXI_FLASH... OK
      [01.474]Item0 (Map) magic is bad
      secure storage read widevine fail
      [01.480]secure storage read widevine fail with:-1
      secure storage read ec_key fail
      [01.487]secure storage read ec_key fail with:-1
      secure storage read ec_cert1 fail
      [01.494]secure storage read ec_cert1 fail with:-1
      secure storage read ec_cert2 fail
      [01.502]secure storage read ec_cert2 fail with:-1
      secure storage read ec_cert3 fail
      [01.509]secure storage read ec_cert3 fail with:-1
      secure storage read rsa_key fail
      [01.516]secure storage read rsa_key fail with:-1
      secure storage read rsa_cert1 fail
      [01.524]secure storage read rsa_cert1 fail with:-1
      secure storage read rsa_cert2 fail
      [01.531]secure storage read rsa_cert2 fail with:-1
      secure storage read rsa_cert3 fail
      [01.539]secure storage read rsa_cert3 fail with:-1
      [01.544]out of usb burn from boot: not need burn key
      [01.558]update bootcmd
      [01.569]change working_fdt 0x43e8be70 to 0x43e6be70
      [01.589]update dts
      Hit any key to stop autoboot:  0
      [01.795]no vendor_boot partition is found
      Android's image name: t113-whycanpim
      [01.807]Starting kernel ...
      
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 5.4.61 (whycan@ubuntu) (arm-openwrt-linux-gnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #306 SMP PREEMPT Tue Mar 28 14:14:07 UTC 2023
      [    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:rootfs_data@ubi0_6:UDISK@ubi0_7: cma=32M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g24521d6-dirty(03/28/2023-22:01:17) disp_reserve=3686400,0x43f0e000 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: 81360K/131072K available (6144K kernel code, 305K rwdata, 1716K rodata, 1024K init, 1177K bss, 16944K 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.008016] Switching to timer-based delay loop, resolution 41ns
      [    0.014191] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.023951] Console: colour dummy device 80x30
      [    0.028417] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.038785] pid_max: default: 32768 minimum: 301
      [    0.043519] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.050835] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.059164] CPU: Testing write buffer coherency: ok
      [    0.064374] /cpus/cpu@0 missing clock-frequency property
      [    0.069691] /cpus/cpu@1 missing clock-frequency property
      [    0.075030] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.081175] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.087823] rcu: Hierarchical SRCU implementation.
      [    0.093025] smp: Bringing up secondary CPUs ...
      [    0.098669] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.098791] smp: Brought up 1 node, 2 CPUs
      [    0.108586] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.114764] CPU: All CPU(s) started in SVC mode.
      [    0.119838] devtmpfs: initialized
      [    0.134658] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.142770] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.152636] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
      [    0.160781] pinctrl core: initialized pinctrl subsystem
      [    0.167325] NET: Registered protocol family 16
      [    0.173268] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.217181] rtc_ccu: sunxi ccu init OK
      [    0.223431] ccu: sunxi ccu init OK
      [    0.227273] r_ccu: sunxi ccu init OK
      [    0.270138] iommu: Default domain type: Translated
      [    0.276248] sunxi iommu: irq = 24
      [    0.280692] SCSI subsystem initialized
      [    0.284973] usbcore: registered new interface driver usbfs
      [    0.291048] usbcore: registered new interface driver hub
      [    0.296463] usbcore: registered new device driver usb
      [    0.301747] videodev: Linux video capture interface: v2.00
      [    0.308263] Advanced Linux Sound Architecture Driver Initialized.
      [    0.315255] Bluetooth: Core ver 2.22
      [    0.318934] NET: Registered protocol family 31
      [    0.323374] Bluetooth: HCI device and connection manager initialized
      [    0.329761] Bluetooth: HCI socket layer initialized
      [    0.334652] Bluetooth: L2CAP socket layer initialized
      [    0.339723] Bluetooth: SCO socket layer initialized
      [    0.344886] pwm module init!
      [    0.349152] g2d 5410000.g2d: Adding to iommu group 0
      [    0.354492] G2D: rcq version initialized.major:252
      [    0.360227] clocksource: Switched to clocksource arch_sys_counter
      [    0.375137] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.395046] NET: Registered protocol family 2
      [    0.399954] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
      [    0.408364] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.416049] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.423131] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.429588] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.436150] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.443306] NET: Registered protocol family 1
      [    0.448653] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    0.458975] spi spi0: spi0 supply spi not found, using dummy regulator
      [    0.465799] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
      [    0.471970] sunxi_spi_resource_get()2189 - Failed to get sample mode
      [    0.478333] sunxi_spi_resource_get()2194 - Failed to get sample delay
      [    0.484787] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
      [    0.493191] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
      [    0.499465] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c881f000, irq 41
      [    0.509550] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.525252] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.531426] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.565903] io scheduler mq-deadline registered
      [    0.570484] io scheduler kyber registered
      [    0.576215] [DISP]disp_module_init
      [    0.580172] disp 5000000.disp: Adding to iommu group 0
      [    0.585882] [DISP] parser_disp_init_para,line:1430:
      [    0.585886] of_property_read fb0_width fail
      [    0.594993] [DISP] disp_init,line:2386:
      [    0.594997] smooth display screen:0 type:1 mode:4
      [    0.619950] display_fb_request,fb_id:0
      [    0.629778] Freeing logo buffer memory: 3600K
      [    0.634688] disp_al_manager_apply ouput_type:1
      [    0.639284] [DISP] lcd_clk_config,line:744:
      [    0.639295] disp 0, clk: pll(396000000),clk(396000000),dclk(66000000) dsi_rate(66000000)
      [    0.639295]      clk real:pll(396000000),clk(396000000),dclk(99000000) dsi_rate(150000000)
      [    0.640773] [DISP]disp_module_init finish
      [    0.643827] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.661703] sunxi_sid_init()551 - insmod ok
      [    0.679311] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    0.689528] uart uart1: get regulator failed
      [    0.693895] uart uart1: uart1 supply uart not found, using dummy regulator
      [    0.701128] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI
      [    0.709864] uart uart3: get regulator failed
      [    0.714272] uart uart3: uart3 supply uart not found, using dummy regulator
      [    0.721483] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
      [    0.729327] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      ▒[    0.737321] printk: console [ttyS3] enabled
      [    0.737321] printk: console [ttyS3] enabled
      [    0.746278] printk: bootconsole [earlycon0] disabled
      [    0.746278] printk: bootconsole [earlycon0] disabled
      [    0.758051] misc dump reg init
      [    0.762612] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
      [    0.769882] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
      [    0.777550] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      [    0.784911] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      [    0.792365] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
      [    0.798909] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
      [    0.805888] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=110 assert=1
      [    0.813773] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
      [    0.821920] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
      [    0.829560] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
      [    0.836374] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
      [    0.843931] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=112 assert=0
      [    0.852082] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
      [    0.859291] [ADDR_MGT] addr_mgt_probe: success.
      [    0.864808] dma-buf: Running sanitycheck
      [    0.869239] dma-buf: Running dma_fence
      [    0.873502] sizeof(dma_fence)=48
      [    0.877240] dma-buf: Running dma_fence/sanitycheck
      [    0.882657] dma-buf: Running dma_fence/test_signaling
      [    0.888341] dma-buf: Running dma_fence/test_add_callback
      [    0.894344] dma-buf: Running dma_fence/test_late_add_callback
      [    0.900823] dma-buf: Running dma_fence/test_rm_callback
      [    0.906684] dma-buf: Running dma_fence/test_late_rm_callback
      [    0.913055] dma-buf: Running dma_fence/test_status
      [    0.918436] dma-buf: Running dma_fence/test_error
      [    0.923725] dma-buf: Running dma_fence/test_wait
      [    0.928904] dma-buf: Running dma_fence/test_wait_timeout
      [    0.970239] dma-buf: Running dma_fence/test_stub
      [    0.975437] dma-buf: Running dma_fence/race_signal_callback
      [    1.050234] thread_signal_callback[0] completed 39519 passes, 21001 misses
      [    1.057978] thread_signal_callback[1] completed 39490 passes, 20974 misses
      [    1.130235] thread_signal_callback[0] completed 40608 passes, 40606 misses
      [    1.137973] thread_signal_callback[1] completed 40623 passes, 40622 misses
      [    1.146267] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
      [    1.153598] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [    1.161506] sunxi-spinand-phy: not detect any munufacture from id table
      [    1.168938] sunxi-spinand-phy: get spi-nand Model from fdt fail
      [    1.175600] sunxi-spinand-phy: get phy info from fdt fail
      [    1.181704] sunxi-spinand-phy: not detect munufacture from fdt
      [    1.188460] sunxi-spinand-phy: detect munufacture from id table: Winbond
      [    1.196002] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [    1.203127] sunxi-spinand-phy: ========== arch info ==========
      [    1.209667] sunxi-spinand-phy: Model:               W25N01GVZEIG
      [    1.216428] sunxi-spinand-phy: Munufacture:         Winbond
      [    1.222702] sunxi-spinand-phy: DieCntPerChip:       1
      [    1.228364] sunxi-spinand-phy: BlkCntPerDie:        1024
      [    1.234330] sunxi-spinand-phy: PageCntPerBlk:       64
      [    1.240097] sunxi-spinand-phy: SectCntPerPage:      4
      [    1.245769] sunxi-spinand-phy: OobSizePerPage:      64
      [    1.251539] sunxi-spinand-phy: BadBlockFlag:        0x0
      [    1.257401] sunxi-spinand-phy: OperationOpt:        0x7
      [    1.263268] sunxi-spinand-phy: MaxEraseTimes:       65000
      [    1.269326] sunxi-spinand-phy: EccFlag:             0x0
      [    1.275199] sunxi-spinand-phy: EccType:             2
      [    1.280872] sunxi-spinand-phy: EccProtectedType:    3
      [    1.286540] sunxi-spinand-phy: ========================================
      [    1.293966] sunxi-spinand-phy:
      [    1.297483] sunxi-spinand-phy: ========== physical info ==========
      [    1.304428] sunxi-spinand-phy: TotalSize:    128 M
      [    1.309797] sunxi-spinand-phy: SectorSize:   512 B
      [    1.315177] sunxi-spinand-phy: PageSize:     2 K
      [    1.320367] sunxi-spinand-phy: BlockSize:    128 K
      [    1.325736] sunxi-spinand-phy: OOBSize:      64 B
      [    1.331018] sunxi-spinand-phy: ========================================
      [    1.338439] sunxi-spinand-phy:
      [    1.341969] sunxi-spinand-phy: ========== logical info ==========
      [    1.348801] sunxi-spinand-phy: TotalSize:    128 M
      [    1.354193] sunxi-spinand-phy: SectorSize:   512 B
      [    1.359563] sunxi-spinand-phy: PageSize:     4 K
      [    1.364750] sunxi-spinand-phy: BlockSize:    256 K
      [    1.370126] sunxi-spinand-phy: OOBSize:      128 B
      [    1.375511] sunxi-spinand-phy: ========================================
      [    1.383034] sunxi-spinand-phy: block lock register: 0x00
      [    1.389109] sunxi-spinand-phy: feature register: 0x19
      [    1.394790] sunxi-spinand-phy: sunxi physic nand init end
      [    1.401221] Creating 4 MTD partitions on "sunxi_mtd_nand":
      [    1.407399] 0x000000000000-0x000000100000 : "boot0"
      [    1.421231] 0x000000100000-0x000000400000 : "uboot"
      [    1.430524] random: fast init done
      [    1.441152] 0x000000400000-0x000000500000 : "secure_storage"
      [    1.461227] 0x000000500000-0x000008000000 : "sys"
      [    1.528459] sunxi-spinand-phy: phy blk 340 is bad
      [    1.561077] sunxi-spinand-phy: phy blk 474 is bad
      [    1.566567] sunxi-spinand-phy: phy blk 476 is bad
      [    1.572056] sunxi-spinand-phy: phy blk 478 is bad
      [    1.578658] sunxi-spinand-phy: phy blk 486 is bad
      [    1.587579] sunxi-spinand-phy: phy blk 504 is bad
      [    1.593084] sunxi-spinand-phy: phy blk 506 is bad
      [    1.605790] sunxi-spinand-phy: phy blk 540 is bad
      [    1.616809] sunxi-spinand-phy: phy blk 566 is bad
      [    1.623258] sunxi-spinand-phy: phy blk 572 is bad
      [    1.632446] sunxi-spinand-phy: phy blk 590 is bad
      [    1.638412] sunxi-spinand-phy: phy blk 594 is bad
      [    1.643940] sunxi-spinand-phy: phy blk 596 is bad
      [    1.649451] sunxi-spinand-phy: phy blk 598 is bad
      [    1.660479] sunxi-spinand-phy: phy blk 624 is bad
      [    1.667372] sunxi-spinand-phy: phy blk 632 is bad
      [    1.672900] sunxi-spinand-phy: phy blk 634 is bad
      [    1.685708] sunxi-spinand-phy: phy blk 668 is bad
      [    1.693067] sunxi-spinand-phy: phy blk 678 is bad
      [    1.698577] sunxi-spinand-phy: phy blk 680 is bad
      [    1.791730] libphy: Fixed MDIO Bus: probed
      [    1.797253] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    1.808631] sunxi gmac driver's version: 1.0.0
      [    1.813813] gmac-power0: NULL
      [    1.817140] gmac-power1: NULL
      [    1.820522] gmac-power2: NULL
      [    1.824918] Failed to alloc md5
      [    1.828451] eth0: Use random mac address
      [    1.833189] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.840582] sunxi-ehci: EHCI SUNXI driver
      [    1.845543] get ehci0-controller wakeup-source is fail.
      [    1.851533] sunxi ehci0-controller don't init wakeup source
      [    1.857811] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b695d0, 0x:c8839000, irq_no:3c
      [    1.869835] [sunxi-ehci0]: Not init ehci0
      [    1.874635] get ehci1-controller wakeup-source is fail.
      [    1.880609] sunxi ehci1-controller don't init wakeup source
      [    1.886866] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b69af0, 0x:c883d000, irq_no:3e
      [    1.898925] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    1.911476] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    1.923699] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    1.930987] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    1.940957] sunxi-ehci 4200000.ehci1-controller: irq 62, io mem 0x04200000
      [    1.970249] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    1.978932] hub 1-0:1.0: USB hub found
      [    1.983216] hub 1-0:1.0: 1 port detected
      [    1.988341] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.995332] sunxi-ohci: OHCI SUNXI driver
      [    2.000356] get ohci0-controller wakeup-source is fail.
      [    2.006349] sunxi ohci0-controller don't init wakeup source
      [    2.012625] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b69860
      [    2.022307] [sunxi-ohci0]: Not init ohci0
      [    2.027095] get ohci1-controller wakeup-source is fail.
      [    2.033078] sunxi ohci1-controller don't init wakeup source
      [    2.039353] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b69d80
      [    2.049053] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    2.061598] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    2.073847] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    2.081130] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    2.091056] sunxi-ohci 4200400.ohci1-controller: irq 63, io mem 0x04200400
      [    2.165127] hub 2-0:1.0: USB hub found
      [    2.169376] hub 2-0:1.0: 1 port detected
      [    2.174646] i2c /dev entries driver
      [    2.178655] sunxi cedar version 1.1
      [    2.182795] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    2.189086] VE: sunxi_cedar_probe power-domain init!!!
      [    2.194881] VE: install start!!!
      [    2.194881]
      [    2.200454] VE: cedar-ve the get irq is 42
      [    2.200454]
      [    2.206924] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
      [    2.206924]
      [    2.216227] VE: install end!!!
      [    2.216227]
      [    2.221317] VE: sunxi_cedar_probe
      [    2.225335] Bluetooth: HCI UART driver ver 2.3
      [    2.230365] Bluetooth: HCI UART protocol H4 registered
      [    2.236127] Bluetooth: HCI UART protocol BCSP registered
      [    2.242153] Bluetooth: HCI UART protocol Three-wire (H5) registered
      [    2.249186] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
      [    2.256415] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
      [    2.262830] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
      [    2.269384] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
      [    2.269384]
      [    2.278085] [XR_BT_LPM] bluesleep_probe: uart_index(1)
      [    2.286324] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      [    2.296335] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    2.302561] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    2.308910] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    2.315370] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    2.321827] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    2.328370] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    2.334931] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    2.341484] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    2.348427] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    2.353806] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      [    2.360479] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.371652] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    2.391792] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.416207] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    2.421919] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.430794] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      [    2.443095] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      [    2.449297] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      [    2.455670] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      [    2.462142] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      [    2.468588] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      [    2.475149] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      [    2.481703] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      [    2.488245] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      [    2.494823] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    2.504218] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.515423] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    2.535575] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.559821] sunxi-mmc 4021000.sdmmc: detmode:manually by software
      [    2.567420] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.570773] sunxi_led_probe()1751 - start
      [    2.582202] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.583614] sunxi_get_str_of_property()1597 - failed to get the string of propname led_regulator!
      [    2.596862] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
      [    2.605130] sunxi_register_led_classdev()1485 - led_classdev start
      [    2.606951] sunxi_led_probe()1847 - finish
      [    2.624253] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.626537] usbcore: registered new interface driver usbkbd
      [    2.637643] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.643930] usbcore: registered new interface driver usbmouse
      [    2.655703] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    2.661954] exFAT: Version 1.3.0
      [    2.674447] mmc1: new high speed SDIO card at address 0001
      [    2.680711] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    2.695064] sunxi-daudio 2034000.daudio: regulator missing or invalid
      [    2.703079] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    2.712293] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      [    2.722484] NET: Registered protocol family 10
      [    2.728519] Segment Routing with IPv6
      [    2.732791] NET: Registered protocol family 17
      [    2.737934] Bluetooth: RFCOMM TTY layer initialized
      [    2.743588] Bluetooth: RFCOMM socket layer initialized
      [    2.749378] Bluetooth: RFCOMM ver 1.11
      [    2.754305] Registering SWP/SWPB emulation handler
      [    2.774573] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      [    2.784630] sunxi-i2c sunxi-i2c2: probe success
      [    2.791811] sunxi-audio-card 20340a0.sounddaudio2: use dummy codec for simple card.
      [    2.800554] debugfs: Directory '2034000.daudio' with parent 'snddaudio2' already present!
      [    2.810256] sunxi-audio-card 20340a0.sounddaudio2: snd-soc-dummy-dai <-> 2034000.daudio mapping ok
      [    2.821388] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    2.830622] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      [    2.839454] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    2.848718] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      [    2.857809] ubi0: attaching mtd3
      [    2.951221] ubi0: fixable bit-flip detected at PEB 163
      [    3.102425] random: crng init done
      [    3.124928] ubi0: scanning is finished
      [    3.138694] ubi0: attached mtd3 (name "sys", size 123 MiB)
      [    3.144906] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [    3.152630] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [    3.160260] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [    3.168068] ubi0: good PEBs: 472, bad PEBs: 20, corrupted PEBs: 0
      [    3.174911] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
      [    3.183068] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [    3.192455] ubi0: available PEBs: 0, total reserved PEBs: 472, PEBs reserved for bad PEB handling: 0
      [    3.202737] ubi0: background thread "ubi_bgt0d" started, PID 1001
      [    3.211297] block ubiblock0_5: created from ubi0:5(rootfs)
      [    3.218627] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    3.222353] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    3.227922] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      [    3.237592] clk: Not disabling unused clocks
      [    3.250974] cfg80211: failed to load regulatory.db
      [    3.256440] ALSA device list:
      [    3.259770]   #0: snddaudio2
      [    3.263027] alloc_fd: slot 0 not NULL!
      [    3.270586] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
      [    3.280682] devtmpfs: mounted
      [    3.285925] Freeing unused kernel memory: 1024K
      [    3.340363] Run /pseudo_init as init process
      mount: mounting none on /dev failed: Device or resource busy
      [    3.667006] UBIFS (ubi0:6): default file-system created
      [    3.673559] UBIFS (ubi0:6): Mounting in unauthenticated mode
      [    3.680046] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 1036
      [    3.808848] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
      [    3.817692] UBIFS (ubi0:6): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
      [    3.828832] UBIFS (ubi0:6): FS size: 18321408 bytes (17 MiB, 71 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs)
      [    3.840360] UBIFS (ubi0:6): reserved for root: 865365 bytes (845 KiB)
      [    3.847587] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 12F5F2DD-D005-4218-8985-F2E2D100980F, small LPT model
      mount: mounting proc on /proc failed: Device or resource busy
      [    4.101038] get ctp_power is fail, -22
      [    4.105248] get ctp_power_ldo_vol is fail, -22
      [    4.110374] sunxi_ctp_startup: ctp_power_io is invalid.
      [    4.116274] get ctp_gesture_wakeup fail, no gesture wakeup
      [    4.122474] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
      [    4.300502] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
      [    4.312634] 8<--- cut here ---
      [    4.316085] Unable to handle kernel NULL pointer dereference at virtual address 00000290
      [    4.325188] pgd = afc5e7de
      [    4.328220] [00000290] *pgd=00000000
      [    4.330478] input: gt9xxnew_ts as /devices/virtual/input/input0
      [    4.332262] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
      [    4.339706] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    4.344911] Modules linked in: gt9xxnew_ts(+)
      [    4.344926] CPU: 0 PID: 1005 Comm: usb_device_chos Not tainted 5.4.61 #306
      [    4.344929] Hardware name: Generic DT based system
      [    4.344943] PC is at typec_set_data_role+0x0/0x3c
      [    4.344949] LR is at usb_msg_center+0x120/0x21c
      [    4.344954] pc : [<c049d0d8>]    lr : [<c0495ec8>]    psr: 600e0013
      [    4.344958] sp : c52a9f58  ip : c51a9e58  fp : 00000000
      [    4.344966] r10: c52b66dc  r9 : c5827db4  r8 : 00000000
      [    4.355438] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      [    4.359010] r7 : c0b6adb0  r6 : c0a04e08  r5 : 00000000  r4 : c0b6aebc
      [    4.359019] r3 : 00000000  r2 : b520ebe4  r1 : 00000000  r0 : 00000000
      [    4.424384] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
      [    4.432391] Control: 10c5387d  Table: 440a406a  DAC: 00000051
      [    4.438839] Process usb_device_chos (pid: 1005, stack limit = 0x11829875)
      [    4.446452] Stack: (0xc52a9f58 to 0xc52aa000)
      [    4.451347] 9f40:                                                       c0b6adb0 00000000
      [    4.460534] 9f60: 00000000 b520ebe4 c0b6adac c0b6adb0 c52b6680 00000000 c0494bdc c0494c1c
      [    4.469716] 9f80: c52b66c0 c52a8000 c52b6680 c0133cc0 c52b6680 c0133ba0 00000000 00000000
      [    4.478911] 9fa0: 00000000 00000000 00000000 c01010e8 00000000 00000000 00000000 00000000
      [    4.488085] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [    4.497269] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
      [    4.506462] [<c049d0d8>] (typec_set_data_role) from [<00000000>] (0x0)
      [    4.513788] Code: e8bd8010 c0b6b01c c03e74e4 c03e74c8 (e5903290)
      Starting syslogd: OK
      Starting klogd: OK
      Running sysctl: [    4.520804] ---[ end trace ab1867fe5df282c1 ]---
      OK
      Starting audio: Invalid mixer control
      Invalid mixer control
      Invalid mixer control
      Successfully play boot music
      Starting mdev... OK
      playing '/home/res/audio/startup.wav': 2 ch, 48000 hz, 16 bit
      [    5.380113] sunxi_gpadc_init,2151, success
      [    5.385163] sunxi_gpadc_setup: get channel scan data failed
      [    5.392268] input: sunxi-gpadc0 as /devices/virtual/input/input1
      [    5.399595] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    5.408843] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      [    5.556235] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
      [    5.572555] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
      [    5.937639] sunxi-codec-machine 2030340.sound: ASoC: failed to init link audiocodec: -517
      [    5.946993] [SNDCODEC][sunxi_card_dev_probe][784]:snd_soc_register_card failed -517
      Saving random seed: OK
      Starting network: wh=480x1920, vwh=480x1920, bpp=32, rotated=1[    6.068661] VE: enable hw clock
      
      Turn on double buffering.
      Turn on 2d hardware acceleration.
      Turn on 2d hardware rotation acceleration.
      [    6.074358] enable_cedar_hw_clk,552
      OK
      enable android usb
      insmod: can't insert '/lib/modules/5.4.61/sunxi_usb_udc.ko': No such file or directory
      insmod: can't insert '/lib/modules/5.4.61/sunxi_usbc.ko': No such file or directory
      [    6.176795] file system registered
      [    6.302227] read descriptors
      [    6.305507] read strings
      ------light up RGB LED-----
      [    8.347795] usbcore: registered new interface driver usb-storage
      Invalid mixer control
      Starting adbd: /etc/init.d/S91adbd: line 11: can't create /sys/class/android_usb/android0/enable: Permission denied
      /etc/init.d/S91adbd: line 12: can't create /sys/class/android_usb/android0/idVendor: Permission denied
      /etc/init.d/S91adbd: line 13: can't create /sys/class/android_usb/android0/idProduct: Permission denied
      /etc/init.d/S91adbd: line 14: can't create /sys/class/android_usb/android0/functions: Permission denied
      /etc/init.d/S91adbd: line 15: can't create /sys/class/android_usb/android0/enable: Permission denied
      [    8.454387] ubi0: fixable bit-flip detected at PEB 403
      [    8.460270] ubi0: schedule PEB 403 for scrubbing
      [    8.472562] android_work: sent uevent USB_STATE=CONNECTED
      [    8.521261] ubi0: fixable bit-flip detected at PEB 403
      [    8.601423] configfs-gadget gadget: high-speed config #1: c
      [    8.607877] android_work: sent uevent USB_STATE=CONFIGURED
      [    8.631441] ubi0: scrubbed PEB 403 (LEB 5:128), data moved to PEB 163
      [    8.689449] ubi0: fixable bit-flip detected at PEB 402
      [    8.695246] ubi0: schedule PEB 402 for scrubbing
      wpa_supplicant v2.9
      random: Trying to read entropy from /dev/random
      Successfully initialized wpa_supplicant
      Initializing interface 'wlan0' conf '/etc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
      Configuration file '/etc/wifi/wpa_supplicant.conf' -> '/etc/wifi/wpa_supplicant.conf'
      Reading configuration file '/etc/wifi/wpa_supplicant.conf'
      [    8.738628] ubi0: fixable bit-flip detected at PEB 402
      ctrl_interface='/etc/wifi/sockets'
      disable_scan_offload=1
      update_config=1
      wowlan_triggers='any'
      Reading configuration file '/etc/wifi/wpa_supplicant_overlay.conf'
      disable_scan_offload=1
      nl80211: Supported cipher 00-0f-ac:1
      nl80211: Supported cipher 00-0f-ac:5
      nl80211: Supported cipher 00-0f-ac:2
      nl80211: Supported cipher 00-0f-ac:4
      nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
      nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106
      nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4107
      nl80211: Supported vendor event: vendor_id=0x1018 subcmd=0
      nl80211: Supported vendor event: vendor_id=0x1018 subcmd=1
      nl80211: interface wlan0 in phy phy0
      nl80211: Set mode ifindex 3 iftype 2 (STATION)
      nl80211: Subscribe to mgmt frames with non-AP handle 0x43a328
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0104
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=040a
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=040b
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=040c
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=040d
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=090a
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=090b
      nl80211: Register frame[    8.860986] ubi0: scrubbed PEB 402 (LEB 5:127), data moved to PEB 403
       type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=090c
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=090d
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0801
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=06
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0a07
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0a11
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0a1a
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=1101
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=1102
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0505
      nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x43a328 match=0500
      rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
      netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
      Add interface wlan0 to a new radio phy0
      nl80211: Regulatory information - country=00
      nl80211: 2402-2472 @ 40 MHz 20 mBm
      nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
      nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
      nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
      nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
      nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
      nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
      nl80211: 57240-63720 @ 2160 MHz 0 mBm
      nl80211: Added 802.11b mode based on 802.11g information
      nl802[    9.321768] ubi0: fixable bit-flip detected at PEB 368
      11: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
      nl80211: M[    9.333517] ubi0: schedule PEB 368 for scrubbing
      ode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
      wlan0: Own MAC address: 48:8f:4c:01:b2:78
      wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
      wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
      wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
      wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
      wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
      wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
      wlan0: RSN: flushing PMKID list in the driver
      nl80211: Flush PMKIDs
      wlan0: State: DISCONNECTED -> INACTIVE
      [    9.434691] ubi0: fixable bit-flip detected at PEB 368
      [    9.531368] ubi0: scrubbed PEB 368 (LEB 5:93), data moved to PEB 402
      wlan0: WPS: UUID based on MAC address: d8646a0f-1d8d-5656-8c71-bc6ec2532745
      EAPOL: SUPP_PAE entering state DISCONNECTED
      EAPOL: Supplicant port status: Unauthorized
      nl80211: Skip set_supp_port(unauthorized) while not associated
      EAPOL: KEY_RX entering state NO_KEY_RECEIVE
      EAPOL: SUPP_BE entering state INITIALIZE
      EAP: EAP entering state DISABLED
      Using existing control interface directory.
      nl80211: Setting wowlan
      wlan0: Added interface wlan0
      wlan0: State: INACTIVE -> DISCONNECTED
      nl80211: Set wlan0 operstate 0->0 (DORMANT)
      netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
      Daemonize..
      udhcpc: started, v1.33.0
      udhcpc: sending discover
      [   10.062185] adbd (1214): /proc/1214/oom_adj is deprecated, please use /proc/1214/oom_score_adj instead.
      udhcpc: sending discover
      udhcpc: sending discover
      udhcpc: no lease, forking to background
      /
      /usr/bin/lvgl8_dashboard_demo: /lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/bin/lvgl8_dashboard_demo)
      #
      #
      # touch /opt/cccc.txt
      #
      #
      #
      
      发布在 MR Series
      U
      ubuntu
    • 回复: W25N01GVZEIG 这玩意不知道咋回事,三两下文件系统就变成了只读

      烧完,ping一个晚上就gg了

      发布在 MR Series
      U
      ubuntu
    • 回复: W25N01GVZEIG 这玩意不知道咋回事,三两下文件系统就变成了只读
      # touch /opt/aaa
      touch: /opt/aaa: Read-only file system
      
      发布在 MR Series
      U
      ubuntu
    • W25N01GVZEIG 这玩意不知道咋回事,三两下文件系统就变成了只读
      [    1.212368] sunxi-spinand-phy: ========== arch info ==========
      [    1.218908] sunxi-spinand-phy: Model:               W25N01GVZEIG
      [    1.225662] sunxi-spinand-phy: Munufacture:         Winbond
      [    1.231919] sunxi-spinand-phy: DieCntPerChip:       1
      [    1.237588] sunxi-spinand-phy: BlkCntPerDie:        1024
      [    1.243553] sunxi-spinand-phy: PageCntPerBlk:       64
      [    1.249312] sunxi-spinand-phy: SectCntPerPage:      4
      [    1.254996] sunxi-spinand-phy: OobSizePerPage:      64
      [    1.260767] sunxi-spinand-phy: BadBlockFlag:        0x0
      [    1.266624] sunxi-spinand-phy: OperationOpt:        0x7
      [    1.272497] sunxi-spinand-phy: MaxEraseTimes:       65000
      [    1.278548] sunxi-spinand-phy: EccFlag:             0x0
      [    1.284415] sunxi-spinand-phy: EccType:             2
      [    1.290093] sunxi-spinand-phy: EccProtectedType:    3
      [    1.295755] sunxi-spinand-phy: ========================================
      [    1.303180] sunxi-spinand-phy:
      [    1.306704] sunxi-spinand-phy: ========== physical info ==========
      [    1.313643] sunxi-spinand-phy: TotalSize:    128 M
      [    1.319012] sunxi-spinand-phy: SectorSize:   512 B
      [    1.324397] sunxi-spinand-phy: PageSize:     2 K
      [    1.329584] sunxi-spinand-phy: BlockSize:    128 K
      [    1.334953] sunxi-spinand-phy: OOBSize:      64 B
      [    1.340248] sunxi-spinand-phy: ========================================
      [    1.347664] sunxi-spinand-phy:
      [    1.351199] sunxi-spinand-phy: ========== logical info ==========
      [    1.358038] sunxi-spinand-phy: TotalSize:    128 M
      [    1.363419] sunxi-spinand-phy: SectorSize:   512 B
      [    1.368788] sunxi-spinand-phy: PageSize:     4 K
      [    1.373978] sunxi-spinand-phy: BlockSize:    256 K
      [    1.379347] sunxi-spinand-phy: OOBSize:      128 B
      [    1.384727] sunxi-spinand-phy: ========================================
      [    1.392277] sunxi-spinand-phy: block lock register: 0x00
      [    1.398365] sunxi-spinand-phy: feature register: 0x19
      [    1.404057] sunxi-spinand-phy: sunxi physic nand init end
      [    1.410492] Creating 4 MTD partitions on "sunxi_mtd_nand":
      [    1.416649] 0x000000000000-0x000000100000 : "boot0"
      [    1.430374] 0x000000100000-0x000000400000 : "uboot"
      [    1.439641] random: fast init done
      [    1.450363] 0x000000400000-0x000000500000 : "secure_storage"
      [    1.470346] 0x000000500000-0x000008000000 : "sys"
      [    1.531030] sunxi-spinand-phy: phy blk 340 is bad
      [    1.561563] sunxi-spinand-phy: phy blk 474 is bad
      [    1.567033] sunxi-spinand-phy: phy blk 476 is bad
      [    1.572496] sunxi-spinand-phy: phy blk 478 is bad
      [    1.579080] sunxi-spinand-phy: phy blk 486 is bad
      [    1.587600] sunxi-spinand-phy: phy blk 504 is bad
      [    1.593071] sunxi-spinand-phy: phy blk 506 is bad
      [    1.603610] sunxi-spinand-phy: phy blk 540 is bad
      [    1.612800] sunxi-spinand-phy: phy blk 566 is bad
      [    1.618845] sunxi-spinand-phy: phy blk 572 is bad
      [    1.626753] sunxi-spinand-phy: phy blk 590 is bad
      [    1.632513] sunxi-spinand-phy: phy blk 594 is bad
      [    1.637945] sunxi-spinand-phy: phy blk 596 is bad
      [    1.643405] sunxi-spinand-phy: phy blk 598 is bad
      [    1.652585] sunxi-spinand-phy: phy blk 624 is bad
      [    1.658945] sunxi-spinand-phy: phy blk 632 is bad
      [    1.664394] sunxi-spinand-phy: phy blk 634 is bad
      [    1.674812] sunxi-spinand-phy: phy blk 668 is bad
      [    1.681519] sunxi-spinand-phy: phy blk 678 is bad
      [    1.686950] sunxi-spinand-phy: phy blk 680 is bad
      [    1.751023] libphy: Fixed MDIO Bus: probed
      
      发布在 MR Series
      U
      ubuntu
    • 运行directfb 的 demo出错
      # df_window
      (*) Direct/Thread: Started 'SigHandler' (12001) [CRITICAL - OTHER/0] <8388608>...
      
         ~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~
              (c) 2012-2015  DirectFB integrated media GmbH
              (c) 2001-2015  The world wide DirectFB Open Source Community
              (c) 2000-2004  Convergence (integrated media) GmbH
            ----------------------------------------------------------------
      
      (*) DirectFB/Core: Single Application Core. (2023-03-28 12:14)
      (*) Direct/Memcpy: Using libc memcpy()
      (*) Direct/Thread: Started 'Fusion Dispatch' (12002) [MESSAGING - OTHER/0] <8388608>...
      (!) DirectFB/core/vt: Couldn't open neither `/dev/tty0' nor `/dev/vc/0'!
          --> No such file or directory
      (!) DirectFB/Core: Could not initialize 'system_core' core!
          --> A general initialization error occured
       (!!!)  *** UNIMPLEMENTED [fusion_dispatch] *** [fusion.c:3937]
      
      发布在 Linux
      U
      ubuntu
    • 请教有什么指令可以查看有哪些sta已经连接了wifi ap

      请教有什么指令可以查看有哪些sta已经连接了wifi ap

      发布在 Linux
      U
      ubuntu
    • 回复: A133 的 otg配置改为 usb_device,开机就炸了

      改回去

      aa93566d-c022-4485-a852-f1064548de78-a2b8a1861f0391b0d391f28c55c532b.png

      然后把 PB3 PH14 两个都上拉就能进入usb_device了。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • A133 的 otg配置改为 usb_device,开机就炸了
      /*
       *usb_used: usb controller enable. 0-disable, 1-enable.
       *usb_port_type: usb mode. 0-device, 1-host, 2-otg.
       *usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect.
       *usb_drv_vbus_gpio:USB DRY_VBUS pin config or "axp_ctrl"
       */
                      usbc0:usbc0@0 {
                              device_type = "usbc0";
                              usb_port_type = <0x0>;
                              usb_detect_type = <0x0>;
                              usb_id_gpio = <&pio PB 3 0 0 0xffffffff 0xffffffff>;
                              /*usb_det_vbus_gpio   = <&pio PH 12 0 0 0xffffffff 0xffffffff>;*/
                              usb_regulator_io = "nocare";
                              usb_wakeup_suspend = <0>;
                              usb_luns = <3>;
                              usb_serial_unique = <0>;
                              usb_serial_number = "20080411";
                              rndis_wceis = <1>;
                              status = "okay";
                      };
      
      
      [   11.571850] init: Running restorecon...
      [   11.593527] init: Overriding previous 'ro.' property 'ro.kernel.android.checkjni':'0' with new value '1'
      [   11.607685] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1
      [   11.607685]
      [   11.624963] init: Overriding previous 'ro.' property 'ro.zygote':'zygote32' with new value 'zygote64_32'
      [   11.638756] init: Couldn't load property file '/product_services/build.prop': open() failed: No such file or directory: No such file or directory
      [   11.653547] init: Couldn't load property file '/factory/factory.prop': open() failed: No such file or directory: No such file or directory
      [   11.876234] ueventd: ueventd started!
      [   11.885182] selinux: SELinux:  Skipping /product/etc/selinux/product_file_contexts:  empty file
      [   11.885182]
      [   11.897239] selinux: SELinux: Loaded file_contexts
      [   11.897239]
      [   11.904771] ueventd: Parsing file /ueventd.rc...
      [   11.911466] ueventd: Parsing file /vendor/ueventd.rc...
      [   11.918410] ueventd: Parsing file /odm/ueventd.rc...
      [   11.924178] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
      [   11.935319] ueventd: Parsing file /ueventd.sun50iw10p1.rc...
      [   11.941832] ueventd: Unable to read config file '/ueventd.sun50iw10p1.rc': open() failed: No such file or directory
      [   11.962798] apexd: Bootstrap subcommand detected
      [   12.192659] apexd: wait for '/dev/loop-control' took 196ms
      [   12.199352] apexd: Pre-allocated 9 loopback devices
      [   12.205377] apexd: Scanning /system/apex for embedded keys
      [   12.218087] apexd: Scanning /product/apex for embedded keys
      [   12.224907] apexd: ... does not exist. Skipping
      [   12.230570] apexd: Scanning /system/apex looking for APEX packages.
      [   12.238383] apexd: Found /system/apex/com.android.media.swcodec.apex
      [   12.245747] ueventd: Coldboot took 0.29 seconds
      [   12.247015] apexd: Skipped when bootstrapping
      [   12.247230] apexd: Found /system/apex/com.android.tzdata.apex
      [   12.337902] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
      [   12.418538] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
      [   12.435582] apexd: 13 output lines suppressed due to ratelimiting
      [   12.486940] Registered swp emulation handler
      [   12.561408] init: wait for '/dev/block/by-name/media_data' took 0ms
      [   12.574804] FAT-fs (mmcblk0p16): bogus number of reserved sectors
      [   12.582044] FAT-fs (mmcblk0p16): Can't find a valid FAT filesystem
      [   12.622798] logd.auditd: start
      [   12.626593] logd.klogd: 12476493880
      [   13.395711] make_f2fs:
      [   13.395711]
      [   13.400175] make_f2fs:       F2FS-tools: mkfs.f2fs Ver: 1.12.0 (2018-11-12)
      [   13.400175]
      [   13.409213] make_f2fs:
      [   13.409213]
      [   13.413644] make_f2fs: Info: Disable heap-based policy
      [   13.413644]
      [   13.421105] make_f2fs: Info: Debug level = 1
      [   13.421105]
      [   13.427619] make_f2fs: Info: Trim is enabled
      [   13.427619]
      [   13.433248] random: crng init done
      [   13.433253] random: 7 urandom warning(s) missed due to ratelimiting
      [   13.445045] make_f2fs: Info: Set conf for android
      [   13.445045]
      [   13.452022] make_f2fs:       Info: No support kernel version!
      [   13.452022]
      [   13.459677] make_f2fs: Info: wanted sectors = 2662395 (in 4096 bytes)
      [   13.459677]
      [   13.468602] make_f2fs: Info: total device sectors = 21299167 (in 512 bytes)
      [   13.468602]
      [   13.531539] F2FS-fs (mmcblk0p17): Found nat_bits in checkpoint
      [   13.691587] F2FS-fs (mmcblk0p17): Mounted with checkpoint version = 58930275
      [   14.108476] EXT4-fs (mmcblk0p7): Ignoring removed nomblk_io_submit option
      [   14.118552] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
      [   14.188106] EXT4-fs (mmcblk0p7): Ignoring removed nomblk_io_submit option
      [   14.198188] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic
      [   14.375666] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: errors=panic
      [   14.408645] init: 73 output lines suppressed due to ratelimiting
      [   14.423505] zram0: detected capacity change from 0 to 1553670144
      [   14.463036] mkswap: Swapspace size: 1517252k, UUID=ac579f37-c51c-4877-9454-2eed9944774d
      [   14.473601] Adding 1517252k swap on /dev/block/zram0.  Priority:-1 extents:1 across:1517252k SS
      console:/ $ [   14.851035] usbcore: registered new interface driver uvcvideo
      [   14.857667] USB Video Class driver (1.1.1)
      [   14.873483]
      [   14.873483] insmod_device_driver
      [   14.873483]
      [   14.880856] Unable to handle kernel NULL pointer dereference at virtual address 000000c0
      [   14.889960] pgd = ffffff80096b3000
      [   14.893787] [000000c0] *pgd=00000000bf7fe003, *pud=00000000bf7fe003, *pmd=0000000000000000
      [   14.903108] Internal error: Oops: 96000005 [#1] PREEMPT SMP
      [   14.909372] Modules linked in: uvcvideo vin_v4l2 imx386_2lane_mipi imx278_mipi gc030a_mipi gc2385_mipi vin_io videobuf2_v4l2 videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_core
      [   14.928997] CPU: 1 PID: 1044 Comm: usb_device_chos Not tainted 4.9.170 #47
      [   14.936719] Hardware name: sun50iw10 (DT)
      [   14.941231] task: ffffffc07b889d00 task.stack: ffffffc07a63c000
      [   14.947900] PC is at _raw_spin_lock_irqsave+0x2c/0x68
      [   14.953592] LR is at _raw_spin_lock_irqsave+0x28/0x68
      [   14.959274] pc : [<ffffff8008b972bc>] lr : [<ffffff8008b972b8>] pstate: 804001c5
      [   14.967588] sp : ffffffc07a63fd40
      [   14.971321] x29: ffffffc07a63fd40 x28: 0000000000000000
      [   14.977302] x27: 0000000000000000 x26: 0000000000000000
      [   14.983268] x25: 0000000000000000 x24: ffffff80087306a0
      [   14.989244] x23: 0000000000000000 x22: 0000000000000000
      [   14.995219] x21: 00000000000007d0 x20: 0000000000000140
      [   15.001193] x19: 00000000000000c0 x18: ffffff80093fdf10
      [   15.007171] x17: 0000007f8c310d60 x16: ffffff8008242d48
      [   15.013146] x15: ffffffc0fa63fc57 x14: ffffffffffffffff
      [   15.019117] x13: ffffffc07a63fc5b x12: 0000000000000001
      [   15.025089] x11: 000000000000002b x10: 0000000000000009
      [   15.031063] x9 : 000000ffffffffff x8 : 0000000000000000
      [   15.037039] x7 : ffffff80093fdf10 x6 : ffffffc07f71b090
      [   15.043011] x5 : 0000000000000000 x4 : ffffffc07a63fd60
      [   15.048990] x3 : ffffff80085d9940 x2 : 00000000000409aa
      [   15.054963] x1 : ffffff8008b97290 x0 : ffffffc07b889d00
      [   15.060939]
      [   15.060939] SP: 0xffffffc07a63fcc0:
      [   15.065747] apexd: Marking APEXd as starting
      [   15.067524] apexd: Scanning /system/apex for embedded keys
      [   15.068627] apexd: Found bundled key in package /system/apex/com.android.media.swcodec.apex
      [   15.070288] apexd: Found bundled key in package /system/apex/com.android.tzdata.apex
      [   15.071348] apexd: Found bundled key in package /system/apex/com.android.apex.cts.shim.apex
      [   15.072411] apexd: Found bundled key in package /system/apex/com.android.resolv.apex
      [   15.073472] apexd: Found bundled key in package /system/apex/com.android.runtime.debug.apex
      [   15.074566] apexd: Found bundled key in package /system/apex/com.android.conscrypt.apex
      [   15.075585] apexd: Found bundled key in package /system/apex/com.android.media.apex
      [   15.076170] apexd: Scanning /product/apex for embedded keys
      [   15.146881] fcc0  00000000 00000000 00000000 00000000 087306a0 ffffff80 00000000 00000000
      [   15.156116] fce0  00000000 00000000 00000000 00000000 00000000 00000000 7a63fd40 ffffffc0
      [   15.165345] fd00  08b972b8 ffffff80 7a63fd40 ffffffc0 08b972bc ffffff80 804001c5 00000000
      [   15.174574] fd20  7a63fd40 ffffffc0 08b972b8 ffffff80 ffffffff ffffffff 00000140 00000000
      [   15.183803] fd40  7a63fd60 ffffffc0 085d9940 ffffff80 00000010 00000000 000000c0 00000000
      [   15.193031] fd60  7a63fd90 ffffffc0 086dbf3c ffffff80 00000000 00000000 00000010 00000000
      [   15.202261] fd80  0969eb20 ffffff80 00000000 00000000 7a63fdb0 ffffffc0 08732148 ffffff80
      [   15.211489] fda0  0969e000 ffffff80 093fd000 ffffff80 7a63fdf0 ffffffc0 08730718 ffffff80
      [   15.220719]
      [   15.220719] X0: 0xffffffc07b889c80:
      [   15.226296] 9c80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.235524] 9ca0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.244752] 9cc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.253977] 9ce0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.263204] 9d00  00000012 00000000 ffffffff ffffffff 4161c000 00000000 00000002 00000000
      [   15.272430] 9d20  00000000 00000000 7a63c000 ffffffc0 00000002 00208040 00000000 00000000
      [   15.281659] 9d40  00000000 00000000 00000001 00000001 00000001 00000000 fffeacbd 00000000
      [   15.290884] 9d60  7cd88000 ffffffc0 00000001 00000001 00000078 00000078 00000078 00000000
      [   15.300113]
      [   15.300113] X4: 0xffffffc07a63fce0:
      [   15.305687] fce0  00000000 00000000 00000000 00000000 00000000 00000000 7a63fd40 ffffffc0
      [   15.314915] fd00  08b972b8 ffffff80 7a63fd40 ffffffc0 08b972bc ffffff80 804001c5 00000000
      [   15.324141] fd20  7a63fd40 ffffffc0 08b972b8 ffffff80 ffffffff ffffffff 00000140 00000000
      [   15.333370] fd40  7a63fd60 ffffffc0 085d9940 ffffff80 00000010 00000000 000000c0 00000000
      [   15.342597] fd60  7a63fd90 ffffffc0 086dbf3c ffffff80 00000000 00000000 00000010 00000000
      [   15.351824] fd80  0969eb20 ffffff80 00000000 00000000 7a63fdb0 ffffffc0 08732148 ffffff80
      [   15.361052] fda0  0969e000 ffffff80 093fd000 ffffff80 7a63fdf0 ffffffc0 08730718 ffffff80
      [   15.370280] fdc0  0969e9e8 ffffff80 08eacf10 ffffff80 0969e9f0 ffffff80 7b889d00 ffffffc0
      [   15.379510]
      [   15.379510] X6: 0xffffffc07f71b010:
      [   15.385087] b010  08003000 ffffff80 00000044 00000000 7f7170a0 ffffffc0 7f71b090 ffffffc0
      [   15.394315] b030  09622a30 ffffff80 00000000 00000000 7f71b080 ffffffc0 08082b68 ffffff80
      [   15.403544] b050  7a63fa60 ffffffc0 ffffffff 0000007f 416b5000 00000000 08113be8 ffffff80
      [   15.412771] b070  80400145 00000000 00000000 00000000 7a63fb90 ffffffc0 7a63fa60 ffffffc0
      [   15.422001] b090  00000000 00000000 00000000 00000000 7b80c4f0 ffffffc0 00000000 00000000
      [   15.431228] b0b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.440458] b0d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.449685] b0f0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.458915]
      [   15.458915] X13: 0xffffffc07a63fbdb:
      [   15.464589] fbd8  7c611c00 ffffffc0 093fd000 ffffff80 7c611c68 ffffffc0 00000000 00000000
      [   15.473818] fbf8  00000160 00000000 7a63fc40 ffffffc0 000409aa 00000000 7b889d00 ffffffc0
      [   15.483047] fc18  08b97290 ffffff80 000409aa 00000000 085d9940 ffffff80 7a63fd60 ffffffc0
      [   15.492276] fc38  00000000 00000000 7f71b090 ffffffc0 093fdf10 ffffff80 00000000 00000000
      [   15.501505] fc58  ffffffff 000000ff 00000009 00000000 0000002b 00000000 00000001 00000000
      [   15.510728] fc78  7a63fc5b ffffffc0 ffffffff ffffffff fa63fc57 ffffffc0 08242d48 ffffff80
      [   15.519957] fc98  8c310d60 0000007f 093fdf10 ffffff80 000000c0 00000000 00000140 00000000
      [   15.529182] fcb8  000007d0 00000000 00000000 00000000 00000000 00000000 087306a0 ffffff80
      [   15.538410] fcd8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   15.547638]
      [   15.547638] X15: 0xffffffc0fa63fbd7:
      [   15.553311] fbd4  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.562548] fbf4  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.571777] fc14  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.581007] fc34  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.590236] fc54  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.599465] fc74  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.608692] fc94  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.617920] fcb4  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.627145] fcd4  ******** ******** ******** ******** ******** ******** ******** ********
      [   15.636380]
      [   15.636380] X29: 0xffffffc07a63fcc0:
      [   15.642054] fcc0  00000000 00000000 00000000 00000000 087306a0 ffffff80 00000000 00000000
      [   15.651282] fce0  00000000 00000000 00000000 00000000 00000000 00000000 7a63fd40 ffffffc0
      [   15.660509] fd00  08b972b8 ffffff80 7a63fd40 ffffffc0 08b972bc ffffff80 804001c5 00000000
      [   15.669739] fd20  7a63fd40 ffffffc0 08b972b8 ffffff80 ffffffff ffffffff 00000140 00000000
      [   15.678967] fd40  7a63fd60 ffffffc0 085d9940 ffffff80 00000010 00000000 000000c0 00000000
      [   15.688194] fd60  7a63fd90 ffffffc0 086dbf3c ffffff80 00000000 00000000 00000010 00000000
      [   15.697422] fd80  0969eb20 ffffff80 00000000 00000000 7a63fdb0 ffffffc0 08732148 ffffff80
      [   15.706649] fda0  0969e000 ffffff80 093fd000 ffffff80 7a63fdf0 ffffffc0 08730718 ffffff80
      [   15.715878]
      [   15.717550] Process usb_device_chos (pid: 1044, stack limit = 0xffffffc07a63c000)
      [   15.725961] Stack: (0xffffffc07a63fd40 to 0xffffffc07a640000)
      [   15.732417] fd40: ffffffc07a63fd60 ffffff80085d9940 0000000000000010 00000000000000c0
      [   15.741219] fd60: ffffffc07a63fd90 ffffff80086dbf3c 0000000000000000 0000000000000010
      [   15.750022] fd80: ffffff800969eb20 0000000000000000 ffffffc07a63fdb0 ffffff8008732148
      [   15.758824] fda0: ffffff800969e000 ffffff80093fd000 ffffffc07a63fdf0 ffffff8008730718
      [   15.767625] fdc0: ffffff800969e9e8 ffffff8008eacf10 ffffff800969e9f0 ffffffc07b889d00
      [   15.776427] fde0: ffffffc07a63fdf0 00000000000409aa ffffffc07a63fe20 ffffff80080d06cc
      [   15.785229] fe00: ffffffc07a49d880 ffffff800961e910 ffffff8008e28400 ffffffc07b889d00
      [   15.794030] fe20: 0000000000000000 ffffff80080834f0 ffffff80080d05e0 ffffffc07a49d880
      [   15.802831] fe40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.811634] fe60: 0000000000000000 ffffffc07a49d880 0000000000000000 0000000000000000
      [   15.820435] fe80: ffffffc000000000 ffffffc07a63fe88 ffffffc07a63fe88 0000000000000000
      [   15.829235] fea0: 0000000000000000 ffffffc07a63fea8 ffffffc07a63fea8 00000000000409aa
      [   15.838037] fec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.846839] fee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.855641] ff00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.864442] ff20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.873245] ff40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.882045] ff60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.890847] ff80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.899648] ffa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.908451] ffc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000
      [   15.917252] ffe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      [   15.926052] Call trace:
      [   15.928796] Exception stack(0xffffffc07a63fb50 to 0xffffffc07a63fc80)
      [   15.936034] fb40:                                   00000000000000c0 0000007fffffffff
      [   15.944835] fb60: 00000000416b5000 ffffff8008b972bc 00000000804001c5 ffffffc07734e700
      [   15.953636] fb80: ffffffc078c52280 00000000000409aa 0000000000000140 ffffffc07734e700
      [   15.962437] fba0: ffffffc07a63fbc0 ffffff8008120750 0000000000000000 ffffff80093fd000
      [   15.971238] fbc0: ffffffc07a63fc90 ffffff8008119394 ffffffc078c52280 ffffffc07c611c00
      [   15.980040] fbe0: ffffff80093fd000 ffffffc07c611c68 0000000000000000 0000000000000160
      [   15.988842] fc00: ffffffc07a63fc40 00000000000409aa ffffffc07b889d00 ffffff8008b97290
      [   15.997644] fc20: 00000000000409aa ffffff80085d9940 ffffffc07a63fd60 0000000000000000
      [   16.006446] fc40: ffffffc07f71b090 ffffff80093fdf10 0000000000000000 000000ffffffffff
      [   16.015245] fc60: 0000000000000009 000000000000002b 0000000000000001 ffffffc07a63fc5b
      [   16.024054] [<ffffff8008b972bc>] _raw_spin_lock_irqsave+0x2c/0x68
      [   16.030909] [<ffffff80085d9940>] pm_wakeup_event+0x30/0x60
      [   16.037077] [<ffffff80086dbf3c>] dual_role_instance_changed+0x2c/0x78
      [   16.044318] [<ffffff8008732148>] usb_msg_center+0x168/0x248
      [   16.050581] [<ffffff8008730718>] usb_device_scan_thread+0x78/0x98
      [   16.057432] [<ffffff80080d06cc>] kthread+0xec/0x100
      [   16.062913] [<ffffff80080834f0>] ret_from_fork+0x10/0x20
      [   16.068885] Code: d50342df 52800020 97d5123f f9800271 (885ffe60)
      [   16.075734] ---[ end trace 98cea79dca8f21d1 ]---
      [   16.080920] Kernel panic - not syncing: Fatal exception
      [   16.086790] SMP: stopping secondary CPUs
      [   16.091203] Kernel Offset: disabled
      [   16.095137] Memory Limit: none
      [   16.098583] ---[ end Kernel panic - not syncing: Fatal exception
      [   16.105330] sunxi dump enabled
      [   16.108755] dump regs done
      [   16.111844] flush cache done
      [   16.115097] crashdump enter
      NOTICE:  sunxi_usb_dev_register
      NOTICE:  sunxi_usb_main_loop
      weak:otg_phy_config
                         NOTICE:  usb init ok
      set address 0xb
                     set address 0xb ok
      
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 通过CK-Link lite 连接dongshanPI-D1s失败

      @baiwen 在 通过CK-Link lite 连接dongshanPI-D1s失败 中说:

      长按FEL键,同时按一下 RESET键 会自动进入烧录模式。 这时再使用T-Head server 连接。

      对,这样确保 JTAG 这几条腿进入了 JTAG 复用。

      发布在 MR Series
      U
      ubuntu
    • 回复: 全志T113 不能同时开启4G和CAN网络

      @weichengjie
      会不会是电源的问题呢?

      发布在 Linux
      U
      ubuntu
    • 回复: LVGL8打开G2D报错

      @waterworld 在 LVGL8打开G2D报错 中说:

      问题已解决,解决方式参考:
      https://bbs.aw-ol.com/topic/1681

      修改package\gui\littlevgl-8\lv_drivers\display\g2d_driver_enh.h,是由于头文件不一致导致的

      对,我也发现了。

      发布在 GUI
      U
      ubuntu
    • 回复: f1c100s tina pwm背光亮度调整

      https://www.cnblogs.com/dakewei/p/13323567.html

      或者用pwm直接调整亮度:

      echo 1 > /sys/class/pwm/pwmchip0/export
      
      echo 10000 > /sys/class/pwm/pwmchip0/pwm1/period
      
      echo 5000 > /sys/class/pwm/pwmchip0/pwm1/duty_cycle
      
      echo 'normal' > /sys/class/pwm/pwmchip0/pwm1/polarity
      
      echo 1 > /sys/class/pwm/pwmchip0/pwm1/enable
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • f1c100s tina pwm背光亮度调整

      sys_config.fex

      [lcd0]
      lcd_used            = 1
      ...
      lcd_pwm_used        = 1
      lcd_pwm_ch          = 1
      lcd_pwm_freq        = 50000
      lcd_pwm_pol         = 0
      lcd_pwm_max_limit   = 255
      
      [disp]
      disp_init_enable         = 1
      
      ...
      lcd0_backlight           = 255
      lcd1_backlight           = 255
      
      lcd0_bright              = 255
      lcd0_contrast            = 50
      lcd0_saturation          = 57
      lcd0_hue                 = 50
      
      lcd1_bright              = 255
      lcd1_contrast            = 50
      lcd1_saturation          = 57
      lcd1_hue                 = 50
      
      [pwm1_para]
      pwm_used            = 1
      pwm_positive        = port:PE06<3><0><default><default>
      

      用户层调整亮度:

      #include <stdio.h>
      #include <sys/types.h>
      #include <sys/stat.h>
      #include <fcntl.h>
      #include <sys/ioctl.h>
      #include <unistd.h>
      
      #define DISP_CMD_LCD_SET_BRIGHTNESS  0x102
      
      int dispfd;
      
      void main()
      {
      
              unsigned long arg[3];
              unsigned int bl = 0;
              arg[0] = 0;//显示通道0
              arg[1] = bl;
      
              dispfd                 = open("/dev/disp", O_RDWR);
      
              if(dispfd <0)
              {
                      printf("open disp error\n");
              }
      
              ioctl(dispfd, DISP_CMD_LCD_SET_BRIGHTNESS, (void*)arg);
      
              close(dispfd);
      
              printf("end\n");
      }
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • f1c200s tina 驱动里面加了几行炸了 ...
                      x = (int)(((float)x/235.00)*400);
                      y = (int)(((float)y/316.00)*240);
      
        CC      init/version.o
        LD      init/built-in.o
      drivers/built-in.o: In function `edt_ft5x06_ts_isr':
      clk-sun3iw1.c:(.text+0xe1cc4): undefined reference to `__aeabi_i2f'
      clk-sun3iw1.c:(.text+0xe1cc8): undefined reference to `__aeabi_f2d'
      clk-sun3iw1.c:(.text+0xe1cd4): undefined reference to `__aeabi_ddiv'
      clk-sun3iw1.c:(.text+0xe1ce0): undefined reference to `__aeabi_dmul'
      clk-sun3iw1.c:(.text+0xe1cfc): undefined reference to `__aeabi_i2f'
      clk-sun3iw1.c:(.text+0xe1d00): undefined reference to `__aeabi_f2d'
      clk-sun3iw1.c:(.text+0xe1d0c): undefined reference to `__aeabi_ddiv'
      clk-sun3iw1.c:(.text+0xe1d18): undefined reference to `__aeabi_dmul'
      clk-sun3iw1.c:(.text+0xe1d2c): undefined reference to `__aeabi_d2iz'
      clk-sun3iw1.c:(.text+0xe1d4c): undefined reference to `__aeabi_d2iz'
      Makefile:783: recipe for target 'vmlinux' failed
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: D1s 驱动 ST7789 i80显示屏正常,但是无法读出寄存器,请问这是什么原因呢?

      i80 的 read 线也接了。

      发布在 MR Series
      U
      ubuntu
    • 回复: D1s 驱动 ST7789 i80显示屏正常,但是无法读出寄存器,请问这是什么原因呢?

      56f309dc-ea34-4a14-9d71-e01828d13b2c-image.png

      发布在 MR Series
      U
      ubuntu
    • D1s 驱动 ST7789 i80显示屏正常,但是无法读出寄存器,请问这是什么原因呢?

      511b207b-4d9a-4f23-a177-851330456775-5b4be00586870cc0fa1ecc9e50cb26e.png

      94b18250-c091-4b11-9b03-35637d9fcaed-bb59b26ed4ad747c646e4186fa39045.png

      发布在 MR Series
      U
      ubuntu
    • 回复: ST7789 i80液晶显示屏, 8bit模式,有些显示屏用的是 d0-d7,有些显示屏用的是d8-d15,这个是怎么实现的呢?

      a67e27d4-f307-4a23-8605-46cd369774c8-190e0f49d2b5bb0d7642ee1a23835ba.png

      af9f0f04-e17f-4aab-b4e4-82e2c0fdb503-190e0f49d2b5bb0d7642ee1a23835ba.png

      91052af0-2761-4b72-8189-368032bef2cf-49af580f18d3abb9c98fabd16a1505d.png

      发布在 爱搞机专区
      U
      ubuntu
    • ST7789 i80液晶显示屏, 8bit模式,有些显示屏用的是 d0-d7,有些显示屏用的是d8-d15,这个是怎么实现的呢?

      ST7789 i80液晶显示屏, 8bit模式,有些显示屏用的是 d0-d7,有些显示屏用的是d8-d15,这个是怎么实现的呢?

      发布在 爱搞机专区
      U
      ubuntu
    • 回复: 【FAQ】全志R11移植camera senor时报I2C错误如何解决?

      @q1215200171 在 【FAQ】全志R11移植camera senor时报I2C错误如何解决? 中说:

      1、I2C没有硬件上拉
      twi_start()450 - [i2c2] START can't sendout!
      twi_start()450 - [i2c2] START can't sendout!
      twi_start()450 - [i2c2] START can't sendout!
      [VFE_DEV_I2C_ERR]cci_write_a16_d16 error! slave = 0x1e, addr = 0xa03e, value = 0x 1

      出现上述的问题是因为SDA、SCK没有拉上,导致在进行I2C通信时,发送开始信号失败,SDA、SCK添加上拉即可。

      奇怪,我的板子上拉也,也出现:START can't sendout!

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 自己做的F1C200s板子开机几分钟就挂了,但是widora的板子正常
      [    1.718500] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
      [    1.725176] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
      [    1.733009] ALSA device list:
      [    1.736312]   #0: audiocodec
      [    1.759126] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
      [    1.768751] devtmpfs: mounted
      [    1.772915] Freeing unused kernel memory: 100K (c0352000 - c036b000)
      mount: mounting none on /dev failed: Resource busy
      mount: mounting proc on /proc failed: Resource busy
      Starting syslogd: OK
      Starting klogd: OK
      Running sysctl: OK
      Initializing random number generator: OK
      Saving random seed: OK
      Starting network: ip: socket: Function not implemented
      ip: socket: Function not implemented
      FAIL
      [    4.437408]
      [    4.437408] insmod_device_driver
      [    4.437408]
      [    4.444575] device_chose finished 77!
      
      Welcome to Buildroot
      buildroot login: [    6.717556] Unable to handle kernel NULL pointer dereference at virtual address 0000002c
      [    6.726555] pgd = c0004000
      [    6.729557] [0000002c] *pgd=00000000
      [    6.733535] Internal error: Oops: 17 [#1] ARM
      [    6.738363] Modules linked in:
      [    6.741766] CPU: 0 PID: 14 Comm: kworker/u2:1 Not tainted 3.10.65 #16
      [    6.748946] Workqueue: spi0 sunxi_spi_work
      [    6.753497] task: c1874580 ti: c188e000 task.ti: c188e000
      [    6.759514] PC is at add_interrupt_randomness+0x7c/0x190
      [    6.765414] LR is at add_interrupt_randomness+0x34/0x190
      [    6.771312] pc : [<c0192bd4>]    lr : [<c0192b8c>]    psr: a0000093
      [    6.771312] sp : c188fce0  ip : c188fce7  fp : c188fd1c
      [    6.784038] r10: 00000000  r9 : c188fce0  r8 : 0000006c
      [    6.789833] r7 : ffff8d70  r6 : 00000020  r5 : 00000000  r4 : c08c8ca8
      [    6.797070] r3 : 00000000  r2 : c027de78  r1 : 00000007  r0 : fffffffa
      [    6.804310] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
      [    6.812512] Control: 0005317f  Table: 81a90000  DAC: 00000017
      [    6.818882]
      [    6.818882] PC: 0xc0192b54:
      [    6.823616] 2b54  c043fcd0 e1a0c00d e92ddff0 e24cb004 e24dd014 e59f3160 e24b903c e59f415c
      [    6.832730] 2b74  e1a08000 e1a00009 e593a000 e1a06001 e5947000 ebfe228d e3500000 13a05000
      [    6.841840] 2b94  051b503c e5943000 e35a0000 e0233005 e50b303c e50b8038 159a303c e59f2120
      [    6.850950] 2bb4  150b3034 13a03000 150b3030 e1d232b8 e5d2c02a e0490003 e59f9108 e2838010
      [    6.860059] 2bd4  e1530008 1a000022 e59f40f4 e1a03803 e1a03823 e1c432b8 e1a03b03 e1a03b23
      [    6.869168] 2bf4  e3530000 e5c4c02a 0a000003 e5943024 e0433007 e3730064 5a000013 e59f00c8
      [    6.878277] 2c14  e5847024 e5d0306c e3a02010 e3130001 12807010 02807048 e3a03000 e59f10ac
      [    6.887386] 2c34  e1a00007 ebfffb3d e3550000 1a00001e e3160c02 0a00001b e5d4302b e3530000
      [    6.896496]
      [    6.896496] LR: 0xc0192b0c:
      [    6.901231] 2b0c  e3500000 b89da8f0 e3560000 0affffdc e1a01006 e59f002c ebfffcce eaffffd8
      [    6.910343] 2b2c  e3a00015 ebfa4d66 e3500000 0affffc5 ebfffd7f eaffffd2 40045201 00005204
      [    6.919449] 2b4c  40085203 c043fcc0 c043fcd0 e1a0c00d e92ddff0 e24cb004 e24dd014 e59f3160
      [    6.928558] 2b6c  e24b903c e59f415c e1a08000 e1a00009 e593a000 e1a06001 e5947000 ebfe228d
      [    6.937669] 2b8c  e3500000 13a05000 051b503c e5943000 e35a0000 e0233005 e50b303c e50b8038
      [    6.946780] 2bac  159a303c e59f2120 150b3034 13a03000 150b3030 e1d232b8 e5d2c02a e0490003
      [    6.955890] 2bcc  e59f9108 e2838010 e1530008 1a000022 e59f40f4 e1a03803 e1a03823 e1c432b8
      [    6.965000] 2bec  e1a03b03 e1a03b23 e3530000 e5c4c02a 0a000003 e5943024 e0433007 e3730064
      [    6.974111]
      [    6.974111] SP: 0xc188fc60:
      [    6.978844] fc60  c003f1fc c0041a4c c1874580 80000093 c188fc94 c188fc80 c0192bd4 a0000093
      [    6.987951] fc80  ffffffff c188fccc c188fd1c c188fc98 c000f4b8 c000a1a0 fffffffa 00000007
      [    6.997060] fca0  c027de78 00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c c188fce0
      [    7.006165] fcc0  00000000 c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093 ffffffff
      [    7.015275] fce0  ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c
      [    7.024380] fd00  00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68
      [    7.033486] fd20  00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000
      [    7.042594] fd40  00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c
      [    7.051706]
      [    7.051706] IP: 0xc188fc67:
      [    7.056441] fc64  c0041a4c c1874580 80000093 c188fc94 c188fc80 c0192bd4 a0000093 ffffffff
      [    7.065549] fc84  c188fccc c188fd1c c188fc98 c000f4b8 c000a1a0 fffffffa 00000007 c027de78
      [    7.074659] fca4  00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c c188fce0 00000000
      [    7.083767] fcc4  c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093 ffffffff ffff8d70
      [    7.092876] fce4  0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c 00000001
      [    7.101983] fd04  00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68 00000000
      [    7.111091] fd24  00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000 00000000
      [    7.120197] fd44  f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c c188fd84
      [    7.129304] fd64  c188fd70 c006186c c005f284 0000006c 0000006c c188fd9c c188fd88 c005eb48
      [    7.138413]
      [    7.138413] FP: 0xc188fc9c:
      [    7.143146] fc9c  00000007 c027de78 00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c
      [    7.152254] fcbc  c188fce0 00000000 c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093
      [    7.161360] fcdc  ffffffff ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8
      [    7.170468] fcfc  0000006c 00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0
      [    7.179577] fd1c  c0192b68 00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c
      [    7.188679] fd3c  00000000 00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8
      [    7.197788] fd5c  0000006c c188fd84 c188fd70 c006186c c005f284 0000006c 0000006c c188fd9c
      [    7.206897] fd7c  c188fd88 c005eb48 c00617a8 c0383adc 0000006c c188fdbc c188fda0 c00107d8
      [    7.216008]
      [    7.216008] R2: 0xc027ddf8:
      [    7.220742] ddf8  9a000009 e7d17004 e7c15004 e51b105c e1a00006 e0811003 ebfff880 e51b305c
      [    7.229851] de18  e7c37004 e1a03004 eaffffeb e7c15002 e51b105c e1a00006 e0811003 ebfff877
      [    7.238958] de38  eafffff7 c0463280 0000ffff c03194d7 e1a0c00d e92dd800 e24cb004 e59f3010
      [    7.248068] de58  e5933038 e3530000 089da800 eb000528 e89da800 c044af78 e1a0c00d e92ddbf0
      [    7.257177] de78  e24cb004 e24dd020 e3700106 e1a04000 1a000003 eb0004a4 e1c40fc4 e24bd024
      [    7.266288] de98  e89dabf0 e1a0300d e3500000 e3c37d7f e3c7703f aa000007 e1a01000 e59f00d4
      [    7.275398] deb8  ebfff856 ebfffe50 e3a02000 e597300c e5832000 eaffffef e59f60bc e3a09000
      [    7.284509] ded8  e5963000 e24b1044 e0804003 e59f30ac e24b0034 e5935000 e3e03000 e50b3028
      [    7.293621]
      [    7.293621] R4: 0xc08c8c28:
      [    7.298354] 8c28  ba959f9d 9b859ead beb5fad5 9ad7fed4 b9d6cbcd 9b97ce91 9a95db9d dab59a98
      [    7.307462] 8c48  9e959f9d 1ab5be9d d2d7be96 9a959ed7 db95b997 dabd9b95 bed71b95 bad5fac1
      [    7.316573] 8c68  bf9f9a9f 1e955f95 9b9dda9d bbf99e95 22f59abf 9ae5fb8f 9c959ad5 fa959afd
      [    7.325685] 8c88  ca958eb7 9ebd9397 dad5bae3 b4959f97 9a95bb9f bed19a95 9ca79a95 fa95d8d5
      [    7.334796] 8ca8  9ad59ad7 9a8dd2b5 be95dd35 9a91bad5 9b959fd7 1663a4dd dad4fa94 9a95bad5
      [    7.343905] 8cc8  bf959e95 8eb59ac5 bad59395 9a959f95 dae7ded7 ca9d9bf7 ba97ba95 bad5deb5
      [    7.353013] 8ce8  bfa99a97 dbbd9fdd 9ad5aa17 9a95fa95 9e979eb5 9ad518b5 9aa59aff 9eb5dbd5
      [    7.362124] 8d08  9b958a94 ab9dba97 9b9d99d5 9a87fa95 8f9db8e7 bf919295 da357c9f b395fa95
      [    7.371235]
      [    7.371235] R7: 0xffff8cf0:
      [    7.375967] 8cf0  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.385083] 8d10  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.394188] 8d30  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.403292] 8d50  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.412397] 8d70  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.421502] 8d90  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.430605] 8db0  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.439709] 8dd0  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.448815]
      [    7.448815] R9: 0xc188fc60:
      [    7.453548] fc60  c003f1fc c0041a4c c1874580 80000093 c188fc94 c188fc80 c0192bd4 a0000093
      [    7.462655] fc80  ffffffff c188fccc c188fd1c c188fc98 c000f4b8 c000a1a0 fffffffa 00000007
      [    7.471764] fca0  c027de78 00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c c188fce0
      [    7.480871] fcc0  00000000 c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093 ffffffff
      [    7.489979] fce0  ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c
      [    7.499084] fd00  00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68
      [    7.508193] fd20  00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000
      [    7.517301] fd40  00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c
      [    7.526416] Process kworker/u2:1 (pid: 14, stack limit = 0xc188e1b8)
      [    7.533461] Stack: (0xc188fce0 to 0xc1890000)
      [    7.538309] fce0: ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c
      [    7.547390] fd00: 00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68
      [    7.556472] fd20: 00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000
      [    7.565554] fd40: 00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c
      [    7.574635] fd60: c188fd84 c188fd70 c006186c c005f284 0000006c 0000006c c188fd9c c188fd88
      [    7.583718] fd80: c005eb48 c00617a8 c0383adc 0000006c c188fdbc c188fda0 c00107d8 c005eb30
      [    7.592800] fda0: c0455820 c188fdd8 ffffffff c188fe0c c188fdd4 c188fdc0 c000a314 c0010778
      [    7.601883] fdc0: c027de78 60000013 c188fe84 c188fdd8 c000f520 c000a2e8 7fffffff c180a6fc
      [    7.610966] fde0: c188fe58 60000013 7fffffff c180a6f8 c188e000 00000002 00000000 00000000
      [    7.620049] fe00: f1c05010 c188fe84 c188fe48 c188fe20 c027f430 c027de78 60000013 ffffffff
      [    7.629130] fe20: 7fffffff c180a6f8 c188e000 00000002 00000000 00000000 c188fe84 c188fe48
      [    7.638212] fe40: c027f430 c027de80 f1c05000 00000001 c1874580 c003f3c8 c180a6fc c180a6fc
      [    7.647295] fe60: f1c05000 c180a168 c1a83c28 f1c05018 c1a83c1c 00000000 c188fe94 c188fe88
      [    7.656377] fe80: c027f4d4 c027f360 c188feec c188fe98 c01c4418 c027f4cc f1c05000 c00416f0
      [    7.665459] fea0: c1956df8 c180a6f0 00000000 c180a6e0 00000001 c1916000 c18567c1 00000000
      [    7.674540] fec0: c188e000 c188c180 c180a6e0 c1830000 00000000 c190c900 c188e000 00000000
      [    7.683621] fee0: c188ff2c c188fef0 c0031c70 c01c3f74 00000000 c188c180 c1830000 c188e000
      [    7.692703] ff00: c1830000 c188c180 c1830000 c188e000 c188c198 c1830010 c1830000 00000000
      [    7.701786] ff20: c188ff64 c188ff30 c0032b14 c0031a98 00000000 c188c180 c0032948 c184de7c
      [    7.710868] ff40: 00000000 c188c180 c0032948 00000000 00000000 00000000 c188ffac c188ff68
      [    7.719950] ff60: c0037ca8 c0032958 9a979b9d 00000000 5a9dba97 c188c180 00000000 c188ff7c
      [    7.729030] ff80: c188ff7c 00000000 c188ff88 c188ff88 c184de7c c0037c00 00000000 00000000
      [    7.738110] ffa0: 00000000 c188ffb0 c000f930 c0037c10 00000000 00000000 00000000 00000000
      [    7.747187] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [    7.756267] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 9e979afd 9aff5ad1
      [    7.765326] Backtrace:
      [    7.768098] [<c0192b58>] (add_interrupt_randomness+0x0/0x190) from [<c005f1c0>] (handle_irq_event_percpu+0xf0/0x1a4)
      [    7.779786] [<c005f0d0>] (handle_irq_event_percpu+0x0/0x1a4) from [<c005f2a4>] (handle_irq_event+0x30/0x40)
      [    7.790612] [<c005f274>] (handle_irq_event+0x0/0x40) from [<c006186c>] (handle_level_irq+0xd4/0xe4)
      [    7.800638]  r5:0000006c r4:c037ceb8
      [    7.804639] [<c0061798>] (handle_level_irq+0x0/0xe4) from [<c005eb48>] (generic_handle_irq+0x28/0x38)
      [    7.814857]  r5:0000006c r4:0000006c
      [    7.818874] [<c005eb20>] (generic_handle_irq+0x0/0x38) from [<c00107d8>] (handle_IRQ+0x70/0x88)
      [    7.828518]  r5:0000006c r4:c0383adc
      [    7.832519] [<c0010768>] (handle_IRQ+0x0/0x88) from [<c000a314>] (sun3i_handle_irq+0x3c/0x44)
      [    7.841968]  r7:c188fe0c r6:ffffffff r5:c188fdd8 r4:c0455820
      [    7.848286] [<c000a2d8>] (sun3i_handle_irq+0x0/0x44) from [<c000f520>] (__irq_svc+0x40/0x4c)
      [    7.857641] Exception stack(0xc188fdd8 to 0xc188fe20)
      [    7.863246] fdc0:                                                       7fffffff c180a6fc
      [    7.872327] fde0: c188fe58 60000013 7fffffff c180a6f8 c188e000 00000002 00000000 00000000
      [    7.881410] fe00: f1c05010 c188fe84 c188fe48 c188fe20 c027f430 c027de78 60000013 ffffffff
      [    7.890471]  r5:60000013 r4:c027de78
      [    7.894484] [<c027f350>] (wait_for_common+0x0/0x16c) from [<c027f4d4>] (wait_for_completion+0x18/0x1c)
      [    7.904800]  r9:00000000 r8:c1a83c1c r7:f1c05018 r6:c1a83c28 r5:c180a168
      r4:f1c05000
      [    7.913553] [<c027f4bc>] (wait_for_completion+0x0/0x1c) from [<c01c4418>] (sunxi_spi_work+0x4b4/0x7fc)
      [    7.923903] [<c01c3f64>] (sunxi_spi_work+0x0/0x7fc) from [<c0031c70>] (process_one_work+0x1e8/0x330)
      [    7.934048] [<c0031a88>] (process_one_work+0x0/0x330) from [<c0032b14>] (worker_thread+0x1cc/0x358)
      [    7.944111] [<c0032948>] (worker_thread+0x0/0x358) from [<c0037ca8>] (kthread+0xa8/0xb4)
      [    7.953115] [<c0037c00>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
      [    7.961987]  r7:00000000 r6:00000000 r5:c0037c00 r4:c184de7c
      [    7.968297] Code: e5d2c02a e0490003 e59f9108 e2838010 (e1530008)
      [    7.975058] ---[ end trace bb911ec0eda66d06 ]---
      [    7.980178] Kernel panic - not syncing: Fatal exception in interrupt
      

      请问这是什么问题呢?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      @whycan 在 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。 中说:

      据说手快有: https://detail.tmall.com/item.htm?id=656554238743

      仅推荐,其他风险自担。

      涨价了,73元。

      发布在 灌水区
      U
      ubuntu
    • T113-S3 板子网卡启动失败,请问是什么问题呢?
      # ifconfig eth0 up
      ifconfig: SIOCSIFFLAGS: Invalid argument
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • LVGL port to OpenGL @ thirdparty

      https://github.com/rainlab-inc/lvgl

      https://github.com/rainlab-inc/lvgl-opengl

      发布在 GUI
      U
      ubuntu
    • lvg8.3 自带 lv_example_ime_pinyin_2 挂了,这是怎么回事呢?

      3af6dee0-6b65-4512-bee5-01e9f3342a5e-image.png

      23fe79be-e034-4a01-8e63-513136eda499-image.png

      发布在 GUI
      U
      ubuntu
    • 回复: T113-S3 烧录 W25N01 失败,请问是什么原因?

      @kelsey
      搞定啦,flash上拉电阻补焊搞定。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • T113-S3 烧录 W25N01 失败,请问是什么原因?
      [1518]fes begin commit:88480af-dirty
      [1522]set pll start
      [1527]periph0 has been enabled
      [1531]set pll end
      [1532][pmu]: bus read error
      [1535]board init ok
      [1537]beign to init dram
      [1539]ZQ value = 0x2f
      [1541]get_pmu_exist() = -1
      [1544]ddr_efuse_type: 0xa
      [1546]trefi:7.8ms
      [1549][AUTO DEBUG] single rank and full DQ!
      [1553]ddr_efuse_type: 0xa
      [1555]trefi:7.8ms
      [1558][AUTO DEBUG] rank 0 row = 13
      [1561][AUTO DEBUG] rank 0 bank = 8
      [1564][AUTO DEBUG] rank 0 page size = 2 KB
      [1568]DRAM BOOT DRIVE INFO: V0.33
      [1572]DRAM CLK = 936 MHz
      [1574]DRAM Type = 3 (2:DDR2,3:DDR3)
      [1577]DRAMC read ODT  off.
      [1580]DRAM ODT value: 0x42.
      [1583]ddr_efuse_type: 0xa
      [1586]DRAM SIZE =128 M
      [1588]dram_tpr4:0x0
      [1590]PLL_DDR_CTRL_REG:0xf8004d00
      [1593]DRAM_CLK_REG:0xc0000000
      [1596][TIMING DEBUG] MR2= 0x20
      [1600]DRAM simple test OK.
      [1602]rtc standby flag is 0x0, super standby flag is 0x0
      [1608]init dram ok
      
      
      U-Boot 2018.05-g24521d6-dirty (Nov 04 2022 - 20:13:00 +0800) Allwinner Technology
      
      [03.917]CPU:   Allwinner Family
      [03.920]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
      ready
      [03.941]DRAM:  128 MiB
      [03.944]Relocation Offset is: 04ecd000
      [03.968]secure enable bit: 0
      [03.971]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [03.977]gic: normal mode
      [03.979]flash init start
      [03.981]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.989][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
      [03.996][mmc]: Is not Boot mode!
      [03.999][mmc]: SUNXI SDMMC Controller Version:0x50310
      [04.010][mmc]: ************Try SD card 2************
      [04.015][mmc]: mmc 2 cmd timeout 100 status 100
      [04.019][mmc]: smc 2 err, cmd 8,  RTO
      [04.023][mmc]: mmc 2 close bus gating and reset
      [04.028][mmc]: mmc 2 cmd timeout 100 status 100
      [04.032][mmc]: smc 2 err, cmd 55,  RTO
      [04.035][mmc]: mmc 2 close bus gating and reset
      [04.040][mmc]: ************Try MMC card 2************
      [04.048][mmc]: mmc 2 cmd timeout 100 status 100
      [04.053][mmc]: smc 2 err, cmd 1,  RTO
      [04.056][mmc]: mmc 2 close bus gating and reset
      [04.060][mmc]: Card did not respond to voltage select!
      [04.065][mmc]: ************SD/MMC 2 init error!************
      [04.070][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [04.077]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
      [04.083]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
      [04.090]sunxi-spinand-phy: request spi0 gpio ok
      [04.095]sunxi-spinand-phy: request general tx dma channel ok!
      [04.100]sunxi-spinand-phy: request general rx dma channel ok!
      [04.105]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [04.110]sunxi-spinand-phy: init spic0 clk ok
      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 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
      
      [04.155]sunxi-spinand-phy: not detect any munufacture from id table
      [04.162]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [04.167]sunxi-spinand-phy: get phy info from fdt fail
      [04.172]sunxi-spinand-phy: not detect munufacture from fdt
      [04.177]sunxi-spinand-phy: detect munufacture from id table: Winbond
      [04.183]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [04.189]sunxi-spinand-phy: ========== arch info ==========
      [04.194]sunxi-spinand-phy: Model:               W25N01GVZEIG
      [04.199]sunxi-spinand-phy: Munufacture:         Winbond
      [04.204]sunxi-spinand-phy: DieCntPerChip:       1
      [04.208]sunxi-spinand-phy: BlkCntPerDie:        1024
      [04.213]sunxi-spinand-phy: PageCntPerBlk:       64
      [04.218]sunxi-spinand-phy: SectCntPerPage:      4
      [04.222]sunxi-spinand-phy: OobSizePerPage:      64
      [04.227]sunxi-spinand-phy: BadBlockFlag:        0x0
      [04.231]sunxi-spinand-phy: OperationOpt:        0x7
      [04.236]sunxi-spinand-phy: MaxEraseTimes:       65000
      [04.241]sunxi-spinand-phy: EccFlag:             0x0
      [04.245]sunxi-spinand-phy: EccType:             2
      [04.250]sunxi-spinand-phy: EccProtectedType:    3
      [04.254]sunxi-spinand-phy: ========================================
      [04.260]sunxi-spinand-phy:
      [04.262]sunxi-spinand-phy: ========== physical info ==========
      [04.268]sunxi-spinand-phy: TotalSize:    128 M
      [04.272]sunxi-spinand-phy: SectorSize:   512 B
      [04.276]sunxi-spinand-phy: PageSize:     2 K
      [04.280]sunxi-spinand-phy: BlockSize:    128 K
      [04.284]sunxi-spinand-phy: OOBSize:      64 B
      [04.289]sunxi-spinand-phy: ========================================
      [04.295]sunxi-spinand-phy:
      [04.297]sunxi-spinand-phy: ========== logical info ==========
      [04.302]sunxi-spinand-phy: TotalSize:    128 M
      [04.307]sunxi-spinand-phy: SectorSize:   512 B
      [04.311]sunxi-spinand-phy: PageSize:     4 K
      [04.315]sunxi-spinand-phy: BlockSize:    256 K
      [04.319]sunxi-spinand-phy: OOBSize:      128 B
      [04.323]sunxi-spinand-phy: ========================================
      [04.329]sunxi-spinand-phy: set spic0 clk to 100 Mhz
      [04.334]sunxi-spinand-phy: block lock register: 0x00
      [04.339]sunxi-spinand-phy: feature register: 0x19
      [04.343]sunxi-spinand-phy: sunxi physic nand init end
      [04.348]Loading Environment from SUNXI_FLASH... OK
      [04.352]try to burn key
      [04.355]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      buf queue page size = 16384
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x1e
      set address 0x1e ok
      set address 0x1f
      set address 0x1f ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      the 0 mbr table is ok
      the 1 mbr table is ok
      the 2 mbr table is ok
      the 3 mbr table is ok
      *************MBR DUMP***************
      total mbr part 8
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x8000
      part[0] lenlo     :0x800
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x8800
      part[1] lenlo     :0x1f8
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :env-redund
      part[2] classname :DISK
      part[2] addrlo    :0x89f8
      part[2] lenlo     :0x1f8
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :boot
      part[3] classname :DISK
      part[3] addrlo    :0x8bf0
      part[3] lenlo     :0x21e8
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs
      part[4] classname :DISK
      part[4] addrlo    :0xadd8
      part[4] lenlo     :0x11800
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :private
      part[5] classname :DISK
      part[5] addrlo    :0x1c5d8
      part[5] lenlo     :0x2800
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :rootfs_data
      part[6] classname :DISK
      part[6] addrlo    :0x1edd8
      part[6] lenlo     :0x15e00
      part[6] user_type :32768
      part[6] keydata   :0
      part[6] ro        :0
      
      part[7] name      :UDISK
      part[7] classname :DISK
      part[7] addrlo    :0x34bd8
      part[7] lenlo     :0x0
      part[7] user_type :33024
      part[7] keydata   :0
      part[7] ro        :0
      
      total part: 9
      mbr 0, 8000, 8000
      boot-resource 1, 800, 8000
      env 2, 1f8, 8000
      env-redund 3, 1f8, 8000
      boot 4, 21e8, 8000
      rootfs 5, 11800, 8000
      private 6, 2800, 8000
      rootfs_data 7, 15e00, 8000
      UDISK 8, 0, 8100
      [07.635]erase blk 0 to blk 32
      need erase flash: 18
      [07.658]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      
      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)
      [07.709]MTD info (4)
      [07.711]pagesize: 0x1000
      [07.713]blksize: 0x40000
      [07.715]num  offset     bytes      name
      [07.719]0    0x00000000 0x00100000 boot0
      [07.722]1    0x00100000 0x00300000 uboot
      [07.726]2    0x00400000 0x00100000 secure_storage
      [07.730]3    0x00500000 0x07b00000 sys
      [07.734]ubi attach the last part of mtd device: NO.3
      [07.806]ubi0: attaching mtd4
      [07.859]ubi0: scanning is finished
      [07.862]ubi0: empty MTD device detected
      [07.869]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [07.874]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [07.880]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [07.886]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [07.892]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [07.898]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [07.904]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [07.912]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
      [07.965]erase blk 0 to blk 32
      [07.976]erase blk 40 to blk 1024
      [08.491]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33
      [08.498]sunxi-spinand: secure storage blks have never used before
      [08.504]sunxi-spinand: secure storage has no valid data on item 0
      [08.509]Item0 (Map) magic is bad
      [08.512]the secure storage map is empty
      [08.533]sunxi-spinand: write secure storage itme 0 ok
      [08.537]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      force mbr
      
      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)
      [08.585]MTD info (4)
      [08.587]pagesize: 0x1000
      [08.590]blksize: 0x40000
      [08.592]num  offset     bytes      name
      [08.595]0    0x00000000 0x00100000 boot0
      [08.599]1    0x00100000 0x00300000 uboot
      [08.603]2    0x00400000 0x00100000 secure_storage
      [08.607]3    0x00500000 0x07b00000 sys
      [08.611]MBR info (unalign):
      [08.613]partno   addr       sects      type       name
      [08.618]0        0x00000000 0x00008000 0x00000001 mbr
      [08.623]1        0x00008000 0x00000800 0x00008000 boot-resource
      [08.628]2        0x00008800 0x000001f8 0x00008000 env
      [08.633]3        0x000089f8 0x000001f8 0x00008000 env-redund
      [08.638]4        0x00008bf0 0x000021e8 0x00008000 boot
      [08.643]5        0x0000add8 0x00011800 0x00008000 rootfs
      [08.648]6        0x0001c5d8 0x00002800 0x00008000 private
      [08.653]7        0x0001edd8 0x00015e00 0x00008000 rootfs_data
      [08.659]8        0x00034bd8 0x00000000 0x00008100 UDISK
      [08.664]ubi attach the last part of mtd device: NO.3
      [08.669]MBR info (align):
      [08.671]partno   addr       sects      type       name
      [08.676]0        0x00002800 0x000081f0 0x00000001 mbr
      [08.680]1        0x0000a9f0 0x000009d8 0x00008000 boot-resource
      [08.686]2        0x0000b3c8 0x000001f8 0x00008000 env
      [08.691]3        0x0000b5c0 0x000001f8 0x00008000 env-redund
      [08.696]4        0x0000b7b8 0x00002370 0x00008000 boot
      [08.701]5        0x0000db28 0x00011988 0x00008000 rootfs
      [08.706]6        0x0001f4b0 0x00002958 0x00008000 private
      [08.711]7        0x00021e08 0x00015e70 0x00008000 rootfs_data
      [08.717]8        0x00037c78 0x00000000 0x00008100 UDISK
      [08.722]ubi attach the last part of mtd device: NO.3
      [08.726]ubi attatch mtd, name: sys
      
      [08.730]ubi0: detaching mtd4
      [08.732]ubi0: mtd4 is detached
      [08.735]ubi0: attaching mtd4
      [08.788]ubi0: scanning is finished
      [08.791]ubi0: empty MTD device detected
      [08.798]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [08.803]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [08.809]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [08.815]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [08.821]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [08.827]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [08.833]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [08.841]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
      Creating static volume mbr of size 17031168
      Creating dynamic volume boot-resource of size 1290240
      Creating dynamic volume env of size 258048
      Creating dynamic volume env-redund of size 258048
      Creating dynamic volume boot of size 4644864
      Creating dynamic volume rootfs of size 36900864
      Creating dynamic volume private of size 5419008
      Creating dynamic volume rootfs_data of size 45932544
      No size specified -> Using max size (9031680)
      [08.950]reset last volume size to 0x44e8
      Creating dynamic volume UDISK of size 9031680
      [08.963]fill gap start: volume mbr sects 0x7f80
      [09.688]ubi0 warning: ubi_io_read_vid_hdr: bad magic number at PEB 149: 00000000 instead of 55424921
      [09.697]Volume identifier header dump:
      [09.700]        magic     00000000
      [09.703]        version   0
      [09.704]        vol_type  0
      [09.706]        copy_flag 0
      [09.708]        compat    0
      [09.710]        vol_id    0
      [09.712]        lnum      0
      [09.714]        data_size 0
      [09.716]        used_ebs  0
      [09.718]        data_pad  0
      [09.720]        sqnum     0
      [09.722]        hdr_crc   00000000
      [09.724]Volume identifier header hexdump:
      [09.728]ubi0 warning: ubi_eba_read_leb: corrupted VID header at PEB 149, LEB 0:0
      [09.735]ubi0 warning: ubi_volume_continue_write: volume 0 on UBI device 0 is corrupt
      [09.742]fill gap end: volume mbr
      [09.745]update partition map
      [09.748]logical area info: 468 258048 last_lba: 235871
      read from corrupted volume 0[09.759]mbr magic error: ▒▒▒▒▒▒▒▒ wanted softw411
      *** ERROR: Can't read MBR header ***
      part_get_info_efi: *** ERROR: Invalid GPT ***
      read from corrupted volume 0[09.776]mbr magic error: ▒▒▒▒▒▒▒▒ wanted softw411
      *** ERROR: Can't read MBR header ***
      part_get_info_efi: *** ERROR: Invalid Backup GPT ***
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      [09.835]fill gap start: volume boot-resource sects 0x264
      [09.853]fill gap end: volume boot-resource
      FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0xb3800
      FEX_CMD_fes_verify_value 0xfffd3200
      

      90cee686-6abd-43da-84bc-29aaa3daa8ed-image.png

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 请问Ubuntu18.04,32bit 的 .so文件 是复制到 /usr/lib32,64bit的so文件是复制到 /usr/lib/ 目录吗?

      请问Ubuntu18.04,32bit 的 .so文件 是复制到 /usr/lib32,64bit的so文件是复制到 /usr/lib/ 目录吗?

      发布在 Linux
      U
      ubuntu
    • 回复: DNS

      什么芯片,什么系统?

      发布在 Linux
      U
      ubuntu
    • 回复: VSCode在 win7 运行出错

      675daa9f-0c9a-428e-a8b4-87278cbbf627-image.png

      发布在 GUI
      U
      ubuntu
    • 回复: VSCode在 win7 运行出错

      搞定了, vscode 新版本1.71 不支持 win7了,装 1.69 就好了。

      发布在 GUI
      U
      ubuntu
    • VSCode在 win7 运行出错

      01b2a898-dd25-43c2-9993-1d4deb414b4a-image.png

      [main 2022-10-04T05:00:06.017Z] SystemError [ERR_SYSTEM_ERROR]: A system error o
      ccurred: uv_os_gethostname returned ENOSYS (function not implemented)
          at Ct.initServices (C:\Users\Administrator\AppData\Local\Programs\Microsoft
      VS Code\resources\app\out\vs\code\electron-main\main.js:77:69153)
          at Ct.startup (C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Co
      de\resources\app\out\vs\code\electron-main\main.js:77:64822)
          at process.processTicksAndRejections (node:internal/process/task_queues:96:5
      )
      [5940:1004/130006.064:ERROR:broker_win.cc(56)] Error reading broker pipe: 管道已
      结束。 (0x6D)
      
      发布在 GUI
      U
      ubuntu
    • 回复: RTL8188EU USB网卡接 R11,运行hostapd 出错,请问这是什么问题呢?

      https://github.com/mfruba/kernel

      终于找到了,这个驱动在 Linux4.9 编译正常,试一试能不能运行。

      发布在 A Series
      U
      ubuntu
    • 回复: RTL8188EU USB网卡接 R11,运行hostapd 出错,请问这是什么问题呢?

      @ubuntu

      https://github.com/lwfinger/rtl8188eu

      这个驱动整到 linux-4.9 里面很多编译错误。

      发布在 A Series
      U
      ubuntu
    • 回复: RTL8188EU USB网卡接 R11,运行hostapd 出错,请问这是什么问题呢?

      @yuzukitsuru

      网上搜索说是驱动问题,不能用 staging 目录里面的 rtl8188eu 驱动程序

      https://unix.stackexchange.com/questions/584559/tp-link-tl-wn722n-v2-and-ap-mode-nl80211-driver-does-not-support-authenticatio

      Answer from Larry Finger, maintainer of derived work from Realtek:
      
      Only very old hostapd is supported by the staging driver, and not very well.
      
      Your best chance is to use the v5.2.2.4 branch pf http://github.com/lwfinger/rtl8188eu.git.
      
      This driver uses cfg80211/nl80211 commands and supports the latest hostapd.
      
      source: http://lists.infradead.org/pipermail/hostap/2020-May/041657.html
      
      I just wonder, why that cleanup development is happening out-of-tree (having it mainline would be easier for users). UPDATE: out-of-tree code is that complex that it'd take years to get it in a shape. That unfortunately leads to out-of-tree driver.
      
      
      发布在 A Series
      U
      ubuntu
    • RTL8188EU USB网卡接 R11,运行hostapd 出错,请问这是什么问题呢?

      nl80211: Driver does not support authentication/association or connect commands
      nl80211: deinit ifname=wlan0 disabled_11b_rates=0
      nl80211 driver initialization failed.
      wlan0: interface state UNINITIALIZED->DISABLED
      wlan0: AP-DISABLED
      hostapd_free_hapd_data: Interface wlan0 wasn't started

      发布在 A Series
      U
      ubuntu
    • D1s @1.2G 解码 DSD256 刚刚好

      ee9baa92-6ab1-4783-ae0a-70844de50d01-image.png

      发布在 MR Series
      U
      ubuntu
    • 回复: d1s和d1哪吒跑QT4.8.7不起来,有一回在D1S上起来了,但文件系统被我刷了,现在就是要么报OOM要么就是报环境问题

      我的 Qt5 @ D1s 也挂了:

      # QT_QPA_FONTDIR=/usr/share/fonts/ /usr/bin/lineedits  -platform linuxfb
      kthreadd invoked oom-killer: gfp_mask=0x400dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), order=2, oom_score_adj=0
      CPU: 0 PID: 2 Comm: kthreadd Not tainted 5.4.61 #118
      Call Trace:
      [<ffffffe00002812c>] walk_stackframe+0x0/0x98
      [<ffffffe0000282e4>] show_stack+0x2a/0x34
      [<ffffffe000498b08>] dump_stack+0x20/0x28
      [<ffffffe0000777b8>] dump_header+0x40/0x198
      [<ffffffe000077070>] oom_kill_process+0x92/0x208
      [<ffffffe000077720>] out_of_memory+0x218/0x224
      [<ffffffe00009c1fa>] __alloc_pages_slowpath+0x48c/0x536
      [<ffffffe00009c3ce>] __alloc_pages_nodemask+0x12a/0x12c
      [<ffffffe00002afaa>] copy_process+0x17c/0xcd4
      [<ffffffe00002bc4e>] _do_fork+0x5c/0x182
      [<ffffffe00002bde8>] kernel_thread+0x5a/0x6a
      [<ffffffe00003faca>] kthreadd+0xe2/0x104
      [<ffffffe000026e98>] ret_from_exception+0x0/0xc
      Mem-Info:
      active_anon:8540 inactive_anon:5 isolated_anon:0
       active_file:53 inactive_file:54 isolated_file:0
       unevictable:0 dirty:0 writeback:0 unstable:0
       slab_reclaimable:814 slab_unreclaimable:1701
       mapped:16 shmem:12 pagetables:83 bounce:0
       free:304 free_pcp:9 free_cma:0
      Node 0 active_anon:34160kB inactive_anon:20kB active_file:212kB inactive_file:216kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:64kB dirty:0kB writeback:0kB shmem:48kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
      DMA32 free:1216kB min:916kB low:1144kB high:1372kB active_anon:34160kB inactive_anon:20kB active_file:212kB inactive_file:216kB unevictable:0kB writepending:0kB present:65536kB managed:56860kB mlocked:0kB kernel_stack:1520kB pagetables:332kB bounce:0kB free_pcp:36kB local_pcp:36kB free_cma:0kB
      lowmem_reserve[]: 0 0 0
      DMA32: 26*4kB (UME) 69*8kB (UM) 21*16kB (UM) 7*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1216kB
      Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10
      zone    DMA32, type    Unmovable      4     41      2      1      0      0      0      0      0      0      0
      zone    DMA32, type      Movable     17     28     19      6      0      0      0      0      0      0      0
      zone    DMA32, type  Reclaimable      5      0      0      0      0      0      0      0      0      0      0
      zone    DMA32, type          CMA      0      0      0      0      0      0      0      0      0      0      0
      zone    DMA32, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
      zone    DMA32, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
      164 total pagecache pages
      0 pages in swap cache
      Swap cache stats: add 0, delete 0, find 0/0
      Free swap  = 0kB
      Total swap = 0kB
      16384 pages RAM
      0 pages HighMem/MovableOnly
      2169 pages reserved
      0 pages cma reserved
      Tasks state (memory values in pages):
      [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
      [    916]     0   916      602       23    24576        0             0 syslogd
      [    929]     0   929      602       30    24576        0             0 klogd
      [    963]     0   963     1037      108    32768        0             0 lircd
      [   1025]     0  1025    76833      102    65536        0             0 adbd
      [   1086]     0  1086     1303      108    32768        0             0 wpa_supplicant
      [   1087]     0  1087      618       38    28672        0             0 sh
      [   8068]     0  8068    33197     8096   147456        0             0 lineedits
      [   8099]     0  8099      602       24    28672        0             0 sh
      oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=lineedits,pid=8068,uid=0
      Out of memory: Killed process 8068 (lineedits) total-vm:132788kB, anon-rss:32320kB, file-rss:64kB, shmem-rss:0kB, UID:0 pgtables:144kB oom_score_adj:0
      oom_reaper: reaped process 8068 (lineedits), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
      Killed
      #
      
      发布在 MR Series
      U
      ubuntu
    • 回复: R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗?

      @mengxp 在 R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗? 中说:

      @ubuntu 应该可以,那个时钟不是同步数据用的,就好比你wifi芯片外挂24M晶振或者37.4M晶振。你看下你对接芯片的datasheet 和设计指南。

      @mengxp 测试结果确实是不行的,播放噪音可以, 播放音乐鸦雀无声。

      deeabd17-d065-49ea-8f8d-3cce67eace81-74110a396622c61a4bcb470fba8010f.jpg

      96a6acf6-f992-46a9-9722-9810949d8265-885c433fc8ea01883777b3e492cf015.jpg

      @mengxp 测试结果确实是不行的,播放噪音可以, 播放音乐鸦雀无声。

      发布在 A Series
      U
      ubuntu
    • 回复: V831 用 eMMC 启动出错,但是TF卡正常,请问 怎么回事呢?

      @ubuntu

      TF卡正常, 是这样的:

      [258]HELLO! BOOT0 is starting!
      [261]BOOT0 commit : e3b2a9e
      [264]board init start
      [266]set pll start
      [269]set pll end
      [270][pmu]: bus read error
      [273][pmu]: bus read error
      [276]board init ok
      [278]chip id check OK
      [280]DRAM BOOT DRIVE INFO: V0.41
      [283]DRAM CLK = 528 MHz
      [285]DRAM Type = 2 (2:DDR2,3:DDR3)
      [288]DRAMC read ODT  off.
      [291]DRAM ODT off.
      [293]DRAM SIZE =64 M
      [299]DRAM simple test OK.
      [302]rtc standby flag is 0x0, super standby flag is 0x0
      [307]dram size =64
      [310]card no is 0
      [311]sdcard 0 line count 4
      [314][mmc]: mmc driver ver 2020-01-08 17:05
      [318][mmc]: sdc0 spd mode error, 2
      [321][mmc]: set f_max to 50M, set f_max_ddr to 25M
      [326][mmc]: mmc 0 bias 0
      [334][mmc]: Wrong media type 0x0
      [337][mmc]: ***Try SD card 0***
      [356][mmc]: HSSDR52/SDR25 4 bit
      [359][mmc]: 50000000 Hz
      [362][mmc]: 118 MB
      [363][mmc]: ***SD/MMC 0 init OK!!!***
      [418]Loading boot-pkg Succeed(index=0).
      [422]Entry_name        = optee
      [425]Entry_name        = u-boot
      [431]Entry_name        = dtb
      [435]Jump to second Boot.
      MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-14-gf6954e7 #1 2019年 11月 21日 星期四 01:34:42 UTC arm
      ERROR:   [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node
      ERROR:   [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node
      
      
      U-Boot 2018.05 (May 10 2022 - 19:02:33 +0800) Allwinner Technology
      
      [00.505]CPU:   Allwinner Family
      [00.508]Model: sun8iw19
      I2C:   ready
      [00.512]DRAM:  64 MiB
      [00.515]Relocation Offset is: f9f46000
      [00.537]secure enable bit: 0
      [00.539]pmu_axp152_probe pmic_bus_read fail
      [00.543]pmu_axp2101_probe pmic_bus_read fail
      [00.547]bmu_axp152_probe pmic_bus_read fail
      [00.551]bmu_axp2101_probe pmic_bus_read fail
      [00.555]CPU=816 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=132Mhz
      [00.561]gic: sec monitor mode
      [00.564]flash init start
      [00.566]workmode = 0,storage type = 1
      [00.570]MMC:     0
      [00.571]get mem for descripter OK !
      
      card_caps:0x3000000a
      host_caps:0x3000003f
      [00.819]sunxi flash init ok
      [00.823]Loading Environment from SUNXI_FLASH... OK
      [00.842]update dts
      root_partition is rootfs
      set root to /dev/mmcblk0p4
      [00.854]update part info
      [00.862]update bootcmd
      [00.864]No ethernet found.
      Hit any key to stop autoboot:  0
      ## Booting kernel from Legacy Image at 45000000 ...
         Image Name:   ARM OpenWrt Linux-4.9.118
         Image Type:   ARM Linux Kernel Image (uncompressed)
         Data Size:    2817392 Bytes = 2.7 MiB
         Load Address: 40008000
         Entry Point:  40008000
      [01.253]Starting kernel ...
      
      [01.256]mmc 2 not find, so not exit
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.9.118 (whycan@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #74 PREEMPT Tue May 17 15:23:54 UTC 2022
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
      [    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: sun8iw19
      [    0.000000] ion_mem_reserve: err format for ion reserve list!
      [    0.000000] cma: Reserved 4 MiB at 0x43c00000
      [    0.000000] Memory policy: Data cache writeback
      [    0.000000] On node 0 totalpages: 16384
      [    0.000000] free_area_init_node: node 0, pgdat c048f820, node_mem_map c3b77000
      [    0.000000]   Normal zone: 128 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
      [    0.000000] 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: 16256
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/pseudo_init rdinit=/rdinit partitions=boot-res@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:UDISK@mmcblk0p6 cma=4M mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw19p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(05/10/2022-19:02:33) mbr_offset=1032192 bootreason=unknow
      [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
      [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
      [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
      [    0.000000] Memory: 55656K/65536K available (2962K kernel code, 224K rwdata, 1168K rodata, 132K init, 127K bss, 5784K reserved, 4096K cma-reserved)
      [    0.000000] Virtual kernel memory layout:
      [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
      [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
      [    0.000000]     vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
      [    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
      [    0.000000]     modules : 0xbf800000 - 0xc0000000   (   8 MB)
      [    0.000000]       .text : 0xc0008000 - 0xc02eca98   (2963 kB)
      [    0.000000]       .init : 0xc0437000 - 0xc0458000   ( 132 kB)
      [    0.000000]       .data : 0xc0458000 - 0xc0490358   ( 225 kB)
      [    0.000000]        .bss : 0xc0490358 - 0xc04b0000   ( 128 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] 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000022] Switching to timer-based delay loop, resolution 41ns
      [    0.000163] Console: colour dummy device 80x30
      [    0.000191] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000206] pid_max: default: 32768 minimum: 301
      [    0.000381] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000393] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000998] CPU: Testing write buffer coherency: ok
      [    0.001278] Setting up static identity map for 0x400081c0 - 0x4000820c
      [    0.002711] devtmpfs: initialized
      [    0.031754] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.031969] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.031995] futex hash table entries: 256 (order: -1, 3072 bytes)
      [    0.032336] atomic64_test: passed
      [    0.032350] pinctrl core: initialized pinctrl subsystem
      [    0.033235] NET: Registered protocol family 16
      [    0.034573] DMA: preallocated 16 KiB pool for atomic coherent allocations
      [    0.036053] dump_class_init,857, success
      [    0.037355] sunxi iommu: irq = 23
      [    0.041181] sun8iw19p1-r-pinctrl r_pio: initialized sunXi PIO driver
      [    0.056225] use hosc , set rate 1000000
      [    0.056256] sun8iw19p1-pinctrl pio: initialized sunXi PIO driver
      [    0.057936] iommu: Adding device 1c0e000.ve to group 0
      [    0.058644] iommu: Adding device 2300000.eise to group 0
      [    0.062173] iommu: Adding device 1000000.disp to group 0
      [    0.062988] iommu: Adding device 1480000.g2d to group 0
      [    0.063366] iommu: Adding device 2400000.nna to group 0
      [    0.077017] pwm module init!
      [    0.080614] SCSI subsystem initialized
      [    0.080961] usbcore: registered new interface driver usbfs
      [    0.081047] usbcore: registered new interface driver hub
      [    0.081173] usbcore: registered new device driver usb
      [    0.081270] sunxi_i2c_adap_init()2534 - init
      [    0.081555] media: Linux media interface: v0.10
      [    0.081625] Linux video capture interface: v2.00
      [    0.082300] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
      [    0.082476] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000
      [    0.082600] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
      [    0.082989] Advanced Linux Sound Architecture Driver Initialized.
      [    0.085154] G2D: rcq version initialized.major:251
      [    0.085915] clocksource: Switched to clocksource arch_sys_counter
      [    0.094522] udc_init,0
      [    0.094703] NET: Registered protocol family 2
      [    0.095494] TCP established hash table entries: 16 (order: -6, 64 bytes)
      [    0.095516] TCP bind hash table entries: 16 (order: -6, 64 bytes)
      [    0.095526] TCP: Hash tables configured (established 16 bind 16)
      [    0.095593] UDP hash table entries: 256 (order: 0, 4096 bytes)
      [    0.095613] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
      [    0.095791] NET: Registered protocol family 1
      [    0.097645] workingset: timestamp_bits=30 max_order=14 bucket_order=0
      [    0.106742] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.107065] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
      [    0.109334] NET: Registered protocol family 38
      [    0.109379] io scheduler noop registered
      [    0.109388] io scheduler deadline registered
      [    0.109658] io scheduler cfq registered (default)
      [    0.110392] [DISP]disp_module_init
      [    0.142078] [DISP] Fb_copy_boot_fb,line:1503:
      [    0.142093] no boot_fb0
      [    0.147439] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147463] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147478] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147492] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147506] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147520] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147534] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147548] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147564] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147580] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147595] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.147611] sun8iw19p1-pinctrl pio: expect_func as:rgb8, but muxsel(2) is func:lcd0
      [    0.148370] [DISP]disp_module_init finish
      [    0.149533] uart uart0: get regulator failed
      [    0.149561] uart0 supply uart not found, using dummy regulator
      [    0.149755] uart uart0: uart0 error to get fifo size property
      [    0.149816] uart0: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a SUNXI
      [    0.149845] sw_console_setup()1830 - console setup baud 115200 parity n bits 8, flow n
      [    0.281581] [ST7789V LCD INFO] LINE:0208-->LCD_panel_init:
      [    0.281591] [ST7789V LCD INFO] LINE:0225-->lcd_panel_st7789v_init:
      [    0.781687] [DISP] disp_device_attached_and_enable,line:221:
      [    0.781687] attached ok, mgr0<-->dev0
      [    0.781699] [DISP] disp_device_attached_and_enable,line:224:
      [    0.781700] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
      [    1.048394] console [ttyS0] enabled
      [    1.052949] uart uart1: get regulator failed
      [    1.057812] uart1 supply uart not found, using dummy regulator
      [    1.064598] uart uart1: uart1 error to get fifo size property
      [    1.071150] uart1: ttyS1 at MMIO 0x5000400 (irq = 295, base_baud = 1500000) is a SUNXI
      [    1.080707] uart uart2: get regulator failed
      [    1.085529] uart2 supply uart not found, using dummy regulator
      [    1.092304] uart uart2: uart2 error to get fifo size property
      [    1.098853] uart2: ttyS2 at MMIO 0x5000800 (irq = 296, base_baud = 1500000) is a SUNXI
      [    1.108458] misc dump reg init
      [    1.113066] libphy: Fixed MDIO Bus: probed
      [    1.117997] sun8iw19p1-pinctrl pio: expect_func as:gmac0, but muxsel(5) is func:ephy
      [    1.127012] sun8iw19p1-pinctrl pio: pin PD1 already requested by soc@03000000:lcd0@01c0c000; cannot claim for 5020000.eth
      [    1.139368] sun8iw19p1-pinctrl pio: pin-97 (5020000.eth) status -22
      [    1.146431] sun8iw19p1-pinctrl pio: could not request pin 97 (PD1) from group PD1  on device pio
      [    1.156326] sunxi-gmac 5020000.eth: Error applying setting, reverse things back
      [    1.164584] sunxi-gmac: probe of 5020000.eth failed with error -22
      [    1.171671] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.179241] get drv_vbus is fail, 84
      [    1.183262] get ehci0-controller, regulator_io is no nocare
      [    1.189559] get ehci0-controller wakeup-source is fail.
      [    1.195593] sunxi ehci0-controller don't init wakeup source
      [    1.201896] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04aaef0, 0x:c4883000, irq_no:12a
      [    1.214087] sunxi-ehci 5101000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.224317] sunxi-ehci 5101000.ehci0-controller: new USB bus registered, assigned bus number 1
      [    1.234209] sunxi-ehci 5101000.ehci0-controller: irq 298, io mem 0xc3776400
      [    1.265948] sunxi-ehci 5101000.ehci0-controller: USB 0.0 started, EHCI 1.00
      [    1.274687] hub 1-0:1.0: USB hub found
      [    1.279015] hub 1-0:1.0: 1 port detected
      [    1.284003] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.291289] get drv_vbus is fail, 84
      [    1.295311] get ohci0-controller, regulator_io is no nocare
      [    1.301635] get ohci0-controller wakeup-source is fail.
      [    1.307684] sunxi ohci0-controller don't init wakeup source
      [    1.314035] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04aa6a0
      [    1.323800] sunxi-ohci 5101000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
      [    1.333640] sunxi-ohci 5101000.ohci0-controller: new USB bus registered, assigned bus number 2
      [    1.343352] sunxi-ohci 5101000.ohci0-controller: irq 299, io mem 0xc3776800
      [    1.420808] hub 2-0:1.0: USB hub found
      [    1.425066] hub 2-0:1.0: 1 port detected
      [    1.430189] usbcore: registered new interface driver uas
      [    1.436365] usbcore: registered new interface driver usb-storage
      [    1.443169] usbcore: registered new interface driver ums-alauda
      [    1.449890] usbcore: registered new interface driver ums-cypress
      [    1.456715] usbcore: registered new interface driver ums-datafab
      [    1.463530] usbcore: registered new interface driver ums_eneub6250
      [    1.470546] usbcore: registered new interface driver ums-freecom
      [    1.477331] usbcore: registered new interface driver ums-isd200
      [    1.484044] usbcore: registered new interface driver ums-jumpshot
      [    1.490964] usbcore: registered new interface driver ums-karma
      [    1.497554] usbcore: registered new interface driver ums-onetouch
      [    1.504480] usbcore: registered new interface driver ums-realtek
      [    1.511267] usbcore: registered new interface driver ums-sddr09
      [    1.517955] usbcore: registered new interface driver ums-sddr55
      [    1.524655] usbcore: registered new interface driver ums-usbat
      [    1.531335] usb_serial_number:20080411
      [    1.536400] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
      [    1.543294] sunxi-rtc rtc: RTC enabled
      [    1.547809] i2c /dev entries driver
      [    1.551769] sunxi cedar version 0.1
      [    1.555788] VE: install start!!!
      [    1.555788]
      [    1.561238] cedar_ve: cedar-ve the get irq is 291
      [    1.566633] VE: line 1811 set the sram data
      [    1.566633]
      [    1.573291] VE: ve_debug_proc_info:c04ad0f8, data:c378c000, lock:c04ad180
      [    1.573291]
      [    1.582630] VE: install end!!!
      [    1.582630]
      [    1.587962] google_vp9: sunxi google vp9 version 0.1
      [    1.594167] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    1.604115] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.613471] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.622793] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
      [    1.632104] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.641414] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
      [    1.650723] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.660346] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48)
      [    1.669191] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
      [    1.674537] sunxi-mmc sdc0: No vmmc regulator found
      [    1.680051] sunxi-mmc sdc0: No vqmmc regulator found
      [    1.685632] sunxi-mmc sdc0: No vdmmc regulator found
      [    1.691230] sunxi-mmc sdc0: No vd33sw regulator found
      [    1.696920] sunxi-mmc sdc0: No vd18sw regulator found
      [    1.702594] sunxi-mmc sdc0: No vq33sw regulator found
      [    1.708283] sunxi-mmc sdc0: No vq18sw regulator found
      [    1.714485] sunxi-mmc sdc0: set host busy
      [    1.719098] mmc:failed to get gpios
      [    1.723043] sunxi-mmc sdc0: min-frequency:100000
      [    1.728433] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.738760] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
      [    1.765946] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.805948] sunxi-mmc sdc0: detmode:alway in(non removable)
      [    1.805974] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.814355] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.837330] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.848382] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48)
      [    1.848526] sunxi-mmc sdc1: No vmmc regulator found
      [    1.848532] sunxi-mmc sdc1: No vqmmc regulator found
      [    1.848538] sunxi-mmc sdc1: No vdmmc regulator found
      [    1.848543] sunxi-mmc sdc1: No vd33sw regulator found
      [    1.848548] sunxi-mmc sdc1: No vd18sw regulator found
      [    1.848554] sunxi-mmc sdc1: No vq33sw regulator found
      [    1.848559] sunxi-mmc sdc1: No vq18sw regulator found
      [    1.848573] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed
      [    1.849034] sunxi-mmc sdc1: set host busy
      [    1.849100] mmc:failed to get gpios
      [    1.849302] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.849338] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
      [    1.880471] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.909410] sunxi-mmc sdc1: detmode:manually by software
      [    1.910305] KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
      [    1.910519] MMMMMMMMMMMMMMMMMMMM
      [    1.910523]  NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
      [    1.910595] ledtrig-cpu: registered to indicate activity on CPUs
      [    1.976570] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.988616] usbcore: registered new interface driver usbhid
      [    1.988619] usbhid: USB HID core driver
      [    1.988856] mostcore: init()
      [    1.990050] --->sunxi_daudio_dev_probe<--- strat.
      [    1.990194] sunxi-daudio daudio0: regulator missing or invalid
      [    1.990318] --->sunxi_daudio_dev_probe<--- end.
      [    1.991240] NET: Registered protocol family 17
      [    1.991291] NET: Registered protocol family 15
      [    1.991944] Registering SWP/SWPB emulation handler
      [    2.045614] get det_vbus is fail, 84
      [    2.049703] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
      [    2.055755] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
      [    2.055782] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.063882] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.075739] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
      [    2.086535] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.092446] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.098362] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.104264] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.110189] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.116102] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.122111] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.128121] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.128165] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.134232] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
      [    2.134261] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.152168] mmc0: host does not support reading read-only switch, assuming write-enable
      [    2.158097] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.158174] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.158316] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    2.158374] mmc0: new high speed SD card at address 1388
      [    2.169378] mmcblk0: mmc0:1388 Stora 119 MiB
      [    2.190150]  mmcblk0: p1 p2 p3 p4 p5 p6
      [    2.228929] get id is fail, 84
      [    2.233001] sunxi-rtc rtc: setting system clock to 1970-01-01 00:03:07 UTC (187)
      [    2.242245] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
      [    2.251659] snddaudio snddaudio0: snd-soc-dummy-dai <-> daudio0 mapping ok
      [    2.260472] ALSA device list:
      [    2.263812]   #0: snddaudio0
      [    2.271871] VFS: Mounted root (squashfs filesystem) readonly on device 179:4.
      [    2.282864] devtmpfs: mounted
      [    2.286571] Freeing unused kernel memory: 132K
      [    2.291569] This architecture does not have kernel memory protection.
      mount: mounting none on /dev failed: Resource busy
      [    2.490554] EXT4-fs (mmcblk0p5): recovery complete
      [    2.496110] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
      mount: mounting proc on /proc failed: Resource busy
      Starting syslogd: OK
      Starting klogd: OK
      Running sysctl: OK
      Populating /dev using udev: [    2.744049] udevd[150]: starting version 3.2.9
      [    2.754932] random: udevd: uninitialized urandom read (16 bytes read)
      [    2.762996] random: udevd: uninitialized urandom read (16 bytes read)
      [    2.770741] random: udevd: uninitialized urandom read (16 bytes read)
      [    2.806837] udevd[151]: starting eudev-3.2.9
      done
      Initializing random number generator: OK
      Saving random seed: OK
      Starting network: OK
      Starting upmpdcli: OK
      #
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • V831 用 eMMC 启动出错,但是TF卡正常,请问 怎么回事呢?
      [35]HELLO! BOOT0 is starting!
      [38]BOOT0 commit : e3b2a9e
      [41]board init start
      [43]set pll start
      [45]set pll end
      [47][pmu]: bus read error
      [49][pmu]: bus read error
      [52]board init ok
      [54]chip id check OK
      [56]DRAM BOOT DRIVE INFO: V0.41
      [59]DRAM CLK = 528 MHz
      [61]DRAM Type = 2 (2:DDR2,3:DDR3)
      [64]DRAMC read ODT  off.
      [67]DRAM ODT off.
      [69]DRAM SIZE =64 M
      [75]DRAM simple test OK.
      [77]rtc standby flag is 0x0, super standby flag is 0x0
      [82]dram size =64
      [85]card no is 0
      [86]sdcard 0 line count 4
      [89][mmc]: mmc driver ver 2020-01-08 17:05
      [93][mmc]: sdc0 spd mode error, 2
      [96][mmc]: set f_max to 50M, set f_max_ddr to 25M
      [101][mmc]: mmc 0 bias 0
      [109][mmc]: Wrong media type 0x0
      [112][mmc]: ***Try SD card 0***
      [116][mmc]: mmc 0 cmd 8 timeout, err 100
      [119][mmc]: mmc 0 cmd 8 err 100
      [122][mmc]: mmc 0 send if cond failed
      [127][mmc]: mmc 0 cmd 55 timeout, err 100
      [131][mmc]: mmc 0 cmd 55 err 100
      [134][mmc]: mmc 0 send app cmd failed
      [137][mmc]: ***Try MMC card 0***
      [153][mmc]: wrong bus width(8) for current speed mode
      [158][mmc]: switch bus width fail
      [161][mmc]: switch to SDR speed mode failed
      [165][mmc]: mmc 0 Change speed mode failed
      [169][mmc]: ***SD/MMC 0 init error!!!***
      [173][mmc]: mmc 0 register failed
      [176]Loading boot-pkg fail(error=2)
      CCC
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: T113 LCD 接口像素时钟不能调节?(buildroot longan Linux 5.4.61)

      楼主参考一下这个博客: https://blog.csdn.net/qq_34440409/article/details/122021748

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: F1C100S 的Tina在哪下载 全志客户服务平台上没有Tian系统,只有melis

      有野生的TINA SDK,F1C100s 也能跑TINA LINUX。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗?

      @musich
      请问如果把R11设置成I2S从机,这样是不是就不需要MCLK了?

      发布在 A Series
      U
      ubuntu
    • 回复: R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗?

      @musich
      全功能的S3也没有mclk引脚。。。

      发布在 A Series
      U
      ubuntu
    • 回复: R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗?

      f2b48256-7d8e-4bc0-aa74-b8154a94c390-image.png

      感谢楼上的兄弟们,晶振已经安排了,怕手抖焊不好买了7050封装的。

      到手我就试一试。

      发布在 A Series
      U
      ubuntu
    • 回复: R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗?

      @aozima
      不行呢,那声音太渣了,我打算做个DLNA播放器玩玩。

      发布在 A Series
      U
      ubuntu
    • R11的I2S没有MCLK引脚, 如果要驱动声卡,应该怎么处理呢?可以用一个24.576MHz有源晶振代替吗?

      数据手册:Allwinner_R11_Datasheet_V1.1.pdf

      发布在 A Series
      U
      ubuntu
    • 回复: V831 设备树 board.dts 遇到一个百思不得其解的问题

      @yuzukitsuru
      好的,谢谢大佬,这就去死马做活马医。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: V831 为什么OTG还是不能开机自动切换到HOST呢?

      c9ac1d68-98b5-40b3-8e9e-b0561d38b1ef-dd1d521d1d61e206e08c8cf0e5930d6.png

      usb_host_init_state = <0>;

      改为

      usb_host_init_state = <1>;

      搞定了!

      usb_host_init_state:

      In host only mode, host port initialization state; 0 do not initialize; 1 initializatie USB

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • V831 为什么OTG还是不能开机自动切换到HOST呢?
                      usbc0:usbc0@0{
                              usb_port_type = <1>;
                              usb_detect_type = <0>;
                              usb_detect_mode = <0>;
                              usb_id_gpio;
                              usb_det_vbus_gpio;
                              usb_drv_vbus_gpio;
                              usb_host_init_state = <0>;
                              status = "okay";
                      };
      

      ***usb_port_type ***:

      0 device only
      1 host only
      2 OTG

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: V831 设备树 board.dts 遇到一个百思不得其解的问题

      @yuzukitsuru
      居然还有这种bug 😧

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • V831 设备树 board.dts 遇到一个百思不得其解的问题

      board.dts:

              gpioled {
                      compatible = "gpio-leds";
                      status = "okay";
      
                      ir_led {
                              linux,default-trigger = "heartbeat";
                              label = "heartbeat_led";
                              gpios = <&pio PC 1 1 1 1 1>;
                              status = "okay";
                      };
              };
      

      linux,default-trigger 会因为中间那个 - 导致 dtc 编译失败,
      如果删掉那个 - 就能编译成功,

      导致我不得另寻蹊径:

      4cec8739-c9f3-4846-9442-cfcdd070c4bf-image.png

      然后再去修改驱动对应的地方
      lichee/linux-4.9/drivers/leds/leds-gpio.c

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 判断U盘是否插入,获取U盘设备名和挂载路径

      linux下u盘检测程序

      获得U盘的插入或者拔取得信息的传统方法是在内核级运行hotplug程序,相关参数通过环境变量传递过来,再由hotplug通知其他关注hotplug的应用程序,但是效率比较低.

      网上查找知道:

      用户空间的程序与设备通信的方法,主要有以下几种方式,
        1. 通过ioperm获取操作IO端口的权限,然后用inb/inw/ inl/ outb/outw/outl等函数,避开设备驱动程序,直接去操作IO端口。(没有用过)

      2. 用ioctl函数去操作/dev目录下对应的设备,这是设备驱动程序提供的接口。像键盘、鼠标和触摸屏等输入设备一般都是这样做的。

      3. 用write/read/mmap去操作/dev目录下对应的设备,这也是设备驱动程序提供的接口。像framebuffer等都是这样做的。

      上面的方法在大多数情况下,都可以正常工作,但是对于热插拨(hotplug)的设备,比如像U盘,就有点困难了,因为不知道:什么时候设备插上了,什么时候设备拔掉了。这就是所谓的hotplug问题了。

      新的方法是采用NETLINK实现的,这是一种特殊类型的socket,专门用于内核空间与用户空间的异步通信。

      先说明几个总要的结构体:

      sockaddr_nl结构:

            struct sockaddr_nl {
                             sa_family_t nl_family;    //AF_NETLINK
                             unsigned short nl_pad;    // 0
                             pid_t nl_pid;         // 进程pid
                              u_32 nl_groups;      // 多播组掩码
                         }nl;
      
        int setsockopt(
                            SOCKET s,
                            int level,
                            int optname,
                            const char* optval,
                            int optlen
                      );
      

      s(套接字): 指向一个打开的套接口描述字
      level:(级别): 指定选项代码的类型。
      SOL_SOCKET: 基本套接口
      IPPROTO_IP: IPv4套接口
      IPPROTO_IPV6: IPv6套接口
      IPPROTO_TCP: TCP套接口
      optname(选项名): 选项名称
      optval(选项值): 是一个指向变量的指针 类型:整形,套接口结构, 其他结构类型:linger{}, timeval{ }
      optlen(选项长度) :optval 的大小

      贴出代码:

      #include <stdio.h>
      #include <string.h>
      #include <sys/socket.h>
      #include <sys/types.h>
      #include <stdlib.h>
      #include <linux/netlink.h>
      #include <dirent.h>
      #include <sys/statfs.h>
       
      int init_socket()
      {
      	struct sockaddr_nl snl;
      	const int BufferSize= 1024;
      	int retval;
      	
      	memset(&snl,0,sizeof(struct sockaddr_nl));
      	snl.nl_family = AF_NETLINK;
      	snl.nl_pid = getpid();
      	snl.nl_groups = 1;
      	
      	int Sock_id = socket(PF_NETLINK,SOCK_DGRAM,NETLINK_KOBJECT_UEVENT);
      	
      	if(Sock_id == -1)
      	printf("sock err:%m\n"),exit(-1);
      	
      	// set reveive buffer
      	setsockopt(Sock_id,SOL_SOCKET,SO_RCVBUFFORCE,&BufferSize,sizeof(BufferSize));
      	retval = bind(Sock_id,(struct sockaddr*)&snl,sizeof(struct sockaddr_nl));
      	if(retval==-1)
      	printf("bind err:%m\n"),close(Sock_id),exit(-1);
      	return Sock_id;
      }
       
      // 该函数主要作用时检测u盘的 总空间,剩余空间,剩余空间百分比
      double GetDiskFreeSpacePercent(const char *pDisk,double* freespace,double*  totalspace)
      {
      	struct statfs disk_statfs;
      	double freeSpacePercent =0;
      	if(statfs(pDisk,&disk_statfs) == 0)
      	{
      		
      		*freespace = (disk_statfs.f_bsize * disk_statfs.f_bfree) / (1024*1024*1024.0);
      		*totalspace = (disk_statfs.f_bsize * disk_statfs.f_blocks) / (1024*1024*1024.0);
      	}
      	return freeSpacePercent = (*freespace)/(*totalspace)*100;
       
      }
       
      #define BUFFER_SIZE 2048
       
      int main()
      {
      	DIR *dp;
      	double f=0;
      	double t=0;
      	double percent=0;
      	const char* path="/media/cjl/disk";
      	int sd= init_socket();
      	while(1)
      	{
      		char buf[BUFFER_SIZE] = {0};
      		recv(sd,&buf,sizeof(buf),0);
      		//printf("%s\n",buf);
      			if(!memcmp(buf,"add@",4) /*&& !memcmp(&buf[strlen(buf) - 4],"/sdb",4)*/)
      		{
      			printf("Found U Disk\n");
      			break;
      		}
      	}
      	printf("是否打开u盘Y/N\n");
      	char c;
      	scanf("%c",&c);
      	if(c=='Y' || c=='y')
      	{
      		if((dp = opendir(path)) ==NULL)
      		{
      			printf("打开失败!\n");
      		}
      		else
      		{
      			system("ls -l /media/cjl/disk");
      		}
      	}
      	else if(c=='N' || c=='n')
      	
      	percent = GetDiskFreeSpacePercent(path,&f,&t);
      	
      	printf("u盘剩余空间: %.2f\n",f);
      	printf("u盘总空间:   %.2f\n",t);
      	printf("u盘剩余空间百分比: %0.2f%%\n",percent);
      	return 0;
      }
      

      e7592ce1-a7f8-4d79-ad82-c6ac9a9b3aa2-image.png

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 判断U盘是否插入,获取U盘设备名和挂载路径

      usb设备的检测及区分(sata硬盘、优盘及移动硬盘)

      原理:
      1.如果有外置usb设备插入,会产生/proc/scsi/usb-storage目录(ide硬盘上默认
      没有),并且会在/proc/scsi/usb-storage目录中产生数字文件,此文件存储了设
      备的相关信息。

      2./sys/class/scsi_device/目录中会有几个scsi设备的目录,以数字开头。(ide
      中默认无子目录,sata硬盘默认有子目录),类似1:0:0或2:0:0,开头的数字,这个数
      字与/proc/scsi/usb-storage目录中的相对应,另外的子目录表示sata硬盘。

      3.在/sys/class/scsi_device/数字开头的目录/device/目录下以block开头的目录
      中(可能为block或block:sda或block:sdb或block:scr等,总之这里只有一个以
      block开头的目录)有两个文件:
      removeable和dev.
      removeable的内容为0或1,可以区分优盘或移动硬盘。
      dev的内容类似8:16,就是/proc/partitions中设备的maj:min的值。
      据此,先看usb-storage目录,再到/sys目录下找相应的removable和dev文件,再
      查partitions文件,就可以得到设备名、设备信息、可移动标记。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 判断U盘是否插入,获取U盘设备名和挂载路径

      1,判断是否有U盘插入

      ls /sys/class/scsi_device/
      为空则没有U盘,有类似0:0:0:0的目录则有U盘插入

      2,获取U盘设备名

      ls /sys/class/scsi_device/[U盘号如:0:0:0:0]/device/block
      路径下目录名即为设备名,通过设备命就可以查询U盘挂载路径了

      3,查询U盘挂载路径

      cat /proc/mounts | grep [设备名如:sda]
      为空则未挂载,虽然通过命令:

      df -h | grep sda
      也可以获取挂载路径,但是一个设备可以同时挂载在多个地方,而df -h只显示最后一次挂载的位置。

      4,手动挂载
      若设备未挂载则需要自己手动挂载,直接使用mount命令挂载的,无法直接使用普通用户操作U盘内文件,可用以下命令:

      sudo mount -t vfat -o uid=用户名如:pi,gid=用户组名如:pi,umask=0000 /dev/设备名如sda1 挂载路径如:/tmp/udisk

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 看了半天,还是不知道v536 怎么配置 wm8978/es8388 这种i2s codec芯片,大佬过来帮我瞅瞅?

      29f6989d-cf9d-4e56-81ae-292b831e78c7-image.png

      MCLK 24.576MHz OK

      a2ec3162-88e2-4d55-b706-392fd8b33c41-9ae2deb731ffe518a4e9feb4fa81cc0.png

      搞定!

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 看了半天,还是不知道v536 怎么配置 wm8978/es8388 这种i2s codec芯片,大佬过来帮我瞅瞅?

      710b4331-d362-458e-8ad4-83a93f870f46-image.png

      貌似可以设置 dummy 声卡

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 看了半天,还是不知道v536 怎么配置 wm8978/es8388 这种i2s codec芯片,大佬过来帮我瞅瞅?

      https://gist.github.com/yarang/0c7dfbc5125cee87f7615dac53f6446a

      这里也没有找到。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 看了半天,还是不知道v536 怎么配置 wm8978/es8388 这种i2s codec芯片,大佬过来帮我瞅瞅?

      这个文件也没有说明怎么配置codec芯片: A64_System_Configuration_Manual.pdf

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 看了半天,还是不知道v536 怎么配置 wm8978/es8388 这种i2s codec芯片,大佬过来帮我瞅瞅?

      http://wiki.lindeni.org/index.php/Lindenis_V536

      i2s
      sys_config.fex should configured as follow, and the param should configured accord your device need:

      if you i2s1 is used

      [snddaudo0]
      snddaudio0_used     = 1
      
      [daudio0]
      daudio0_used        = 1
      daudio_master       = 4
      audio_format        = 4
      signal_inversion    = 1
      slot_width_select   = 32
      pcm_lrck_period     = 128
      msb_lsb_first       = 0
      sign_extend         = 0
      frametype           = 0
      mclk_div            = 1
      tdm_config          = 0
      tx_data_mode        = 0
      rx_data_mode        = 0
      

      make sure CONFIG_SND_SUNXI_SOC_SUNXI_DAUDIO configured
      when make kernel_menuconfig

      CONFIG_SND_SUNXI_SOC_SUNXI_DAUDIO = y
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 【WhyCan YuzukiHD联合出品】R11 86 面板

      坐等原理图PCB和SDK

      发布在 A Series
      U
      ubuntu
    • 回复: 发现 D1 的串口可以交换RX/TX了, 手滑党可以不用割线飞线了,美中不足非同一组UART,需要改一下软件。

      真手滑, 小伙伴把A133真画错了,可惜没有补救措施:

      c0d66ffc-4e92-43f5-9c1b-b7daa0759116-image.png

      发布在 MR Series
      U
      ubuntu
    • 回复: 发现 D1 的串口可以交换RX/TX了, 手滑党可以不用割线飞线了,美中不足非同一组UART,需要改一下软件。

      真手滑, 小伙伴把A133真画错了,可惜没有补救措施:

      c0d66ffc-4e92-43f5-9c1b-b7daa0759116-image.png

      发布在 MR Series
      U
      ubuntu
    • 回复: OpenixCard - 在 Linux 系统刷写全志镜像到 SD 卡

      img 文件格式是怎么解包的?

      发布在 编译和烧写问题专区
      U
      ubuntu
    • 1
    • 2
    • 1 / 2