芒果派麻雀到手试玩
-
麻雀购买链接: https://item.taobao.com/item.htm?id=638644511420
麻雀购买链接: https://item.taobao.com/item.htm?id=638644511420
麻雀购买链接: https://item.taobao.com/item.htm?id=638644511420
PDF原理图: MQ_SCH_v1.5_量产版_带网络.pdf
BOM表(秀!):
https://mangopi.org/_media/zh/mq_v1.5_bom.html
SDK修改方法与固件下载(非官方玩法):
简单修改 哪吒d1 tina sdk 的 sys_config.fex 和 board.dts,让D1s先把Linux跑起来。
https://bbs.aw-ol.com/topic/384/share/2 -
徒手抓了5只带WIFI的麻雀。
-
烧个一楼的固件到TF卡上电试一试。
-
kill已经运行的lvgl_demo,手动运行TF固件自带的 lv_examples 2。
-
-
-
@gonboy lvgl7
-
此回复已被删除! -
右下角 UART3 PB6/PB7(G / T3 / R3) 可以作为默认的串口输出。
-
-
因为什么没有优化也没有,所以开机时间挺久。lvgl demo要等gt911触摸驱动就绪,故意延迟了6秒。
-
-
请问代码在哪里?
-
请问代码在哪里?
① 官方SDK下载: https://d1.docs.aw-ol.com/study/study_2getsdk/
② 骚操作下载:
百度分享: https://pan.baidu.com/s/1QjHPLrWIRQMUb7sr4eBd-g
提取码: 6666
解压密码: whycan.commd5校验码:
b6a41b47dfccad249ba7b40c5d195717 *d1_sdk.tar.zip.001
1e31cded2fc9f8c602a28fbf63449e8a *d1_sdk.tar.zip.002
9e4cdb935e4ae8b775586bb25505e33a *d1_sdk.tar.zip.003
源码下载后,再打上本帖12楼补丁。
-
用热熔胶给小麻雀做套衣裳。
-
@memory
我的屏是480x272的电阻屏,补丁上用的800x480的,是不是合适?
要不,改个480x270的放出来? -
@wuzhujian 在 芒果派麻雀到手试玩 中说:
@memory
我的屏是480x272的电阻屏,补丁上用的800x480的,是不是合适?
要不,改个480x270的放出来?嗯,已经准备采购4.3寸屏,开始新建文件夹了:
mkdir target/allwinner/d1-mangopi_mq_rgb480x272_rtp
-
@memory 只建个空目录,应该是没有用的吧?
-
@wuzhujian 在 芒果派麻雀到手试玩 中说:
@memory 只建个空目录,应该是没有用的吧?
5寸800x480,4.3寸480x272补丁: 芒果派麻雀固件与源码补丁2021-12-16.7z
LCD颜色貌似还有问题?
TF卡不能读写的问题,请执行:
mount -o remount -o rw /dev/root
-
颜色问题找到了,linux设备树 board.dts dmic数字麦克风把显示的信号线占了,disabled就好了。
-
WIFI 可以用了。
-
固件: 芒果派麻雀固件,支持WIFI 2021-12-19.7z
源码补丁: d1-mangopi_mq_source_patch_20211219_by_whycan.tgz
支持麻雀自带的WIFI模块自带的 RTL8189FTV。
解压会覆盖你修改的文件,重要文件请先保存!
解压会覆盖你修改的文件,重要文件请先保存!
解压会覆盖你修改的文件,重要文件请先保存!启动日志:
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : 27369ab [37]set pll start [39]periph0 has been enabled [42]set pll end [44][pmu]: bus read error [46]board init ok [48]ZQ value = 0x2f*********** [51]get_pmu_exist() = -1 [53]ddr_efuse_type: 0xa [56][AUTO DEBUG] single rank and full DQ! [60]ddr_efuse_type: 0xa [63][AUTO DEBUG] rank 0 row = 13 [66][AUTO DEBUG] rank 0 bank = 4 [69][AUTO DEBUG] rank 0 page size = 2 KB [72]DRAM BOOT DRIVE INFO: V0.24 [75]DRAM CLK = 528 MHz [78]DRAM Type = 2 (2:DDR2,3:DDR3) [81]DRAMC read ODT off. [83]DRAM ODT off. [85]ddr_efuse_type: 0xa [87]DRAM SIZE =64 M [91]DRAM simple test OK. [93]dram size =64 [95]card no is 0 [97]sdcard 0 line count 4 [99][mmc]: mmc driver ver 2021-04-2 16:45 [108][mmc]: Wrong media type 0x0 [111][mmc]: ***Try SD card 0*** [120][mmc]: HSSDR52/SDR25 4 bit [123][mmc]: 50000000 Hz [125][mmc]: 1904 MB [127][mmc]: ***SD/MMC 0 init OK!!!*** [174]Loading boot-pkg Succeed(index=0). [178]Entry_name = opensbi [181]Entry_name = u-boot [185]Entry_name = dtb [187]mmc not para [189]Jump to second Boot. OpenSBI v0.6 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x40000400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000040000000-0x000000004001ffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000000000000-0x0000000007ffffff (A,R,W) PMP3 : 0x0000000009000000-0x000000000901ffff (▒ U-Boot 2018.05-g0a88ac9 (Apr 30 2021 - 11:23:28 +0000) Allwinner Technology [00.272]DRAM: 64 MiB [00.274]Relocation Offset is: 01ef0000 [00.278]secure enable bit: 0 [00.281]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.287]flash init start [00.289]workmode = 0,storage type = 1 [00.293][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1 [00.298][mmc]: get sdc_type fail and use default host:tm1. [00.305][mmc]: can't find node "mmc0",will add new node [00.309][mmc]: fdt err returned <no error> [00.313][mmc]: Using default timing para [00.317][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.334][mmc]: card_caps:0x3000000a [00.337][mmc]: host_caps:0x3000003f [00.341]sunxi flash init ok [00.343]line:714 init_clocks __clk_init: clk pll_periph0x2 already initialized register fix_factor clk error [00.353]drv_disp_init fdt_getprop_u32 s_pwm.pwm-base fail [00.369]drv_disp_init finish [00.372]boot_gui_init:start [00.375]set disp.dev2_output_type fail. using defval=0 [00.381]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 1 ms (52.7 KiB/s) [00.404]bmp_name=bootlogo.bmp size 1152054 1152054 bytes read in 50 ms (22 MiB/s) [00.479]Loading Environment from SUNXI_FLASH... OK [00.498]out of usb burn from boot: not need burn key root_partition is rootfs set root to /dev/mmcblk0p5 [00.509]update part info [00.512]update bootcmd [00.515]change working_fdt 0x42aafda8 to 0x42a8fda8 [00.536]update dts Hit any key to stop autoboot: 0 [00.561]LCD open finish Android's image name: d1-mangopi_mq_rg No reserved memory region found in source FDT [00.978] Starting kernel ... [00.981][mmc]: MMC Device 2 not found [00.984][mmc]: mmc 2 not find, so not exit [ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000 [ 0.000000] Linux version 5.4.61 (whycan@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #1 PREEMPT Mon Dec 20 13:27:25 UTC 2021 [ 0.000000] cma: Reserved 8 MiB at 0x0000000043800000 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040200000-0x0000000043ffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040200000-0x0000000043ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x0000000043ffffff] [ 0.000000] On node 0 totalpages: 15872 [ 0.000000] DMA32 zone: 217 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 15872 pages, LIFO batch:3 [ 0.000000] elf_hwcap is 0x20112d [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15655 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:dsp0@mmcblk0p6:recovery@mmcblk0p7:UDISK@mmcblk0p8 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g0a88ac9(04/30/2021-11:23:28) mbr_offset=15 [ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 42192K/63488K available (6104K kernel code, 650K rwdata, 2103K rodata, 196K init, 252K bss, 13104K reserved, 8192K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 [ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000378] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001014] Console: colour dummy device 80x25 [ 0.001063] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001082] pid_max: default: 32768 minimum: 301 [ 0.001282] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001303] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.003390] ASID allocator initialised with 65536 entries [ 0.003588] rcu: Hierarchical SRCU implementation. [ 0.004319] devtmpfs: initialized [ 0.017181] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0 [ 0.018347] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.018382] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.018937] pinctrl core: initialized pinctrl subsystem [ 0.020642] NET: Registered protocol family 16 [ 0.022846] DMA: preallocated 256 KiB pool for atomic allocations [ 0.023586] cpuidle: using governor menu [ 0.065894] rtc_ccu: sunxi ccu init OK [ 0.074243] clock: sunxi ccu init OK [ 0.075324] clock: sunxi ccu init OK [ 0.114806] iommu: Default domain type: Translated [ 0.115016] sunxi iommu: irq = 4 [ 0.116297] SCSI subsystem initialized [ 0.116705] usbcore: registered new interface driver usbfs [ 0.116801] usbcore: registered new interface driver hub [ 0.116919] usbcore: registered new device driver usb [ 0.117139] mc: Linux media interface: v0.10 [ 0.117224] videodev: Linux video capture interface: v2.00 [ 0.118510] sunxi-msgbox-amp 3003000.msgbox: invalid resource [ 0.119334] Advanced Linux Sound Architecture Driver Initialized. [ 0.119993] Bluetooth: Core ver 2.22 [ 0.120088] NET: Registered protocol family 31 [ 0.120100] Bluetooth: HCI device and connection manager initialized [ 0.120125] Bluetooth: HCI socket layer initialized [ 0.120145] Bluetooth: L2CAP socket layer initialized [ 0.120193] Bluetooth: SCO socket layer initialized [ 0.120653] pwm module init! [ 0.123445] clocksource: Switched to clocksource riscv_clocksource [ 0.137721] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.156440] thermal_sys: Registered thermal governor 'step_wise' [ 0.156446] thermal_sys: Registered thermal governor 'user_space' [ 0.157051] NET: Registered protocol family 2 [ 0.157940] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.157990] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.158011] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.158027] TCP: Hash tables configured (established 512 bind 512) [ 0.158208] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.158256] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.158551] NET: Registered protocol family 1 [ 0.161498] Initialise system trusted keyrings [ 0.161827] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.170458] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.192097] Key type asymmetric registered [ 0.192116] Asymmetric key parser 'x509' registered [ 0.192142] io scheduler mq-deadline registered [ 0.192152] io scheduler kyber registered [ 0.192177] atomic64_test: passed [ 0.193640] [DISP]disp_module_init [ 0.194366] disp 5000000.disp: Adding to iommu group 0 [ 0.195119] [DISP] disp_init,line:2385: [ 0.195126] smooth display screen:0 type:1 mode:4 [ 0.224344] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator [ 0.224661] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator [ 0.237387] [DISP] disp_sys_pwm_request,line:442: [ 0.237394] disp_sys_pwm_request pwm 8 fail! -517 [ 0.237410] [DISP] disp_sys_pwm_config,line:509: [ 0.237413] disp_sys_pwm_Config, handle is NULL! [ 0.238086] display_fb_request,fb_id:0 [ 0.257975] disp_al_manager_apply ouput_type:1 [ 0.258121] [DISP] lcd_clk_config,line:731: [ 0.258135] disp 0, clk: pll(198000000),clk(198000000),dclk(33000000) dsi_rate(198000000) [ 0.258135] clk real:pll(288000000),clk(288000000),dclk(48000000) dsi_rate(0) [ 0.258198] [DISP] disp_sys_gpio_request,line:276: [ 0.258206] disp_sys_gpio_request failed, gpio_name=lcd_bl_en, gpio=123, value=0, ret=-517 [ 0.258222] [DISP] disp_sys_pwm_request,line:442: [ 0.258226] disp_sys_pwm_request pwm 8 fail! -517 [ 0.258858] [DISP]disp_module_init finish [ 0.259824] sunxi_sid_init()506 - insmod ok [ 0.268249] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.268941] uart uart0: get regulator failed [ 0.268973] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.269399] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI [ 0.269431] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 1.062486] printk: console [ttyS0] enabled [ 1.068160] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 1.079722] uart uart1: get regulator failed [ 1.084618] uart uart1: uart1 supply uart not found, using dummy regulator [ 1.092728] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI [ 1.102441] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 1.113978] uart uart3: get regulator failed [ 1.118801] uart uart3: uart3 supply uart not found, using dummy regulator [ 1.126918] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI [ 1.137014] misc dump reg init [ 1.141442] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.148708] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed! [ 1.156391] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.163728] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.171144] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.177728] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.184705] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.192582] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.200787] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.208481] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.215345] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 1.223599] [ADDR_MGT] addr_mgt_probe: module version: v1.0.9 [ 1.231220] [ADDR_MGT] addr_mgt_probe: success. [ 1.237914] libphy: Fixed MDIO Bus: probed [ 1.242489] CAN device driver interface [ 1.247233] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.254570] sunxi-ehci: EHCI SUNXI driver [ 1.259659] get ehci0-controller wakeup-source is fail. [ 1.265667] sunxi ehci0-controller don't init wakeup source [ 1.271924] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000904290, 0x:ffffffd004078000, irq_no:2e [ 1.285485] [sunxi-ehci0]: Not init ehci0 [ 1.290399] get ehci1-controller wakeup-source is fail. [ 1.296470] sunxi ehci1-controller don't init wakeup source [ 1.302752] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000904650, 0x:ffffffd00407c000, irq_no:31 [ 1.316345] hci: sunxi_insmod_ehci()600 WARN: get supply failed [ 1.322993] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.330329] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.340274] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 1.373497] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.382448] hub 1-0:1.0: USB hub found [ 1.386831] hub 1-0:1.0: 1 port detected [ 1.392166] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.399238] sunxi-ohci: OHCI SUNXI driver [ 1.404362] get ohci0-controller wakeup-source is fail. [ 1.410362] sunxi ohci0-controller don't init wakeup source [ 1.416641] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000904dd0 [ 1.427104] [sunxi-ohci0]: Not init ohci0 [ 1.432016] get ohci1-controller wakeup-source is fail. [ 1.438036] sunxi ohci1-controller don't init wakeup source [ 1.444359] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000905190 [ 1.454844] hci: sunxi_insmod_ohci()265 WARN: get supply failed [ 1.461494] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.468812] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.478705] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 1.558606] hub 2-0:1.0: USB hub found [ 1.562871] hub 2-0:1.0: 1 port detected [ 1.568653] usbcore: registered new interface driver uas [ 1.574865] usbcore: registered new interface driver usb-storage [ 1.581690] usbcore: registered new interface driver ums-alauda [ 1.588471] usbcore: registered new interface driver ums-cypress [ 1.595384] usbcore: registered new interface driver ums-datafab [ 1.602170] usbcore: registered new interface driver ums_eneub6250 [ 1.609259] usbcore: registered new interface driver ums-freecom [ 1.616151] usbcore: registered new interface driver ums-isd200 [ 1.622822] usbcore: registered new interface driver ums-jumpshot [ 1.629807] usbcore: registered new interface driver ums-karma [ 1.636444] usbcore: registered new interface driver ums-onetouch [ 1.643379] usbcore: registered new interface driver ums-realtek [ 1.650288] usbcore: registered new interface driver ums-sddr09 [ 1.657033] usbcore: registered new interface driver ums-sddr55 [ 1.663835] usbcore: registered new interface driver ums-usbat [ 1.670872] mousedev: PS/2 mouse device common for all mice [ 1.678020] ts probe start [ 1.678436] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input0 [ 1.691139] ts probe success [ 1.691562] sunxi_gpadc_init,1968, success [ 1.700300] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 1.712720] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.718592] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 1.727503] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.733384] i2c /dev entries driver [ 1.737474] IR NEC protocol handler initialized [ 1.742564] IR RC5(x/sz) protocol handler initialized [ 1.748244] IR RC6 protocol handler initialized [ 1.753316] IR JVC protocol handler initialized [ 1.758397] IR Sony protocol handler initialized [ 1.763569] IR SANYO protocol handler initialized [ 1.768835] IR Sharp protocol handler initialized [ 1.774111] IR MCE Keyboard/mouse protocol handler initialized [ 1.780634] IR XMP protocol handler initialized [ 1.785717] ir_imon_decoder: IR iMON protocol handler initialized [ 1.792529] IR RCMM protocol handler initialized [ 1.798445] sunxi cedar version 1.1 [ 1.802684] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.808995] VE: install start!!! [ 1.808995] [ 1.814643] VE: cedar-ve the get irq is 6 [ 1.814643] [ 1.821010] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) [ 1.821010] [ 1.832665] VE: install end!!! [ 1.832665] [ 1.839328] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.848580] Bluetooth: HCI UART driver ver 2.3 [ 1.853595] Bluetooth: HCI UART protocol H4 registered [ 1.859360] Bluetooth: HCI UART protocol BCSP registered [ 1.865321] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 1.872677] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 1.879127] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 1.885771] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 1.885771] [ 1.894499] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 1.903644] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50) [ 1.913673] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.919885] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.926280] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.932691] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.939171] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.945709] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.952239] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.958780] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.965862] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 1.971352] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 1.978122] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.989335] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.009542] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.034038] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.039714] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.052080] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50) [ 2.062171] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.068571] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.074970] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.081456] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.087951] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.099578] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.106124] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.112655] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.119306] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.125959] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.135506] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.147764] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.159017] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.167969] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.179620] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.204028] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.211710] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.219396] usbcore: registered new interface driver usbhid [ 2.225658] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.232619] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.244265] usbhid: USB HID core driver [ 2.250510] usbcore: registered new interface driver snd-usb-audio [ 2.260729] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.272386] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.282535] [AUDIOCODEC][sunxi_codec_parse_params][2094]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.282535] [ 2.299928] [AUDIOCODEC][sunxi_codec_parse_params][2130]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.310925] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.323063] [AUDIOCODEC][sunxi_internal_codec_probe][2266]:codec probe finished [ 2.331244] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.338216] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.349875] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.357537] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.364598] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.376258] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.383066] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.394947] sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [ 2.400667] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.410595] mmc0: new high speed SD card at address 0002 [ 2.416749] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.425002] mmcblk0: mmc0:0002 N/A 1.86 GiB [ 2.434018] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.445728] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.451366] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1 [ 2.466779] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished [ 2.475189] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102! [ 2.486911] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed [ 2.499263] NET: Registered protocol family 10 [ 2.505890] Segment Routing with IPv6 [ 2.510206] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.517871] NET: Registered protocol family 17 [ 2.522914] can: controller area network core (rev 20170425 abi 9) [ 2.530091] NET: Registered protocol family 29 [ 2.535135] can: raw protocol (rev 20170425) [ 2.539933] can: broadcast manager protocol (rev 20170425 t) [ 2.546307] can: netlink gateway (rev 20190810) max_hops=1 [ 2.552825] Bluetooth: RFCOMM TTY layer initialized [ 2.558436] Bluetooth: RFCOMM socket layer initialized [ 2.564316] Bluetooth: RFCOMM ver 1.11 [ 2.569779] Loading compiled-in X.509 certificates [ 2.578211] HDMI 2.0 driver init start! [ 2.582506] boot_hdmi=false [ 2.585831] ERROR: pinctrl_get for HDMI2.0 DDC fail [ 2.592936] HDMI2.0 module init end [ 2.628902] twi twi2: twi2 supply twi not found, using dummy regulator [ 2.642497] sunxi_i2c_probe()2262 - [i2c2] probe success [ 2.655010] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.666873] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.674608] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.684359] clk: Not disabling unused clocks [ 2.689158] ALSA device list: [ 2.692468] #0: audiocodec [ 2.695841] cfg80211: failed to load regulatory.db [ 2.701326] alloc_fd: slot 0 not NULL! [ 2.718764] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: (null) [ 2.727358] VFS: Mounted root (ext4 filesystem) readonly on device 179:5. [ 2.736028] devtmpfs: mounted [ 2.739593] Freeing unused kernel memory: 196K [ 2.744642] This architecture does not have kernel memory protection. [ 2.751862] Run /sbin/init as init process [ 2.758555] random: fast init done [ 2.895282] init: Console is alive [ 2.899425] init: - watchdog - [ 2.903018] init: - preinit - [ 3.173587] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 formating /dev/by-name/UDISK to ext4 /etc/preinit: line 1: mkfs.ext4: not found [ 3.282389] mount_root: mounting /dev/root [ 3.287573] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) [ 3.294082] mount_root: loading kmods from internal overlay [ 3.408721] block: attempting to load /etc/config/fstab [ 3.417361] block: extroot: device not present, retrying in 5 seconds [ 3.685040] random: procd: uninitialized urandom read (4 bytes read) [ 6.183481] hdmi_hpd_sys_config_release [ 6.203483] [ 6.203483] insmod_device_driver [ 6.203483] [ 8.494277] block: extroot: cannot find device UDISK [ 8.514803] procd: - early - [ 8.518277] procd: - watchdog - [ 8.533012] random: procd: uninitialized urandom read (4 bytes read) [ 8.869571] procd: - watchdog - [ 8.883899] procd: - ubus - [ 8.887860] procd (1): /proc/114/oom_adj is deprecated, please use /proc/114/oom_score_adj instead. [ 8.912755] random: ubusd: uninitialized urandom read (4 bytes read) [ 8.943124] random: ubusd: uninitialized urandom read (4 bytes read) [ 8.991109] procd: - init - Please press Enter to activate this console. [ 10.117253] fuse: init (API version 7.31) [ 10.464647] file system registered [ 10.604944] configfs-gadget 4100000.udc-controller: failed to start g1: -19 [ 10.937802] read descriptors [ 10.941032] read strings [ 11.143694] sunxi_set_cur_vol_work()394 WARN: get power supply failed [ 11.234242] android_work: sent uevent USB_STATE=CONNECTED [ 11.240328] sunxi_set_cur_vol_work()394 WARN: get power supply failed [ 11.365671] configfs-gadget gadget: high-speed config #1: c [ 11.372084] android_work: sent uevent USB_STATE=CONFIGURED [ 16.397455] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 33.639037] RTL871X: module init start [ 33.643226] RTL871X: rtl8189fs v4.3.24.8_22657.20170607 [ 33.649475] RTL871X: module init ret=0 [ 47.068520] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 47.084895] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 47.192068] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 47.206986] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 47.229279] get ctp_power is fail, -22 [ 47.233610] get ctp_power_ldo_vol is fail, -22 [ 47.238614] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 47.250303] sunxi_ctp_startup: ctp_power_io is invalid. [ 47.256671] get ctp_gesture_wakeup fail, no gesture wakeup [ 47.262884] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator [ 47.284752] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 47.299489] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 47.312844] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 47.331905] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 47.343589] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 47.355570] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 47.368975] mmc1: new high speed SDIO card at address 0001 [ 47.376198] RTL871X: CHIP TYPE: RTL8188F [ 47.381049] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1 [ 47.388705] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0) [ 47.398036] RTL871X: SetHwReg8188F: hci_sus_state=1 [ 47.405603] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1 [ 47.411042] RTL871X: SetHwReg8188F: hci_sus_state=2 [ 47.416905] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f [ 47.424371] RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same. [ 47.433271] RTL871X: PowerOnCheck: 0x1B8 test Pass. [ 47.438919] RTL871X: EEPROM type is E-FUSE [ 47.444304] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0 [ 47.483871] input: gt9xxnew_ts as /devices/virtual/input/input2 [ 47.583818] xt_time: kernel timezone is -0000 [ 47.614031] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x98 [ 47.633574] RTL871X: HW EFUSE [ 47.636889] RTL871X: 0x000: [ 47.636893] 29 [ 47.640097] 81 [ 47.642041] 03 [ 47.673656] CC [ 47.675611] 00 [ 47.677556] 00 [ 47.679536] 50 [ 47.681481] 00 [ 47.683424] 00 [ 47.700132] 00 [ 47.707829] 04 [ 47.711022] CC [ 47.717240] 0A [ 47.719194] 0C [ 47.721139] 00 [ 47.723083] 00 [ 47.738623] RTL871X: 0x010: [ 47.738630] 2A [ 47.741844] 2A [ 47.745287] 2A [ 47.753624] 2A [ 47.755579] 2A [ 47.757523] 2A [ 47.759502] 2D [ 47.761449] 2D [ 47.763393] 2D [ 47.773560] 2D [ 47.775516] 2D [ 47.777459] 03 [ 47.779403] FF [ 47.781345] FF [ 47.783323] FF [ 47.790853] FF [ 47.795499] RTL871X: 0x020: [ 47.795505] FF [ 47.803558] FF [ 47.805549] FF [ 47.807496] FF [ 47.809440] FF [ 47.811384] FF [ 47.813328] FF [ 47.828348] FF [ 47.830303] FF [ 47.832538] FF [ 47.842267] FF [ 47.844370] FF [ 47.846319] FF [ 47.848261] FF [ 47.850205] FF [ 47.852188] FF [ 47.866169] RTL871X: 0x030: [ 47.866177] FF [ 47.869390] FF [ 47.871335] FF [ 47.873279] FF [ 47.885729] FF [ 47.887684] FF [ 47.889628] FF [ 47.891573] FF [ 47.895778] FF [ 47.903630] FF [ 47.905584] FF [ 47.907528] FF [ 47.909510] FF [ 47.911454] FF [ 47.913398] FF [ 47.925619] FF [ 47.929418] RTL871X: 0x040: [ 47.929420] FF [ 47.932659] FF [ 47.938135] FF [ 47.942488] FF [ 47.952864] FF [ 47.955003] FF [ 47.956954] FF [ 47.958897] FF [ 47.960832] FF [ 47.963066] FF [ 47.973574] FF [ 47.975529] FF [ 47.977473] FF [ 47.979454] FF [ 47.981400] FF [ 47.983345] FF [ 47.993595] RTL871X: 0x050: [ 47.993602] FF [ 47.996816] FF [ 47.998759] FF [ 48.000703] FF [ 48.002682] FF [ 48.010863] FF [ 48.015146] FF [ 48.017100] FF [ 48.019045] FF [ 48.021279] FF [ 48.023224] FF [ 48.036011] FF [ 48.037964] FF [ 48.039908] FF [ 48.041852] FF [ 48.051147] FF [ 48.056627] RTL871X: 0x060: [ 48.056635] FF [ 48.062553] FF [ 48.067059] FF [ 48.069014] FF [ 48.070992] FF [ 48.072939] FF [ 48.085651] FF [ 48.093566] FF [ 48.095520] FF [ 48.097755] FF [ 48.099690] FF [ 48.101634] FF [ 48.142822] FF [ 48.153581] FF [ 48.155537] FF [ 48.157480] FF [ 48.161269] RTL871X: 0x070: [ 48.161271] FF [ 48.186590] FF [ 48.188545] FF [ 48.203586] FF [ 48.205541] FF [ 48.207484] FF [ 48.209463] FF [ 48.211409] FF [ 48.213351] FF [ 48.253625] FF [ 48.255615] FF [ 48.257561] FF [ 48.259505] FF [ 48.261447] FF [ 48.263391] FF [ 48.282048] FF [ 48.290261] RTL871X: 0x080: [ 48.290268] FF [ 48.293680] FF [ 48.297105] FF [ 48.299059] FF [ 48.310530] FF [ 48.312484] FF [ 48.325832] FF [ 48.327788] FF [ 48.329732] FF [ 48.331968] FF [ 48.353552] FF [ 48.355507] FF [ 48.357451] FF [ 48.359429] FF [ 48.361376] FF [ 48.363320] FF [ 48.387743] RTL871X: 0x090: [ 48.387749] FF [ 48.390962] FF [ 48.392906] FF [ 48.410983] FF [ 48.413044] FF [ 48.423594] FF [ 48.425548] FF [ 48.427493] FF [ 48.429474] FF [ 48.431711] FF [ 48.453549] FF [ 48.455504] FF [ 48.457448] FF [ 48.459392] FF [ 48.461335] FF [ 48.463315] FF [ 48.477368] RTL871X: 0x0a0: [ 48.477374] FF [ 48.485013] FF [ 48.489303] FF [ 48.491257] FF [ 48.494856] FF [ 48.503914] FF [ 48.505868] FF [ 48.507813] FF [ 48.511279] FF [ 48.520802] FF [ 48.522756] FF [ 48.524811] FF [ 48.528391] FF [ 48.530345] FF [ 48.537763] FF [ 48.539718] FF [ 48.548406] RTL871X: 0x0b0: [ 48.548413] FF [ 48.556888] FF [ 48.558841] FF [ 48.560786] FF [ 48.568178] FF [ 48.570134] FF [ 48.572078] FF [ 48.580070] FF [ 48.582024] 20 [ 48.591002] 25 [ 48.592957] 1A [ 48.598435] 00 [ 48.600389] 00 [ 48.608610] 00 [ 48.610565] 00 [ 48.612576] FF [ 48.619565] RTL871X: 0x0c0: [ 48.619572] FF [ 48.628059] 11 [ 48.630014] 00 [ 48.631957] 10 [ 48.640370] 00 [ 48.642324] FF [ 48.650623] 00 [ 48.652578] FF [ 48.656608] 00 [ 48.658918] 00 [ 48.666328] FF [ 48.668283] FF [ 48.670293] FF [ 48.678528] FF [ 48.680484] FF [ 48.682464] FF [ 48.691585] RTL871X: 0x0d0: [ 48.691591] 3E [ 48.699371] 10 [ 48.701327] 01 [ 48.708509] 12 [ 48.713254] 23 [ 48.724714] FF [ 48.733698] FF [ 48.735653] FF [ 48.743584] 20 [ 48.745829] 04 [ 48.747772] 4C [ 48.763577] 02 [ 48.770757] 79 [ 48.772712] F1 [ 48.783354] 21 [ 48.793559] 02 [ 48.801176] RTL871X: 0x0e0: [ 48.801183] 0C [ 48.813561] 00 [ 48.815594] 22 [ 48.817544] 04 [ 48.819488] 00 [ 48.832986] 08 [ 48.846306] 00 [ 48.853629] 32 [ 48.855620] FF [ 48.857857] 21 [ 48.875374] 02 [ 48.877415] 0C [ 48.879396] 00 [ 48.893605] 22 [ 48.895559] 2A [ 48.908219] 01 [ 48.912019] RTL871X: 0x0f0: [ 48.912021] 01 [ 48.920525] 00 [ 48.922478] 00 [ 48.926676] 00 [ 48.930691] 00 [ 48.938284] 00 [ 48.940238] 00 [ 48.944812] 00 [ 48.947147] 00 [ 48.950502] 00 [ 48.952457] 00 [ 48.959856] 00 [ 48.961811] 02 [ 48.965227] 00 [ 48.967180] FF [ 48.969125] FF [ 48.983568] RTL871X: 0x100: [ 48.983647] 00 [ 48.986860] 00 [ 48.990668] 00 [ 48.992621] 00 [ 49.000101] 00 [ 49.002056] 00 [ 49.007071] 00 [ 49.012655] 00 [ 49.017787] 00 [ 49.020031] 00 [ 49.021976] 00 [ 49.028951] 00 [ 49.032845] 00 [ 49.036318] 00 [ 49.038271] 00 [ 49.040251] 00 [ 49.059572] RTL871X: 0x110: [ 49.059579] 00 [ 49.062856] EB [ 49.070250] 00 [ 49.072203] 6E [ 49.075091] 01 [ 49.077135] 00 [ 49.079082] 00 [ 49.081027] 00 [ 49.091275] 00 [ 49.094358] FF [ 49.096312] 94 [ 49.098295] A4 [ 49.108895] 08 [ 49.113066] C5 [ 49.116079] 12 [ 49.118032] 65 [ 49.127057] RTL871X: 0x120: [ 49.127063] FF [ 49.130278] FF [ 49.140277] FF [ 49.148877] FF [ 49.150831] FF [ 49.152776] FF [ 49.163628] FF [ 49.171513] FF [ 49.178136] FF [ 49.191577] FF [ 49.202072] FF [ 49.207205] FF [ 49.209157] FF [ 49.211102] FF [ 49.233551] FF [ 49.242718] FF [ 49.253564] RTL871X: 0x130: [ 49.253571] FF [ 49.256784] FF [ 49.279696] FF [ 49.281651] FF [ 49.290480] FF [ 49.292435] FF [ 49.306887] FF [ 49.311541] FF [ 49.316947] FF [ 49.325773] FF [ 49.331684] FF [ 49.338982] FF [ 49.341324] FF [ 49.349836] FF [ 49.358768] FF [ 49.361934] FF [ 49.368639] RTL871X: 0x140: [ 49.368646] FF [ 49.372269] FF [ 49.379529] FF [ 49.386072] FF [ 49.391057] FF [ 49.403685] FF [ 49.416061] FF [ 49.418016] FF [ 49.419961] FF [ 49.443026] FF [ 49.453548] FF [ 49.455541] FF [ 49.457487] FF [ 49.476209] FF [ 49.483562] FF [ 49.493604] FF [ 49.512948] RTL871X: 0x150: [ 49.512954] FF [ 49.523617] FF [ 49.525608] FF [ 49.527553] FF [ 49.555457] FF [ 49.557411] FF [ 49.559401] FF [ 49.582190] FF [ 49.585570] FF [ 49.593555] FF [ 49.595508] FF [ 49.597452] FF [ 49.625773] FF [ 49.633574] FF [ 49.635528] FF [ 49.653142] FF [ 49.661134] RTL871X: 0x160: [ 49.661141] FF [ 49.670404] FF [ 49.673558] FF [ 49.696461] FF [ 49.698453] FF [ 49.700398] FF [ 49.733442] FF [ 49.735503] FF [ 49.737448] FF [ 49.762875] FF [ 49.774502] FF [ 49.783564] FF [ 49.785518] FF [ 49.799400] FF [ 49.801419] FF [ 49.819175] FF [ 49.822973] RTL871X: 0x170: [ 49.822975] FF [ 49.841961] FF [ 49.847063] FF [ 49.849055] FF [ 49.851002] FF [ 49.866140] FF [ 49.868095] FF [ 49.875437] FF [ 49.877393] FF [ 49.879628] FF [ 49.902180] FF [ 49.909170] FF [ 49.911126] FF [ 49.933565] FF [ 49.941251] FF [ 49.943207] FF [ 49.962567] RTL871X: 0x180: [ 49.962573] FF [ 49.977028] FF [ 49.990488] FF [ 49.992443] FF [ 50.007252] FF [ 50.009271] FF [ 50.023567] FF [ 50.025521] FF [ 50.043888] FF [ 50.048804] FF [ 50.050758] FF [ 50.052703] FF [ 50.083654] FF [ 50.085609] FF [ 50.103214] FF [ 50.108340] FF [ 50.112140] RTL871X: 0x190: [ 50.112142] FF [ 50.141273] FF [ 50.150859] FF [ 50.152814] FF [ 50.163640] FF [ 50.173587] FF [ 50.175541] FF [ 50.182710] FF [ 50.187845] FF [ 50.190091] FF [ 50.192035] FF [ 50.209686] FF [ 50.211641] FF [ 50.223641] FF [ 50.230885] FF [ 50.232839] FF [ 50.262179] RTL871X: 0x1a0: [ 50.262187] FF [ 50.276677] FF [ 50.286602] FF [ 50.288557] FF [ 50.290502] FF [ 50.339184] FF [ 50.341139] FF [ 50.343084] FF [ 50.378588] FF [ 50.380834] FF [ 50.413554] FF [ 50.425874] FF [ 50.427828] FF [ 50.429772] FF [ 50.466046] FF [ 50.483984] FF [ 50.508738] RTL871X: 0x1b0: [ 50.508744] FF [ 50.511958] FF [ 50.534849] FF [ 50.536804] FF [ 50.538749] FF [ 50.576967] FF [ 50.578922] FF [ 50.580867] FF [ 50.609079] FF [ 50.611324] FF [ 50.613269] FF [ 50.661562] FF [ 50.673101] FF [ 50.694773] FF [ 50.715551] FF [ 50.756191] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0 [ 50.765723] FF [ 50.767580] RTL871X: 0x1c0: [ 50.767583] FF Trying to connect to SWUpdate...[ 50.806408] FF [ 50.829238] FF [ 50.832591] FF [ 50.882080] FF [ 50.919546] FF [ 50.933542] FF [ 50.935496] FF [ 50.974786] FF [ 50.977031] FF [ 51.002264] FF [ 51.020739] FF [ 51.022693] FF [ 51.071160] FF [ 51.073367] FF [ 51.111137] FF [ 51.136503] RTL871X: 0x1d0: [ 51.136510] FF [ 51.139789] FF [ 51.187972] FF [ 51.189926] FF [ 51.205992] FF [ 51.218640] FF [ 51.220662] FF [ 51.222609] FF [ 51.241975] FF [ 51.260207] FF [ 51.263104] FF [ 51.273712] FF [ 51.275667] FF [ 51.277612] FF [ 51.293561] FF [ 51.295516] FF [ 51.314351] RTL871X: 0x1e0: [ 51.314357] FF [ 51.337135] FF [ 51.346667] FF [ 51.349666] FF [ 51.351621] FF [ 51.367045] FF [ 51.369000] FF [ 51.377600] FF [ 51.379556] FF [ 51.395979] FF [ 51.402447] FF [ 51.412654] FF [ 51.414845] FF [ 51.416863] FF [ 51.418809] FF [ 51.428014] FF [ 51.437267] RTL871X: 0x1f0: [ 51.437273] FF [ 51.440524] FF [ 51.450047] FF [ 51.452039] FF [ 51.466478] FF [ 51.468433] FF [ 51.470376] FF [ 51.472938] FF [ 51.477399] FF [ 51.487090] FF [ 51.489045] FF [ 51.490989] FF [ 51.497352] FF [ 51.500525] FF [ 51.502479] FF [ 51.513556] FF [ 51.517353] [ 51.528569] RTL871X: hal_com_config_channel_plan chplan:0x20 [ 51.574453] RTL871X: kfree flag:1 [ 51.590110] RTL871X: bb_gain:-1 [ 51.609258] RTL871X: rtl8188f_FirmwareDownload((null)) tmp_ps=3 [ 51.631597] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020 [ 51.658102] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36 [ 51.698071] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header! [ 51.733643] RTL871X: rtl8188f_FirmwareDownload by IO write! [ 52.099997] random: crng init done [ 52.103799] random: 6 urandom warning(s) missed due to ratelimiting [ 52.233170] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07050105 [ 52.247012] RTL871X: _8051Reset8188: Finish [ 52.260583] RTL871X: _FWFreeToGo: Polling FW ready OK! (88, 20ms), REG_MCUFWDL:0x070501c6 [ 52.273673] RTL871X: rtl8188f_FirmwareDownload: DLFW OK ! [ 52.279777] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 540ms [ 52.290759] RTL871X: <=== rtl8188f_FirmwareDownload() [ 52.297212] RTL871X: hal_read_mac_hidden_rpt OK! (1, 0ms), fwdl:1, id:0x19 [ 52.309457] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=0 [ 52.315039] RTL871X: SetHwReg8188F: hci_sus_state=3 [ 52.321666] RTL871X: SetHwReg8188F: hci_sus_state=0 [ 52.329862] RTL871X: rtw_hal_read_chip_info in 4930 ms [ 52.336099] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13 [ 52.353335] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1 [ 52.372386] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1 [ 52.406031] RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1 [ 52.457875] RTL871X: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array! [ 52.480548] RTL871X: default power by rate loaded [ 52.492385] RTL871X: rtw_macaddr_cfg mac addr:94:a4:08:c5:12:65 [ 52.512064] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0 [ 52.535398] RTL871X: rtw_wiphy_alloc(phy0) [ 52.551979] RTL871X: rtw_wdev_alloc(padapter=00000000d5fe995c) [ 52.568929] RTL871X: rtw_wiphy_register(phy0) [ 52.577931] RTL871X: Register RTW cfg80211 vendor cmd(0x67) interface [ 52.593682] RTL871X: _rtw_reg_notifier [ 52.597953] RTL871X: _rtw_reg_notifier_apply: NL80211_REGDOM_SET_BY_CORE to DRV [ 52.610417] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=94:a4:08:c5:12:65 [ 52.622198] RTL871X: cfg80211_rtw_get_txpower [ 63.293066] RTL871X: cfg80211_rtw_get_txpower [ 63.298627] RTL871X: cfg80211_rtw_get_txpower [ 63.304426] RTL871X: cfg80211_rtw_get_txpower [ 63.309675] RTL871X: cfg80211_rtw_get_txpower [ 63.317605] RTL871X: cfg80211_rtw_get_txpower [ 63.322844] RTL871X: +871x_drv - drv_open, bup=0 [ 63.328610] RTL871X: FW does not exist before power on!! [ 63.335639] RTL871X: SetHwReg8188F: hci_sus_state=1 [ 63.343267] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1 [ 63.351824] RTL871X: SetHwReg8188F: hci_sus_state=2 [ 63.363956] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f [ 63.381736] RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same. [ 63.394795] RTL871X: PowerOnCheck: 0x1B8 test Pass. [ 63.403639] RTL871X: Power on ok! [ 63.412914] RTL871X: rtl8188f_FirmwareDownload(wlan0) tmp_ps=3 [ 63.424699] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020 [ 63.441927] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36 [ 63.457354] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header! [ 63.473630] RTL871X: rtl8188f_FirmwareDownload by IO write! [ 63.733256] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105 [ 63.744024] RTL871X: _8051Reset8188: Finish [ 63.757606] RTL871X: _FWFreeToGo: Polling FW ready OK! (85, 10ms), REG_MCUFWDL:0x000501c6 [ 63.767097] RTL871X: rtl8188f_FirmwareDownload: DLFW OK ! [ 63.773392] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 290ms [ 63.781358] RTL871X: <=== rtl8188f_FirmwareDownload() [ 63.787263] RTL871X: HalDetectPwrDownMode(): PDN=0 [ 63.792792] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3. [ 64.355542] RTL871X: #### hw_var_set_opmode() -4815 iface_type(0) mode = 2 #### [ 64.364379] RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:-1 [ 64.375043] RTL871X: kfree gain_offset 0x55:0x82060 [ 64.375965] RTL871X: after :0x6050 [ 64.385745] RTL871X: MAC Address = 94:a4:08:c5:12:65 [ 64.392123] RTL871X: rtw_cfg80211_init_wiphy:rf_type=3 [ 64.398443] RTL871X: start rtl8188fs_xmit_thread(wlan0) [ 64.404408] RTL871X: [HT] HAL Support STBC = 0x01 [ 64.409931] RTL871X: -871x_drv - drv_open, bup=1 [ 64.415666] RTL871X: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1 [ 64.455109] RTL871X: cfg80211_rtw_flush_pmksa(wlan0) [ 64.513918] RTL871X: cfg80211_rtw_get_txpower [ 64.523822] RTL871X: (2)871x_drv - drv_close, bup=1, hw_init_completed=_TRUE [ 64.537694] RTL871X: -871x_drv - drv_close, bup=1 BusyBox v1.27.2 () built-in shell (ash) _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 5C1C9C53) ---------------------------------------------- root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# mount /dev/root on / type ext4 (ro,noatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=21096k,nr_inodes=5274,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) 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:/# root@TinaLinux:/# root@TinaLinux:/# lsmod 8189fs 2324263 0 8723ds 2386937 0 fuse 152450 0 gt9xxnew_ts 69396 0 ipt_REJECT 2647 0 iptable_filter 1759 0 xt_LOG 1639 0 xt_TCPMSS 4060 0 xt_comment 1156 0 xt_limit 2725 0 xt_mac 1338 0 xt_mark 1472 0 xt_multiport 2489 0 xt_time 3573 0 root@TinaLinux:/# root@TinaLinux:/# ifconfig -a lo Link encap:Local Loopback LOOPBACK MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 94:A4:08:C5:12:65 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@TinaLinux:/#
-
WIFI 驱动参考 https://linux-sunxi.org/Wifi
RTL8189FTV
Driver has its own repository:git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
cd rtl8189ES_linux.git
git checkout -B rtl8189fs origin/rtl8189fs
make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnu- KSRC=../linux复制到 lichee/linux-5.4/drivers/net/wireless/ 目录。
-
前面有朋友说连不上 WIFI 热点, 我试了一下,果然不行,楼主又挖坑啦。。。
那试一试这样吧:
mount -o remount -o rw /dev/root /etc/init.d/wpa_supplicant start wifi_connect_ap_test whycan 13800138000
这样应该问题不大了。
-
@memory 真的不怪他,毕竟坑网出来的
-
源码patch: d1-mangopi_mq_source_patch_20211221_by_whycan.tgz
主要修改, etc/init.d/boot 脚本添加:
mount -o remount -o rw /dev/root
TF卡烧写固件: 芒果派麻雀固件,支持WIFI 2021-12-21.img.7z
这个WIFI 应该 OK了:
wifi_connect_ap_test whycan 13800138000
-
5寸 800x480 LCD 固件: tina_d1-mangopi_mq_rgb800x480_gt9xx_uart0_可能修复了某些显示屏问题_2021-12-24.7z
-
此回复已被删除! -
-
-
-
-
-
我烧写的tina_d1-mangopi_mq_rgb800x480_gt9xx_uart0_20211214.img这个固件,现象如图,屏是和板子一起在淘宝买的,触摸也不能用,请问是固件用的不对么?
-
-
-
@xiaowenge 在芒果不鸽个人店买的 芒果派 哪吒MQ MangoPi 麻雀 全志D1s F133 D1开发板RISCV
-
呼叫芒果哥 @mangogeek
-
@wjp2547532
你这个是电阻触摸屏吧,固件得自己捣鼓一下了,用D1s自带的电阻屏驱动程序。 -
@whycan 好的晕哥,那这屏幕显示的分辨率可能是咋回事,我烧写的固件就是800x480的
-
@wjp2547532
这个屏幕分辨率可能是 480*272 -
@whycan 好的,那我一会用480*272的固件试一下
-
@whycan
用480*272的固件貌似更不靠谱,晕哥有这个屏的手册么 -
@memory 大佬,linux新手如何基于这个固件快速进行二次开发呀 ,能指点一二吗?不知道如何下手,只会烧录大佬们的固件
-
@jr_online
给D1 SDK 添加一个简单的helloworld package
https://bbs.aw-ol.com/topic/438 -
@whycan 谢谢大佬指点,有关于lvgl8的开发指点吗 ,原谅我没学会走就想跑
-
使用lvgl编写的2048小游戏(lv_lib_100ask_2048)
https://bbs.aw-ol.com/topic/1439 -
@whycan 好的,大佬。我想请教个问题,就是这个芒果派wifi的,我烧录了tina_d1-mangopi_mq_rgb800x480_gt9xx_uart0_可能修复了某些显示屏问题_2021-12-24.img这个固件,那怎么进行wifi连接呢
-
-
@whycan 好的好的,我试试。
-
@whycan 可以连上了
-
@whycan 大佬我又有个问题了,怎么把可执行文件传到板子上呀,有那些方式呢?
-
@jr_online
adb push -
@whycan 报错没有设备
-
@whycan 接上开发板后,在虚拟机上识别不了usb设备
-
@jr_online
windows可以识别吗? -
@whycan 可以的喔,俺懂了,在Windows上安装adb工具.。谢谢大佬。
-
@whycan 大佬,我应该怎么在宿主机上编译自己的lvgl项目呀,makefile不是很懂,请大佬指点一二
-
-
@whycan 好的,大佬,我说一下思路,请大佬指正:把这个源码解压之后,然后在这个目录下执行make,然后把生成的可执行文件adb push到板子上,然后./xxx。
-
@jr_online 在 芒果派麻雀到手试玩 中说:
@whycan 好的,大佬,我说一下思路,请大佬指正:把这个源码解压之后,然后在这个目录下执行make,然后把生成的可执行文件adb push到板子上,然后./xxx。
adb push到板子上之后可能还要chmod 777
-
@xiaowenge 收到
-
@whycan @xiaowenge 大佬们,我又来了,把项目运行起来能显示了。但是触摸的的怎么加进去呀?
-
-
@whycan 大佬,触摸屏怎么配置呀?想换个显示屏,换成st7701s的。该怎么配置呢?
-
@jr_online
sipeed 开发板就是st7701s 的, 可以参考一下: -
@jr_online
sipeed 开发板就是st7701s 的, 可以参考一下:好的,大佬 。
-
此回复已被删除! -
@jr_online
windows 用 7z 解压第一个文件 -
-
@jr_online
sipeed 开发板就是st7701s 的, 可以参考一下:大佬,我还在弄用芒果派mq通过rgb接口驱动st7701s屏的,我怎么才能知道这屏幕驱动有没有编译呀?
-
@whycan 晕哥,我现在把st7701s屏的驱动弄好,相关板级配置文件也改了,然后编译镜像进去了,但是板子上没有调用到。想问一下这个板子是执行流程是怎样的呢?屏相关的驱动是在哪里调用的,刚接触真的一脸懵逼,求大佬解惑!
-
@jr_online
在 u-boot 里面调试,可以输出一些调试信息,一般在u-boot开屏之后,Linux不再自动开屏了。可以接个逻辑分析仪看下时序。
-
@whycan 在u-boot里面调试:是要把屏驱动放在 lichee/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd底下吗?我刚刚发现一个问题,是不是要修改device/config/chips/d1/configs/mangopi_mp_rgb800x480_gt9xx/linux-5.4文件夹底下的config-5.4配置文件是不是也要修改呢?
-
@whycan 大佬,是不是我需要重新编译一下u-boot才行呀?u-boot那边还是默认的lcd?怎么去编译这个u-boot呢?
-
@jr_online
还要配置 uboot-board.dts。
linux的驱动和 board.dts 暂时可以不用配置。重新编译boot命令: mboot
-
@whycan
好滴,大佬! -
@whycan
大佬,我把屏接上还是没反应,接了逻辑分析仪抓了st7701s初始化引脚的时序,一直是拉高的。是不是我用的gpio被占用了呀?我用的是P3的PE8-11。
uboot-board.dts是这样配置gpio的 :
-
@jr_online
那个 default_panel地方改成你注册的驱动了吗? -
-
@whycan
大佬,是这个地方吗?
-
@whycan
大佬,您看一下,这个打印出来的信息
-
@jr_online
看下有没有参与编译,调试语句有没有执行。 -
@whycan
有.o文件生成,应该是参与编译了。但是没有屏驱动的调试语句打印出来。应该是没有执行到屏驱动
还有就是编译的时候有一个警告:
-
@whycan 大佬,我能点亮st7701s了,但是分辨率我修改了对应的参数,还是显示错乱,想请教一下,还有哪里修改参数的地方需要留意吗?
-
-
@whycan
回老大,uboot-board.dts 我是修改了对应屏幕的分辨率,但是你说的初始化代码也要改是指屏参是吗?
这是现在的现象,屏幕是竖屏的,但现在是横屏显示了:
-
@jr_online
问厂家要初始化代码和屏幕手册。 -
@whycan 大佬,现在就是根据厂家给的初始化代码来调的
-
@whycan 大佬,我现在得能显示正常了,但是运行lvgl的demo,触摸没反应。但是通过getevent进行调试发现,是有触摸的数据打印出来的。求助大佬!
-
@whycan 大佬,我的触摸还是没能联动lvgl,在lv_drv_conf.h里也改成对应的"/dev/input/event2",然后通过getevent也有触摸数据打印,但是lvgl触摸就是没反应。电容屏是不需要校准的吧。救救孩子吧!
-
@wjp2547532 您好 我屏幕也碰到相同的问题 显示不全 又花 请问您有解决吗
-
@a892755772 还没呢,前几天最近没啥时间弄,扔在那了,过几天有时间了再看
-
大佬,请教一下,这是因为没有权限么,然后怎么才能获得root权限呢,烧写的是tina_d1-mangopi_mq_rgb800x480_gt9xx_uart0_20211214.img这个固件 -
@jr_online 我用到的是方屏,也是和你一样,lvgl花屏,然后其他显示显示的是变成上下分屏,内容一致,要修改哪里?uboot的分辨率没同步设置?我这边是关了uboot的lcd驱动的
-
@jr_online 我用到的是方屏,也是和你一样,lvgl花屏,然后其他显示显示的是变成上下分屏,内容一致,要修改哪里?uboot的分辨率没同步设置?我这边是关了uboot的lcd驱动的
-
WIFI 驱动参考 https://linux-sunxi.org/Wifi
RTL8189FTV
Driver has its own repository:git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
cd rtl8189ES_linux.git
git checkout -B rtl8189fs origin/rtl8189fs
make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnu- KSRC=../linux复制到 lichee/linux-5.4/drivers/net/wireless/ 目录。
根据这个方法,移植到T113_longin 。
报错:linux-5.4/drivers/net/wireless/rtl8189fs/core/rtw_cmd.c:22:23: fatal error: drv_types.h: No such file or directory
查看了一下,它是有这个文件的。
-
@captain 你好,请问缺少drv_types.h问题解决了吗,我在移植8723DS的时候,也遇到类似问题。
-
-
WIFI 驱动参考 https://linux-sunxi.org/Wifi
RTL8189FTV
Driver has its own repository:git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
cd rtl8189ES_linux.git
git checkout -B rtl8189fs origin/rtl8189fs
make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnu- KSRC=../linux复制到 lichee/linux-5.4/drivers/net/wireless/ 目录。
我编译之后,插入驱动,没有报错。也没有wlan0出来,是不是dts没有改导致,dts需要修改什么
-
WIFI 驱动参考 https://linux-sunxi.org/Wifi
RTL8189FTV
Driver has its own repository:git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
cd rtl8189ES_linux.git
git checkout -B rtl8189fs origin/rtl8189fs
make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnu- KSRC=../linux复制到 lichee/linux-5.4/drivers/net/wireless/ 目录。
我编译之后,插入驱动,没有报错。也没有wlan0出来,是不是dts没有改导致,dts需要修改什么
驱动采用ko方式,插入只打印这个。。。
root@(none):/# insmod /usr/lib/8189fs.ko [ 45.485465] 8189fs: loading out-of-tree module taints kernel. [ 61.807694] RTW: module init start [ 61.811721] RTW: rtl8189fs v5.7.9_35795.20191128 [ 61.817068] RTW: build time: Aug 12 2022 14:08:42 [ 61.822561] RTW: rtw_inetaddr_notifier_register [ 61.828244] RTW: module init ret=0 root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# ifconfig -a lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:144 errors:0 dropped:0 overruns:0 frame:0 TX packets:144 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11232 (10.9 KiB) TX bytes:11232 (10.9 KiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
-
@soso90 我也是这样,你是如何解决的?
-
@daming123 没有解决,哈哈。你要是搞定分享一下方法。硬件是没问题。烧官方固件是有wifi。这个问题鸽了很久。会不会是dts没配置好。可以对比芒果的固件dts。期待你解决~
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号