导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. zhongtao1701
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 7497
    • 主题 12
    • 帖子 33
    • 最佳 1
    • 群组 0

    钟工LV 7

    @zhongtao1701

    无线传感器网路TinyWSN工程师

    7497
    积分
    1
    声望
    16
    资料浏览
    33
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录
    网站 www.tinywsn.net 位置 shanghai

    zhongtao1701 取消关注 关注

    zhongtao1701 发布的最佳帖子

    • 回复: T113的SPIDEV只能发送几次,就卡住了?

      @yuzukitsuru 谢谢大侠回复

      # echo 255 > /sys/module/spi_sunxi/parameters/debug
      # spidev_test -D /dev/spidev0.0 -v -s 1000000 -p 12345678
      [   96.048082] spi_set_clk()532 - set spi clock 100000000, mclk 1000000
      [   96.055418] spi_set_clk()532 - set spi clock 100000000, mclk 100000000
      [   96.062767] spi_set_clk()532 - set spi clock 1000000, mclk 100000000
      spi mode: 0x0[   96.071087] sunxi_spi_transfer_one()1637 - [spi0] begin transfer, txbuf 684e7dd8, rxbuf 989b57fc, len 8
      
      bits per word: 8
      max speed: 1000000 Hz (1000 KHz)
      [   96.083098] sunxi_spi_mode_check()1313 - [spi0] Single mode Full duplex tx & rx
      [   96.095818] sunxi_spi_transfer_one()1674 - [spi0] dump reg:
      [   96.102085] 0x04025000: 00010001 00000083 00002044 00000000
      [   96.108655] 0x04025010: 00001700 00000032 00200020 00000000
      [   96.115268] 0x04025020: 00000000 00000002 00002000 00000000
      [   96.121632] 0x04025030: 00000008 00000008 00000008 00000000
      [   96.128206] sunxi_spi_dma_transfer()1551 - [spi0] rx and tx -> by ahb
      [   96.135668] sunxi_spi_cpu_writel()1417 - t->len = 8
      [   96.141155] 000: 31 32 33 34 35 36 37 38
      [   96.145935] sunxi_spi_cpu_readl()1386 - t->len = 8
      [   96.145945] sunxi_spi_handler()1728 - [spi0] irq status = 1033
      [   96.157855] sunxi_spi_handler()1744 - [spi0] SPI TC comes
      [   96.164245] 000: ff ff ff ff ff ff ff ff
      [   96.168751] sunxi_spi_transfer_one()1685 - [spi0] dump reg:
      [   96.175279] 0x04025000: 00010001 00000083 00002044 00000000
      [   96.181640] 0x04025010: 00000000 00000032 00200020 00000000
      [   96.188197] 0x04025020: 00000000 00000002 00002000 00000000
      [   96.194687] 0x04025030: 00000000 00000000 00000000 00000000
      TX | 31 32 33 34 35 36 37 38 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | 12345678
      RX | FF FF FF FF FF FF FF FF __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | ........
      

      重复几十次测试,没有卡住, 我就要下面命令加大收发数据量,也不会卡住

      spi-pipe --device=/dev/spidev0.0 -b 8 -n 256 -s 1000000 < /dev/zero
      

      然后我再把调试关闭,重复几次,很快就复现原来的问题

      # echo 0 > /sys/module/spi_sunxi/parameters/debug
      # spidev_test -D /dev/spidev0.0 -v -s 1000000 -p 12345678
      spi mode: 0x0
      bits per word: 8
      max speed: 1000000 Hz (1000 KHz)
      TX | 31 32 33 34 35 36 37 38 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | 12345678
      RX | FF FF FF FF FF FF FF FF __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | ........
      # spidev_test -D /dev/spidev0.0 -v -s 1000000 -p 12345678
      spi mode: 0x0
      bits per word: 8
      max speed: 1000000 Hz (1000 KHz)
      TX | 31 32 33 34 35 36 37 38 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | 12345678
      RX | FF FF FF FF FF FF FF FF __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | ........
      # spidev_test -D /dev/spidev0.0 -v -s 1000000 -p 12345678
      spi mode: 0x0
      bits per word: 8
      max speed: 1000000 Hz (1000 KHz)
      TX | 31 32 33 34 35 36 37 38 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | 12345678
      RX | FF FF FF FF FF FF FF FF __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | ........
      # spidev_test -D /dev/spidev0.0 -v -s 1000000 -p 12345678
      spi mode: 0x0
      bits per word: 8
      max speed: 1000000 Hz (1000 KHz)
      TX | 31 32 33 34 35 36 37 38 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | 12345678
      RX | FF FF FF FF FF FF FF FF __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | ........
      # spidev_test -D /dev/spidev0.0 -v -s 1000000 -p 12345678
      spi mode: 0x0
      bits per word: 8
      max speed: 1000000 Hz (1000 KHz)
      

      卡住了,后面没有输出了

      我用示波器观察,最后一次卡住时,也是有波形的,感觉spi的驱动没有收到传输结束中断,调试输出可能会影响到中断的设置时序,请大侠帮助分析分析,谢谢!

      在T113/D1s上都可以重现,我对比了一下它们驱动sunxi_spi.c是相同的

      T113的软件版本
      https://gitee.com/weidongshan/buildroot_100ask_t113-pro

      F133的软件版本
      https://github.com/YuzukiHD/Buildroot-YuzukiSBC

      发布在 MR Series
      zhongtao1701
      钟工

    zhongtao1701 发布的最新帖子

    • 请教HDMI液晶屏(800x480)的参数设置问题

      硬件平台mq-pro, 软件tina-linux
      1) 一台支持HDMI显示器
      2)一块HDMI液晶屏,支持800x480分辨率下面是它的连接
      https://item.taobao.com/item.htm?spm=a1z09.2.0.0.77dd2e8dU1iETV&id=646568908641&_u=21njr0q8040

      软件上电默认是模式2 (720x480P),在HDMI显示器可以看到小企鹅,填充/dev/fb0内容可以看到变化

      但是接到HDMI液晶屏上,屏可以点亮,但是只是呈现一片白色,填充/dev/fb0无变化
      可能是参数的问题,分别读出EDID和解码如下:

      HDMI显示器EDID

      edid-decode (hex):

      00 ff ff ff ff ff ff 00 58 d6 32 bc 01 01 01 01
      09 1a 01 03 80 22 13 78 3e ee 91 a3 54 4c 99 26
      0f 50 54 01 08 00 d1 c0 01 01 01 01 01 01 01 01
      81 80 01 01 81 c0 02 3a 80 18 71 38 2d 40 58 2c
      25 00 58 c1 10 00 00 1e 00 00 00 fc 00 56 46 56
      0a 20 20 20 20 20 20 20 20 20 00 00 00 ff 00 64
      65 6d 6f 73 65 74 2d 31 0a 20 30 20 00 00 00 fd
      00 32 4b 54 54 13 01 0a 20 20 20 20 20 20 01 7f

      02 03 24 f2 41 04 e2 00 d5 e3 05 c0 00 23 09 7f
      07 83 01 00 00 67 03 0c 00 10 00 38 3c e6 06 05
      01 62 62 00 02 3a 80 18 71 38 2d 40 58 2c 25 00
      55 50 21 00 00 1e 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e4


      Block 0, Base EDID:
      EDID Structure Version & Revision: 1.3
      Vendor & Product Identification:
      Manufacturer: VFV
      Model: 48178
      Serial Number: 16843009
      Made in: week 9 of 2016
      Basic Display Parameters & Features:
      Digital display
      Maximum image size: 34 cm x 19 cm
      Gamma: 2.20
      DPMS levels: Off
      Undefined display color type
      Default (sRGB) color space is primary color space
      First detailed timing is the preferred timing
      Color Characteristics:
      Red : 0.6396, 0.3300
      Green: 0.2998, 0.5996
      Blue : 0.1503, 0.0595
      White: 0.3125, 0.3291
      Established Timings I & II:
      DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
      DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
      Standard Timings:
      DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
      DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz
      DMT 0x55: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
      Detailed Timing Descriptors:
      DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (344 mm x 193 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P
      Display Product Name: 'VFV'
      Display Product Serial Number: 'demoset-1'
      Display Range Limits:
      Monitor ranges (Bare Limits): 50-75 Hz V, 84-84 kHz H, max dotclock 190 MHz
      Extension blocks: 1
      Checksum: 0x7f


      Block 1, CTA-861 Extension Block:
      Revision: 3
      Underscans IT Video Formats by default
      Basic audio support
      Supports YCbCr 4:4:4
      Supports YCbCr 4:2:2
      Native detailed modes: 2
      Video Data Block:
      VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
      Video Capability Data Block:
      YCbCr quantization: Selectable (via AVI YQ)
      RGB quantization: Selectable (via AVI Q)
      PT scan behavior: Always Overscanned
      IT scan behavior: Always Overscanned
      CE scan behavior: Always Overscanned
      Colorimetry Data Block:
      BT2020YCC
      BT2020RGB
      Audio Data Block:
      Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
      Supported sample sizes (bits): 24 20 16
      Speaker Allocation Data Block:
      FL/FR - Front Left/Right
      Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
      Source physical address: 1.0.0.0
      DC_36bit
      DC_30bit
      DC_Y444
      Maximum TMDS clock: 300 MHz
      HDR Static Metadata Data Block:
      Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
      Supported static metadata descriptors:
      Static metadata type 1
      Desired content max luminance: 98 (417.710 cd/m^2)
      Desired content max frame-average luminance: 98 (417.710 cd/m^2)
      Desired content min luminance: 0 (0.000 cd/m^2)
      Detailed Timing Descriptors:
      DTD 2: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (597 mm x 336 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P
      Checksum: 0xe4 Unused space in Extension Block: 73 bytes


      Preferred Video Timing if only Block 0 is parsed:
      DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (344 mm x 193 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P


      Preferred Video Timings if Block 0 and CTA-861 Blocks are parsed:
      DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (344 mm x 193 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P
      VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
      Hfront 110 Hsync 40 Hback 220 Hpol P
      Vfront 5 Vsync 5 Vback 20 Vpol P


      Native Video Resolution:
      1920x1080


      edid-decode SHA: 2d44e1b01c7e 2023-03-11 18:21:51

      Warnings:

      Block 0, Base EDID:
      Detailed Timing Descriptor #1: DTD is similar but not identical to VIC 16.
      Block 1, CTA-861 Extension Block:
      Video Capability Data Block: IT scan behavior is expected to support underscanned.
      Video Capability Data Block: S_PT is equal to S_IT and S_CE, so should be set to 0 instead.
      Detailed Timing Descriptor #2: DTD is similar but not identical to VIC 16.
      Display Product Serial Number is set, so the Serial Number in the Base EDID should be 0.
      EDID:
      CTA-861: Multiple native progressive timings are defined.

      Failures:

      Block 0, Base EDID:
      Display Range Limits: 'Bare Limits' is not allowed for EDID < 1.4.
      Block 1, CTA-861 Extension Block:
      Video Capability Data Block: IT video formats are always overscanned, but bit 7 of Byte 3 of the CTA-861 Extension header is set to underscanned.
      Detailed Timing Descriptor #2: Mismatch of image size 597x336 mm vs display size 340x190 mm.
      Required 640x480p60 timings are missing in the established timings and the SVD list (VIC 1).
      EDID:
      Base EDID: Some timings are out of range of the Monitor Ranges:
      Horizontal Freq: 37.878 - 67.500 kHz (Monitor: 84.000 - 84.000 kHz)
      Base EDID: The DTD max image size is 597x336mm, which is larger than the display size 340.0x190.0mm.

      EDID conformity: FAIL

      HDMI液晶屏 EDID

      edid-decode (hex):

      00 ff ff ff ff ff ff 00 04 81 04 00 01 00 00 00
      01 11 01 03 80 0f 0a 00 0a 00 00 00 00 00 00 00
      00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
      01 01 01 01 01 01 80 0c 20 80 30 e0 2d 10 28 30
      d3 00 6c 44 00 00 00 18 00 00 00 10 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17


      Block 0, Base EDID:
      EDID Structure Version & Revision: 1.3
      Vendor & Product Identification:
      Manufacturer: ADA
      Model: 4
      Serial Number: 1
      Made in: week 1 of 2007
      Basic Display Parameters & Features:
      Digital display
      Maximum image size: 15 cm x 10 cm
      Gamma: 1.00
      RGB color display
      First detailed timing is the preferred timing
      Color Characteristics:
      Red : 0.0000, 0.0000
      Green: 0.0000, 0.0000
      Blue : 0.0000, 0.0000
      White: 0.0000, 0.0000
      Established Timings I & II: none
      Standard Timings: none
      Detailed Timing Descriptors:
      DTD 1: 800x480 65.681445 Hz 5:3 34.483 kHz 32.000000 MHz (108 mm x 68 mm)
      Hfront 40 Hsync 48 Hback 40 Hpol N
      Vfront 13 Vsync 3 Vback 29 Vpol N
      Dummy Descriptor:
      Dummy Descriptor:
      Dummy Descriptor:
      Checksum: 0x17


      Preferred Video Timing if only Block 0 is parsed:
      DTD 1: 800x480 65.681445 Hz 5:3 34.483 kHz 32.000000 MHz (108 mm x 68 mm)
      Hfront 40 Hsync 48 Hback 40 Hpol N
      Vfront 13 Vsync 3 Vback 29 Vpol N


      Native Video Resolution:
      800x480


      edid-decode SHA: 2d44e1b01c7e 2023-03-11 18:21:51

      Failures:

      Block 0, Base EDID:
      Detailed Timing Descriptor #1: Mismatch of image size 108x68 mm vs display size 150x100 mm.
      Missing Display Product Name.
      Missing Display Range Limits Descriptor.

      EDID conformity: FAIL


      哪位大侠熟悉EDID参数,能够指点一下,可以调整哪些参数使得能够适应这个液晶屏, 谢谢了。

      cd /sys/kernel/debug/dispdbg
      echo disp0 > name
      echo switch1 > command
      echo 4 5 0 0 0x4 0x101 0 0 0 8 > param
      echo 1 > start

      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: 使能HDMI后,系统会出现一个异常告警

      @whycanservice 谢谢的答复,我用https://github.com/Tina-Linux/linux-5.4
      替换原来内核,测试了一下,原来的异常告警消除了

      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: 使能HDMI后,系统会出现一个异常告警

      @whycanservice 谢谢你的答复,我还是有点不清楚

      芒果tina-linux是 https://github.com/mangopi-sbc/Tina-Linux

      它的内核的linux-5.4 https://github.com/mangopi-sbc/tina-linux-5.4

      我看它的提交记录 https://github.com/mangopi-sbc/tina-linux-5.4/commits/0d4903ebd9d2194ad914686d5b0fc1ddacf11a9d
      只有7次提交,没有HDMI驱动的修改提交,不知道应该如何回滚到旧的版本?

      但是我也没有找到官方tina-linux-5.4的链接,这样就可以把整个内核替换掉, 我看到由YuzukiTsuru维护的一个版本 https://github.com/Tina-Linux/linux-5.4, 不知道是否可用?或者能否提供一个链接,谢谢!

      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: 使能HDMI后,系统会出现一个异常告警

      下面是修改后的dts和kernel的配置文件, 哪位大侠能够指点一下?

      uboot-board.dts
      kernel config
      board.dts

      发布在 MR Series
      zhongtao1701
      钟工
    • 使能HDMI后,系统会出现一个异常告警

      硬件平台mq-pro,软件是tina-linux
      https://github.com/mangopi-sbc/Tina-Linux

      按D1哪吒HDMI测试固件20210804中的描述修改bootlogo.bmp, uboot-board.dts 和board.dts和kernel config, 下是修改后文件

      如果系统起来后,会有一个异常告警,

      [    3.362121] Unable to handle kernel paging request at virtual address 0000000000004001
      [    3.393700] Oops [#1]
      [    3.396231] Modules linked in:
      [    3.399638] CPU: 0 PID: 64 Comm: hdmi proc Not tainted 5.4.61 #7
      [    3.406330] sepc: ffffffe0001ede72 ra : ffffffe0001edf70 sp : ffffffe01ecc7d90
      [    3.414379]  gp : ffffffe0005f043c tp : ffffffe01e68eb80 t0 : ffffffe01ecd2980
      [    3.422427]  t1 : ffffffe0003ef700 t2 : ffffffe00052e240 s0 : 0000000000000000
      [    3.430475]  s1 : 0000000000001011 a0 : 0000000000000000 a1 : ffffffe01ecc7d98
      [    3.438523]  a2 : ffffffe01e68eb80 a3 : ffffffe01ecd2978 a4 : 0000000000004001
      [    3.446570]  a5 : 0000000000004001 a6 : ffffffe01ecd2900 a7 : 0000000000000000
      [    3.454618]  s2 : ffffffe000615ef8 s3 : 0000000000001000 s4 : ffffffe000615ec0
      [    3.462664]  s5 : 0000000000000028 s6 : 0000000000001010 s7 : 0000000000000000
      [    3.470712]  s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000
      [    3.478759]  s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe00052e248
      [    3.486806]  t5 : 0000000000000005 t6 : ffffffe01ce75864
      [    3.492723] sstatus: 0000000200000120 sbadaddr: 0000000000004001 scause: 000000000000000d
      [    3.503211] ---[ end trace 12820b5063470e04 ]---
      

      是HDMI模块, 系统还能够正常运行下去,不能再检测HDMI线的插拔过程了。/dev/fb0也是可以正常工作的,填充/dev/random数据可以看到显示的变化。

      如果先不插HDMI线,等系统起来后,再插入HDMI,会有同样的异常。下面是完整启动记录

      Starting kernel ...
      
      [02.245][mmc]: MMC Device 2 not found
      [02.248][mmc]: mmc 2 not find, so not exit
      [    0.000000] Linux version 5.4.61 (forlinx@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #7 PREEMPT Fri Mar 31 04:23:03 UTC 2023
      [    0.000000] Zone ranges:
      [    0.000000]   DMA32    [mem 0x0000000040000000-0x000000005fffffff]
      [    0.000000]   Normal   empty
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000040000000-0x000000005fffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
      [    0.000000] On node 0 totalpages: 131072
      [    0.000000]   DMA32 zone: 1792 pages used for memmap
      [    0.000000]   DMA32 zone: 0 pages reserved
      [    0.000000]   DMA32 zone: 131072 pages, LIFO batch:31
      [    0.000000] elf_hwcap is 0x20112d
      [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      [    0.000000] pcpu-alloc: [0] 0
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129280
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_of
      [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
      [    0.000000] Sorting __ex_table...
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 501392K/524288K available (3903K kernel code, 401K rwdata, 1641K rodata, 132K init, 230K bss, 22896K reserved, 0K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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: 0, nr_irqs: 0, preallocated irqs: 0
      [    0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
      [    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
      [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000023] riscv_timer_clockevent depends on broadcast, but no broadcast function available
      [    0.000316] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.000840] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000861] pid_max: default: 32768 minimum: 301
      [    0.001018] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.001036] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.002426] ASID allocator initialised with 65536 entries
      [    0.002571] rcu: Hierarchical SRCU implementation.
      [    0.003157] devtmpfs: initialized
      [    0.016264] random: get_random_u32 called from bucket_table_alloc.isra.27+0xf6/0x118 with crng_init=0
      [    0.016987] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.017016] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
      [    0.017135] pinctrl core: initialized pinctrl subsystem
      [    0.018286] NET: Registered protocol family 16
      [    0.018921] DMA: preallocated 256 KiB pool for atomic allocations
      [    0.019504] cpuidle: using governor menu
      [    0.056285] rtc_ccu: sunxi ccu init OK
      [    0.063443] clock: sunxi ccu init OK
      [    0.064791] clock: sunxi ccu init OK
      [    0.090359] iommu: Default domain type: Translated
      [    0.090516] sunxi iommu: irq = 4
      [    0.091830] SCSI subsystem initialized
      [    0.092010] usbcore: registered new interface driver usbfs
      [    0.092088] usbcore: registered new interface driver hub
      [    0.092191] usbcore: registered new device driver usb
      [    0.093047] Advanced Linux Sound Architecture Driver Initialized.
      [    0.093629] pwm module init!
      [    0.095032] g2d 5410000.g2d: Adding to iommu group 0
      [    0.095474] G2D: rcq version initialized.major:252
      [    0.096351] clocksource: Switched to clocksource riscv_clocksource
      [    0.108223] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.111095] NET: Registered protocol family 2
      [    0.111822] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
      [    0.111859] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
      [    0.111918] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
      [    0.111968] TCP: Hash tables configured (established 4096 bind 4096)
      [    0.112084] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.112121] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.112321] NET: Registered protocol family 1
      [    0.113366] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    0.113859] spi spi0: spi0 supply spi not found, using dummy regulator
      [    0.114087] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
      [    0.114139] sunxi_spi_resource_get()2154 - Failed to get sample mode
      [    0.114149] sunxi_spi_resource_get()2159 - Failed to get sample delay
      [    0.114159] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921
      [    0.114220] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
      [    0.114940] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
      [    0.116861] workingset: timestamp_bits=62 max_order=17 bucket_order=0
      [    0.122886] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.123108] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.123510] fuse: init (API version 7.31)
      [    0.145320] io scheduler mq-deadline registered
      [    0.145333] io scheduler kyber registered
      [    0.146125] [DISP]disp_module_init
      [    0.146694] disp 5000000.disp: Adding to iommu group 0
      [    0.147244] [DISP] disp_init,line:2386:
      [    0.147250] smooth display screen:0 type:4 mode:10
      [    0.182726] display_fb_request,fb_id:0
      [    0.244988] Freeing logo buffer memory: 8100K
      [    0.245815] [DISP]disp_module_init finish
      [    0.246636] sunxi_sid_init()551 - insmod ok
      [    0.247153] pwm-regulator: supplied by regulator-dummy
      [    0.248607] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    0.249025] uart uart0: uart0 supply uart not found, using dummy regulator
      [    0.249353] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
      [    0.249377] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      [    0.941210] printk: console [ttyS0] enabled
      [    0.946918] misc dump reg init
      [    0.951175] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    0.962358] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
      [    0.969605] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      [    0.976926] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      [    0.984312] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
      [    0.990840] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
      [    0.997773] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
      [    1.005468] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=131 assert=1
      [    1.013360] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    1.024557] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
      [    1.032694] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
      [    1.040324] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
      [    1.047089] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
      [    1.054594] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
      [    1.062560] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
      [    1.070180] [ADDR_MGT] addr_mgt_probe: success.
      [    1.076073] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
      [    1.083337] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [    1.094979] random: fast init done
      [    1.295373] random: crng init done
      [    2.086430] sunxi-spinand-phy: read id failed : -110
      [    2.091992] spi-nand: probe of spi0.0 failed with error -110
      [    2.098433] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    2.105712] sunxi-ehci: EHCI SUNXI driver
      [    2.110619] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    2.117571] sunxi-ohci: OHCI SUNXI driver
      [    2.122976] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
      [    2.134059] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    2.144922] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    2.155618] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    2.166815] sunxi-rtc 7090000.rtc: registered as rtc0
      [    2.172478] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    2.183089] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4)
      [    2.191972] sunxi-rtc 7090000.rtc: sunxi rtc probed
      [    2.197899] i2c /dev entries driver
      [    2.201826] sunxi cedar version 1.1
      [    2.205943] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    2.212236] VE: install start!!!
      [    2.212236]
      [    2.217736] VE: cedar-ve the get irq is 6
      [    2.217736]
      [    2.224048] VE: ve_debug_proc_info:0000000044fa92f3, data:000000007e0cfb9e, lock:00000000f721a456
      [    2.224048]
      [    2.235627] VE: install end!!!
      [    2.235627]
      [    2.240693] VE: sunxi_cedar_probe
      [    2.245208] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    2.256411] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    2.266343] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    2.272559] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    2.278891] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    2.285300] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    2.291727] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    2.298254] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    2.304758] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    2.311283] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    2.318216] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    2.323534] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      [    2.330165] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.341290] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    2.361424] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.385774] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    2.391494] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.403697] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    2.413770] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      [    2.420007] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      [    2.426385] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      [    2.432815] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.444386] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      [    2.450816] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      [    2.457444] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      [    2.463980] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      [    2.470546] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      [    2.477133] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    2.485801] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.498034] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.509273] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    2.518558] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.530138] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.554400] sunxi-mmc 4021000.sdmmc: detmode:manually by software
      [    2.562099] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.574089] ashmem: initialized
      [    2.577657] exFAT: Version 1.3.0
      [    2.585737] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    2.585737]
      [    2.602933] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.614531] mmc0: host does not support reading read-only switch, assuming write-enable
      [    2.623514] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    2.635004] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
      [    2.643259] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.655112] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
      [    2.665057] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    2.674926] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.686709] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    2.695552] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    2.705579] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    2.718767] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      [    2.730270] mmc0: new high speed SD card at address 1388
      [    2.737097] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    2.745880] mmcblk0: mmc0:1388 CS004 482 MiB
      [    2.752407] NET: Registered protocol family 10
      [    2.757512] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
      [    2.764833] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.777528] Segment Routing with IPv6
      [    2.781699] NET: Registered protocol family 17
      [    2.786836] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    2.800000] HDMI 2.0 driver init start!
      [    2.804289] boot_hdmi=true
      [    2.809467] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    2.821304] ERROR: pinctrl_get for HDMI2.0 DDC fail
      [    2.827621]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
      [    2.833387] HDMI2.0 module init end
      [    2.839478] [DISP] disp_device_attached,line:158:
      [    2.839485] attached ok, mgr0<-->device0, type=4
      [    2.850775] mmc1: new high speed SDIO card at address 0001
      [    2.874541] [HDMI receive params]: tv mode: 0xa format:0x1 data bits:0x0 eotf:0x4 cs:0x101 dvi_hdmi:2 range:2 scan:0 aspect_ratio:8
      [    2.887803] [DISP] disp_hdmi_set_mode,line:680:
      [    2.887807] hdmi_set_mode is null!
      [    2.896705] disp_al_manager_apply ouput_type:4
      [    2.902858] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      [    2.917387] sunxi-i2c sunxi-i2c2: probe success
      [    2.926870] get ehci0-controller wakeup-source is fail.
      [    2.932786] sunxi ehci0-controller don't init wakeup source
      [    2.939082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00061a1a8, 0x:ffffffd0040fc000, irq_no:2e
      [    2.952619] [sunxi-ehci0]: Not init ehci0
      [    2.957563] get ohci0-controller wakeup-source is fail.
      [    2.963483] sunxi ohci0-controller don't init wakeup source
      [    2.969792] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00061a570
      [    2.980195] [sunxi-ohci0]: Not init ohci0
      [    2.985131] get ehci1-controller wakeup-source is fail.
      [    2.991121] sunxi ehci1-controller don't init wakeup source
      [    2.997373] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe00061a938, 0x:ffffffd005d0f000, irq_no:31
      [    3.011188] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    3.024707] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    3.031983] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    3.041849] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
      [    3.076383] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    3.085098] hub 1-0:1.0: USB hub found
      [    3.089404] hub 1-0:1.0: 1 port detected
      [    3.094730] get ohci1-controller wakeup-source is fail.
      [    3.100793] sunxi ohci1-controller don't init wakeup source
      [    3.107086] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe00061ad00
      [    3.117788] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    3.130136] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    3.137442] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    3.147246] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
      [    3.221282] hub 2-0:1.0: USB hub found
      [    3.225511] hub 2-0:1.0: 1 port detected
      [    3.234600] clk: Not disabling unused clocks
      [    3.240409] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    3.250090] HDMI cable is connected
      [    3.256410] ALSA device list:
      [    3.259722]   #0: audiocodec
      [    3.262941] alloc_fd: slot 0 not NULL!
      [    3.276394] cfg80211: failed to load regulatory.db
      [    3.289455] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
      [    3.310023] devtmpfs: mounted
      [    3.313466] Freeing unused kernel memory: 132K
      [    3.326386] This architecture does not have kernel memory protection.
      [    3.333601] Run /sbin/init as init process
      [    3.362121] Unable to handle kernel paging request at virtual address 0000000000004001
      [    3.393700] Oops [#1]
      [    3.396231] Modules linked in:
      [    3.399638] CPU: 0 PID: 64 Comm: hdmi proc Not tainted 5.4.61 #7
      [    3.406330] sepc: ffffffe0001ede72 ra : ffffffe0001edf70 sp : ffffffe01ecc7d90
      [    3.414379]  gp : ffffffe0005f043c tp : ffffffe01e68eb80 t0 : ffffffe01ecd2980
      [    3.422427]  t1 : ffffffe0003ef700 t2 : ffffffe00052e240 s0 : 0000000000000000
      [    3.430475]  s1 : 0000000000001011 a0 : 0000000000000000 a1 : ffffffe01ecc7d98
      [    3.438523]  a2 : ffffffe01e68eb80 a3 : ffffffe01ecd2978 a4 : 0000000000004001
      [    3.446570]  a5 : 0000000000004001 a6 : ffffffe01ecd2900 a7 : 0000000000000000
      [    3.454618]  s2 : ffffffe000615ef8 s3 : 0000000000001000 s4 : ffffffe000615ec0
      [    3.462664]  s5 : 0000000000000028 s6 : 0000000000001010 s7 : 0000000000000000
      [    3.470712]  s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000
      [    3.478759]  s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe00052e248
      [    3.486806]  t5 : 0000000000000005 t6 : ffffffe01ce75864
      [    3.492723] sstatus: 0000000200000120 sbadaddr: 0000000000004001 scause: 000000000000000d
      [    3.503211] ---[ end trace 12820b5063470e04 ]---
      [    4.030149] init: Console is alive
      [    4.034265] init: - watchdog -
      [    4.037903] init: - preinit -
      formating /dev/by-name/UDISK to ext4
      /etc/preinit: line 1: mkfs.ext4: not found
      formating /dev/by-name/rootfs_data to ext4
      /etc/preinit: line 1: mkfs.ext4: not found
      [    4.864635] mount_root: mounting /dev/root
      [    4.870538] mount_root: loading kmods from internal overlay
      [    4.975409] block: attempting to load /etc/config/fstab
      [    5.003830] block: extroot: device not present, retrying in 5 seconds
      [    6.926374]
      [    6.926374] insmod_device_driver
      [    6.926374]
      [    6.933550] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
      [   10.079269] block: extroot: cannot find device UDISK
      [   10.097150] procd: - early -
      [   10.100547] procd: - watchdog -
      [   10.309202] procd: - watchdog -
      [   10.312994] procd: - ubus -
      [   10.325701] procd (1): /proc/108/oom_adj is deprecated, please use /proc/108/oom_score_adj instead.
      [   10.512814] procd: - init -
      Please press Enter to activate this console.
      [   10.801422] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [   11.253560] xt_time: kernel timezone is -0000
      kmodloader done
      [   11.861011] file system registered
      [   12.006475] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      [   12.342177] read descriptors
      [   12.348268] read strings
      [   12.623176] sunxi_set_cur_vol_work()485 WARN: get power supply failed
      [   12.672246] android_work: sent uevent USB_STATE=CONNECTED
      [   12.701353] configfs-gadget gadget: high-speed config #1: c
      [   12.737059] android_work: sent uevent USB_STATE=CONFIGURED
      
      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: uboot无法进入命令模式,如何修改bootdelay?

      @whycanservice 谢谢答复,我试一下

      发布在 MR Series
      zhongtao1701
      钟工
    • uboot无法进入命令模式,如何修改bootdelay?

      硬件mq-pro, 软件是官方tina-linux
      https://mangopi.org/_media/undefined/tina-d1h-mq-pro-overlay-hdmi-wifi.zip

      uboot起来后直接就引导系统,似乎bootdelay设为0了

      Warning: eth0 (eth0) using random MAC address - fe:91:c9:dd:14:f7
      Hit any key to stop autoboot:  0
      dsp0:gpio init config fail
      dsp0:sharespace config fai
      

      进入系统后

      root@TinaLinux:/# fw_printenv
      Warning: Bad CRC, using default environment
      Error: Please reboot, uboot will fix the environment
      

      无法读取uboot环境变量,

      直接dump /dev/by-name/env

      root@TinaLinux:/# cat /dev/by-name/env
      h9癳arlyprintk=sunxi-uart,0x02500000initcall_debug=0console=ttyS0,115200nand_root=/dev/ubiblock0_5mmc_root=/dev/mmcblk0p5init=/pseudo_initmtd_name=sysrootfstype=squashfsroot_partition=rootfsboot_partition=bootloglevel=8cma=8Mmac=wifi_mac=bt_mac=specialstr=keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3dsp0_partition=dsp0setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1setargs_mmc=setenv  bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root}  init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0boot_normal=sunxi_flash read 45000000 ${boot_partition};bootm 45000000boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000boot_fastboot=fastbootbootdelay=0bootcmd=run setargs_nand boot_dsp0 boot_normal
      

      中间含有字符串bootdelay=0, 如果不重新编译uboot
      如何调整bootdelay,使得能够进入uboot界面,哪位大侠能指点一下?谢谢了

      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: D1H如何调整HDMI分辨率,支持800x480液晶

      我重新找了一台默认是1920x1080分辨率的显示器,上电可以显示小企鹅logo, 提示中依旧存在以下告警,

      [    2.955732] HDMI cable is connected
      ...
      [    4.871018] [HDMI2 error]: sink do not support this  mode:16
      
      hdmi_sink中有屏的信息了,但是不是1080P
      
      /sys/devices/virtual/hdmi/hdmi/attr//hdmi_sink
      Video Mode:  720P60
      Only Support YUV420:
      Also Support YUV420:
      Pixel Format: RGB  YUV444  YUV422
      Deep Color:  RGB444_30bit  YUV444_30bit  RGB444_36bit  YUV444_36bit
      Basic Audio Support:  YES
      Audio Code:  LPCM
      HDCP Tpye:
      

      用 dd填充framebuffer, 可以看到显示有变化
      dd if=/dev/random of=/dev/fb0

      这里的模式告警不知道是哪个参数不匹配?

      [HDMI2 error]: sink do not support this  mode:16
      
      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: D1H如何调整HDMI分辨率,支持800x480液晶

      @whycanservice 谢谢,我再试试其他显示屏

      发布在 MR Series
      zhongtao1701
      钟工
    • 回复: D1H如何调整HDMI分辨率,支持800x480液晶

      @whycanservice 谢谢答复,我依次试了列表中一下各种模式, 都会报下面错误

      [ 284.524399] [HDMI2 error]: sink do not support this mode:20

      后面模式号20,会根据设置的不同参数变化

      我有一点疑问,比如默认HDMI的模式1080p60, 如果他读取到屏的参数(支持的各种分辨率800x480, 640x480...)

      1. 它是会根据屏的参数调整自己模式, 自己模式是动态的,
      2. 还是自己模式是静态配置的,仅仅检查自己的模式是否在屏支持列表中, 如果不在就报错
      发布在 MR Series
      zhongtao1701
      钟工