导航

    全志在线开发者论坛

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

    whycan 发布的最佳帖子

    • 一个简单的LVGL仪表demo@V853官方开发板

      视频演示地址:https://www.bilibili.com/video/BV1oK411B7gJ/

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: T113-i 有支持RTL8211这款网口芯片的驱动吗

      支持RTL8211

      发布在 创龙科技专区
      whycan
      whycan晕哥
    • 回复: T113-S3 / V853 安全固件学习记录

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

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

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 芒果派麻雀到手试玩

      @jr_online

      使用lvgl编写的2048小游戏(lv_lib_100ask_2048)
      https://bbs.aw-ol.com/topic/1439

      发布在 MR Series
      whycan
      whycan晕哥
    • XR806 SDK 百度云下载 xr806_openharmony.tar.7z

      链接:https://pan.baidu.com/s/16eRZrUsnBQsBANjc54AAMw
      提取码:why6

      文件内容: xr806_openharmony.tar.7z

      发布在 Wireless & Analog Series
      whycan
      whycan晕哥
    • 回复: 一个简单的LVGL仪表demo@V853官方开发板

      736e7b02-e3ad-4b9f-8992-14053028b764-image.png ----------------

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: T113-S3烧录SD卡不能启动;提示;未找到MMC设备2 mmc 2找不到,所以不退出

      @liu0597666

      请用文字贴出全部日志记录。

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 芒果派麻雀到手试玩

      @jr_online
      给D1 SDK 添加一个简单的helloworld package
      https://bbs.aw-ol.com/topic/438

      发布在 MR Series
      whycan
      whycan晕哥
    • 全志XR32资料汇总

      XR32F429 基于主频最高可达 192MHz 的高性能 ARM Cortex-M4F 32 位 RISC 内核。 Cortex-M4F 内核具有一个浮点单元 (FPU) 单精度,它包含所有 ARM 单精度数据处理指令和数据类型。 它还实现了一个内存保护单元 (MPU),可实现应用程序安全性。 它支持集成的 832KB SRAM 和 2MB 闪存 ROM。 它还包括许多外设,包括 UART、TWI、SPI、I2S、DMIC、PWM、IrDA (T/R)、CSI、SDIO 和辅助 ADC。

      The XR32F429 devices are based on the high-performance ARM Cortex-M4F 32-bit RISC core operating at frequency up to 192MHz. The Cortex-M4F core features a Floating Point Unit (FPU) single precision which all ARM single-precision data-processing instructions and data types. It also implements a memory protection unit (MPU) which enables application security. It supports an integrated 832KB SRAM and 2MB Flash ROM. It also includes many peripherals, including UART, TWI, SPI, I2S, DMIC, PWM, IrDA (T/R), CSI, SDIO and auxiliary ADC.

      芯片特性

      • 集成高性能ARM Cortex-M4F内核,并配备832KB SRAM和16Mbit Flash

      • 集成硬件加解密引擎,保障数据传输与存储的安全

      • 集成度高,集成UART,SPI,I2C,PWM,ADC,SDIO,IrDA,I2S,DMIC,CSI等丰富的接口

      • 平台

        • ARM Cortex-M4F内核,最高192MHz运行频率
        • 内置832KB SRAM
        • 支持低功耗RTC模式
        • 集成2Kbit efuse
        • 6mm x 6mm 52pin QFN封装
      • 加解密引擎

        • 支持AES ECB/CBC/CTR,128/192/256位秘钥
        • 支持DES/3DES
        • 支持MD5/SHA/SHA256/CRC16/CRC32/PRNG
      • 外设

        • 2路SPI,3路UART,2路I2C,1路SDIO,IrDA
        • 8路PWM,8路ADC,GPIO若干
        • 1xI2S,1xDMIC,1xCSI
      • 电源

        • 单电源输入,宽电压范围2.7V-5.5V支持
        • 集成200mA 3.3VLDO,可用于外设供电
        • 内置DC-DC和LDO供内部电路使用
        • 支持低电检测
        • 支持系统关机/休眠状态唤醒
      • 时钟

        • 24MHz XTAL
        • 32768低频时钟
      • 其他

        • 工作温度-40~85℃, 存储温度-40~135℃
        • ESD HBM ±4000V,CDM ±800V

      芯片框图:
      3282fc98-19b6-4484-b4d2-cd9689434ae4-image.png

      发布在 Wireless & Analog Series
      whycan
      whycan晕哥
    • 回复: YuzuKi X 100ask V851s使用的rtsp传输实时预览摄像头数据

      7331f232-c39b-4bd4-ba12-1d12df8490c7-2c58a4f4c7790e648129a0bb0836d26.jpg

      ce4a3905-259f-4378-8ac7-a8cac05bcd6f-0407d41316c3829055f6975bd0da0fa.jpg

      谢谢百问网韦老师高老师,可以开始折腾了。

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

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

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

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

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

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

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

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

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

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

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

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

      发布在 其它全志芯片讨论区
      whycan
      whycan晕哥
    • 回复: 简单修改 哪吒d1 tina sdk 的 sys_config.fex 和 board.dts,让D1s先把Linux跑起来。

      @jr_online
      也感谢您陪我聊天解闷😊

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 全志XR32资料汇总

      软件

      使用全志官方支持的FreeRTOS系统,适配自己做的开发板,代码全部开源,github/gitee双边同步
      github地址:https://github.com/YuzukiHD/XR32SDK
      gitee地址:https://gitee.com/GloomyGhost/xr32-sdk

      芯片资料

      XR32 datasheet:XR32F429C2_Datasheet_V1.2.pdf
      XR32 User_manual:XR32F429C2_User_Manual_V1.0.pdf

      硬件参考资料

      XR32参考设计原理图.7z
      XR32封装库.7z
      XR32参考设计原理图AD版本.zip
      XR32F429C2 LCEDA封装

      发布在 Wireless & Analog Series
      whycan
      whycan晕哥
    • 回复: 在V853开发板上如何获取camera的一帧图像

      @hzhy1234
      是的

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 芒果派麻雀到手试玩

      @jr_online
      windows 用 7z 解压第一个文件

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【关于我们】全志在线开发者社区介绍

      哇酷网发来贺电🚗

      发布在 公告
      whycan
      whycan晕哥
    • 回复: Yuzukilizard V851S autostart settings

      @sergpenshin

      add some command at the end of target/allwinner/{target-board}/busybox-init-base-files/etc/init.d/rc.final

      在此文件的最后添加需要开机执行的命令: target/allwinner/{target-board}/busybox-init-base-files/etc/init.d/rc.final

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 芒果派麻雀到手试玩

      @jr_online
      在 u-boot 里面调试,可以输出一些调试信息,一般在u-boot开屏之后,Linux不再自动开屏了。

      可以接个逻辑分析仪看下时序。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: V536H打包出错

      @jinxiangwzh
      你是用nor flash吗?

      那就是 sys_partition_nor.fex

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V851S 打开Secure boot sboot引导启动失败

      T113-S3 / V853 安全固件学习记录
      https://bbs.aw-ol.com/topic/2834/share/1

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: 真离谱:使用主线Buildroot编译Tina Linux系统,然后使用全志官方PhoenixSuit烧写SPI NAND

      @whycan
      10743a24-b576-4c45-991a-7e41c5b5ef2d-5ac559e9b4554bff892a20e3ce6617b.png

      在楼主的耐心帮助下,终于编译打包成功!

      找到编译出错的原因了, 我用了电脑里面已有的 dl/ 目录,这里面的 linux/git/ 和 uboot/git 与楼主的环境冲突。 删除这些冲突目录就好了。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: xfel烧录不了32M nor flash

      @shz18877605430

      这里有 patch:

      编译、安装Windows版本sunxi-fel步骤 (32M spi flash补丁,支持W25Q256/MX25L256)

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V851SE 以太网MAC地址每次重启后会随机变化。

      805ba21b-f653-4597-a9b9-cf4a4c951c0e-image.png

      看下是不是缺少这个 sunxi_get_soc_chipid((u8 *)chipid);

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: T113 tina PC端不能通过adb和目标板进行文件传输

      @jr_online
      最优解是用编译文件系统的同一个 gcc 命令,这样 就不需要静态链接 libc 了。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 编译decodertest和encodertest报错

      @wanglang
      可能不是每一个package都验证过, 楼主你试一试找一下文件:
      find . -name cdx_log.h

      然后复制到对应目录,手动修复编译错误.

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V851s最小系统板(啥资源也没有)安排上了

      @yelong98

      37f48512-12db-4f80-aba5-e7b7bc3195d8-6503a8feaa3fc670a3939532ef211e6.jpg

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: T113 tina PC端不能通过adb和目标板进行文件传输

      @jr_online
      Makefile 里面的 LDFLAGS 环境变量,或者链接那个命令行的最后面。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 执行lunch报错“no buildserver to clean”

      @bishe
      应该没问题,make 吧

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: V853s如何实现UI图层和视频图层同时用

      package / lvgl / monitor 项目也可以参考

      发布在 V Series
      whycan
      whycan晕哥
    • 回复: T113 tina PC端不能通过adb和目标板进行文件传输

      @jr_online
      前面那个命令是手动把usb otg 切换到device状态。

      后面那个你用 gcc静态链接应该就没问题了,命令行加 -static

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 下载sdk提示需要密码

      @xuweiween914
      把 memory 改成你的用户名呢?

      发布在 代码下载问题专区
      whycan
      whycan晕哥
    • 回复: 执行lunch报错“no buildserver to clean”

      @bishe
      bison没有安装

      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: T113 tina PC端不能通过adb和目标板进行文件传输

      find / -name usb_device | xargs cat

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 下载sdk提示需要密码

      @xuweiween914

      试一试这个命令:

      git clone ssh://memory@sdk.allwinnertech.com/git_repo/XR806/xr806_sdk/xr806_sdk.git -b xr806_sdk

      发布在 代码下载问题专区
      whycan
      whycan晕哥
    • 回复: 虚拟机编译A133的longan源码失败,报 or32-elf-gcc找不到的错误

      @ceoifung

      sudo apt-get install build-essential subversion git-core repo libncurses5-dev zlib1g-dev \
          gawk flex quilt libssl-dev xsltproc libxml-parser-perl \
          mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 \
          libncurses-dev zlib1g-dev gawk openssl libssl-dev linux-tools-common gperf -y`
      
      
      发布在 编译和烧写问题专区
      whycan
      whycan晕哥
    • 回复: T113 tina PC端不能通过adb和目标板进行文件传输

      @jr_online
      板上 adbd 有没有运行?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @ztcontrol
      把出错信息贴出来看看。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @ztcontrol

      rm output/target;    find output/build/ -name .stamp_target_installed |xargs rm ; make
      

      执行这个命令, 药到病除。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 如何将BOOT0单独写进SD卡或者FLASH

      @yuzukitsuru
      删了给我发 xfel

      用 MSVC2017 编译 XFEL 项目

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: F133 RGB屏lcd_dclk_freq

      80ec2945-e88d-49a2-8f8b-7c68a4702cfa-disp-support-dynamic-adjust-tcon_div.zip

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: T113+IP101,同样问题,成功掉坑里了,幸遇此贴,成功出坑

      @lansecd
      我记得IP101和RL8201F都是台产吧?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 以太网不通

      @wb15779898961

      udhcpc -i br-lan

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: ubuntu18.04 d1 dependency install failed

      https://stackoverflow.com/questions/43769395/trying-to-install-the-package-libstdc6i386-or-ia32-libs-in-ubuntu-16-04-1-lts

      I found a solution,hope it works for others as well
      
      visit this website -> https://repogen.simplylinux.ch/ and choose your 'country' and 'release' along with necessary 'branches' and 'updates' and go to end of the page till 'Generate list' button and click it to get your new sources.list
      
      copy the text in 'sources list' text field and open sources.list file in /etc/apt/ in local file system and open in editable mode i.e., in sudo mode to edit, replace the current data with newly copy data and save it
      
      open terminal enter these commands : sudo apt-get update sudo apt-get install lib32stdc++6
      
      you are done. Now, just check if the problem with making AVD is gone or not.
      
      Share
      Improve this answer
      Follow
      
      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1/D1S 的区别是啥?

      D1-H / D1 与D1s 比较图 ,一眼看出区别
      https://bbs.aw-ol.com/topic/1181

      名称 D1-H D1s
      制程 22nm 22nm
      CPU XuanTie C906 RISC-V CPU @1.008GHz XuanTie C906 RISC-V CPU @1.008GHz
      内存 外置 DDR2/DDR3 SDRAM @ 792MHz 内置 64 MB DDR2 @ 533MHz
      外存 SD3.0/SDIO3.0/eMMC5.0 SD3.0/SDIO3.0/eMMC5.0
      DSP HiFi4 DSP 无
      编码器 JPEG/MJPEG 1080P@60fps JPEG/MJPEG 1080P@60fps
      解码器 最大4K,支持格式: H.265, H.264, MPEG-1/2/4, JPEG, VC1, Xvid, Sorenson Spark 最大1080p,支持格式: H.265, H.264, MPEG-1/2/4, JPEG, VC1, Xvid, Sorenson Spark
      图形 SmartColor2.0,DI 1080p@60fps,G2D SmartColor2.0,DI 1080p@60fps,G2D
      视频输出 HDMI 4K@30fps, RGB 1080p@60fps, Dual link LVDS 1080p@60fps,, 4 lane MIPI DSI 1920 x 1200@60fps, CVBS 支持 NTSC与PAL制式 RGB 1080p@60fps, Dual link LVDS 1080p@60fps,, 4 lane MIPI DSI 1920 x 1200@60fps, CVBS 支持 NTSC与PAL制式
      视频输入 8位CSI支持DVP, CVBS 输入支持 NTSC与PAL制式 8位CSI支持DVP, CVBS 输入支持 NTSC与PAL制式
      音频Codec 2 DAC, 3 ADC, LINEOUTLP/N, LINEOUTRP/N, HPOUTL/R, MICIN1P/1N, MICIN2P/2N, MICIN3P/3N, LINEINL/R, FMINL/R 2 DAC, 3 ADC, HPOUTL/R , MICIN3P/N, LINEINL/R, FMINL/R
      I2S 3*I2S 2*I2S
      DMIC 最大 8 DMIC 最大 8 DMIC
      OWA OWA TX 与 OWA RX, 支持 S/PDIF 接口 OWA TX 与 OWA RX, 支持 S/PDIF 接口
      安全 AES, DES, 3DES, RSA, MD5, SHA, HMAC, 2kbit OTP efuse AES, DES, 3DES, RSA, MD5, SHA, HMAC, 2kbit OTP efuse
      外设 USB 2.0 DRD (USB0) , USB 2.0 HOST (USB1), 10/100/1000 Mbps RGMII 或 RMII 接口, 6 个 UART 控制器, 2 个 SPI controllers (SPI0, SPI1), 4 个 TWI 控制器, CIR RX and CIR TX, 8 个独立 PWM 通道, 2-ch GPADC, 4-ch TPADC, 1-ch LRADC, LEDC USB 2.0 DRD (USB0) , USB 2.0 HOST (USB1), 10/100/1000 Mbps RGMII 或 RMII 接口, 6 个 UART 控制器, 2 个 SPI controllers (SPI0, SPI1), 4 个 TWI 控制器, CIR RX and CIR TX, 8 个独立 PWM 通道, 2-ch GPADC, 4-ch TPADC, LEDC
      封装 LFBGA 337, 13 mm x 13 mm eLQFP128, 14 mm x 14 mm x 1.4 mm

      图片版本

      566adb77-4de4-4530-9df7-2e1959e25cfb-D1-H&D1s.png

      D1-H / D1 与D1s 比较图 ,一眼看出区别
      https://bbs.aw-ol.com/topic/1181

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 哪吒D1开发板开启串口

      board.dts里面把对应的uart status设置为okay,注意引脚复用。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: F133-A/D1S芒果派MQ-R在tina-sdk2.0下无法识别电阻触摸屏

      @exoy28
      可能是依赖的某些so有问题,或者不存在

      用 xxx-objdump -x 可执行文件 |grep NEED 一个一个检查一下:

      $ prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-objdump -x ./out/d1s-nezha/staging_dir/target/rootfs/bin/busybox |grep NEED
        NEEDED               libcrypt.so.1
        NEEDED               libm.so.6
        NEEDED               libc.so.6
      
      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 请问怎样设置D1H开发板从sd card启动?

      用卡刷固件软件PhoenixCard,刷完后插入TF卡卡槽,默认从 TF卡启动。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 请问怎样设置D1H开发板从sd card启动?

      @gb2047

      这个 云盘链接 里面有刷卡软件和固件包,你先试一试。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1-H 开发板哪吒开发板原理图和PCB在哪里可以下载?

      c761d52a-445c-4204-80d0-56410c9ebe0e-image.png

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 请问怎样设置D1H开发板从sd card启动?

      @gb2047

      能启动Linux吗?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: tslib 校准不了

      @chdeng1

      cat /proc/interrupts
      

      看下中断次数有没有增加? 如果中断次数没增加,那先检查一下硬件问题.

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1-H Tinalinux下spi1 slave模式如何使用

      @wjx163208

      D1_Linux_SPI_开发指南.pdf

      4.2 Slave 模式驱动范例
      需要在 board.dts 中相应的 SPI 节点设备配置 spi_slave_mode = <1>。
      4.2.1 Slave 写数据
      以 spidev1.0 设备为例,发送 0~9 十个数据:

      1 #define DEVICE_NAME "/dev/spidev1.0"
      2 #define HEAD_LEN 5
      3 #define PKT_MAX_LEN 0x40
      4 #define STATUS_LEN 0x01
      5
      6 #define SUNXI_OP_WRITE 0x01
      7 #define SUNXI_OP_READ 0x03
      8
      9 #define STATUS_WRITABLE 0x02
      10 #define STATUS_READABLE 0x04
      11
      12 #define WRITE_DELAY 200
      13 #define READ_DELAY 100000
      14
      15 void dump_data(unsigned char *buf, unsigned int len)
      16 {
      17 unsigned int i;
      18 unsigned char tmp[len*2], cnt = 0;
      19
      20 for (i = 0; i < len; i++) {
      21 if (i%0x10== 0)
      22 cnt += sprintf(tmp + cnt, "0x%08x: ", i);
      23
      24 cnt += sprintf(tmp + cnt, "%02x ", buf[i]);
      25
      26 if ( (i%0x10== 0x0f) || (i == (len -1)) ) {
      27 printf("%s\n", tmp);
      28 cnt = 0;
      29 }
      30 }
      31 }
      32
      33 void batch_rand(char *buf, unsigned int length)
      34 {
      35 unsigned int i;
      36 srand(time(0));
      37
      38 for(i = 0; i < length; i++) {
      39 *(buf + i) = rand() % 256;
      40 }
      41 }
      42
      43 int main(int argc, const char *argv[])
      44 {
      45 unsigned int length = 0, test_len;
      46 char wbuf_head[HEAD_LEN] = {SUNXI_OP_WRITE, 0x00, 0x00, 0x00, 0x00};
      47 char rbuf_head[HEAD_LEN] = {SUNXI_OP_READ, 0x00, 0x00, 0x00, 0x00};
      48 char wbuf[PKT_MAX_LEN], rbuf[PKT_MAX_LEN], i, time;
      49 int fd, ret;
      50
      51 test_len = 10;//send 10 numbers
      52 if (test_len > PKT_MAX_LEN) {
      53 printf("invalid argument, numbers must less 64B\n");
      54 return -1;
      55 }
      56
      57 wbuf_head[4] = test_len;
      58 rbuf_head[4] = test_len;
      59
      60 for (i = 0; i < test_len; i++)
      61 wbuf[i] = i;
      62 printf("wbuf:\n");
      63 dump_data(wbuf, test_len);
      64
      65 fd = open(DEVICE_NAME, O_RDWR);
      66 if (fd <= 0) {
      67 printf("Fail to to open %s\n", DEVICE_NAME);
      68 ret = -1;
      69 return ret;
      70 }
      71
      72 {//write
      73 if (write(fd, wbuf_head, HEAD_LEN) != HEAD_LEN) {
      74 printf("W Fail to write head\n");
      75 ret = -1;
      76 goto err;
      77 } else
      78 printf("W write head successful\n");
      79
      80 usleep(WRITE_DELAY);
      81
      82 if (write(fd, wbuf, test_len) != test_len) {
      83 printf("W Fail to write data\n");
      84 ret = -1;
      85 goto err;
      86 } else
      87 printf("W write data successful\n");
      88
      89 usleep(READ_DELAY);
      90 }
      91
      92 err:
      93 if (fd > 0)
      94 close(fd);
      95
      96 return ret;
      97 }
      

      4.2.2 Slave 读数据
      以 spidev1.0 设备为例,读十个数据:

      1 #define DEVICE_NAME "/dev/spidev1.0"
      2 #define HEAD_LEN 5
      3 #define PKT_MAX_LEN 0x40
      4 #define STATUS_LEN 0x01
      5
      6 #define SUNXI_OP_WRITE 0x01
      7 #define SUNXI_OP_READ 0x03
      8
      9 #define STATUS_WRITABLE 0x02
      10 #define STATUS_READABLE 0x04
      11
      12 #define WRITE_DELAY 200
      13 #define READ_DELAY 100000
      15 void dump_data(unsigned char *buf, unsigned int len)
      16 {
      17 unsigned int i;
      18 unsigned char tmp[len*2], cnt = 0;
      19
      20 for (i = 0; i < len; i++) {
      21 if (i%0x10== 0)
      22 cnt += sprintf(tmp + cnt, "0x%08x: ", i);
      23
      24 cnt += sprintf(tmp + cnt, "%02x ", buf[i]);
      25
      26 if ( (i%0x10== 0x0f) || (i == (len -1)) ) {
      27 printf("%s\n", tmp);
      28 cnt = 0;
      29 }
      30 }
      31 }
      32
      33 void batch_rand(char *buf, unsigned int length)
      34 {
      35 unsigned int i;
      36 srand(time(0));
      37
      38 for(i = 0; i < length; i++) {
      39 *(buf + i) = rand() % 256;
      40 }
      41 }
      42
      43 int main(int argc, const char *argv[])
      44 {
      45 unsigned int length = 0, test_len;
      46 char wbuf_head[HEAD_LEN] = {SUNXI_OP_WRITE, 0x00, 0x00, 0x00, 0x00};
      47 char rbuf_head[HEAD_LEN] = {SUNXI_OP_READ, 0x00, 0x00, 0x00, 0x00};
      48 char wbuf[PKT_MAX_LEN], rbuf[PKT_MAX_LEN], i, time;
      49 int fd, ret;
      50
      51 test_len = 10;
      52 if (test_len > PKT_MAX_LEN) {
      53 printf("inval argument, numbers must less 64B\n");
      54 return -1;
      55 }
      56
      57 wbuf_head[4] = test_len;
      58 rbuf_head[4] = test_len;
      59
      60 fd = open(DEVICE_NAME, O_RDWR);
      61 if (fd <= 0) {
      62 printf("Fail to to open %s\n", DEVICE_NAME);
      63 ret = -1;
      64 return ret;
      65 }
      66
      67 {//read
      68 if (write(fd, rbuf_head, HEAD_LEN) != HEAD_LEN) {
      69 printf("R Fail to write head\n");
      70 ret = -1;
      71 goto err;
      72 } else
      73 printf("R write head successful\n");
      75 usleep(READ_DELAY);
      76
      77 if (read(fd, rbuf, test_len) != test_len) {
      78 printf("R Fail to read data\n");
      79 ret = -1;
      80 goto err;
      81 } else
      82 printf("R read data successful\n");
      83
      84 usleep(READ_DELAY);
      85
      86 }
      87
      88 printf("rbuf:\n");
      89 dump_data(rbuf, test_len);
      90
      91 err:
      92 if (fd > 0)
      93 close(fd);
      94
      95 return ret;
      96 }
      
      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 请问有C语言接口接口获取eth的网速1Gbps / 100Mbps吗?

      @ubuntu

      root@TinaLinux:/# cat /sys/devices/platform/soc/gmac0/net/eth0/speed
      100

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 谁有D1-H sd card image 文件

      @gb2047

      复制这段内容后打开百度网盘APP,操作更方便哦。 链接:https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol 
      提取码:awol

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 谁有D1-H sd card image 文件

      @gb2047
      您客气了,有问题可以继续跟帖。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 谁有D1-H sd card image 文件

      @whycan

      d4a2169f-7b55-4bce-8ca1-c28cc758917d-tina_d1-h-nezha_uart0_emmc.img.7z

      这个固件我测试过了,支持eMMC。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 谁有D1-H sd card image 文件

      @gb2047

      51803ffa-685c-405c-a5b3-33ef5b2748e2-image.png

      开发板已经在路上了。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1-H开发板裸机程序可以通过xfel或其他工具烧录到emmc吗

      @a792947123

      参考这个帖子:用buildroot自带的genimage把tina dragon的活干完,让dragon无活可干。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 在D1的tina上整上overlayfs

      @whycan
      今天复盘发现前面修改的不到位,

      [    4.728131] random: procd: uninitialized urandom read (4 bytes read)
      formating /dev/by-name/UDISK to ext4
      mkfs.ext4: error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directo
      formating /dev/by-name/rootfs_data to ext4
      mkfs.ext4: error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directo
      [    4.922229] mount_root: mounting /dev/root
      [    4.929631] mount_root: loading kmods from internal overlay
      

      提示缺库: libext2fs.so.2

      修改文件 package/utils/e2fsprogs/Makefile:

      $ repo diff package/utils/e2fsprogs/Makefile
      
      project package/
      diff --git a/utils/e2fsprogs/Makefile b/utils/e2fsprogs/Makefile
      index 837e77dd..5a99a673 100644
      --- a/utils/e2fsprogs/Makefile
      +++ b/utils/e2fsprogs/Makefile
      @@ -173,6 +173,8 @@ define Package/e2fsprogs/install
              $(LN) e2fsck $(1)/usr/sbin/fsck.ext4
              $(INSTALL_DIR) $(1)/usr/lib
              $(CP) $(PKG_INSTALL_DIR)/usr/lib/libe2p.so.* $(1)/usr/lib/
      +       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libext2fs.so.2* $(1)/usr/lib/
      +       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcom_err.so.2* $(1)/usr/lib/
              $(INSTALL_DIR) $(1)/etc/init.d
              $(INSTALL_DIR) $(1)/lib/functions/fsck
              $(INSTALL_DATA) ./files/e2fsck.sh $(1)/lib/functions/fsck/
      

      启动格式化正常:

      Writing superblocks and filesystem accounting information:  0/15
      done
      
      formating /dev/by-name/rootfs_data to ext4
      mke2fs 1.46.4 (18-Aug-2021)
      [   10.606705] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [   10.614536] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      Creating filesystem with 12800 1k blocks and 3200 inodes
      Filesystem UUID: 53820334-39e9-4e0f-87dc-f4d06ba4c2f7
      Superblock backups stored on blocks:
              8193
      
      Allocating group tables: done
      Writing inode tables: done
      Creating journal (1024 blocks): done
      Writing superblocks and filesystem accounting information: done
      
      [   10.971936] mount_root: mounting /dev/root
      [   10.977198] mount_root: loading kmods from internal overlay
      [   11.156955] block: attempting to load /etc/config/fstab
      e2fsck 1.46.4 (18-Aug-2021)
      /dev/by-name/UDISK: clean, 11/115920 files, 16835/462727 blocks
      [   11.328707] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts:
      [   11.352305] mount_root: switched to extroot
      [   11.369502] procd: - early -
      [   11.373087] procd: - watchdog -
      

      挂载正常:

      root@TinaLinux:/# mount
      /dev/root on /rom type squashfs (ro,noatime)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=504672k,nr_inodes=126168,mode=755)
      proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
      tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
      /dev/by-name/UDISK on /overlay type ext4 (rw,relatime)
      overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
      debugfs on /sys/kernel/debug type debugfs (rw,noatime)
      none on /sys/kernel/config type configfs (rw,relatime)
      adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
      /dev/mmcblk0p1 on /mnt/SDCARD type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
      

      读写正常:

      root@TinaLinux:/# mkdir -p /opt/
      root@TinaLinux:/#
      root@TinaLinux:/# touch /opt/test.txt
      root@TinaLinux:/#
      root@TinaLinux:/#
      
      root@TinaLinux:/# ls /overlay/upper/
      etc  opt
      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/# ls /overlay/upper/opt/
      test.txt
      

      打包命令:

      tar cvf /mnt/hgfs/D/tina_d1_open_v2_for_ext4_overlay_20220320A.tar device/config/chips/d1-h/configs/nezha/sys_partition.fex target/allwinner/d1-h-nezha/base-files/etc/config/fstab target/allwinner/d1-h-nezha/defconfig package/utils/e2fsprogs/Makefile

      补丁打包下载: tina_d1_open_v2_for_ext4_overlay_20220320A.tar

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 开发板 M2

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 有关编译c内联矢量指令时,unknown register name ‘v1’ in ‘asm’的问题

      @zny666
      不应该是 riscv64***-gcc 命令吗?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 增加Package, 生成的so 无法自动添加到 /usr/lib中

      @gonboy

      试一试这个,用buildroot:

      --来自百度网盘超级会员V4的分享
      hi,这是我用百度网盘分享的内容~复制这段内容打开「百度网盘」APP即可获取 
      链接:https://pan.baidu.com/s/1tADvigD1xtOWqieJmcuPkA?pwd=awol 
      提取码:awol

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1 内核设备树

      @geniusz
      那就按打包规则一起更新。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 全志D1编译报错

      用的是哪个linux版本呢?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 我的D1s哪吒开发板到货啦

      徒手拉低中奖率 (((

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 哪吒开发板,电阻屏的配置方法

      @gaowei15537316965 在 D1s 哪吒开发板,电阻屏的配置方法 中说:

      没法adb后台运行这个uinput

      什么情况?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1网络连接问题

      D1就是D1-H

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1 Tina系统编译失败问题

      @cockroach
      退出root,

      重新用普通用户执行一次流程,试一试?

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1 Tina系统编译失败问题

      @cockroach

      把目录所有权给当前用户:

      chown -R wangpeng 目录名/

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1 Tina系统编译失败问题

      @xiawei
      权限问题,按我楼上的方法试一试。

      发布在 MR Series
      whycan
      whycan晕哥
    • D1s 烧录/调试 SPI NOR FLASH 记录

      9a6c76a8-9658-42ce-81d2-c19e08bc6206-89ad2f7061ca90ec9b0e8e3daccb578.png

      d9c01a79-4a2d-4038-803f-71ba98b21adf-cec1cf2114507b71bde29cd3f8d3bae.png

      一顿操作猛如虎, 然后还是纹丝不动。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 烧录/调试 SPI NOR FLASH 记录

      6da08230-82db-44d2-86de-c0cb98302708-e0dfea20d0dfec81f67cd73b1e2c383.png

      然后我使用 mboot0 & pack 单独编译出 boot0_spinor.fex, 用xboot的xfel工具,发现居然spinor 初始化失败,一脸懵。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 烧录/调试 SPI NOR FLASH 记录

      c0325f42-83fa-466a-a1a8-334af0d3fc59-0cb415cc956ca62956000f4e33d1414.png

      再跟进去, 发现居然 flash id 为零, 这就奇怪了, xfel 都可以烧录,boot0居然告诉我没有flash id。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 烧录/调试 SPI NOR FLASH 记录

      IMG_20211029_233159.jpg

      066fb4fd-c934-4e8e-bf1f-89885480b0a9-image.png

      然后我使用了逻辑分析仪, 一发狠, 连goto 死循环代码都用上了,发现在死循环期间,逻辑分析仪上面啥数据都没有。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 烧录/调试 SPI NOR FLASH 记录

      e1ebb800-fe6d-4f25-bf38-1deae2187486-9a0b6bf7f9157ee14d2c314d946cf2a.png

      我想起了 melis,赶紧克隆/编译/烧录 melis到spi nor, 发现一切正常,实在没有办法,只能比较 sys_config.fex,不比不知道,一比吓一跳,竟然是因为sys_config.fex 里面没有添加 spi 节点。。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s 烧录/调试 SPI NOR FLASH 记录

      e658530e-e40a-4ef8-9b29-3e6d84708f93-133e116a6e1a0c4e338c4a8973888d8.png

      (中间省略一万字。。。)

      现在 boot0 和 uboot 也起来了, 单独烧录 boot0_nor.fex@0x00000 和 boot_package.fex@0x10000,这样按韦老师那个方法可以用buildroot重新构建编译环境问题不大了。

      中间碰到一个 xfel 的bug, 不能在非零地址烧录文件,导致浪费了很多时间,后来把整个flash反复读出来几次才发现是没有烧录进去。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: (全开源)D1s排针版本资料汇总

      烧录软件:AllwinnertechPhoenixCard (卡刷)

      烧录软件:AllwinnertechPhoeniSuitRelease20201225.zip(线刷)

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: (全开源)D1s排针版本资料汇总

      购买链接:https://item.taobao.com/item.htm?id=724377865732

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: (全开源)D1s排针版本资料汇总

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 芒果派麻雀到手试玩

      @gonboy lvgl7

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @rockenergytech
      D1 SDK TINA v1.0 / v2.0 默认就是使用 SPI NAND的。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @rockenergytech
      我记得D1s那个板级文件默认是spi nor 配置?

      发布在 MR Series
      whycan
      whycan晕哥
    • 全志D1s可以申请样片了,本站网友开源原理图与PCB送三片D1s芯片(不能与其他网友作品雷同),还能送三片液晶显示屏

      优秀作品列表:

      网友 @Excelsior 分享的 D1s 开源原理图与 PCB,待验证
      https://bbs.aw-ol.com/topic/489/share/1

      围观全栈大佬 @lovexulu 的D1s开发板
      https://bbs.aw-ol.com/topic/425/share/24

      液晶随便挑一款吧,资料基本都齐全:

      链接1: https://whycan.cn/t_3083.html 3.2 寸 360x640 R61523 I80 8bit/16bit 的IPS 51pin
      链接2: https://whycan.cn/t_3347.html 3.0寸 320x480 i80 HX8357 液晶
      链接3: https://whycan.cn/t_3307.html 3.97 NT35510 480x800 液晶
      链接4: https://whycan.cn/t_3378.html 4.3寸 NT33516 960x540 全新总成
      链接5: https://whycan.cn/t_3437.html 4.63寸 854x480 NT35510 TFT 液晶

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s D1 与 D1-H 开源项目合集

      微信截图_20211113170538.png

      e30b3e22ee738dbf764d454591503c8.jpg

      fa8b10a5242baaf921b50c5b74a12f7.png

      SCH & PCB: D1s_开源文件_LCEDA格式.rar

      fusion360 格式结构文件:
      零部件1.step
      零部件3.step

      切片文件:
      D1S02gd.stl
      D1S02g.stl

      转载地址:
      围观全栈大佬 @lovexulu 的D1s开发板 (开源在29楼)
      https://bbs.aw-ol.com/topic/425/share/29

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s D1 与 D1-H 开源项目合集

      板子功能:
      1、一路CAN和一路RS485通信
      2、TF卡
      3、SPI FLASH
      4、USB0和USB1
      5、音频输入和音频输出
      6、RGB565接口TFTLCD显示屏接口
      7、DEBUG调试串口-USB转TTL

      电路版图片
      cabbd38a-0e75-45c8-b2d5-e170cf8fa945-image.png

      PCB文件: F133_TEST_BOARD.rar

      PDF原理图: F133_TEST_BOARD.pdf

      作者: @tlled
      链接: https://whycan.com/t_7431.html#p70731

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s D1 与 D1-H 开源项目合集

      b0163dd1-cdf4-4e2d-9e24-6d35fbd57217-image.png

      “cF6E9ncwtNq3UdeczfYk8pz2rsT0cCaOAeBmDHyP”为智能对象-1.png

      【开源】YuzukiNezha D1s 核心板 Mini-PICE 核心板
      https://debugdump.com/topic/922/share/2

      发布在 MR Series
      whycan
      whycan晕哥
    • 开源个D1-H核心板,原作者 @MajorTom, 已赠送3片D1芯片

      b83d3ca9-3007-4195-837d-a857aa183965-image.png

      45ce335f-c8c8-458c-b7b0-6e0eb0bb9331-image.png

      原理图和PCB: D1-H_20220221.zip

      PCB厚度0.8mm 嘉立创叠层选2313

      转载地址:开源个D1-H核心板
      https://whycan.com/t_7842.html

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s RTL8723DS 蓝牙起不来,大伙帮我瞅瞅。

      IMG_20220124_001059.jpg

      封印

      发布在 MR Series
      whycan
      whycan晕哥
    • 哪吒开发板可用的ICN6211 MIPI转接板开源了

      回顾:

      ① 请问这个树莓派MIPI DSI 显示屏是不是用 接口芯片转的?

      ② 小麻雀直接驱动树莓派的DSI屏

      ③ 给D1哪吒开发板做一个带触摸的5寸800x480 MIPI LCD扩展版,可以把哪吒固(绑)定(在)在这个板子上。

      ④ .......

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 请问如何用命令行调整背光亮度?

      可能只能用 ioctl 命令控制背光,但是我测试了一下,并没有什么作用,而且屏幕都黑了。

      https://blog.csdn.net/weixin_43772810/article/details/111617402

      #include <stdio.h> 
      #include <sys/types.h>
      #include <sys/stat.h>  
      #include <stdlib.h> 
      #include <unistd.h> 
      #include <fcntl.h>
      #include <sys/ioctl.h>
      
      //disp驱动部分命令(与背光相关,内核目录:/include/video/sunxi_display2.h)
      #define	DISP_LCD_SET_BRIGHTNESS  0x102
      #define DISP_LCD_GET_BRIGHTNESS  0x103
      #define	DISP_LCD_BACKLIGHT_ENABLE   0x104
      #define	DISP_LCD_BACKLIGHT_DISABLE  0x105
      
      #define BRIGHTNESS_MAX 255     //最大亮度
      
      int main(int argc, char *argv[])   
      { 
      	int fd;
      	unsigned long args[3]={0}; 
      	/*打开disp设备文件*/
      	fd = open("/dev/disp", O_RDWR, 0);
      	if(fd < 0)
      	{
      		printf("open /dev/disp failed.\n");
      		return -1;
      	}
      	/*打印旧的背光值*/
      	args[0] = 0;     //选择fb0(lcd0)
      	printf("the old lcd%d brightness is %d\n",\
      	args[0],ioctl(fd,DISP_LCD_GET_BRIGHTNESS,args));
      	
      	if(argc != 2)
      	{
      		printf("ERROR: the right format: ./app [brightness]\n");
      		return -1;
      	}
      	
      	int brightness = atoi(argv[1]);  
      	
      	if(brightness < 0 || brightness > BRIGHTNESS_MAX)
      	{
      		printf("ERROR: the range is 0 to %d\n",BRIGHTNESS_MAX);
      		return -1;
      	}
      	
      	/*参数数组填参*/
      	args[0] = 0; 			      
      	args[1] = brightness; 		//背光值(本人配置里最高为255)
      	args[2] = 0;     	      //暂时用不到的参数
      	ioctl(fd,DISP_LCD_SET_BRIGHTNESS,args);
      	printf("the new lcd%d brightness is %d\n",\
      	args[0],ioctl(fd,DISP_LCD_GET_BRIGHTNESS,args));
      	close(fd);
      	return 0;
      }
      
      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 是不是驱动开启旋转之后,就没有/dev/fb0了?

      感觉没有/dev/fb0,需要在应用刷屏的地方调用驱动的FBIOPAN_DISPLAY接口,同步旋转后的buffer才会显示到LCD上。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1哪吒板开发入门,开箱即食,有带SDK的虚拟机下载

      D1 / D1s TINA v2.0 百度云盘下载:

      链接: https://pan.baidu.com/s/1rTyKuWIwMUlBY4xLJofWEg?pwd=awol
      提取码:awol

      ①解压:
      cat tina_d1_open_v2.tar.bz2.a* | tar -xjv
      
      ②从本地repo仓库同步SDK
      repo sync -l
      
      ③ source build/envsetup.sh
      
      ④ lunch
      
      ⑤ make
      
      ⑥ pack
      

      建议先安装一下软件包避免编译或打包出错:

      sudo apt-get install build-essential subversion git-core repo libncurses5-dev zlib1g-dev \
          gawk flex quilt libssl-dev xsltproc libxml-parser-perl \
          mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 \
          libncurses-dev zlib1g-dev gawk openssl libssl-dev linux-tools-common gperf -y
      
      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      QQ图片20210703204142.png

      QQ图片20210703204148.png

      编译成功, 感谢楼主!

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      2021-07-03_222100A.png

      突然感觉 tina 不香了.

      发布在 MR Series
      whycan
      whycan晕哥
    • 围观 D1s EVB

      QQ图片20210729085229A.png
      接串口,通个电试一试。

      2021-07-29_084529.png
      根据玩机经验,先用 XFEL 把 FLASH 先备份出来 ^_^
      最好备份两次以上,对比两次备份的文件是否一致。

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

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

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

      需要先解决这个问题.

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 闲鱼开了一个盲盒,TV转USB摄像头

      @bedrock
      嗯,除了莲花座,还有一个 s-video座子。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 使用D1-H驱动树莓派DSI屏幕

      @woallf

      这里有逻辑分析仪抓到的数据: https://bbs.aw-ol.com/topic/263/share/15

      这里有i2c数据生成软件: https://bbs.aw-ol.com/topic/263/share/35

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: 求助,批量时,T113 Tina Linux的rootfs,如何定制自己的内容到img里面?

      @rockenergytech

      复制到 target/ 下面的板级目录 rootfs文件夹。

      发布在 MR Series
      whycan
      whycan晕哥
    • 回复: D1s电阻触摸屏能用,但是非常不好用,得用大力戳,这是什么问题呢?

      可以参考这个帖子:D1s 在tina-sdk2.0下无法识别电阻触摸屏

      改一下触摸屏驱动的时钟初始化寄存器参数

      if (of_device_is_compatible(np, "allwinner,sun8i-ts"))
      writel(ADC_FIRST_DLY(0xf) | ADC_FIRST_DLY_MODE(1)
      | ADC_CLK_DIV(2) | FS_DIV(6) | T_ACQ(63),
      ts->base + TP_CTRL0);
      
      发布在 MR Series
      whycan
      whycan晕哥
    • 1
    • 2
    • 3
    • 2 / 3