导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. mysteryli
    M
    • 资料
    • 关注 0
    • 粉丝 1
    • 我的积分 6354
    • 主题 48
    • 帖子 128
    • 最佳 20
    • 群组 0

    mysteryliLV 7

    @mysteryli

    6354
    积分
    27
    声望
    38
    资料浏览
    128
    帖子
    1
    粉丝
    0
    关注
    注册时间 最后登录

    mysteryli 取消关注 关注

    mysteryli 发布的最佳帖子

    • 做了一批V821的板子,现在招募有识之士一起调试开发

      目前已经可以启动系统,ADB正常,sensor正常,其他外设还在调试中
      个人能力有限,有感兴趣的联系我,做了27片
      企鹅929916200
      由于是晕哥赞助的板子,因此送板子的策略需要我和他商量下
      空板也有很多,这个可以免费送,自己出邮费即可,我邮寄也行,全国都是5-6块
      还有就是只贴了大部分原件,个别原件需要手工补焊,由于我的焊工确实不怎么样,因此我不管焊接哈
      dd679d71-3725-47eb-b561-9da6bde3a46a-image.png
      79eece60-6f70-4a56-833f-bb0505097e46-image.png
      dcf8dbdb-8ef0-4b2d-bbce-4234eadcfacc-image.png
      cfcb1615-8675-4786-8fdf-10eeed2469d5-image.png

      发布在 V Series
      M
      mysteryli
    • 回复: 【水经验混下载权限专用贴】如何升级LV2拉取SDK

      谢谢,感谢分享,我是为了LV2,加油

      发布在 灌水区
      M
      mysteryli
    • 回复: V851s、V851se、V853s、V853的区别

      @xiaowenge
      一样吧 V851S想用RGMII也没法输出LCD了

      发布在 V Series
      M
      mysteryli
    • 回复: 新 SDK 平台下载 V853 SDK

      V851S的SDK也在这里下载吗?

      发布在 V Series
      M
      mysteryli
    • V821平台如何修改文件系统分区大小

      如下图
      我想将/tmp的大小减小,将/的大小变大,将UDISK的大小也减小
      V821+PY32Q128
      caad2454-071c-4892-8ebc-982554226c1a-img_v3_02ro_03b8c886-1698-47f2-b267-00dc0b63ebag.jpg

      发布在 V Series
      M
      mysteryli
    • 回复: V821平台如何修改文件系统分区大小

      @awwwwa 在 V821平台如何修改文件系统分区大小 中说:

      https://docs.aw-ol.com/docs/soc/v821/software/configure#分区表

      这个是整个文件系统的,不是文件系统内的分区啊

      发布在 V Series
      M
      mysteryli
    • XR806桌面备忘录/天气预报/相册项目开题报告

      本人计划怼一个开源桌面备忘录/天气预报/相册的项目基于XR806,同时学习鸿蒙操作系统
      获得晕哥赠送的开发板和芯片,目前处于环境搭建阶段
      看起来这个芯片玩的人比较少,目前遇到了问题,不知道如何解决,希望各路大神能够帮助小弟
      环境搭建按照手册进行,不知道少了什么
      QQ截图20211226201319.jpg

      发布在 Wireless & Analog Series
      M
      mysteryli
    • camerademo.c修改后编译打包的camerademo不变

      请问有人遇到过嘛,Tina
      by the way
      怎么单独编译camerademo

      发布在 V Series
      M
      mysteryli
    • 回复: camerademo.c修改后编译打包的camerademo不变

      @awwwwa 在 camerademo.c修改后编译打包的camerademo不变 中说:

      mmo camerademo -B

      老哥 麻烦再问下
      编译后生成的二进制在哪呀

      发布在 V Series
      M
      mysteryli
    • 回复: 全志V853 jpg怎么直接显示屏幕上

      fbviewer能自动缩放图片嘛

      发布在 V Series
      M
      mysteryli

    mysteryli 发布的最新帖子

    • 全志V821 SPI驱动ST7789,初始化阶段SPI上有波形,但是无法输出图形

      7fdb84f8-ccce-4b2a-90c6-9bbf824026af-image.png
      输出图形时,SPI上没有任何波形
      启动log如下

      [0]BOOT0 commit :
      [0]set pll start
      [1]set pll end
      [1]reset_src: rtc wdg rst
      [2]reset_src: det rst
      [2]reset_src: pwron rst
      [3]board init ok: use hosc 40M
      [4]DRAM use internal ZQ!!
      [4]ZQ value = 0x31
      [4]DRAM BOOT DRIVE INFO: V1.02
      [4]DRAM CLK = 520 MHz
      [5]DRAM Type = 2 (2:DDR2,3:DDR3)
      [5]DRAMC read ODT off.
      [5]DRAM ODT off.
      [5]ddr_clk0 = 1040 MHz
      [6]trefi: 7.8us
      [6]DRAM Size = 64 MB
      [8]DRAM simple test OK.
      [8]dram size =64
      [9]set spif freq:100000000
      [9]spi sample_mode:0 sample_delay:1b
      [11]spinor id is: 85 20 18, read cmd: ed
      [11]Succeed in reading toc file head.
      [11]The size of toc is c0000.
      [20]Entry_name        = opensbi
      [20]Entry_name        = u-boot
      [22]Entry_name        = pmboot
      [22]GPT load from sector:0x0, sectors: 0x8
      [38]Jump to OpenSBI: opensbi_base = 0x80fc0000, dtb_base = 0x0, uboot_base = 0x82000000
      
      OpenSBI 92310c8ed361641fa38c20bd0073be189e0f1282
         ____                    _____ ____ _____
        / __ \                  / ____|  _ \_   _|
       | |  | |_ __   ___ _ __ | (___ | |_) || |
       | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
       | |__| | |_) |  __/ | | |____) | |_) || |_
        \____/| .__/ \___|_| |_|_____/|____/_____|
              | |
              |_|
      
      init msb region pma attribute
      Platform Name             : sun300iw1
      Platform Features         : medeleg
      Platform HART Count       : 1
      Platform IPI Device       : sunxi_plicsw
      Platform Timer Device     : sunxi_plmt @ 40000000Hz
      Platform Console Device   : sunxi_uart
      Platform HSM Device       : ---
      Platform PMU Device       : ---
      Platform Reboot Device    : sunxi_wdt
      Platform Shutdown Device  : sunxi_wdt
      Firmware Base             : 0x80fc0400
      Firmware Size             : 75 KB
      Runtime SBI Version       : 0.3
      
      Domain0 Name              : root
      Domain0 Boot HART         : 0
      Domain0 HARTs             : 0*
      Domain0 Region00          : 0x80fc0000-0x80fdffff ()
      Domain0 Region01          : 0x00000000-0xffffffff (R,W,X)
      Domain0 Next Address      : 0x82000000
      Domain0 Next Arg1         : 0x00000000
      Domain0 Next Mode         : S-mode
      Domain0 SysReset          : yes
      
      Boot HART ID              : 0
      Boot HART Domain          : root
      Boot HART ISA             : rv32imafdcnsux
      Boot HART Features        : scounteren,mcounteren,mcountinhibit,sscofpmf
      Boot HART PMP Count       : 64
      Boot HART PMP Granularity : 8
      Boot HART PMP Address Bits: 31
      Boot HART MHPM Count      : 4
      Boot HART MIDELEG         : 0x00000222
      Boot HART MEDELEG         : 0x0000b109
      
      
      U-Boot 2018.07 (Nov 19 2025 - 22:47:09 +0800) Allwinner Technology
      
      I2C:   ready
      [00.053]DRAM:  64 MiB
      [00.053]Relocation Offset is: 01f23000, reloc addr is: 83f23000
      [00.056]secure enable bit: 0
      [00.056]drivers/sunxi_power/pmu_axpnull.c pmu_axpnull_probe 26 axpdummy probe
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      [00.058]axp2601 pmic_bus_read fail
      [00.058]BMU: AXPNULL
      [00.059]CPU=960 MHz,PERI=3072 Mhz,AHB=192 Mhz, APB=96Mhz
      SPI ALL:   ready
      [00.061]flash init start
      [00.061]workmode = 0,storage type = 3
      [00.066]spi sample_mode:0 sample_delay:1b
      [00.067]spif sunxi_slave->max_hz:100000000
      SF: Detected py25q128ha(IO DTR) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
      [00.069]sunxi flash init ok
      [00.071]Loading Environment from SUNXI_FLASH... OK
      [00.082]get secure storage map err
      [00.082]sunxi secure storage is not supported
      [00.082]usb burn from boot
      delay time 0
      [00.092]usb prepare ok
      [00.356]usb sof ok
      [00.356]usb probe ok
      [00.357]usb setup ok
      set address 0x15
      set address 0x15 ok
      try to update
      [00.761]do_burn_from_boot usb : have no handshake
      [00.761]get secure storage map err
      List file under ULI/factory
      ** Unrecognized filesystem type **
      [00.762]get secure storage map err
      [00.762]get secure storage map err
      [00.763]get secure storage map err
      [00.763]get secure storage map err
      root_partition is rootfs
      set root to /dev/mtdblock7
      [00.764]update part info
      [00.764]update bootcmd
      [00.765]change working_fdt 0x838e2ea0 to 0x838c2ea0
      [00.777]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      [00.779]update dts
      Info: gmac phy mode = rmii, phy_interface = 6
      FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
      Error: gmac set pin failed
      [00.783]Board Net Initialization Failed
      [00.783]No ethernet found.
      Hit any key to stop autoboot:  0
      [00.857]no vendor_boot partition is found
      Android's image name: sun300i_riscv32
      Detect comp gzip
      ERROR: reserving fdt memory region failed (addr=80ffff00 size=100)
      [01.080]
      Starting kernel ...
      
      [    0.000000] Linux version 5.4.220 (l@l-Default-string) (gcc version 10.4.0 (2024-02-02_nds32le-linux-glibc-v5d-bbc31ec98)) #13 PREEMPT Wed Nov 19 22:48:16 CST 2025
      [    0.000000] printk: bootconsole [earlycon0] enabled
      [    0.000000] Reserved memory: created CMA memory pool at 0x0000000083c00000, size 4 MiB
      [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
      [    0.000000] Reserved memory: created DMA memory pool at 0x0000000081200000, size 0 MiB
      [    0.000000] OF: reserved mem: initialized node vdev0buffer@81200000, compatible id shared-dma-pool
      [    0.000000] Reserved memory: created DMA memory pool at 0x0000000081646000, size 0 MiB
      [    0.000000] OF: reserved mem: initialized node e907_rpbuf@81646000, compatible id shared-dma-pool
      [    0.000000] Zone ranges:
      [    0.000000]   Normal   [mem 0x0000000080000000-0x0000000083ffffff]
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000080000000-0x0000000080ffefff]
      [    0.000000]   node   0: [mem 0x0000000081244000-0x0000000081643fff]
      [    0.000000]   node   0: [mem 0x000000008164e000-0x0000000083ffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff]
      [    0.000000] On node 0 totalpages: 15793
      [    0.000000]   Normal zone: 128 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 15793 pages, LIFO batch:3
      [    0.000000] SBI specification v0.3 detected
      [    0.000000] SBI implementation ID=0x1 Version=0x10000
      [    0.000000] SBI v0.2 TIME extension detected
      [    0.000000] SBI v0.2 IPI extension detected
      [    0.000000] SBI v0.2 RFENCE extension detected
      [    0.000000] SBI SRST extension detected
      [    0.000000] riscv: base ISA extensions acdfim
      [    0.000000] riscv: ELF capabilities acdfim
      [    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: 15665
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x42500000 initcall_debug=0 console=ttyS0,1500000 loglevel=8 root=/dev/mtdblock7 rootwait init=/init rdinit=/rdinit partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:private@mtdblock5:riscv0@mtdblock6:rootfs@mtdblock7:rootfs_data@mtdblock8:UDISK@mtdblock9 cma=1M coherent_pool= androidboot.serialno=9c000c71b701c762312 wifi_mac=60:c2:2a:0d:ed:49 androidboot.hardware=sun300iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.07(11/19/2025-22:47:09) mbr_offset=1032192 bootreason=button androidboot.dramfreq=520 androidboot.dramsize=64 mtdparts=<NULL> uboot_backup=ubootA
      [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
      [    0.000000] Sorting __ex_table...
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 27276K/63172K available (5263K kernel code, 363K rwdata, 2019K rodata, 164K init, 288K bss, 31800K reserved, 4096K 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 25 jiffies.
      [    0.000000] NR_IRQS: 72, nr_irqs: 72, preallocated irqs: 0
      [    0.000000] plic: mapped 187 interrupts with 1 handlers for 2 contexts.
      [    0.000000] sunxi:ccu-ng:[INFO]: Current HOSC rate is 40000000HZ
      [    0.000000] AW BSP version: UNKNOWN, 2025-11-19 22:48:11
      [    0.000000] sunxi:ccu-ng:[INFO]: aon_ccu: sunxi ccu init OK
      [    0.000000] sunxi:ccu-ng:[INFO]: sunxi ccu common driver version: 1.2.4
      [    0.000000] sunxi:ccu-ng:[INFO]: ccu: sunxi ccu init OK
      [    0.000000] sunxi:ccu-ng:[INFO]: sunxi app ccu driver version: 0.7.2
      [    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
      [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x939a85c40, max_idle_ns: 440795202120 ns
      [    0.000011] sched_clock: 64 bits at 40MHz, resolution 25ns, wraps every 4398046511100ns
      [    0.001084] Console: colour dummy device 80x25
      [    0.001159] Calibrating delay loop (skipped), value calculated using timer frequency.. 80.00 BogoMIPS (lpj=160000)
      [    0.001803] pid_max: default: 32768 minimum: 301
      [    0.002393] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.002727] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.005626] rcu: Hierarchical SRCU implementation.
      [    0.011342] devtmpfs: initialized
      [    0.032543] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
      [    0.032894] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
      [    0.033757] pinctrl core: initialized pinctrl subsystem
      [    0.041888] phys:80000000 low vir:c0000000 non-cache:dfc80000~e3c80000
      [    0.043077] NET: Registered protocol family 16
      [    0.047875] sunxi:ccu-ng:[INFO]: sunxi prcm ccu driver version: 0.0.4
      [    0.056201] sunxi:pin-42000000.pinctrl:[INFO]: pinctrl withstand voltage config mode=auto_hard
      [    0.056451] sunxi:pin:[INFO]: sunxi pinctrl core driver version: 1.4.8
      [    0.057469] sunxi:pin:[INFO]: sunxi rtc-pinctrl version: 0.0.2
      [    0.060024] sunxi:pin-42000540.pinctrl:[INFO]: pinctrl withstand voltage config mode=auto_hard
      [    0.064422] sunxi hwspinlock vbase:0x(ptrval)
      [    0.094037] SCSI subsystem initialized
      [    0.094888] usbcore: registered new interface driver usbfs
      [    0.095003] usbcore: registered new interface driver hub
      [    0.095388] usbcore: registered new device driver usb
      [    0.095857] mc: Linux media interface: v0.10
      [    0.096065] videodev: Linux video capture interface: v2.00
      [    0.097304] Advanced Linux Sound Architecture Driver Initialized.
      [    0.099492] sun6i-dma 43002000.dma-controller: sunxi dma probed, driver version: 1.2.11
      [    0.101407] sunxi-soc-regulator 4a000800.soc_pmu0: Supply for ldo1 (ldo1) resolved to itself
      [    0.101647] ldo1: supplied by regulator-dummy
      [    0.102833] ion_size_pool heap_size_pool@0: no small_source configurated, use cma as default
      [    0.104821] sunxi:pin-42000000.pinctrl:[INFO]: Auto power withstand voltage configuration detected, automatically exit!
      [    0.105460] sunxi-twi 42502000.twi0: 42502000.twi0 supply twi not found, using dummy regulator
      [    0.106771] sunxi:twi-42502000.twi0:[INFO]: v2.7.9 probe success
      [    0.107758] sunxi:pwm-42000c00.pwm:[INFO]: start probe
      [    0.108437] sunxi:pwm-42000c00.pwm:[INFO]: pwmchip probe success
      [    0.110600] clocksource: Switched to clocksource riscv_clocksource
      [    0.115043] thermal_sys: Registered thermal governor 'fair_share'
      [    0.115053] thermal_sys: Registered thermal governor 'bang_bang'
      [    0.115109] thermal_sys: Registered thermal governor 'step_wise'
      [    0.115568] thermal_sys: Registered thermal governor 'user_space'
      [    0.116028] thermal_sys: Registered thermal governor 'power_allocator'
      [    0.117094] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
      [    0.118457] sunxi_usb_udc 44100000.udc-controller: sunxi:sunxi_usb_udc UDC Inner DMA Feature - wordaddr: -1, extend: disabled
      [    0.120029] NET: Registered protocol family 2
      [    0.120337] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [    0.121545] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
      [    0.121809] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.122373] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.123019] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.123555] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
      [    0.123901] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
      [    0.124714] NET: Registered protocol family 1
      [    0.125544] RPC: Registered named UNIX socket transport module.
      [    0.125586] RPC: Registered udp transport module.
      [    0.125945] RPC: Registered tcp transport module.
      [    0.126305] RPC: Registered tcp NFSv4.1 backchannel transport module.
      [    0.127771] sunxi-spi-ng 44026000.spi: 44026000.spi supply spi not found, using dummy regulator
      [    0.128265] sunxi:spi-44026000.spi:[INFO]: bus num_1 mode_1 freq_48000000
      [    0.128579] sunxi:spi-44026000.spi:[INFO]: cs num_2 mode_1
      [    0.128989] of_dma_request_slave_channel: dma-names property of node '/soc@2002000/spi@44026000' missing or empty
      [    0.129773] sunxi:spi-44026000.spi:[ERR]: failed to request dma tx channel -19
      [    0.131148] sunxi-spi-ng 44026000.spi: registered master spi1
      [    0.131425] spi spi1.0: setup mode 0, 8 bits/w, 48000000 Hz max --> 0
      [    0.131991] sunxi-spi-ng 44026000.spi: registered child spi1.0
      [    0.132149] sunxi:spi-44026000.spi:[INFO]: probe success (Version 2.5.4)
      [    0.135941] workingset: timestamp_bits=30 max_order=13 bucket_order=0
      [    0.148992] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.150462] NFS: Registering the id_resolver key type
      [    0.150702] Key type id_resolver registered
      [    0.150896] Key type id_legacy registered
      [    0.151245] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
      [    0.151744] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
      [    0.152340] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
      [    0.153762] fuse: init (API version 7.31)
      [    0.155297] NET: Registered protocol family 38
      [    0.155390] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
      [    0.155827] io scheduler mq-deadline registered
      [    0.156137] io scheduler kyber registered
      [    0.179855] loop: module loaded
      [    0.180852] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    0.180973] ehci-platform: EHCI generic platform driver
      [    0.181791] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    0.181877] ohci-platform: OHCI generic platform driver
      [    0.183666] usbcore: registered new interface driver uas
      [    0.183797] usbcore: registered new interface driver usb-storage
      [    0.184332] i2c /dev entries driver
      [    0.185670] usbcore: registered new interface driver usbhid
      [    0.185704] usbhid: USB HID core driver
      [    0.187999] uart-ng uart-ng0: uart-ng0 supply uart not found, using dummy regulator
      [    0.188366] sunxi:uart-ng-uart-ng0:[INFO]: cannot get the TX DMA channel!
      [    0.188732] sunxi:uart-ng-uart-ng0:[INFO]: cannot get the RX DMA channel!
      [    0.189291] sunxi:uart-ng:[INFO]: sunxi uart-ng driver version: 1.1.10
      [    0.189781] uart-ng0: ttyS0 at MMIO 0x42500000 (irq = 134, base_baud = 12000000) is a SUNXI
      [    0.190371] sunxi:uart-ng-uart-ng0:[INFO]: console setup baud 1500000 parity n bits 8, flow n
      [    0.191144] sunxi:uart-ng-uart-ng0:[INFO]: uart0, select set 6, baud 1500000, uartclk 192000000 beyond rance[24000000, 120000000]
      [    0.191978] printk: console [ttyS0] enabled
      [    0.191978] printk: console [ttyS0] enabled
      [    0.192836] printk: bootconsole [earlycon0] disabled
      [    0.192836] printk: bootconsole [earlycon0] disabled
      [    0.195061] sunxi:rtc-4a000c00.rtc:[WARN]: Fail to get clock 'rtc-1k'
      [    0.195858] sunxi:rtc-4a000c00.rtc:[WARN]: Fail to get clock 'rtc-spi'
      [    0.196671] sunxi:rtc:[INFO]:  Saving SoC boot-reason: COLD-BOOT
      [    0.197365] sunxi:rtc-4a000c00.rtc:[INFO]: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
      [    0.198616] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    0.199786] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    0.201239] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    0.202422] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    0.203622] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    0.205473] sunxi-rtc 4a000c00.rtc: registered as rtc0
      [    0.206128] sunxi:rtc_sun300iw1_frun_counter:[ERR]: rtc_frun_counter_init(83): rtc frun counter src not from extern32k osc
      [    0.207437] sunxi:rtc-4a000c00.rtc:[WARN]: clocksource not work: rtc free running counter
      [    0.208383] sunxi:rtc-4a000c00.rtc:[INFO]: sunxi rtc probed
      [    0.210873] sunxi-wdt 4a001000.watchdog: Watchdog enabled (timeout=300 sec, nowayout=0), driver version: 1.0.5
      [    0.214262] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: SD/MMC/SDIO Host Controller Driver(v5.55 2024-08-26 15:32)
      [    0.215734] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: ctl-spec-caps 8
      [    0.216569] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vmmc regulator found
      [    0.217402] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vqmmc regulator found
      [    0.218261] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vdmmc regulator found
      [    0.219152] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vd33sw regulator found
      [    0.220020] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vd18sw regulator found
      [    0.220885] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vq33sw regulator found
      [    0.221750] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vq18sw regulator found
      [    0.222632] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: manual set ocr
      [    0.223397] sunxi:sunxi_mmc_host-44020000.sdmmc:[WARN]: Cann't get pin bias hs pinstate,check if needed
      [    0.224585] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: Could not get store clock
      [    0.225445] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: Could not get msi_lite clock
      [    0.226924] sunxi-mmc 44020000.sdmmc: Got CD GPIO
      [    0.227605] sunxi-mmc 44020000.sdmmc: sunxi:sunxi_mmc_hostcd-set-debounce is missing, function is no used
      [    0.229333] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    0.242521] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    0.256844] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    0.258533] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: detmode:gpio irq
      [    0.261548] sunxi:sunxi_spif-44f00000.spif:[INFO]: sample_mode:0 sample_delay:1b
      [    0.262718] sunxi:sunxi_spif-44f00000.spif:[INFO]: [spi-flash0] mclk 24000000
      [    0.263594] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    0.265221] sunxi:sunxi_spif-44f00000.spif:[ERR]: sunxi_spif_soft_reset timeout
      [    0.267342] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: smc 0 p0 err, cmd 8, RTO !!
      [    0.268492] sunxi:sunxi_spif-44f00000.spif:[INFO]: [spi-flash0] working clk 100000000
      [    0.269393] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: smc 0 p0 err, cmd 55, RTO !!
      [    0.271113] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: smc 0 p0 err, cmd 55, RTO !!
      [    0.272354] sunxi_spif 44f00000.spif: py25q128ha (16384 Kbytes) IO DTR
      [    0.273120] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: smc 0 p0 err, cmd 55, RTO !!
      [    0.274536] 10 sunxipart partitions found on MTD device spif
      [    0.275198] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: smc 0 p0 err, cmd 55, RTO !!
      [    0.276126] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    0.277507] sunxi:pin-42000000.pinctrl:[INFO]: Auto power withstand voltage configuration detected, automatically exit!
      [    0.278782] Creating 10 MTD partitions on "spif":
      [    0.279334] 0x000000000000-0x000000100000 : "uboot"
      [    0.287898] 0x000000100000-0x000000180000 : "boot-resource"
      [    0.290933] 0x000000180000-0x0000001a0000 : "env"
      [    0.299903] 0x0000001a0000-0x0000001c0000 : "env-redund"
      [    0.302905] 0x0000001c0000-0x0000006c0000 : "boot"
      [    0.311877] 0x0000006c0000-0x0000006d0000 : "private"
      [    0.314832] 0x0000006d0000-0x000000800000 : "riscv0"
      [    0.323883] 0x000000800000-0x000000d70000 : "rootfs"
      [    0.326839] 0x000000d70000-0x000000df0000 : "rootfs_data"
      [    0.335880] 0x000000df0000-0x000001000000 : "UDISK"
      [    0.338850] sunxi:sunxi_spif-44f00000.spif:[INFO]: probe succeed (Version 1.0.2)
      [    0.341301] sunxi:lcd_fb:[NOTE]: sunxi_lcd_fb_gpio_request, gpio_name=lcd_gpio_0, gpio=98, value=0, ret=0
      [    0.342437] sunxi:lcd_fb:[NOTE]: lcd 0, driver_name st7789v,  panel_name st7789v
      [    0.343342] sunxi:lcd_fb:[WARN]: lcd_panel_fun[0].cfg_panel_info is NULL
      [    0.345464] sunxi:lcd_fb:[NOTE]: sunxi_lcd_fb_gpio_request, gpio_name=lcd_gpio_0, gpio=98, value=0, ret=0
      [    0.346659] sunxi:lcd_fb:[NOTE]: sunxi_lcd_fb_gpio_request, gpio_name=lcd_spi_dc_pin, gpio=109, value=0, ret=0
      [    0.347825] sunxi:lcd_fb:[WARN]: sunxi_lcd_fb_pwm_set_polarity pwm 0, active low
      [    0.348705] spi spi1.0: setup mode 0, 8 bits/w, 48000000 Hz max --> 0
      [    0.349440] sunxi:lcd_fb:[NOTE]: Init spi:bits_per_word:8 max_speed_hz:48000000 mode:0
      [    0.351948] sunxi:g2d_sunxi:[INFO]: [G2D]: rcq version initialized.major:244
      [    0.352793] sunxi:g2d_sunxi:[INFO]: [G2D]: g2d_module_init
      [    0.354671] sunxi:gpadc:[INFO]: sunxi_gpadc_init(): 2148: gpadc class register success
      [    0.356044] sunxi:gpadc-42009000.gpadc0:[WARN]: warn: sample rate not set
      [    0.357248] input: sunxi-gpadc0/channel0/input0 as /devices/platform/soc@2002000/42009000.gpadc0/input/input0
      [    0.359069] input: sunxi-gpadc0/channel1/input0 as /devices/platform/soc@2002000/42009000.gpadc0/input/input1
      [    0.361049] sunxi:gpadc-42009000.gpadc0:[INFO]: sunxi_gpadc probe success
      [    0.367912] sunxi-msgbox 43033000.msgbox: sunxi:sunxi_msgboxsunxi_msgbox_probe(): sunxi msgbox start probe
      [    0.369281] sunxi-msgbox 43033000.msgbox: sunxi:sunxi_msgboxsunxi_msgbox_probe(): sunxi msgbox probe success
      [    0.371797] sunxi-rproc 43030000.e907_rproc: sunxi rproc driver 2.4.3
      [    0.372737] sunxi-rproc 43030000.e907_rproc: rv-cfg base: 0x43030000, va: 0xe3c9b000
      [    0.373736] sunxi-rproc 43030000.e907_rproc: find rproc standby error
      [    0.374867] sunxi-rproc 43030000.e907_rproc: timeout_ms: 6000
      [    0.375565] sunxi-rproc 43030000.e907_rproc: reset_type: 2
      [    0.376196] sunxi-rproc 43030000.e907_rproc: reg:        43031000
      [    0.376911] sunxi-rproc 43030000.e907_rproc: irq_num:    163
      [    0.377576] sunxi-rproc 43030000.e907_rproc: panic_on_timeout: 1
      [    0.378746] sunxi-rproc 43030000.e907_rproc: register memory firmware('amp_rv0.bin') for 'e907', addr: 0x81244000, size: 2097152
      [    0.380094] sunxi_remoteproc: register mem fw('amp_rv0.bin'), addr=0x0000000081244000, len=2097152
      [    0.381138] sunxi-rproc 43030000.e907_rproc: is_using_kernel_fw: 0
      [    0.381961] remoteproc remoteproc0: e907_rproc is available
      [    0.382762] remoteproc remoteproc0: powering up e907_rproc
      [    0.383402] remoteproc remoteproc0: load fw from memory
      [    0.384027] remoteproc remoteproc0: checking internal firmware
      [    0.384725] remoteproc remoteproc0: Booting fw image amp_rv0.bin, size 2097152
      [    0.385906] sunxi-rproc 43030000.e907_rproc: handle vendor resource, type: 129
      [    0.386848] sunxi-rproc 43030000.e907_rproc: add trace mem 'aw_trace_log', da: 0x81129fc0, len: 4096
      [    0.388020] remoteproc remoteproc0: Physical address cast in 32bit to fit resource table format
      [    0.389047] rproc_wdt remoteproc0-wdt: rproc has been booted, note that the config will be overwritten
      [    0.390228] sunxi_remoteproc: unregister mem fw('amp_rv0.bin'), addr=0x0000000081244000,len=2097152
      [    0.391898] Freeing amp_rv0.bin memory: 2048K
      [    0.392519]  remoteproc0#vdev0buffer: assigned reserved memory node vdev0buffer@81200000
      [    0.394749] virtio_rpmsg_bus virtio0: rpmsg host is online
      [    0.395427]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
      [    0.396152] remoteproc remoteproc0: remote processor e907_rproc is now up
      [    0.397008] sunxi-rproc 43030000.e907_rproc: sunxi rproc driver probe ok
      [    0.398629] sunxi-rpbuf-controller rpbuf_controller0@0: assigned reserved memory node e907_rpbuf@81646000
      [    0.400613] [ADDR_MGT] addr_mgt_probe: module version: v1.0.13
      [    0.401820] [ADDR_MGT] addr_mgt_probe: success.
      [    0.402884] NET: Registered protocol family 17
      [    0.403441] NET: Registered protocol family 15
      [    0.404105] Key type dns_resolver registered
      [    0.416297] virtio_rpmsg_bus virtio0: creating channel sunxi,rpmsg_ctrl addr 0x400
      [    0.419693] virtio_rpmsg_bus virtio0: creating channel rpbuf-service addr 0x401
      [    0.420861] rpbuf_service_rpmsg virtio0.rpbuf-service.-1.1025: rpmsg device parent 0: virtio0
      [    0.421868] rpbuf_service_rpmsg virtio0.rpbuf-service.-1.1025: rpmsg device parent 1: remoteproc0#vdev0buffer
      [    0.426594] rpbuf_service_rpmsg virtio0.rpbuf-service.-1.1025: rpmsg device parent 2: remoteproc0
      [    0.427643] rpbuf_service_rpmsg virtio0.rpbuf-service.-1.1025: rpmsg device parent 3: 43030000.e907_rproc
      [    0.431637] sunxi-rpbuf-controller rpbuf_controller0@0: buffer "xradio_mtx": NULL -> remote_dummy_buffers
      [    0.432820] sunxi-rpbuf-controller rpbuf_controller0@0: buffer "xradio_mrx": NULL -> remote_dummy_buffers
      [    0.433954] virtio_rpmsg_bus virtio0: creating channel xrlink_rpmsg addr 0x402
      [    0.441790] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
      [    0.443080] sunxi-rtc 4a000c00.rtc: setting system clock to 1970-01-01T00:00:01 UTC (1)
      [    0.445723] sunxi:sound-common:[ERR]: 301 pacfg_level_trig_init(): pa-pin-0 (79) request failed
      [    0.446786] sunxi:sound-common:[ERR]: 612 snd_sunxi_pa_pin_init(): pacfg_level_trig_init failed
      [    0.449296] sunxi:sound-i2s:[WARN]: 2206 snd_sunxi_dts_params_init(): clk-en-post-delay missing
      [    0.450334] sunxi:sound-i2s:[WARN]: 2214 snd_sunxi_dts_params_init(): clk-keep missing
      [    0.452061] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default
      [    0.453577] debugfs: Directory 'soc@2002000:codec_plat' with parent 'audiocodec' already present!
      [    0.454886] sunxi-snd-mach soc@2002000:codec_mach: 42030000.codec <-> soc@2002000:codec_plat mapping ok
      [    0.457562] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default
      [    0.458626] sunxi-snd-mach soc@2002000:i2s0_mach: No 'sound-dai' property
      [    0.459728] debugfs: Directory '42032000.i2s0_plat' with parent 'sndi2s0' already present!
      [    0.460938] sunxi-snd-mach soc@2002000:i2s0_mach: snd-soc-dummy-dai <-> 42032000.i2s0_plat mapping ok
      [    0.467923] ALSA device list:
      [    0.468284]   #0: audiocodec
      [    0.468651]   #1: sndi2s0
      [    0.469200] sunxi:uart-ng-uart-ng0:[INFO]: uart0, select set 6, baud 1500000, uartclk 192000000 beyond rance[24000000, 120000000]
      [    0.476389] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
      [    0.480828] devtmpfs: mounted
      [    0.481373] Freeing unused kernel memory: 164K
      [    0.481919] This architecture does not have kernel memory protection.
      [    0.482821] Run /init as init process
      [    0.610547] +++start init 7789
      mount: mounting none on /dev failed: Resource busy
      boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:private@mtdblock5:riscv0@mtdblock6:rootfs@mtdblock7:rootfs_data@mtdblock8:UDISK@mtdblock9
      [    1.162603] overlayfs: upper fs does not support tmpfile.
      [    1.163242] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
      init started: BusyBox v1.33.2 (2025-06-12 13:40:09 UTC)
      starting pid 95, tty '': '/etc/init.d/rcS boot'
      ------run rc.final file-----
      Load mpp modules
      [    1.358715] sunxi:pwm-42000c00.pwm:[ERR]: can't parse pwm device
      [    1.449309] sunxi:vin:[WARN]: sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
      [    1.459134] sunxi:vin:[WARN]: sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
      [    1.460267] sunxi:vin:[WARN]: sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
      [    1.461352] sunxi:vin:[WARN]: sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
      [    1.478815] sunxi_usb_udc 44100000.udc-controller: 44100000.udc-controller supply udc not found, using dummy regulator
      sh: write error: Invalid argument
      [    1.573932] file system registered
      [    1.611606] udc 44100000.udc-controller: failed to start g1: -19
      sh: write error: No such device
      [    1.690714] read descriptors
      [    1.691078] read strings
      [    1.947415] sunxi:vin:[WARN]: get csi isp clk fail
      [    1.948031] sunxi:vin:[WARN]: get csi isp src clk fail
      [    1.949959] sunxi:vin:[INFO]: [gc2083_mipi]PWR_ON!!!
      [    1.982297] sunxi:vin:[INFO]: [gc2083_mipi]PWR_OFF!!do nothing
      [    1.995165] sunxi:vin:[INFO]: vinc1 is null
      [    1.996276] sunxi:vin:[INFO]: vinc5 is null
      [    2.003133] configfs-gadget gadget: high-speed config #1: c
      [    2.034038] sunxi:VE:[INFO]: 2238 sunxi_cedar_init(): sunxi cedar version 1.1
      [    2.035308] sunxi:VE:[INFO]: 2160 sunxi_cedar_probe(): probe ve
      [    2.036402] sunxi-cedar 41c0e000.ve: 41c0e000.ve supply ve not found, using dummy regulator
      Load usb modules
      Load wifi modules
      [    2.126012] [xradio_mod_init,690][XRADIO_ALWY] xradio wlan version:XR_V1.0.0.250218
      [    2.126990] [xradio_core_init,543][XRADIO_ALWY] xradio core init
      [    2.128083] [xradio_rpmsg_init,191][IO] xrlink rpmsg creat succeed
      [    2.129440] sunxi-rpbuf-controller rpbuf_controller0@0: "xradio_mrx" allocate payload memory: va 0x(ptrval), pa 0x0000000083c08000, len 20480
      [    2.130985] sunxi-rpbuf-controller rpbuf_controller0@0: buffer "xradio_mrx" (id:1): remote_dummy_buffers -> buffers
      [    2.132401] sunxi-rpbuf-controller rpbuf_controller0@0: "xradio_mtx" allocate payload memory: va 0x(ptrval), pa 0x0000000083c10000, len 12288
      [    2.133885] sunxi-rpbuf-controller rpbuf_controller0@0: buffer "xradio_mtx" (id:0): remote_dummy_buffers -> buffers
      [    2.135380] [xradio_rpbuf_init,555][IO] xrlink master rpbuf creat succeed
      [    2.136192] [xradio_platform_init,84][PLAT] xradio_platform_init sucess 0xc13d6c00
      [    2.137072] [xradio_core_init,550][XRADIO_ALWY] xradio_plat c13d6c00
      [    2.137814] [xradio_core_init,553][XRADIO_ALWY] xradio add_net_dev
      [    2.139982] [xradio_core_init,560][XRADIO_ALWY] xradio debug com init
      [    2.140860] [xradio_core_init,564][XRADIO_ALWY] xradio queue init
      [    2.141607] [xradio_core_init,569][XRADIO_ALWY] xradio platform on
      [    2.142312] [xradio_core_init,574][XRADIO_ALWY] register tx and rx task
      [    2.143667] [xradio_core_init,579][XRADIO_ALWY] up cmd init
      [    2.144345] [xradio_core_init,584][XRADIO_ALWY] low cmd init
      [    2.145016] [xradio_core_init,589][XRADIO_ALWY] hand way
      [    2.146664] [xraido_low_cmd_dev_hand_way,129][CMD] Host hand way dev success.
      [    2.147511] [xradio_core_init,594][XRADIO_ALWY] xradio core init Suceess
      [    2.148836] [xradio_set_kernel_macaddr,454][XRADIO_ALWY] MACADDR=60:c2:2a:0d:ed:49
      [    2.149898] [xradio_core_init,610][XRADIO_ALWY] AP_ADDR=60:c2:2a:0d:6d:4a
      [    2.150729] [xradio_core_init,617][XRADIO_ALWY] wlan device is opening...
      [    2.243542] [xradio_core_init,622][XRADIO_ALWY] wlan device is ready
      [    2.244278] ======== XRADIO WIFI OPEN ========
      Starting wifi_deamon....: WINF: wifimanger verion:2.0.8.5 20251119-14:13:58
      WINF: **************************************
      WINF: * Copyright (c) 2019-2025 Allwinner Technology Co., Ltd. ALL rights reserved
      WINF: * version: 2.0.8.5 20251119-14:13:58
      WINF: * module name: UNKNOWN (D)
      WINF: * wifimg support mode:(sta | ap | --- | --- | ------ | -------)
      WINF: * module support mode:(sta | ap | --- | --- | ------ | -------)
      WINF: * actual support mode:(sta | ap | --- | --- | ------ | -------)
      WINF: **************************************
      WINF: wifi mode sta on success
      WINF: wifi on sta success
      WINF: wifi set auto reconnect enable success
      mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory
      starting pid 196, tty '/dev/console': '-/bin/sh'
      
      
      BusyBox v1.33.2 (2025-06-12 13:40:09 UTC) built-in shell (ash)
      
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
        | |  | || | || _ |  |_____||_||_|_||___||_,_|
        |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
       ----------------------------------------------
       Tina Linux (5.0, unknown)
       ----------------------------------------------
      root@(none):/# [   30.956654] random: cat: uninitialized urandom read (4096 bytes read)
      [   30.957697] random: cat: uninitialized urandom read (4096 bytes read)
      [   30.958806] random: cat: uninitialized urandom read (4096 bytes read)
      [   38.532217] random: cat: uninitialized urandom read (4096 bytes read)
      [   38.533267] random: cat: uninitialized urandom read (4096 bytes read)
      [   38.534263] random: cat: uninitialized urandom read (4096 bytes read)
      [   56.522067] random: cat: uninitialized urandom read (4096 bytes read)
      [   56.523222] random: cat: uninitialized urandom read (4096 bytes read)
      [   56.524228] random: cat: uninitialized urandom read (4096 bytes read)
      [  105.623932] random: cat: uninitialized urandom read (4096 bytes read)
      
      
      
      发布在 V Series
      M
      mysteryli
    • 请教关于V821的SPI的问题-设备树

      对于文件 bsp/configs/linux-5.4-ansc/sun300iw1p1.dtsi
      明明使用了SPI0连接norflash,为什么spi0还是status = "disabled";呢?
      如果我要用到spi1驱动LCD,是都要把SPI1改为status = "okay";呢?
      313c6d9f-0402-4038-92b3-91d4b6503d42-image.png

      发布在 V Series
      M
      mysteryli
    • 驱动ST7789时候遇到了SPI不输出波形的问题

      下面是逻辑分析仪抓的波形,DC和RST是正常有波形的
      f50549d7-8abc-4335-9652-14442054cf12-image.png
      设备数等配置是按照下面链接的教程来的
      https://docs.aw-ol.com/docs/soc/v821/disp/spi_lcd/disp_driver_dbi_spi_1.3inch/

      &spi1 {
      	pinctrl-0 = <&spi1_pins_default>;
      	pinctrl-1 = <&spi1_pins_sleep>;
      	pinctrl-names = "default", "sleep";
      	clock-frequency = <1000000>;
      	sunxi,spi-bus-mode = <SUNXI_SPI_BUS_MASTER>;
      	sunxi,spi-cs-mode = <SUNXI_SPI_CS_SOFT>;
      	status = "okay";
      	panel_st7789v_spi1: slave@0 {
      		device_type = "spi-panel";
      		compatible = "allwinner,spi-panel";
      		reg = <0x0>;
      		spi-max-frequency = <1000000>;
      		lcd_used = <1>;
      		lcd_driver_name = "st7789v";
      		lcd_if = <0>;
      		lcd_dbi_if = <0>;
      		lcd_data_speed = <48>;
      		lcd_x = <280>;
      		lcd_y = <240>;
      		lcd_pixel_fmt = <10>;
      		lcd_dbi_fmt = <2>;
      		lcd_rgb_order = <0>;
      		lcd_width = <60>;
      		lcd_height = <60>;
      		lcd_pwm_used = <0>;
      		lcd_pwm_ch = <6>;
      		lcd_pwm_freq = <5000>;
      		lcd_pwm_pol = <1>;
      		lcd_frm = <1>;
      		lcd_gamma_en = <1>;
      		fb_buffer_num = <2>;
      		lcd_backlight = <100>;
      		lcd_fps = <60>;
      		lcd_dbi_te = <0>;
      		lcd_dbi_clk_mode = <0>;
      		lcd_spi_dc_pin = <&pio PD 13 GPIO_ACTIVE_LOW>;
      		lcd_gpio_0 = <&pio PD 2 GPIO_ACTIVE_LOW>;
      		status = "okay";
      	};
      
      };
      

      最后再贴下驱动代码

      #include "st7789v.h"
      
      static void LCD_power_on(u32 sel);
      static void LCD_power_off(u32 sel);
      static void LCD_bl_open(u32 sel);
      static void LCD_bl_close(u32 sel);
      static void LCD_panel_init(u32 sel);
      static void LCD_panel_exit(u32 sel);
      #define RESET(s, v) sunxi_lcd_gpio_set_value(s, 0, v)
      #define power_en(sel, val) sunxi_lcd_gpio_set_value(sel, 0, val)
      #define lcd_fb_here ;
      //static struct disp_panel_para info[LCD_FB_MAX];
      
      static void address(unsigned int sel, int x, int y, int width, int height)
      {
      	sunxi_lcd_cmd_write(sel, 0x2B); /* Set row address */
      	sunxi_lcd_para_write(sel, (y >> 8) & 0xff);
      	sunxi_lcd_para_write(sel, y & 0xff);
      	sunxi_lcd_para_write(sel, (height >> 8) & 0xff);
      	sunxi_lcd_para_write(sel, height & 0xff);
      	sunxi_lcd_cmd_write(sel, 0x2A); /* Set coloum address */
      	sunxi_lcd_para_write(sel, (x >> 8) & 0xff);
      	sunxi_lcd_para_write(sel, x & 0xff);
      	sunxi_lcd_para_write(sel, (width >> 8) & 0xff);
      	sunxi_lcd_para_write(sel, width & 0xff);
      	sunxi_lcd_cmd_write(sel, 0x2c);
      }
      
      static void LCD_panel_init(unsigned int sel)
      {
      	// if (bsp_disp_get_panel_info(sel, &info[sel])) {
      	// 	lcd_fb_wrn("get panel info fail!\n");
      	// 	return;
      	// }
      	printk("+++start init 7789\n");
      
      	sunxi_lcd_cmd_write(sel, 0x11); // Sleep out 
      
      	sunxi_lcd_delay_ms(50);    
      	//************* Start Initial Sequence **********// 
      	sunxi_lcd_cmd_write(sel, 0x36);
      	sunxi_lcd_para_write(sel, 0x00);
      
      	sunxi_lcd_cmd_write(sel, 0x3A);     
      	sunxi_lcd_para_write(sel, 0x05);   
      
      	sunxi_lcd_cmd_write(sel, 0xB2);     
      	sunxi_lcd_para_write(sel, 0x0C);   
      	sunxi_lcd_para_write(sel, 0x0C);   
      	sunxi_lcd_para_write(sel, 0x00);   
      	sunxi_lcd_para_write(sel, 0x33);   
      	sunxi_lcd_para_write(sel, 0x33);
      
      	sunxi_lcd_cmd_write(sel, 0xB7);     
      	sunxi_lcd_para_write(sel, 0x35);   
      
      	sunxi_lcd_cmd_write(sel, 0xBB);     
      	sunxi_lcd_para_write(sel, 0x19);   // 2b
      
      	sunxi_lcd_cmd_write(sel, 0xC0);     
      	sunxi_lcd_para_write(sel, 0x2C);   
      
      	sunxi_lcd_cmd_write(sel, 0xC2);     
      	sunxi_lcd_para_write(sel, 0x01);   
      
      	sunxi_lcd_cmd_write(sel, 0xC3);     
      	sunxi_lcd_para_write(sel, 0x12);   
      
      	sunxi_lcd_cmd_write(sel, 0xC4);     
      	sunxi_lcd_para_write(sel, 0x20);   // VDV, 0x20:0v
      
      	sunxi_lcd_cmd_write(sel, 0xC6);     
      	sunxi_lcd_para_write(sel, 0x0F);   // 0x13:60Hz   
      
      	sunxi_lcd_cmd_write(sel, 0xD0);     
      	sunxi_lcd_para_write(sel, 0xA4);   
      	sunxi_lcd_para_write(sel, 0xA1); 
      
      	
      	sunxi_lcd_cmd_write(sel, 0xE0);     
      	sunxi_lcd_para_write(sel, 0xD0);   
      	sunxi_lcd_para_write(sel, 0x04);   
      	sunxi_lcd_para_write(sel, 0x0D);   
      	sunxi_lcd_para_write(sel, 0x11);   
      	sunxi_lcd_para_write(sel, 0x13);   
      	sunxi_lcd_para_write(sel, 0x2B);   
      	sunxi_lcd_para_write(sel, 0x3F);   
      	sunxi_lcd_para_write(sel, 0x54);   
      	sunxi_lcd_para_write(sel, 0x4C);   
      	sunxi_lcd_para_write(sel, 0x18);   
      	sunxi_lcd_para_write(sel, 0x0D);   
      	sunxi_lcd_para_write(sel, 0x0B);   
      	sunxi_lcd_para_write(sel, 0x1F);   
      	sunxi_lcd_para_write(sel, 0x23);   
      
      	sunxi_lcd_cmd_write(sel, 0xE1);     
      	sunxi_lcd_para_write(sel, 0xD0);   
      	sunxi_lcd_para_write(sel, 0x04);   
      	sunxi_lcd_para_write(sel, 0x0C);   
      	sunxi_lcd_para_write(sel, 0x11);   
      	sunxi_lcd_para_write(sel, 0x13);   
      	sunxi_lcd_para_write(sel, 0x2C);   
      	sunxi_lcd_para_write(sel, 0x3F);   
      	sunxi_lcd_para_write(sel, 0x44);   
      	sunxi_lcd_para_write(sel, 0x51);   
      	sunxi_lcd_para_write(sel, 0x2F);   
      	sunxi_lcd_para_write(sel, 0x1F);   
      	sunxi_lcd_para_write(sel, 0x1F);   
      	sunxi_lcd_para_write(sel, 0x20);   
      	sunxi_lcd_para_write(sel, 0x23); 
      
          sunxi_lcd_cmd_write(sel, 0x21); 
      	sunxi_lcd_cmd_write(sel, 0x11); 
          mdelay(50);
          sunxi_lcd_cmd_write(sel, 0x29); 
          mdelay(200);
      
      	// if (info[sel].lcd_x < info[sel].lcd_y)
      	// 	address(sel, 0, 0, info[sel].lcd_x - 1, info[sel].lcd_y - 1);
      	// else
      	// 	address(sel, 0, 0, info[sel].lcd_y - 1, info[sel].lcd_x - 1);
      }
      
      static void LCD_panel_exit(unsigned int sel)
      {
      	sunxi_lcd_cmd_write(sel, 0x28);
      	sunxi_lcd_delay_ms(20);
      	sunxi_lcd_cmd_write(sel, 0x10);
      	sunxi_lcd_delay_ms(20);
      	sunxi_lcd_pin_cfg(sel, 0);
      }
      
      static s32 LCD_open_flow(u32 sel)
      {
      	lcd_fb_here;
      	/* open lcd power, and delay 50ms */
      	LCD_OPEN_FUNC(sel, LCD_power_on, 50);
      	/* open lcd power, than delay 200ms */
      	LCD_OPEN_FUNC(sel, LCD_panel_init, 200);
      
      	//LCD_OPEN_FUNC(sel, lcd_fb_black_screen, 50);
      	/* open lcd backlight, and delay 0ms */
      	LCD_OPEN_FUNC(sel, LCD_bl_open, 0);
      
      	return 0;
      }
      
      static s32 LCD_close_flow(u32 sel)
      {
      	lcd_fb_here;
      	/* close lcd backlight, and delay 0ms */
      	LCD_CLOSE_FUNC(sel, LCD_bl_close, 50);
      	/* open lcd power, than delay 200ms */
      	LCD_CLOSE_FUNC(sel, LCD_panel_exit, 10);
      	/* close lcd power, and delay 500ms */
      	LCD_CLOSE_FUNC(sel, LCD_power_off, 10);
      
      	return 0;
      }
      
      static void LCD_power_on(u32 sel)
      {
      	/* config lcd_power pin to open lcd power0 */
      	lcd_fb_here;
      	power_en(sel, 1);
      
      	sunxi_lcd_power_enable(sel, 0);
      
      	sunxi_lcd_pin_cfg(sel, 1);
      	RESET(sel, 1);
      	sunxi_lcd_delay_ms(100);
      	RESET(sel, 0);
      	sunxi_lcd_delay_ms(100);
      	RESET(sel, 1);
      }
      
      static void LCD_power_off(u32 sel)
      {
      	lcd_fb_here;
      	/* config lcd_power pin to close lcd power0 */
      	sunxi_lcd_power_disable(sel, 0);
      	power_en(sel, 0);
      }
      
      static void LCD_bl_open(u32 sel)
      {
      	sunxi_lcd_pwm_enable(sel);
      	/* config lcd_bl_en pin to open lcd backlight */
      	sunxi_lcd_backlight_enable(sel);
      	lcd_fb_here;
      }
      
      static void LCD_bl_close(u32 sel)
      {
      	/* config lcd_bl_en pin to close lcd backlight */
      	sunxi_lcd_backlight_disable(sel);
      	sunxi_lcd_pwm_disable(sel);
      	lcd_fb_here;
      }
      
      
      /* sel: 0:lcd0; 1:lcd1 */
      static s32 LCD_user_defined_func(u32 sel, u32 para1, u32 para2, u32 para3)
      {
      	lcd_fb_here;
      	return 0;
      }
      
      static int lcd_set_var(unsigned int sel, struct fb_info *p_info)
      {
      	return 0;
      }
      
      static int lcd_set_addr_win(unsigned int sel, int x, int y, int width, int height)
      {
      	address(sel, x, y, width, height);
      	return 0;
      }
      
      static int lcd_blank(unsigned int sel, unsigned int en)
      {
      	return 0;
      }
      
      struct __lcd_panel st7789v_panel = {
      	/* panel driver name, must mach the name of lcd_drv_name in sys_config.fex
      	*/
      	.name = "st7789v",
      	.func = {
      		.cfg_open_flow = LCD_open_flow,
      		.cfg_close_flow = LCD_close_flow,
      		.lcd_user_defined_func = LCD_user_defined_func,
      		.blank = lcd_blank,
      		.set_var = lcd_set_var,
      		.set_addr_win = lcd_set_addr_win,
      	},
      };
      
      发布在 V Series
      M
      mysteryli
    • 回复: wifi命令不打印任何东西

      V821平台修改后确实OK了
      但是V851S平台还要继续调查

      发布在 V Series
      M
      mysteryli
    • 回复: V821平台如何修改文件系统分区大小

      @awwwwa 在 V821平台如何修改文件系统分区大小 中说:

      https://docs.aw-ol.com/docs/soc/v821/software/configure#分区表

      这个是整个文件系统的,不是文件系统内的分区啊

      发布在 V Series
      M
      mysteryli
    • 回复: 做了一批V821的板子,现在招募有识之士一起调试开发

      企鹅群788138909

      发布在 V Series
      M
      mysteryli
    • V821平台如何修改文件系统分区大小

      如下图
      我想将/tmp的大小减小,将/的大小变大,将UDISK的大小也减小
      V821+PY32Q128
      caad2454-071c-4892-8ebc-982554226c1a-img_v3_02ro_03b8c886-1698-47f2-b267-00dc0b63ebag.jpg

      发布在 V Series
      M
      mysteryli
    • 回复: wifi命令不打印任何东西

      @momoyu 在 wifi命令不打印任何东西 中说:

      @mysteryli 我看你的截图,应该是adb里操作的?
      在 ADB 输入的 WIFI 指令操作会打印到串口,你直接用串口操作就可以了。
      或者按照下面的链接去修改:
      https://docs.aw-ol.com/docs/soc/v821/faq/v821_system#adb中输入-wifi-指令adb没有输出

      好的,但是V851S平台也是如此,用串口也没输出,这个是怎么回事呢

      发布在 V Series
      M
      mysteryli
    • 做了一批V821的板子,现在招募有识之士一起调试开发

      目前已经可以启动系统,ADB正常,sensor正常,其他外设还在调试中
      个人能力有限,有感兴趣的联系我,做了27片
      企鹅929916200
      由于是晕哥赞助的板子,因此送板子的策略需要我和他商量下
      空板也有很多,这个可以免费送,自己出邮费即可,我邮寄也行,全国都是5-6块
      还有就是只贴了大部分原件,个别原件需要手工补焊,由于我的焊工确实不怎么样,因此我不管焊接哈
      dd679d71-3725-47eb-b561-9da6bde3a46a-image.png
      79eece60-6f70-4a56-833f-bb0505097e46-image.png
      dcf8dbdb-8ef0-4b2d-bbce-4234eadcfacc-image.png
      cfcb1615-8675-4786-8fdf-10eeed2469d5-image.png

      发布在 V Series
      M
      mysteryli
    • wifi命令不打印任何东西

      如题,教程如下
      5610e4c5-56ee-443e-95dc-f6454ecb8a88-image.png
      但是我的不打印任何东西,也修改了日志级别,我有两个平台,V851S和V821丢都是这样,感觉是哪里配置的不对,请大佬指点。。
      0fb0cc79-2d75-4847-abca-733bbe518e8d-image.png

      发布在 V Series
      M
      mysteryli