@ArtInChip
网站芯片资料几乎没有,这个很有意思
资料全丢到gitee了,官方文档写的极为详细: https://gitee.com/artinchip
硬件:M28K(超小的全功能RK3528边缘计算平台),配合1235U迷你主机自带的千兆网口,中间1米长网线直连。
软件:Flippy-OpenWrt ,内核 5.10.160-rk35xx-flippy-2309a
软件发布信息:Base on OpenWrt R23.09.24 by lean & lienol
此次测试分两种情况,分别是CPU空闲状态和四核满载状态。
网口情况:两个网口,分别RGMII的eth0,和PCIE扩展的eth1。在板子段运行iperf3 -s ,然后电脑端iperf3 -c 192.168.2.1
结论:
CPU空闲状态下,eth0下行大约935Mb/s,上行939Mb/s。
CPU空闲状态下,eth1下行大约931Mb/s,上行939Mb/s。
CPU满载状态下,下行能保持在863~905Mb/s,上行940Mb/s左右。
以下是测试过程:
CPU空闲时,不插网线,整板功耗约为0.9~1W(5V,0.19A左右),插上两条网线后,电压和电流分别为4.89V,0.37A。
1, CPU空闲状态,测试 eth0 (RGMII, RTL8211) :测得两次分别是937和934 。
然后反向测试,为了方便起见,直接增加-R参数即可。两次分别测得946M和932M。
2,CPU空闲状态,测试 eth1 (PCIE, RTL8111) ,分别测得930M和932M
然后测试eth1的反向传输,分别测得940和938M:
3,接下来测试CPU满载情况,打满一个cpu:dd if=/dev/zero of=/dev/null &
4, 让四核心处于满载状态,测试网络正向速率:
反向速率:
蓄势待发
匠心创文档: https://gitee.com/artinchip/d211-doc
D213裸机: https://gitee.com/artinchip/baremetal
D213 RTOS: https://gitee.com/artinchip/luban-lite
D213 Linux(buildroot): https://gitee.com/artinchip/d211
D213 USB或串口刷机工具等: https://gitee.com/artinchip/tools
x▒[53]HELLO! BOOT0 is starting!
[56]BOOT0 commit : adaf1174cc
[59]set pll start
[61]fix vccio detect value:0xc0
[68]periph0 has been enabled
[71]set pll end
[72][pmu]: bus read error
[75]board init ok
[77]ZQ value = 0x2e
[79]get_pmu_exist() = -1
[81]ddr_efuse_type: 0xa
[84]trefi:7.8ms
[86][AUTO DEBUG] single rank and full DQ!
[90]ddr_efuse_type: 0xa
[93]trefi:7.8ms
[95][AUTO DEBUG] rank 0 row = 13
[98][AUTO DEBUG] rank 0 bank = 8
[101][AUTO DEBUG] rank 0 page size = 2 KB
[106]DRAM BOOT DRIVE INFO: V0.33
[109]DRAM CLK = 936 MHz
[111]DRAM Type = 3 (2:DDR2,3:DDR3)
[114]DRAMC read ODT off.
[117]DRAM ODT value: 0x42.
[120]ddr_efuse_type: 0xa
[123]DRAM SIZE =128 M
[125]dram_tpr4:0x0
[127]PLL_DDR_CTRL_REG:0xf8004d00
[130]DRAM_CLK_REG:0xc0000000
[133][TIMING DEBUG] MR2= 0x20
[141]DRAM simple test OK.
[143]rtc standby flag is 0x0, super standby flag is 0x0
[148]dram size =128
[151]card no is 0
[153]sdcard 0 line count 4
[155][mmc]: mmc driver ver 2021-05-21 14:47
[165][mmc]: Wrong media type 0x0
[168][mmc]: ***Try SD card 0***
[177][mmc]: HSSDR52/SDR25 4 bit
[180][mmc]: 50000000 Hz
[182][mmc]: 30474 MB
[184][mmc]: ***SD/MMC 0 init OK!!!***
[275]Loading boot-pkg Succeed(index=0).
[278]Entry_name = u-boot
[285]Entry_name = optee
[289]Entry_name = dtb
[292]mmc not para
[294]Jump to second Boot.
M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Ju l 23 09:25:11 UTC 2021 arm
U-Boot 2018.05-g2a1965a (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology
[00.347]CPU: Allwinner Family
[00.350]Model: sun8iw20
[00.352]DRAM: 128 MiB
[00.355]Relocation Offset is: 04ebc000
[00.381]secure enable bit: 0
[00.383]smc_tee_inform_fdt failed with: -65526[00.387]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=10 0Mhz MBus=300Mhz
[00.394]gic: sec monitor mode
[00.396]flash init start
[00.398]workmode = 0,storage type = 1
[00.402][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[00.407][mmc]: get sdc_type fail and use default host:tm1.
[00.413][mmc]: can't find node "mmc0",will add new node
[00.418][mmc]: fdt err returned <no error>
[00.422][mmc]: Using default timing para
[00.426][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.443][mmc]: card_caps:0x3000000a
[00.447][mmc]: host_caps:0x3000003f
[00.450]sunxi flash init ok
[00.453]line:703 init_clocks
[00.456]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
fdt get node offset faill: hdmi
[00.472]unable to map hdmi registers
[00.475]drv_disp_init finish
[00.484]Loading Environment from SUNXI_FLASH... OK
[00.503]boot_gui_init:start
[00.506]set disp.dev2_output_type fail. using defval=0
[00.512]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 1 ms (52.7 KiB/s)
[00.523]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 3 ms (12.2 MiB/s)
[00.535]Item0 (Map) magic is bad
[00.538]the secure storage item0 copy0 magic is bad
[00.543]Item0 (Map) magic is bad
[00.546]the secure storage item0 copy1 magic is bad
[00.550]Item0 (Map) magic is bad
[00.553]out of usb burn from boot: not need burn key
List file under ULI/factory
** Unrecognized filesystem type **
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.569]update part info
[00.572]update bootcmd
[00.575]change working_fdt 0x43e7be70 to 0x43e5be70
disable nand error: FDT_ERR_BADPATH
[00.596]update dts
Hit any key to stop autoboot: 1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[00.702]LCD open finish 0
[01.764]no vendor_boot partition is found
Android's image name: t113-evb1
[01.774]Starting kernel ...
[01.777][mmc]: MMC Device 2 not found
[01.780][mmc]: mmc 2 not find, so not exit
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61 (mango@vbox) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Lin aro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #32 SMP PREEMPT Wed Aug 10 15:39:32 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 4 MiB at 0x47c00000
[ 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: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_deb ug=0 console=ttyS0,115200 rootdelay=2 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=bo ot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmc blk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gp t=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt= 1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43f0 6000 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: 106084K/131072K available (6144K kernel code, 279K rwdata, 1468K rodata, 1024 K init, 1161K bss, 20892K reserved, 4096K 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+0x26c/0x3ec 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_id le_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008007] Switching to timer-based delay loop, resolution 41ns
[ 0.014175] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.023858] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 Bogo MIPS (lpj=240000)
[ 0.034199] pid_max: default: 32768 minimum: 301
[ 0.038943] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.046276] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.054594] CPU: Testing write buffer coherency: ok
[ 0.059794] /cpus/cpu@0 missing clock-frequency property
[ 0.065119] /cpus/cpu@1 missing clock-frequency property
[ 0.070452] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.076589] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.083239] rcu: Hierarchical SRCU implementation.
[ 0.088433] smp: Bringing up secondary CPUs ...
[ 0.094067] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.094186] smp: Brought up 1 node, 2 CPUs
[ 0.103971] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.110149] CPU: All CPU(s) started in SVC mode.
[ 0.115233] devtmpfs: initialized
[ 0.129385] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.137504] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044 62750000 ns
[ 0.147609] pinctrl core: initialized pinctrl subsystem
[ 0.153710] NET: Registered protocol family 16
[ 0.159634] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.195236] rtc_ccu: sunxi ccu init OK
[ 0.201310] ccu: sunxi ccu init OK
[ 0.205128] r_ccu: sunxi ccu init OK
[ 0.227725] iommu: Default domain type: Translated
[ 0.232769] sunxi iommu: irq = 24
[ 0.236941] SCSI subsystem initialized
[ 0.240867] usbcore: registered new interface driver usbfs
[ 0.246387] usbcore: registered new interface driver hub
[ 0.251802] usbcore: registered new device driver usb
[ 0.257622] Advanced Linux Sound Architecture Driver Initialized.
[ 0.264294] Bluetooth: Core ver 2.22
[ 0.267917] NET: Registered protocol family 31
[ 0.272354] Bluetooth: HCI device and connection manager initialized
[ 0.278741] Bluetooth: HCI socket layer initialized
[ 0.283641] Bluetooth: L2CAP socket layer initialized
[ 0.288701] Bluetooth: SCO socket layer initialized
[ 0.293804] pwm module init!
[ 0.297876] g2d 5410000.g2d: Adding to iommu group 0
[ 0.303159] G2D: rcq version initialized.major:252
[ 0.308756] clocksource: Switched to clocksource arch_sys_counter
[ 0.323293] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.332570] NET: Registered protocol family 2
[ 0.337487] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.345914] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.353620] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.360703] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.367164] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.373743] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.380921] NET: Registered protocol family 1
[ 0.386238] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.396542] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.403260] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
[ 0.409399] sunxi_spi_resource_get()2154 - Failed to get sample mode
[ 0.415761] sunxi_spi_resource_get()2159 - Failed to get sample delay
[ 0.422216] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921
[ 0.430643] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
[ 0.436891] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base c881f000, irq 39
[ 0.446496] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.457072] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.463094] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.496774] io scheduler mq-deadline registered
[ 0.501329] io scheduler kyber registered
[ 0.506371] [DISP]disp_module_init
[ 0.510310] disp 5000000.disp: Adding to iommu group 0
[ 0.515936] [DISP] parser_disp_init_para,line:1430:
[ 0.515939] of_property_read fb0_width fail
[ 0.525026] [DISP] disp_init,line:2386:
[ 0.525030] smooth display screen:0 type:1 mode:4
[ 0.549680] display_fb_request,fb_id:0
[ 0.555745] Freeing logo buffer memory: 1500K
[ 0.560636] disp_al_manager_apply ouput_type:1
[ 0.565296] sunxi_pwm_enable_dual: can't parse pwm device
[ 0.569060] [DISP]disp_module_init finish
[ 0.575746] sunxi_sid_init()551 - insmod ok
[ 0.580923] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.591114] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.598249] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[ 0.606146] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[ 0.614138] printk: console [ttyS0] enabled
[ 0.614138] printk: console [ttyS0] enabled
[ 0.623045] printk: bootconsole [earlycon0] disabled
[ 0.623045] printk: bootconsole [earlycon0] disabled
[ 0.634373] misc dump reg init
[ 0.639001] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 0.650218] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 0.657479] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 0.664832] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 0.672282] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 0.678841] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 0.685787] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 0.693541] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 0.701406] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 0.709546] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 0.717177] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 0.723968] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 0.731520] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0
[ 0.739534] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ 0.746690] [ADDR_MGT] addr_mgt_probe: success.
[ 0.752066] dma-buf: Running sanitycheck
[ 0.756485] dma-buf: Running dma_fence
[ 0.760750] sizeof(dma_fence)=48
[ 0.764478] dma-buf: Running dma_fence/sanitycheck
[ 0.769885] dma-buf: Running dma_fence/test_signaling
[ 0.775562] dma-buf: Running dma_fence/test_add_callback
[ 0.781565] dma-buf: Running dma_fence/test_late_add_callback
[ 0.788010] dma-buf: Running dma_fence/test_rm_callback
[ 0.793893] dma-buf: Running dma_fence/test_late_rm_callback
[ 0.800252] dma-buf: Running dma_fence/test_status
[ 0.805624] dma-buf: Running dma_fence/test_error
[ 0.810916] dma-buf: Running dma_fence/test_wait
[ 0.816095] dma-buf: Running dma_fence/test_wait_timeout
[ 0.858770] dma-buf: Running dma_fence/test_stub
[ 0.863967] dma-buf: Running dma_fence/race_signal_callback
[ 0.938766] thread_signal_callback[0] completed 36767 passes, 103 misses
[ 0.946314] thread_signal_callback[1] completed 36741 passes, 77 misses
[ 1.018768] thread_signal_callback[0] completed 41374 passes, 41373 misses
[ 1.026507] thread_signal_callback[1] completed 41340 passes, 41338 misses
[ 1.034752] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[ 1.042069] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[ 1.053197] random: fast init done
[ 1.234626] random: crng init done
[ 2.048778] sunxi-spinand-phy: read id failed : -110
[ 2.054368] spi-nand: probe of spi0.0 failed with error -110
[ 2.060855] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.068188] sunxi-ehci: EHCI SUNXI driver
[ 2.073155] get ehci1-controller wakeup-source is fail.
[ 2.079145] sunxi ehci1-controller don't init wakeup source
[ 2.085419] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b61480, 0x:c8837000, irq_no:3a
[ 2.097460] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
[ 2.109977] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 2.122236] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 2.129521] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.139566] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[ 2.168789] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 2.177421] hub 1-0:1.0: USB hub found
[ 2.181698] hub 1-0:1.0: 1 port detected
[ 2.186681] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.193666] sunxi-ohci: OHCI SUNXI driver
[ 2.198626] get ohci1-controller wakeup-source is fail.
[ 2.204634] sunxi ohci1-controller don't init wakeup source
[ 2.210904] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b61710
[ 2.220622] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
[ 2.233110] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 2.245330] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 2.252620] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.262522] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[ 2.343580] hub 2-0:1.0: USB hub found
[ 2.347825] hub 2-0:1.0: 1 port detected
[ 2.352951] i2c /dev entries driver
[ 2.356938] sunxi cedar version 1.1
[ 2.361071] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 2.367383] VE: sunxi_cedar_probe power-domain init!!!
[ 2.373188] VE: install start!!!
[ 2.373188]
[ 2.378690] VE: cedar-ve the get irq is 40
[ 2.378690]
[ 2.385160] VE: ve_debug_proc_info:901fd78c, data:9a6b38c1, lock:8efde653
[ 2.385160]
[ 2.394455] VE: install end!!!
[ 2.394455]
[ 2.399544] VE: sunxi_cedar_probe
[ 2.403517] Bluetooth: HCI UART driver ver 2.3
[ 2.408504] Bluetooth: HCI UART protocol H4 registered
[ 2.414288] Bluetooth: HCI UART protocol BCSP registered
[ 2.420267] Bluetooth: HCI UART protocol (null) registered
[ 2.426417] Bluetooth: HCI Realtek H5 protocol initialized
[ 2.434520] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[ 2.444548] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 2.450766] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 2.457125] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 2.463604] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 2.470074] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 2.476618] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 2.483172] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 2.489732] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 2.496709] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 2.502109] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 2.508741] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.519936] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 2.540081] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.564513] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.570226] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.582347] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[ 2.592353] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.593427] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.598548] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.616495] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.622968] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.629437] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.629448] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.635979] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.654168] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.655423] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.660724] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.678919] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.688421] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.699652] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.714016] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.723031] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.734670] mmc0: Problem switching card into high-speed mode!
[ 2.734683] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 25000000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.753161] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 25000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 2.753841] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.765033] mmc0: new SDHC card at address 0001
[ 2.772571] exFAT: Version 1.3.0
[ 2.776910] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.777807] mmcblk0: mmc0:0001 USD 29.8 GiB
[ 2.781419] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.799156] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.812020] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[ 2.813435] sunxi-spdif 2036000.spdif: Not using gpio-spdif gpio from dts
[ 2.824646] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.829414] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 2.838536] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.848202] [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.848202]
[ 2.854878] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.871228] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 2.878826] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.889303] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[ 2.896469] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.904692] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 2.910603] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.920351] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 2.938534] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 2.949489] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[ 2.961431] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[ 2.969837] NET: Registered protocol family 10
[ 2.975745] Segment Routing with IPv6
[ 2.979906] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[ 2.987317] NET: Registered protocol family 17
[ 2.992495] Bluetooth: RFCOMM TTY layer initialized
[ 2.997975] Bluetooth: RFCOMM socket layer initialized
[ 3.003792] Bluetooth: RFCOMM ver 1.11
[ 3.008569] Registering SWP/SWPB emulation handler
[ 3.028363] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[ 3.038241] sunxi-i2c sunxi-i2c2: probe success
[ 3.045696] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present!
[ 3.054958] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok
[ 3.064689] sunxi-audio-card 203605c.soundspdif: use dummy codec for simple card.
[ 3.073295] debugfs: Directory '2036000.spdif' with parent 'sndspdif' already present!
[ 3.082711] sunxi-audio-card 203605c.soundspdif: snd-soc-dummy-dai <-> 2036000.spdif mapping ok
[ 3.093432] get ehci0-controller wakeup-source is fail.
[ 3.099452] sunxi ehci0-controller don't init wakeup source
[ 3.105708] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b60f60, 0x:c88a6000, irq_no:38
[ 3.117743] [sunxi-ehci0]: Not init ehci0
[ 3.122568] get ohci0-controller wakeup-source is fail.
[ 3.128541] sunxi ohci0-controller don't init wakeup source
[ 3.134829] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b611f0
[ 3.144510] [sunxi-ohci0]: Not init ohci0
[ 3.152042] clk: Not disabling unused clocks
[ 3.156891] ALSA device list:
[ 3.160418] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.170129] cfg80211: failed to load regulatory.db
[ 3.170140] #0: audiocodec
[ 3.178726] #1: snddmic
[ 3.181701] #2: sndspdif
[ 3.184742] alloc_fd: slot 0 not NULL!
[ 3.189163] Waiting 2 sec before mounting root device...
[ 5.241786] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
[ 5.252149] devtmpfs: mounted
[ 5.257369] Freeing unused kernel memory: 1024K
[ 5.278905] Run /pseudo_init as init process
mount: mounting none on /dev failed: Resource busy
mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device
Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
/pseudo_init: line 402: mkfs.ext4: not found
can't run '/etc/preinit': No such file or directory
mount: mounting proc on /proc failed: Resource busy
mount: mounting tmpfs on /run failed: No such file or directory
hostname: can't open '/etc/hostname': No such file or directory
------run rc.preboot file-----
install private mount info
libubi: error!: "/dev/by-name/private" is not a character device
ubiblock: error!: error while probing "/dev/by-name/private"
[ 5.528032] /dev/ubiblock0_: Can't open blockdev
error 22 (Invalid argument)
mount: mounting /dev/ubiblock0_ on /tmp/private/ failed: No such file or directory
/etc/init.d/rcS: line 136: mkfs.ext4: not found
------run rc.modules file-----
[ 5.580972] usbcore: registered new interface driver usb-storage
[ 5.591535] sunxi_gpadc_init,2151, success
[ 5.596431] sunxi_gpadc_setup: get channel scan data failed
[ 5.603074] input: sunxi-gpadc0 as /devices/virtual/input/input1
[ 5.614674] get ctp_power is fail, -22
[ 5.618934] get ctp_power_ldo_vol is fail, -22
[ 5.623927] sunxi_ctp_startup: ctp_power_io is invalid.
[ 5.629862] get ctp_gesture_wakeup fail, no gesture wakeup
[ 5.636036] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[ 5.798823] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.806954] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.814626] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.822751] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.830419] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.838540] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.846206] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.854329] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.861994] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.870117] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.877732] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 6.038766] <<-GTP-ERROR->> GTP i2c test failed time 1.
[ 6.068803] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.076924] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.084591] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.092714] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.100380] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.108501] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.116165] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.124288] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.131975] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.140100] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.147714] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 6.308765] <<-GTP-ERROR->> GTP i2c test failed time 2.
[ 6.338803] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.346924] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.354591] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.362715] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.370385] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.378508] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.386181] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.394307] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.401975] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.410098] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.417712] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 6.578764] <<-GTP-ERROR->> GTP i2c test failed time 3.
[ 6.608800] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.616922] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.624590] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.632713] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.640391] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.648512] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.656177] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.664300] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.671966] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.680089] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.687704] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 6.719019] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[ 6.848769] <<-GTP-ERROR->> GTP i2c test failed time 4.
[ 6.878814] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.886938] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.894609] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.902734] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.910401] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.918522] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.926188] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.934311] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.941979] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 6.950102] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 6.957717] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 7.118764] <<-GTP-ERROR->> GTP i2c test failed time 5.
[ 7.148762] I2C communication ERROR!
[ 7.148789] regulator-dummy: Underflow of regulator enable count
[ 7.159710] gt9xxnew_ts: probe of 2-0014 failed with error -1
[ 7.241604] Error: Driver 'gt9xxnew_ts' is already registered, aborting...
insmod: can't insert '/lib/modules/5.4.61/gt9xxnew_ts.ko': Operation not permitted
[ 7.527498] RTW: module init start
[ 7.531376] RTW: rtl8189fs v5.11.3-29-g5a946024c.20200901
[ 7.537430] RTW: build time: Aug 10 2022 14:48:36
[ 7.552739] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 7.659888] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 7.666137] RTW: ----- platform_wifi_power_on sdc_id: 1
[ 7.672064] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 7.683253] RTW: rtw_inetaddr_notifier_register
[ 7.688383] RTW: module init ret=0
[ 7.692316] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 7.712806] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 7.737740] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 7.753429] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 7.766727] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[ 7.785380] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 7.796981] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 7.808849] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 7.821432] mmc1: new high speed SDIO card at address 0001
[ 7.828081] RTW: == SDIO Card Info ==
[ 7.832221] RTW: card: 8b18ddde
[ 7.835935] RTW: clock: 50000000 Hz
[ 7.840049] RTW: timing spec: sd high-speed
[ 7.844935] RTW: sd3_bus_mode: FALSE
[ 7.849148] RTW: func num: 1
[ 7.852571] RTW: func1: e73a4e79 (*)
[ 7.856770] RTW: ================
[ 7.860495] RTW: CHIP TYPE: RTL8188F
[ 7.864539] RTW: loadparam, Select P2P interface: iface_id:1
[ 7.871152] RTW: Chip Version Info: CHIP_8188F_S2_1T1R_RomVer(0)
[ 7.878030] RTW: SetHwReg: hci_sus_state=1
[ 7.884224] RTW: SetHwReg: bMacPwrCtrlOn=1
[ 7.888833] RTW: SetHwReg: hci_sus_state=2
[ 7.893626] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[ 7.901160] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[ 7.910104] RTW: sdio_power_on_check: 0x1B8 test Pass.
[ 7.915906] RTW: EEPROM type is E-FUSE
[ 7.920386] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 7.956471] RTW: hal_ReadEFuse_WiFi: data end at address=0x98
[ 7.962986] RTW: HW EFUSE
[ 7.965923] RTW: 0x000: 29 81 03 CC 00 00 50 00 00 00 04 CC 0A 0C 00 00
[ 7.973867] RTW: 0x010: 2A 2A 2A 2A 2A 2A 2D 2D 2D 2D 2D 03 FF FF FF FF
[ 7.981807] RTW: 0x020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 7.989746] RTW: 0x030: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 7.997674] RTW: 0x040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.005612] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.013549] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.021488] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.029426] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.037355] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.045290] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.053237] RTW: 0x0B0: FF FF FF FF FF FF FF FF 20 25 1A 00 00 00 00 FF
[ 8.061175] RTW: 0x0C0: FF 11 00 10 00 FF 00 FF 00 00 FF FF FF FF FF FF
[ 8.069114] RTW: 0x0D0: 3E 10 01 12 23 FF FF FF 20 04 4C 02 79 F1 21 02
[ 8.077043] RTW: 0x0E0: 0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01
[ 8.084981] RTW: 0x0F0: 01 00 00 00 00 00 00 00 00 00 00 00 02 00 FF FF
[ 8.092919] RTW: 0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8.100857] RTW: 0x110: 00 EB 00 6E 01 00 00 00 00 FF 94 A4 08 EE 20 E8
[ 8.108795] RTW: 0x120: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.116724] RTW: 0x130: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.124661] RTW: 0x140: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.132600] RTW: 0x150: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.140538] RTW: 0x160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.148467] RTW: 0x170: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.156410] RTW: 0x180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.164347] RTW: 0x190: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.172287] RTW: 0x1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.180225] RTW: 0x1B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.188154] RTW: 0x1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.196089] RTW: 0x1D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.204059] RTW: 0x1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.212000] RTW: 0x1F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 8.219949] RTW: hal_com_config_channel_plan chplan:0x20
[ 8.226292] RTW: kfree Pwr Trim flag:1
[ 8.230509] RTW: bb_gain:2
[ 8.233623] RTW: rtl8188f_FirmwareDownload((null)) tmp_ps=3
[ 8.239888] RTW: rtl8188f_FirmwareDownload fw: FW_NIC, size: 20832
[ 8.246822] RTW: rtl8188f_FirmwareDownload: fw_ver=f fw_subver=0000 sig=0x88f1, Month=06, Date=01, Hour=11, Minute=39
[ 8.258747] RTW: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 8.265677] RTW: rtl8188f_FirmwareDownload by IO write!
[ 8.392227] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07050105
[ 8.401822] RTW: _8051Reset8188: Finish
[ 8.415333] RTW: _FWFreeToGo: Polling FW ready OK! (146, 10ms), REG_MCUFWDL:0x070501c6
[ 8.424228] RTW: rtl8188f_FirmwareDownload: DLFW OK !
[ 8.429902] RTW: rtl8188f_FirmwareDownload success. write_fw:1, 170ms
[ 8.437148] RTW: <=== rtl8188f_FirmwareDownload()
[ 8.442801] RTW: hal_read_mac_hidden_rpt OK! (1, 0ms), fwdl:1, id:0x19
[ 8.450512] RTW: SetHwReg: bMacPwrCtrlOn=0
[ 8.455104] RTW: SetHwReg: hci_sus_state=3
[ 8.460220] RTW: SetHwReg: hci_sus_state=0
[ 8.464812] RTW: rtw_hal_read_chip_info in 590 ms
[ 8.470149] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 8.477680] RTW: [RF_PATH] ver_id.RF_TYPE:RF_1T1R
[ 8.482969] RTW: [RF_PATH] HALSPEC's rf_reg_trx_path_bmp:0x11, rf_reg_path_avail_num:1, max_tx_cnt:1
[ 8.493224] RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0
[ 8.499880] RTW: [RF_PATH] Registry's trx_path_bmp:0x00, tx_path_lmt:0, rx_path_lmt:0
[ 8.508661] RTW: [RF_PATH] HALDATA's trx_path_bmp:0x11, max_tx_cnt:1
[ 8.515796] RTW: [RF_PATH] HALDATA's rf_type:RF_1T1R, NumTotalRFPath:1
[ 8.523128] RTW: rtw_hal_rfpath_init trx_path_bmp:0x11(RF_1T1R), NumTotalRFPath:1, max_tx_cnt:1
[ 8.532894] RTW: [TRX_Nss] HALSPEC - tx_nss:1, rx_nss:1
[ 8.538763] RTW: [TRX_Nss] Registry - tx_nss:0, rx_nss:0
[ 8.544717] RTW: [TRX_Nss] HALDATA - tx_nss:1, rx_nss:1
[ 8.550585] RTW: rtw_hal_trxnss_init tx_nss:1, rx_nss:1
[ 8.556539] RTW: init_mlme_default_rate_set: support CCK
[ 8.562511] RTW: init_mlme_default_rate_set: support OFDM
[ 8.569150] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[ 8.577457] RTW: rtw_init_pwrctrl_priv: IPS_mode=1, LPS_mode=2, LPS_level=1
[ 8.585384] RTW: IQK FW offload:disable
[ 8.589722] RTW: Init_ODM_ComInfo_8188f(): Fv=0 Cv=5
[ 8.595338] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[ 8.605537] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 8.615128] RTW: default power by rate loaded
[ 8.620045] RTW: rtw_macaddr_cfg mac addr:94:a4:08:ee:20:e8
[ 8.626393] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 8.635536] RTW: loadparam, Select P2P interface: iface_id:1
[ 8.642035] RTW: init_mlme_default_rate_set: support CCK
[ 8.647993] RTW: init_mlme_default_rate_set: support OFDM
[ 8.654615] RTW: rtw_alloc_macid((null)) if2, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[ 8.662977] RTW: rtw_drv_add_vir_if if2 mac_addr : 96:a4:08:ee:20:e8
[ 8.670143] RTW: rtw_cfg80211_init_wiphy_band:rf_type=0
[ 8.676011] RTW: [HT] HAL Support STBC = 0x01
[ 8.680911] RTW: rtw_wiphy_alloc(phy0)
[ 8.685148] RTW: rtw_wdev_alloc(padapter=90f79636)
[ 8.690546] RTW: rtw_wdev_alloc(padapter=19cd022b)
[ 8.695919] RTW: rtw_wiphy_register(phy0)
[ 8.700435] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[ 8.707430] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[ 8.714156] RTW: rtw_ndev_init(wlan0) if1 mac_addr=94:a4:08:ee:20:e8
[ 8.721678] RTW: rtw_ndev_notifier_call(wlan0) state:17
[ 8.728219] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 8.735730] RTW: rtw_ndev_notifier_call(wlan0) state:5
[ 8.741589] RTW: rtw_ndev_init(wlan1) if2 mac_addr=96:a4:08:ee:20:e8
[ 8.749141] RTW: rtw_ndev_notifier_call(wlan1) state:17
[ 8.755685] RTW: cfg80211_rtw_get_txpower(wlan1) total max: -10000 mbm
[ 8.763203] RTW: rtw_ndev_notifier_call(wlan1) state:5
Successfully initialized wpa_supplicant
[ 11.863730] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 11.871182] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 11.879019] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 11.886413] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 11.894892] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 11.902317] RTW: rtw_ndev_notifier_call(wlan0) state:14
[ 11.908181] RTW: _netdev_open(wlan0) , bup=0
[ 11.913136] RTW: FW does not exist before power on!!
[ 11.918839] RTW: SetHwReg: hci_sus_state=1
[ 11.924930] RTW: SetHwReg: bMacPwrCtrlOn=1
[ 11.929547] RTW: SetHwReg: hci_sus_state=2
[ 11.934345] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[ 11.941884] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[ 11.950839] RTW: sdio_power_on_check: 0x1B8 test Pass.
[ 11.956600] RTW: Power on ok!
[ 11.960029] RTW: rtl8188f_FirmwareDownload(wlan0) tmp_ps=3
[ 11.966181] RTW: rtl8188f_FirmwareDownload fw: FW_NIC, size: 20832
[ 11.973130] RTW: rtl8188f_FirmwareDownload: fw_ver=f fw_subver=0000 sig=0x88f1, Month=06, Date=01, Hour=11, Minute=39
[ 11.985043] RTW: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 11.991979] RTW: rtl8188f_FirmwareDownload by IO write!
[ 12.123098] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 12.132691] RTW: _8051Reset8188: Finish
[ 12.146193] RTW: _FWFreeToGo: Polling FW ready OK! (140, 10ms), REG_MCUFWDL:0x000501c6
[ 12.155088] RTW: rtl8188f_FirmwareDownload: DLFW OK !
[ 12.160763] RTW: rtl8188f_FirmwareDownload success. write_fw:1, 170ms
[ 12.168011] RTW: <=== rtl8188f_FirmwareDownload()
[ 12.173399] RTW: HalDetectPwrDownMode(): PDN=0
[ 12.178379] RTW: Set RF Chip ID to RF_6052 and RF type to 0.
[ 12.473367] RTW: txpath=0x1, rxpath=0x1
[ 12.477669] RTW: txpath_1ss:0x1, num:1
[ 12.556897] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =94:a4:08:ee:20:e8
[ 12.566006] RTW: rtw_hal_set_macaddr_port wlan1- hw port(1) mac_addr =96:a4:08:ee:20:e8
[ 12.575216] RTW: [HW_VAR_ENABLE_RX_BAR] 0x6A2=0x500
[ 12.582719] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =94:a4:08:ee:20:e8
[ 12.591883] RTW: #### hw_var_set_opmode() -4561 hw_port(0) mode = 2 ####
[ 12.599532] RTW: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:2
[ 12.609308] RTW: kfree gain_offset 0x55:0x82060
[ 12.609914] RTW: after :0x8a060
[ 12.618703] RTW: MAC Address = 94:a4:08:ee:20:e8
[ 12.623896] RTW: rtw_start_drv_threads(wlan0) enter
[ 12.629375] RTW: rtw_start_drv_threads(wlan0) start RTW_XMIT_THREAD
[ 12.636530] RTW: rtw_start_drv_threads(wlan0) start RTW_CMD_THREAD
[ 12.643578] RTW: rtl8188f_start_thread(wlan0) start RTWHALXT
[ 12.650035] RTW: start rtl8188fs_xmit_thread(wlan0)
[ 12.650225] RTW: _netdev_vir_if_open(wlan1) , bup=0
[ 12.661070] RTW: rtw_start_drv_threads(wlan1) enter
[ 12.666540] RTW: rtl8188f_start_thread(wlan1) start RTWHALXT
[ 12.672991] RTW: _netdev_vir_if_open(wlan1) (bup=1) exit
[ 12.672994] RTW: start rtl8188fs_xmit_thread(wlan1)
[ 12.684438] RTW: -871x_drv - drv_open, bup=1
[ 12.689436] RTW: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[ 12.697074] RTW: rtw_ndev_notifier_call(wlan0) state:1
[ 12.702935] RTW: rtw_ndev_notifier_call(wlan0) state:4
[ 12.749440] RTW: cfg80211_rtw_flush_pmksa(wlan0)
------run rc.final file-----
[ 12.851378] file system registered
[ 12.867952] configfs-gadget 4100000.udc-controller: failed to start g1: -19
sh: write error: No such device
[ 12.889156] read descriptors
[ 12.892406] read strings
[ 13.107701] android_work: sent uevent USB_STATE=CONNECTED
[ 13.232105] configfs-gadget gadget: high-speed config #1: c
[ 13.238434] android_work: sent uevent USB_STATE=CONFIGURED
[ 13.798964] [ehci0-controller]: sunxi_usb_enable_ehci
[ 13.804647] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b60f60, 0x:c88a6000, irq_no:38
[ 13.817039] android_work: sent uevent USB_STATE=DISCONNECTED
[ 13.823675] sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator
[ 13.837091] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller
[ 13.844396] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3
[ 13.854651] sunxi-ehci 4101000.ehci0-controller: irq 56, io mem 0x04101000
[ 13.888784] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00
[ 13.897397] hub 3-0:1.0: USB hub found
[ 13.901678] hub 3-0:1.0: 1 port detected
[ 13.906569] [ohci0-controller]: sunxi_usb_enable_ohci
[ 13.912259] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b611f0
[ 13.922147] sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator
[ 13.934435] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller
[ 13.941726] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4
[ 13.951602] debugfs: Directory 'sunxi-ohci' with parent 'ohci' already present!
[ 13.959919] sunxi-ohci 4101400.ohci0-controller: irq 57, io mem 0x04101400
[ 14.033563] hub 4-0:1.0: USB hub found
[ 14.037836] hub 4-0:1.0: 1 port detected
host_chose finished!
clear private mount info
nice: can't execute '/usr/bin/story_ota_bin': No such file or directory
umount: can't unmount /tmp/private/: Invalid argument
libubi: error!: "/dev/by-name/private" is not a character device
ubiblock: error!: error while probing "/dev/by-name/private"
error 22 (Invalid argument)
BusyBox v1.27.2 () built-in shell (ash)
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 5C1C9C53)
----------------------------------------------
nodev debugfs
root@TinaLinux:/# [ 14.683210] RTW: ==>rtw_ps_processor .fw_state(8)
[ 14.688493] RTW: ==>ips_enter cnts:1
[ 14.692515] RTW: nolinked power save enter
[ 14.697118] RTW: ===> rtw_ips_pwr_down...................
[ 14.703179] RTW: ====> rtw_ips_dev_unload...
[ 14.717160] RTW: SetHwReg: bMacPwrCtrlOn=0
[ 14.721767] RTW: SetHwReg: hci_sus_state=3
[ 14.726833] RTW: SetHwReg: hci_sus_state=0
[ 14.731438] RTW: <=== rtw_ips_pwr_down..................... in 40ms
刷我们官方镜像 https://mangopi.org/mqr ,这里的新wifi驱动应该会自动修复efuse。
mango 说:有已经配好的固件吗?在主页没看到下载地方
Dual的直接用 MQ-R固件(T113,RTL8189)的即可
新的中文网站: https://mangopi.org.cn
手工焊接: https://www.bilibili.com/video/BV1Hu411z72D
M-Core运行Ubuntu20.04: https://www.bilibili.com/video/BV1kY4y1v78L
M-Core运行Tina简单测试:https://t.bilibili.com/641878009159090215
暂时不上架,等稳定后考虑批产
个人玩票项目,请轻喷。
基本设计到最小了,2.2 x 3CM,几乎全pin引出,默认上1GB内存(DDR3或者DDR3L),跑发行版必须舒服斯基
PCB用的HQ,指定了叠层,被无情多收200块,打样花了1000
接下来就是PCB图和实物图
然后准备铁板烧焊接
飞线测试内存,跑标准792M
测试log:
M-Core-log.txt
MQ工程开源地址: https://github.com/mangopi-sbc/MQ
ARM芯片和RV芯片完全pin2pin,但因DDR不同,T113的DRAM供电1.5V,而D1s(F133)则是1.8V.
涉及到麻雀上只需改动R10(300K)为220K即可。
https://github.com/mangopi-sbc/MQ 劝大家赶紧去star,吹了半年牛逼的小麻雀硬件开源仓库
续前贴: https://bbs.aw-ol.com/topic/311/
当时使用D1开发板驱动了,因D1的mipi是30pin,需要转接才能接树莓DSI屏。
麻雀设计的时候考虑到这点,直接板载的15Pin,所以直接接上就好。
效果:
固件:
tina_d1s_mipi_rpi_uart0.img
代码:只涉及board.dts和uboot-board.dts
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "tft08006";
lcd_backlight = <100>;
lcd_if = <4>;
lcd_x = <800>;
lcd_y = <480>;
lcd_width = <52>;
lcd_height = <52>;
lcd_dclk_freq = <33>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <2>;
lcd_pwm_freq = <1000>;
lcd_pwm_pol = <0>;
lcd_pwm_max_limit = <255>;
/*
lcd_hbp = <32>;
lcd_ht = <868>;
lcd_hspw = <4>;
lcd_vbp = <12>;
lcd_vt = <500>;
lcd_vspw = <4>;
*/
lcd_hbp = <32>;
lcd_ht = <868>;
lcd_hspw = <4>;
lcd_vbp = <10>;
lcd_vt = <520>;
lcd_vspw = <4>;
lcd_dsi_if = <0>;
lcd_dsi_lane = <1>;
lcd_lvds_if = <0>;
lcd_lvds_colordepth = <0>;
lcd_lvds_mode = <0>;
lcd_frm = <0>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_io_phase = <0x0000>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
lcd_fsync_en = <0>;
lcd_fsync_act_time = <1000>;
lcd_fsync_dis_time = <1000>;
lcd_fsync_pol = <0>;
deu_mode = <0>;
lcdgamma4iep = <22>;
smart_color = <90>;
/* lcd_gpio_0 = <&pio PG 13 GPIO_ACTIVE_HIGH>;*/
pinctrl-0 = <&dsi4lane_pins_a>;
pinctrl-1 = <&dsi4lane_pins_b>;
};
mango 说:R4将来,riscv的
哪家的riscv?建议保留f1c100s的R3版本,因为大家玩的是f1c100s这颗U,玩的是社区资料支持和学习气氛,不是开发板本身。
R3有500pcs在产。
R4计划有变,已经直接过渡到芒果派-麻雀了,看这里: https://bbs.aw-ol.com/topic/443/
tina里有直接勾选编译就行
root@TinaLinux:/# python3
Python 3.5.6 (default, Nov 25 2021, 13:54:58)
[GCC 8.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> help()
Welcome to Python 3.5's help utility!
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/3.5/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, symbols, or topics, type
"modules", "keywords", "symbols", or "topics". Each module also comes
with a one-line summary of what it does; to list the modules whose name
or summary contain a given string such as "spam", type "modules spam".
help>
You are now leaving help and returning to the Python interpreter.
If you want to ask for help on a particular object directly from the
interpreter, you can type "help(object)". Executing "help('string')"
has the same effect as typing a particular string at the help> prompt.
遇到点小插曲,由于厂家那边给GT911固化错了配置(把800*480分辨率搞成了1024*600),所以找厂家要了一份正确配置,需要ctp驱动中开启自动更新配置。
另外,tina linux驱动文件夹gt9xxnew中,分析gtp_init_panel初始化函数。因为手头这个屏幕与文件的都不同,并且看到源文件注释掉了从屏幕读取id。所以可确定sensor_id恒为0,那么就很简单了,自己的配置直接写到gt9xx.h的GOURP1即可。
#if GTP_COMPATIBLE_MODE
msleep(50);
#endif
// ret = gtp_i2c_read_dbl_check(ts->client, GTP_REG_SENSOR_ID, &sensor_id, 1);
dprintk(DEBUG_INIT, "CTP name : %s\n", config_info.name);
if (!strcmp(config_info.name, "gt9271_mb976a9")) {
sensor_id = 0;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt9110_wt097")) {
sensor_id = 1;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt9271_wt097")) {
sensor_id = 2;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt9110_g200")) {
sensor_id = 3;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt9271_noah")) {
sensor_id = 4;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt9271_p2")) {
sensor_id = 5;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt911_1060")) {
sensor_id = 6;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else if (!strcmp(config_info.name, "gt911_784")) {
sensor_id = 7;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
} else {
sensor_id = 0;
dprintk(DEBUG_INIT, "gt9xx:sensor_id = %d\n", sensor_id);
}
ret = SUCCESS;
if (SUCCESS == ret) {
if (sensor_id >= 0x08) {
printk("Invalid sensor_id(0x%02X), No Config Sent!\n", sensor_id);
ts->pnl_init_error = 1;
return -1;
}
} else {
printk("Failed to get sensor_id, No config sent!\n");
ts->pnl_init_error = 1;
return -1;
}
}
ts->gtp_cfg_len = cfg_info_len[sensor_id];
GTP_INFO( "CTP_CONFIG_GROUP%d used, config length: %d\n", sensor_id + 1, ts->gtp_cfg_len);
gt9xx.h中需增加配置:
#define CTP_CFG_GROUP1 {\
0x42,0x20,0x03,0xE0,0x01,0x0A,0x3D,0x00,0x01,0x08,0x28,0x08,\
0x5A,0x46,0x03,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,\
0x1A,0x1E,0x14,0x89,0x2A,0x09,0x57,0x5C,0xB5,0x06,0x00,0x00,\
0x00,0x02,0x01,0x1D,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x46,0x82,0x94,0xC5,0x02,0x07,0x00,0x00,0x04,\
0x96,0x4A,0x00,0x85,0x54,0x00,0x77,0x5F,0x00,0x6A,0x6C,0x00,\
0x5F,0x7A,0x00,0x5F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x02,0x04,0x06,0x08,0x0A,0x0C,0x10,0x12,\
0x14,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,\
0x04,0x06,0x08,0x0A,0x0F,0x10,0x12,0x16,0x18,0x1C,0x1D,0x1E,\
0x1F,0x20,0x21,0x22,0x24,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x4B,0x01}
效果:
TODO:以后再尝试把group配置放到dts中,会不会更优雅些?
系统:Tina for D1 (参考: https://bbs.aw-ol.com/topic/384 修改成适配D1s的)
硬件:MangoPi-Nezha MQ (芒果派-哪吒MQ),主控D1s,屏幕800*480 RGB接口
TN屏由于拍摄角度原因,颜色捉急。。
启动峰值电流有多大呢?
多次插拔观察,带RGB屏时最高0.25A,去掉屏最高0.16A
芒果派 哪吒MQ MangoPi Nezha MQ 麻雀 哪吒mini 全志D1s 开发板:
https://item.taobao.com/item.htm?id=638644511420
五寸电阻屏/电容屏: https://item.taobao.com/item.htm?id=587925184119
---------------------------------
以上由 @哇酷小管家 2021-12-08 更新
TINY200(MangoPi-R3)很多槽点,所以,麻雀来了。
麻雀小板同样作为全开源作品,面向点屏神器,在R3迷你尺寸的基础上更进一步。
1、得益于D1s芯片加持,多了DSI接口
2、板载WiFi(AP6212/RTL8723DS/XR829)
3、时髦Type-C接口
4、主控忘了打磨嘎嘎
当然,优秀设计仍得以保留:
A、独立BOOT按键
B、超高集成度
C、......
进度: 刚焊接完,热乎,等待测试。初步已进入fel。
计划: 调试完毕后筹备批产以及资料全开源上传。
小板资源:
主控D1s(内置64MB运存版本)
USB-OTG Type-C形式(fel方式刷机、接U盘、键盘、摄像头、usb网卡等)
USB-HOST Type-C形式(接U盘、键盘、摄像头、usb网卡等)
22Pin扩展排针 x2(全Pin引出)
Nand/Nor FLASH
TF卡槽
板载基于AP6212/RTL8723的WiFi/BT
15P通用树莓派DSI FPC排座
40P通用RGB FPC排座(内含4线电阻触摸接口)
6P通用电容触摸FPC排座
板载MIC*1
24Pin DVP接口(only R2 R3)
BOOT按键、复位按键
4x4cm超级迷你尺寸,4个固定装配脚
Sigma真正的开发社区是 https://we.comake.online/ 那里资源很多。
修改dts后,如何编译生效
rm ./output/images/*.dtb
make linux-clean-for-rebuild
make linux -j8
make
资料已陆续更新。 https://mangopi.org/mangopi_r
芯片封装库 ssd20x-lib.zip
这两天我上传芯片封装lib。
核心板v0.1版本可跑,但底板未回,很多没法测试,所以先将核心板升级到v0.2。主要如下:
1、边缘焊盘加长,更适合产测
2、202D封装焊盘加长,且不要存在宽度不等的焊盘
3、原点位置已向左、下移动0.5MM,优化整体布局
4、去掉WiFi,SSW101B性能确实很一般
5、202发热很大,添加散热焊盘(我发现网上在售的202模组竟然没有散热设计,怪不得那么烫)
现在这个芯片还有什么不公开
ssd20x签NDA才会释放的datasheet中,但这个ds里寄存器不完整,只有部分外设的。另外,官方带的ssw101b wifi芯片除了特性表外没其他资料,有点像黑盒子。
论坛注册完后,直接去资料下载页面: http://comake.online/index.php?p=down_list&lanmu=4&c_id=6&id=28
补充:在论坛处注册账号即可生效。
SigmaStar官方开发者中心,大家可以去注册个账号,即可下载SSD20x的文档和SDK。
官方开源: http://comake.online/index.php
mango 说:邮票孔版本,明天上班就去打板板
https://whycan.com/files/members/383/ssd202d-2021-01-03.png你们这个核心板好像和启明的有点像额,出来了吗,什么配置什么价,准备搞几块来吃灰:)
哦,比他们的小了一大圈。价格应该保持极高性价比,放心吧。
请问楼主,板子大概啥时候能买到?
春节前出demo板,春节后量产。
一般两种情况:
1、芯片内大概率用了黑IP,真要是开源出去就完犊子,企业面临巨大风险。
2、官方不重视社区,FAE不够,或者压根没这个意识。
所以ssd202我只敢做成开发板给客户,不敢做成派。
f1c则不同,资料全,做成派大家能一起玩。当然,话说回来,全志的资料也抠的一逼。
mango 说:开源文档 https://widora.io/ssd202/
BITS202以及NEO-S文档将逐渐丰富到 https://widora.io/202dev 页面
老规矩,极致迷你的22*30金手指小板板,链接里有预览图
楼主,201是DDR2 64MB,202是DDR3 128MB,还有啥大的区别吗?
没其他区别,前期可以无脑上202,以后产品化做costdown再根据实际情况上201
开源文档 https://widora.io/ssd202/
BITS202以及NEO-S文档将逐渐丰富到 https://widora.io/202dev 页面
老规矩,极致迷你的22*30金手指小板板,链接里有预览图
大家开发尽量用git方式管理源码,好处是随时pull到最新。
官方地址: https://github.com/aodzip/buildroot-tiny200
Git加速工具: http://gitd.cc
已经搞定了
我解压的姿势不对
编译已经通过了
淘宝上还不能买TINY200 r3版本的
知道什么时候能买吗?
可以买了。NOR版已上架: https://item.taobao.com/item.htm?id=587925184119
行,我找找看
我技术极差,看来是没救了
刚刚上淘宝一看,Widora Tiny200 竟然被下架了?有人知道怎么回事吗
原链接:https://item.taobao.com/item.htm?id=587925184119
因为R3即将上架:)
突然翻到这个老帖,其实不用看哪个好了,因为全志出来了个V831: https://widora.cn/topic/698
偷偷说一句:价格比210便宜。单核A7内置64M还有0.2T算力。
AIR724测试记录,的确是10Mbps :
https://sns.widora.io/topic/612/mt7688-air720-air724-%E7%AE%80%E5%8D%95%E6%B5%8B%E8%AF%95
开源sch和pcb: https://github.com/widora/TINY200
把hub和网络可换成一片lan9514 : https://www.microchip.com/wwwproducts/en/LAN9514
一个usb转4usb+1网口
即使是想要分支,也要下载主仓库: https://github.com/aodzip/u-boot
然后你就可以checkout出任意分支了。
哦,对了,如果github下载慢,欢迎使用我们搭建的开源Get服务:https://g.widora.cn 或 http://gg.widyun.com
老铁们,陈年老帖,我都快忘啦。
当前批量出的是金手指模组,使用或维护都方便,极致性价比: https://widora.cn/bitk210r2
已放弃邮票孔方式,原因: https://widora.cn/goldfinger
结帖。
1、X3芯片清仓处理: https://item.taobao.com/item.htm?id=587965204677 ,价格好商量。
2、不打算做X3板子。
来来来,
AIRV 第一版原始PCB工程已开源, https://github.com/widora/AIRV/tree/master/r1
这芯片有个小问题,NPU没有独立大内存。CNN基本上不会是受限于乘法器的,主要的限制还是内存带宽。
他这个设计要求每次算完一层网络之后都得从DRAM里面读新的参数,而K210的网络是放在SRAM里面的。
而且单核400M A7论算力应该比不上双核400M Rocket RV64+FPU,何况K210不加电压可以稳定超频600M,而且保证全温度范围。这个芯片牛逼的地方在于ISP支持高分辨率,不像K210那个最大VGA的分辨率。
我现在用K210得先用OV5640降采样到VGA,再找特征,找到了还得配置OV5640放大那个区域,然后做二次识别。顺便一提,楼主说的那个K210标称1T算力实际只有0.3T的问题,1T是超频800M的数值,理论400M最大只有0.5T,实际达到0.3T,还算可以了。
K210内部有576个乘加器,400M的频率下进行400M*576次乘法和加法,因此总共400M*576*2=0.46T次理论最大算力。
不过K210还有额外算力,KPU的pooling,归一化,激活插值(K210的激活函数不是固定的,可以load进去一条16折线),都没有算在算力里面。
专业!
由于V833是定向给阿里的,暂时我拿不到。
833比831的内存带宽大。831内置是DDR2跑533M,而833是外挂ddr3,能跑800M。
从ISP这点上看,K210其实挺适合做个协加速器。
不得不说K210体质很好,超频和温宽都相当牛
反正也没地方出去玩~~~~
详情如下:
V831芯片
ARM:A7,800M
AI:200Gops,也就是0.2T,支持Conv, Activation, Pooling, BN, LRN
RAM:64MB
存储:模组自带SPI nor或nand,底板可放SD卡
MIPI-CSI:最大500万像素
LCD:控制器可轻易驱动5寸屏 (同BITK210的5寸屏方案)
USB:高速2.0 OTG
网络:WiFi 和 RMII的PHY口, 反正有线网无线网都给你支持上
音频你输入输出啥的
软件: TinaLinux SDK
连接器:ngff m.2 key A H3.2 同BITK210
当然得配一个小底板啦。有什么需求大家聊聊