T113的g2d报错 求助!!
-
使用awboot+tinan kernel5.4+buildroot的方案
目前使用g2d报错 不清楚问题出现在哪里?请大佬们指导一下
开机log如下[I] AWBoot r7751 starting... [I] DRAM init done: 128 MiB [I] SMHC: detect start [I] SHMC: SD card detected [I] SDMMC: speedtest 1024KB in 51ms at 20MB/S [I] SMHC: mount start [I] FATFS: read board.dtb addr=47f00000 [I] FATFS: read zImage addr=42000000 [I] booting linux... �[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (feng@xiaoxin) (arm-linux-gnueabi-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #4 SMP PREEMPT Tue Jan 6 08:41:05 CST 2026 [ 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] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created DMA memory pool at 0x42200000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@42200000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x42244000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node dsp0_rpbuf@42244000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 16 MiB at 0x46c00000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv65535.65535 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 s30860 r8192 d22388 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32164 [ 0.000000] Kernel command line: console=ttyS3,115200 root=/dev/mmcblk0p2 mem=128M cma=16M disp_reserve=1536000,0x4490d000 rootwait rw [ 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: 98788K/129680K available (7168K kernel code, 426K rwdata, 2576K rodata, 1024K init, 250K bss, 14508K reserved, 16384K 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] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] random: get_random_bytes called from start_kernel+0x248/0x3d0 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000016] Switching to timer-based delay loop, resolution 41ns [ 0.000174] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000754] Console: colour dummy device 80x30 [ 0.000793] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000804] pid_max: default: 32768 minimum: 301 [ 0.000936] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000949] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001531] CPU: Testing write buffer coherency: ok [ 0.001854] /cpus/cpu@0 missing clock-frequency property [ 0.001873] /cpus/cpu@1 missing clock-frequency property [ 0.001883] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002398] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.002505] rcu: Hierarchical SRCU implementation. [ 0.002776] BOOTEVENT: 2.768957: ON [ 0.002957] smp: Bringing up secondary CPUs ... [ 0.003606] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.003741] smp: Brought up 1 node, 2 CPUs [ 0.003753] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.003759] CPU: All CPU(s) started in HYP mode. [ 0.003764] CPU: Virtualization extensions available. [ 0.004211] devtmpfs: initialized [ 0.015489] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.016024] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.016050] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.016821] pinctrl core: initialized pinctrl subsystem [ 0.018072] NET: Registered protocol family 16 [ 0.019474] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.053077] rtc_ccu: sunxi ccu init OK [ 0.055166] ccu: sunxi ccu init OK [ 0.055634] r_ccu: sunxi ccu init OK [ 0.093111] sun6i-dma 3002000.dma-controller: sunxi dma probed [ 0.095366] iommu: Default domain type: Translated [ 0.095566] sunxi iommu: irq = 24 [ 0.096628] SCSI subsystem initialized [ 0.096967] usbcore: registered new interface driver usbfs [ 0.097047] usbcore: registered new interface driver hub [ 0.097156] usbcore: registered new device driver usb [ 0.097320] mc: Linux media interface: v0.10 [ 0.097369] videodev: Linux video capture interface: v2.00 [ 0.099019] Advanced Linux Sound Architecture Driver Initialized. [ 0.099671] Bluetooth: Core ver 2.22 [ 0.099753] NET: Registered protocol family 31 [ 0.099762] Bluetooth: HCI device and connection manager initialized [ 0.099781] Bluetooth: HCI socket layer initialized [ 0.099792] Bluetooth: L2CAP socket layer initialized [ 0.099819] Bluetooth: SCO socket layer initialized [ 0.100149] pwm module init! [ 0.103362] g2d 5410000.g2d: Adding to iommu group 0 [ 0.103782] G2D: rcq version initialized.major:250 [ 0.104436] input: sunxi-keyboard as /devices/virtual/input/input0 [ 0.105721] clocksource: Switched to clocksource arch_sys_counter [ 0.114795] sun8iw20-pinctrl pio: initialized sunXi PIO driver [ 0.128035] thermal_sys: Registered thermal governor 'step_wise' [ 0.128044] thermal_sys: Registered thermal governor 'user_space' [ 0.128058] thermal_sys: Registered thermal governor 'power_allocator' [ 0.128560] NET: Registered protocol family 2 [ 0.129210] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.129242] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.129263] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.129282] TCP: Hash tables configured (established 1024 bind 1024) [ 0.129370] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.129402] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.129576] NET: Registered protocol family 1 [ 0.131590] Initialise system trusted keyrings [ 0.131841] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.140666] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.140921] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.141218] fuse: init (API version 7.31) [ 0.174792] NET: Registered protocol family 38 [ 0.174814] Key type asymmetric registered [ 0.174822] Asymmetric key parser 'x509' registered [ 0.174908] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.174922] io scheduler mq-deadline registered [ 0.174929] io scheduler kyber registered [ 0.175064] atomic64_test: passed [ 0.176573] [DISP]disp_module_init [ 0.177112] disp 5000000.disp: Adding to iommu group 0 [ 0.192309] display_fb_request,fb_id:0 [ 0.194971] [DISP] Fb_copy_boot_fb,line:1481: [ 0.194974] no boot_fb0 [ 0.195136] rotation hw function is configed as no used [ 0.195605] disp_al_manager_apply ouput_type:0 [ 0.196169] [DISP] lcd_clk_config,line:774: [ 0.196179] disp 0, clk: pll(360000000),clk(360000000),dclk(30000000) dsi_rate(30000000) [ 0.196179] clk real:pll(360000000),clk(360000000),dclk(45000000) dsi_rate(150000000) [ 0.196818] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator [ 0.197469] [DISP]disp_module_init finish [ 0.198551] sunxi_sid_init()783 - insmod ok [ 0.199182] pwm-regulator: supplied by regulator-dummy [ 0.200595] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator [ 0.200923] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.201238] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.201265] sw_console_setup()1831 - console setup baud 115200 parity n bits 8, flow n [ 0.765906] [DISP] disp_device_attached_and_enable,line:224: [ 0.765911] attached ok, mgr0<-->dev0 [ 0.768798] printk: console [ttyS3] enabled [ 0.771976] [DISP] disp_device_attached_and_enable,line:227: [ 0.771983] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi:2, range:0 scan:8 ratio:-1061143096 [ 0.778496] uart uart5: uart5 supply uart not found, using dummy regulator [ 1.098894] uart5: ttyS5 at MMIO 0x2501400 (irq = 35, base_baud = 1500000) is a SUNXI [ 1.108904] misc dump reg init [ 1.112890] deinterlace 5400000.deinterlace: Adding to iommu group 0 [ 1.120534] deinterlace 5400000.deinterlace: version[1.0.0], ip=0x110 [ 1.129203] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.136466] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed! [ 1.144084] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.151426] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.158858] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.165394] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.172356] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.180303] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator [ 1.189134] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.197267] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.204918] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.211707] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=112 assert=0 [ 1.222267] libphy: Fixed MDIO Bus: probed [ 1.226898] CAN device driver interface [ 1.231743] usbcore: registered new interface driver asix [ 1.237905] usbcore: registered new interface driver ax88179_178a [ 1.244811] usbcore: registered new interface driver cdc_ether [ 1.251432] usbcore: registered new interface driver net1080 [ 1.257843] usbcore: registered new interface driver cdc_subset [ 1.264532] usbcore: registered new interface driver zaurus [ 1.270870] usbcore: registered new interface driver cdc_ncm [ 1.277231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.284545] sunxi-ehci: EHCI SUNXI driver [ 1.289480] get drvvbus-en is fail, 22 [ 1.293684] get ehci0-controller wakeup-source is fail. [ 1.299660] sunxi ehci0-controller don't init wakeup source [ 1.305926] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c8c1b8, 0x:c8835000, irq_no:38 [ 1.317923] [sunxi-ehci0]: Not init ehci0 [ 1.322723] get drvvbus-en is fail, 22 [ 1.326946] get ehci1-controller wakeup-source is fail. [ 1.332890] sunxi ehci1-controller don't init wakeup source [ 1.339153] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c8c718, 0x:c8839000, irq_no:3a [ 1.351412] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.363768] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.371048] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.380996] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000 [ 1.415742] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.424465] hub 1-0:1.0: USB hub found [ 1.428743] hub 1-0:1.0: 1 port detected [ 1.433883] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.440857] sunxi-ohci: OHCI SUNXI driver [ 1.445832] get drvvbus-en is fail, 22 [ 1.450037] get ohci0-controller wakeup-source is fail. [ 1.456015] sunxi ohci0-controller don't init wakeup source [ 1.462263] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c8c468 [ 1.471928] [sunxi-ohci0]: Not init ohci0 [ 1.476730] get drvvbus-en is fail, 22 [ 1.480934] get ohci1-controller wakeup-source is fail. [ 1.486910] sunxi ohci1-controller don't init wakeup source [ 1.493160] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c8c9c8 [ 1.503056] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.515388] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.522679] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.532523] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400 [ 1.610634] hub 2-0:1.0: USB hub found [ 1.614886] hub 2-0:1.0: 1 port detected [ 1.620284] usbcore: registered new interface driver uas [ 1.626404] usbcore: registered new interface driver usb-storage [ 1.633197] usbcore: registered new interface driver ums-alauda [ 1.639912] usbcore: registered new interface driver ums-cypress [ 1.646714] usbcore: registered new interface driver ums-datafab [ 1.653502] usbcore: registered new interface driver ums_eneub6250 [ 1.660501] usbcore: registered new interface driver ums-freecom [ 1.667301] usbcore: registered new interface driver ums-isd200 [ 1.673989] usbcore: registered new interface driver ums-jumpshot [ 1.680889] usbcore: registered new interface driver ums-karma [ 1.687499] usbcore: registered new interface driver ums-onetouch [ 1.694414] usbcore: registered new interface driver ums-realtek [ 1.701224] usbcore: registered new interface driver ums-sddr09 [ 1.707944] usbcore: registered new interface driver ums-sddr55 [ 1.714635] usbcore: registered new interface driver ums-usbat [ 1.721347] usbcore: registered new interface driver option [ 1.727811] usbserial: USB Serial support registered for GSM modem (1-port) [ 1.736747] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input1 [ 1.746518] rotary-encoder rotary-encoder: gray [ 1.752243] input: rotary-encoder as /devices/platform/rotary-encoder/input/input2 [ 1.761584] sunxi_gpadc_init,2228, success [ 1.766878] sunxi_gpadc_setup: get channel scan data failed [ 1.773382] input: sunxi-gpadc0 as /devices/virtual/input/input3 [ 1.781542] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 1.792343] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 1.803738] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.809509] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 1.820255] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T01:04:32 UTC (3872) [ 1.829466] sunxi-rtc 7090000.rtc: Fail to read dts property 'gpr_bootcount_pos' [ 1.837806] reasonbase NULL [ 1.840945] reason large than max, fix to hot reboot, save boot reason [ 1.848277] invalid reason or reasonbase NULL [ 1.853174] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.859149] i2c /dev entries driver [ 1.863276] IR NEC protocol handler initialized [ 1.868394] IR RC5(x/sz) protocol handler initialized [ 1.874446] sunxi-rc-recv 7040000.s_cir: sunxi_irrx_resource_get: get ir protocol failed [ 1.883641] Registered IR keymap rc_map_sunxi [ 1.888699] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0 [ 1.897417] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx [ 1.909698] usbcore: registered new interface driver uvcvideo [ 1.916182] USB Video Class driver (1.1.1) [ 1.920777] gspca_main: v2.14.0 registered [ 1.925367] sunxi cedar version 1.1 [ 1.929525] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.936120] VE: cedar-ve the get irq is 41 [ 1.936120] [ 1.942583] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 1.942583] [ 1.953173] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.962409] Bluetooth: HCI UART driver ver 2.3 [ 1.967418] Bluetooth: HCI UART protocol H4 registered [ 1.973451] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 1.983089] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40) [ 1.993059] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.999281] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.005624] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.012082] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.018532] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.025067] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.031616] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.038169] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.045119] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.050759] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.061944] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.082133] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.105747] sunxi-mmc 4020000.sdmmc: detmode:gpio polling [ 2.109242] random: fast init done [ 2.111822] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.127752] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40) [ 2.137780] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.138729] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.143994] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.161943] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.168420] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.174871] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.174878] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.182699] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.193106] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.211270] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.217845] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.224413] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.233830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.245106] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.259040] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.265282] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.279669] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.279755] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.303023] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.303834] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.314787] mmc0: new high speed SDHC card at address 1234 [ 2.322289] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.329032] sunxi_led_probe()1796 - start [ 2.342444] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.344501] mmcblk0: mmc0:1234 SA32G 28.9 GiB [ 2.355971] sunxi_get_str_of_property()1575 - failed to get the string of propname led_regulator! [ 2.370685] sunxi_register_led_classdev()1459 - led_classdev start [ 2.377644] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.385308] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.393037] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.400732] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.407618] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.412695] sunxi_led_probe()1921 - ledc driver finish [ 2.429197] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 2.431230] usbcore: registered new interface driver usbhid [ 2.438797] GPT:1116231 != 60506111 [ 2.444244] usbhid: USB HID core driver [ 2.447802] GPT:Alternate GPT header not at the end of the disk. [ 2.447807] GPT:1116231 != 60506111 [ 2.447813] GPT: Use GNU Parted to correct GPT errors. [ 2.452163] exFAT: Version 1.3.0 [ 2.458901] mmcblk0: p1 p2 p3 [ 2.463378] sunxi-msgbox 3003000.msgbox: sunxi_msgbox_probe(): sunxi msgbox start probe [ 2.485699] sunxi-msgbox 3003000.msgbox: sunxi_msgbox_probe(): sunxi msgbox probe success [ 2.495595] sunxi-rproc 3000008.dsp_rproc: sunxi rproc driver 2.2.1 [ 2.503543] remoteproc remoteproc0: dsp_rproc is available [ 2.509825] sunxi-rproc 3000008.dsp_rproc: sunxi rproc driver probe ok [ 2.517356] rpmsg_tty_init: Sunxi rpmsg tty driver will init [ 2.523768] rpmsg_tty_init: Sunxi rpmsg tty driver init ok [ 2.533877] NET: Registered protocol family 10 [ 2.539856] Segment Routing with IPv6 [ 2.544035] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.552410] NET: Registered protocol family 17 [ 2.557747] NET: Registered protocol family 15 [ 2.562730] can: controller area network core (rev 20170425 abi 9) [ 2.569777] NET: Registered protocol family 29 [ 2.574759] can: raw protocol (rev 20170425) [ 2.579563] can: broadcast manager protocol (rev 20170425 t) [ 2.585941] can: netlink gateway (rev 20190810) max_hops=1 [ 2.592556] Bluetooth: RFCOMM TTY layer initialized [ 2.598078] Bluetooth: RFCOMM socket layer initialized [ 2.603858] Bluetooth: RFCOMM ver 1.11 [ 2.608529] Registering SWP/SWPB emulation handler [ 2.614245] Loading compiled-in X.509 certificates [ 2.635144] sunxi-twi 2502000.twi: 2502000.twi supply twi not found, using dummy regulator [ 2.645932] input: fts_ts as /devices/platform/soc@3000000/2502000.twi/i2c-0/0-0038/input/input5 [ 3.546069] sunxi:i2c_sunxi@2502000.twi[INFO]: v2.6.5 probe success [ 3.554272] sunxi-thermal 2009400.ths: sun8iw20 chip id: 24576 [ 3.560855] sunxi-thermal 2009400.ths: sun8iw20 t1: 8000 [ 3.560979] sunxi-thermal 2009400.ths: sun8iw20 cp version:12 [ 3.576133] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1200000 KHz [ 3.584532] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1200000000 (-34) [ 3.619986] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1104000 KHz [ 3.631096] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator [ 3.642678] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator [ 3.652926] input: gpio-keys as /devices/platform/gpio-keys/input/input6 [ 3.665959] debugfs: Directory 'soc@3000000:codec_plat' with parent 'audiocodec' already present! [ 3.676517] sunxi-snd-mach soc@3000000:codec_mach: 2030000.codec <-> soc@3000000:codec_plat mapping ok [ 3.688169] input: audiocodec Headphones as /devices/platform/soc@3000000/soc@3000000:codec_mach/sound/card0/input7 [ 3.700663] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 3.708415] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 3.719586] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 3.727158] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.735967] ALSA device list: [ 3.736931] cfg80211: failed to load regulatory.db [ 3.740143] #0: audiocodec [ 3.740156] alloc_fd: slot 0 not NULL! [ 3.760699] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.769904] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 3.777804] devtmpfs: mounted [ 3.782966] Freeing unused kernel memory: 1024K [ 3.815900] Kernel init done [ 3.819129] Run /sbin/init as init process INIT: version 3.14 booting INIT: No inittab.d directory found [ 4.127017] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) INIT: Entering runlevel: 3 Seeding 2048 bits and crediting[ 4.463961] random: crng init done Saving 2048 bits of creditable seed for next boot Starting syslogd: OK Starting klogd: OK Running sysctl: OK Starting udevd: OK [ 4.696131] udevd[1404]: starting version 3.2.14 [ 4.759673] udevd[1404]: starting eudev-3.2.14 [ 5.220376] [sound 403][MACH simple_parse_of] simple_dai_link_of failed Starting adb [ 5.600766] file system registered install_listener('tcp:5037','*smartsocket*') [ 5.665118] read descriptors [ 5.671980] read strings [ 5.765752] [ 5.765752] insmod_host_driver [ 5.765752] [ 5.772500] [ehci0-controller]: sunxi_usb_enable_ehci [ 5.778202] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c8c1b8, 0x:c8835000, irq_no:38 [ 5.790597] sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator [ 5.803154] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller [ 5.810602] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 [ 5.821112] sunxi-ehci 4101000.ehci0-controller: irq 56, io mem 0x04101000 [ 5.855786] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 [ 5.866333] hub 3-0:1.0: USB hub found [ 5.870633] hub 3-0:1.0: 1 port detected [ 5.875784] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 5.877219] [ohci0-controller]: sunxi_usb_enable_ohci [ 5.883676] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 5.889351] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c8c468 [ 5.906755] sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator [ 5.919328] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller [ 5.926726] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 [ 5.936889] debugfs: Directory 'sunxi-ohci' with parent 'ohci' already present! [ 5.945179] sunxi-ohci 4101400.ohci0-controller: irq 57, io mem 0x04101400 [ 6.030741] hub 4-0:1.0: USB hub found [ 6.035050] hub 4-0:1.0: 1 port detected [ 6.040539] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 6.048571] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 9.365736] [ 9.365736] rmmod_host_driver [ 9.365736] [ 9.372390] [ehci0-controller]: sunxi_usb_disable_ehci [ 9.378201] [sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c8c1b8 [ 9.388011] sunxi-ehci 4101000.ehci0-controller: remove, state 4 [ 9.394775] usb usb3: USB disconnect, device number 1 [ 9.401519] sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered [ 9.410756] [ohci0-controller]: sunxi_usb_disable_ohci [ 9.418646] [sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c8c468 [ 9.429486] sunxi-ohci 4101400.ohci0-controller: remove, state 4 [ 9.436432] usb usb4: USB disconnect, device number 1 [ 9.445890] sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered [ 9.454337] [ 9.454337] insmod_device_driver [ 9.454337] [ 9.466535] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator device_chose finished! Starting system message bus: done Starting bluetoothd: OK Starting network: OK Starting crond: OK Starting sshd: OK Starting swupdate: OK Welcome to T113 Pro t113 login: root # # # g2d_ g2d_bld_dmabuf g2d_lbc_rot g2d_performance g2d_fill_dmabuf g2d_mixer_task # g2d_fill_dmabuf g2d_fill_dmabuf out_size=0 ready to open dst file ionAlloc_5.4:<sunxi_ion_alloc_pallocExtend:320>can not alloc size 0 ion_memory_request(171): ION Malloc failed request dst_mem failed! dst:format=0x0,color=0x0 w=0, h=0, rect x=0, y=0, w=0, h=0, align=0 [ 32.523947] [G2D]dma_buf_id(-1) is invalid [ 32.528593] [G2D] (g2d_set_image_addr) line:398: map dst fail! [ 32.535153] [G2D] (g2d_mixer_mem_setup) line:517: Frame:0 setupt fail! [ 32.542549] 8<--- cut here --- [ 32.546016] Unable to handle kernel NULL pointer dereference at virtual address 00000004 [ 32.555111] pgd = 2219e64c [ 32.558142] [00000004] *pgd=00000000 [ 32.562151] Internal error: Oops: 805 [#1] PREEMPT SMP ARM [ 32.568303] Modules linked in: aic8800_bsp sunxi_ce [ 32.573799] CPU: 1 PID: 1701 Comm: g2d_fill_dmabuf Not tainted 5.4.61 #4 [ 32.581321] Hardware name: Generic DT based system [ 32.586708] PC is at g2d_mixer_task_destory+0x58/0xc8 [ 32.592386] LR is at g2d_mixer_task_destory+0x4c/0xc8 [ 32.598055] pc : [<c040b92c>] lr : [<c040b920>] psr: 60070013 [ 32.605080] sp : c5a95a30 ip : c5bff340 fp : c5a95c90 [ 32.610933] r10: c5bff3c0 r9 : c0c8a2f4 r8 : c5bff3c0 [ 32.616787] r7 : c09d1a7b r6 : c08386e4 r5 : 00000001 r4 : c5bff480 [ 32.624102] r3 : 00000000 r2 : 00000000 r1 : 00000122 r0 : 00000100 [ 32.631422] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 32.639420] Control: 10c5387d Table: 45adc06a DAC: 00000051 [ 32.645863] Process g2d_fill_dmabuf (pid: 1701, stack limit = 0xab5ac712) [ 32.653476] Stack: (0xc5a95a30 to 0xc5a96000) [ 32.658359] 5a20: c5bff480 c5bff3c0 00000001 00000001 [ 32.667532] 5a40: c5bff3c0 c040cc68 00000000 00000000 c5a95c90 00000056 c0c8a2f4 c0c03dc8 [ 32.676702] 5a60: c5a94000 00000036 c0c03dc8 c040ceb0 00000000 004af098 00000056 c040a2e0 [ 32.685874] 5a80: 00000002 c60a4350 00000020 08000000 c4d6d124 00000001 0000bbbb c0374c48 [ 32.695048] 5aa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.704221] 5ac0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.713394] 5ae0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.722567] 5b00: 00000000 00000000 ffffffff 00000000 00000000 00000000 c61d210c 00000000 [ 32.731737] 5b20: 00000001 00000000 00000000 000000c0 c5dc8000 c0379ed8 c61d210c 00000080 [ 32.740907] 5b40: 00000003 00000000 c0c03dc8 00000001 0000000a c037a06c c61d210c c5a95be4 [ 32.750076] 5b60: 00000004 c0319648 c5a2b300 00000000 00000000 c69bcb00 02b5cecf 0000b6bd [ 32.759247] 5b80: 00000000 c014c1a0 c7fbfdc0 c5a95bc0 c0c03dc8 c618c200 c5a95c82 c02fd324 [ 32.768416] 5ba0: c5a95bc0 c025ddf4 c5a95c58 00000000 00000400 00000000 00000000 00000000 [ 32.777587] 5bc0: c60d6f00 c09dd509 c0b41f44 c65d1cc0 c0b41f48 0000015c c65d1cc0 c0b41f48 [ 32.786755] 5be0: 0000015c c020b1bc c62df100 c5a95cc8 c0c03dc8 c7fbfd80 c7fc0410 00000002 [ 32.795924] 5c00: 1d1a27e9 c5a95c40 c0c03dc8 c618c100 c5a95cfa c02fd324 c5a95c40 c025ddf4 [ 32.805094] 5c20: c65cd8d4 c028a490 c65d3180 c028c108 00000400 00000000 c09c3ca7 c09f51b7 [ 32.814264] 5c40: c60d6f00 c58a5800 c0b41f48 0000015c c65d1cc0 c0b41f48 0000015c c020b1bc [ 32.823434] 5c60: 00000000 c0811943 00001532 c618c000 59682eff 00000000 47868bff 00000000 [ 32.832604] 5c80: 47868c00 c58a5800 c0c33180 00000005 00000001 00000000 00000000 00000000 [ 32.841773] 5ca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.850941] 5cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.860109] 5ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.869279] 5d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.878447] 5d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.887615] 5d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.896784] 5d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.905953] 5d80: ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.915121] 5da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.924290] 5dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.933459] 5de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.942629] 5e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.951797] 5e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.960966] 5e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.970136] 5e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 32.979306] 5e80: c5a95eb4 c0785d2c 00000023 28eaef71 c0c03dc8 c69bcb00 ffffe000 c0c03dc8 [ 32.988476] 5ea0: c5a95f18 28eaef71 c5a95f18 c0c03dc8 c0c03dc8 00000001 ffffe000 c016ffa8 [ 32.997646] 5ec0: c5a95f18 c0788ee4 00000100 c01b36ec 00db7008 c03e9cb0 c5aa52a8 00000054 [ 33.006816] 5ee0: 00000001 28eaef71 004af098 c6822818 c6a1d700 00000056 004af098 c5a94000 [ 33.015985] 5f00: 00000036 c01eb4f0 004af098 c01ebdb0 00000000 c017076c c5a95f18 00000000 [ 33.025154] 5f20: 00000000 00000000 92549617 00000007 9253d2c7 00000007 c016f918 c7fbe6c0 [ 33.034324] 5f40: 01000000 00000000 00000000 00000000 00000000 000000a2 c0101228 28eaef71 [ 33.043494] 5f60: c5a95fb0 28eaef71 c0c03dc8 c6a1d700 00000003 c6a1d700 00000056 004af098 [ 33.052663] 5f80: c5a94000 00000036 00000000 c01ec42c 004af098 00000000 ffffffff 00000036 [ 33.061835] 5fa0: c0101228 c0101000 004af098 00000000 00000003 00000056 004af098 00000010 [ 33.071009] 5fc0: 004af098 00000000 ffffffff 00000036 004af000 00000000 004af000 00000000 [ 33.080182] 5fe0: b6f34301 beb57cb4 0049dbe0 b6f34308 80070030 00000003 00000000 00000000 [ 33.089370] [<c040b92c>] (g2d_mixer_task_destory) from [<c040cc68>] (create_mixer_task+0x144/0x34c) [ 33.099523] [<c040cc68>] (create_mixer_task) from [<c040ceb0>] (mixer_task_process+0xc/0x40) [ 33.108991] [<c040ceb0>] (mixer_task_process) from [<c040a2e0>] (g2d_ioctl+0x460/0x624) [ 33.117971] [<c040a2e0>] (g2d_ioctl) from [<c01ebdb0>] (do_vfs_ioctl+0x90/0x6d4) [ 33.126270] [<c01ebdb0>] (do_vfs_ioctl) from [<c01ec42c>] (ksys_ioctl+0x38/0x54) [ 33.134566] [<c01ec42c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 33.143148] Exception stack(0xc5a95fa8 to 0xc5a95ff0) [ 33.148811] 5fa0: 004af098 00000000 00000003 00000056 004af098 00000010 [ 33.157985] 5fc0: 004af098 00000000 ffffffff 00000036 004af000 00000000 004af000 00000000 [ 33.167156] 5fe0: b6f34301 beb57cb4 0049dbe0 b6f34308 [ 33.172824] Code: ebf72138 e1c420d0 e3a00c01 e3001122 (e5823004) [ 33.179793] ---[ end trace 79abd43ba4d2f433 ]--- # -
lvgl也会报错
# lv_examples 0 wh=480x800, vwh=480x1600, bpp=32, rotated=0 Turn on double buffering. Turn on 2d hardware acceleration. Turn on 2d hardware acceleration rotate. [ 32.390163] [G2D]dma_buf_get failed, fd=15632537 [ 32.395351] [G2D] (g2d_rotate_set_para) line:139: map src_item fail! Error: sunxifb_g2d_blit_to_fb G2D_CMD_BITBLT_H failed: Operation not permitted sunxifb_g2d_blit_to_fb src[phy=0x300000 format=0 alpha=255 wh=[480 800] clip=[0 0 480 800]] dst=[phy=(nil) format=0 wh=[480 1600] clip=[0 800 480 800]] [ 32.423592] [G2D]dma_buf_get failed, fd=15632537 [ 32.428814] [G2D] (g2d_rotate_set_para) line:139: map src_item fail! Error: sunxifb_g2d_blit_to_fb G2D_CMD_BITBLT_H failed: Operation not permitted sunxifb_g2d_blit_to_fb src[phy=0x300000 format=0 alpha=255 wh=[480 800] clip=[0 0 480 800]] dst=[phy=(nil) format=0 wh=[480 1600] clip=[0 0 480 800]]
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号