t113使用的tina系统,在rtc初始化的时候会显示使用的内部rc晶振 需要怎么修改才能使用外部晶振呢?

fenglichaoa 发布的最佳帖子
fenglichaoa 发布的最新帖子
-
回复: T113的g2d报错 求助!!发布在 T Series
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]] -
T113的g2d报错 求助!!发布在 T Series
使用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 ]--- # -
t113-s3 的ws2812 使用报错 请大佬指教发布在 T Series
使用的是tina5.0 1.2的sdk 内核是5.4 使用的 io 是 pg13 看ds上描述 pg13是支持ledc的 但是启动的时候报错 设备树如下
ledc_pins_a: ledc@0 { pins = "PG13"; function = "ledc"; drive-strength = <10>; }; ledc_pins_b: ledc@1 { pins = "PG13"; function = "gpio_in"; }; &ledc { pinctrl-0 = <&ledc_pins_a>; pinctrl-1 = <&ledc_pins_b>; led_count = <10>; output_mode = "RGB"; reset_ns = <84>; t1h_ns = <800>; t1l_ns = <320>; t0h_ns = <300>; t0l_ns = <800>; wait_time0_ns = <84>; wait_time1_ns = <84>; wait_data_time_ns = <600000>; status = "okay";};
启动报错信息如下
dmesg | grep led [ 1.715427] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.094801] sunxi_led_probe()1727 - start [ 2.105868] sunxi_get_str_of_property()1575 - failed to get the string of propname led_regulator! [ 2.115884] sunxi_register_led_classdev()1459 - led_classdev start [ 2.135801] sunxi_ledc_pinctrl_init()1333 - devm_pinctrl_get_select_default failed! [ 2.150192] sunxi_led_probe()1819 - finish [ 2.363782] Loading compiled-in X.509 certificates [ 3.443655] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 3.451341] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 3.475205] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.484937] cfg80211: failed to load regulatory.db [ 4.476174] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 5.595124] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 5.608815] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 5.768616] [sound 403][MACH simple_parse_of] simple_dai_link_of failed [ 5.781471] [sound 403][MACH simple_parse_of] simple_dai_link_of failed -
T113驱动480*854的mipi屏幕 uboot卡死发布在 T Series
以下是设备树信息
&disp { disp_init_enable = <1>; disp_mode = <0>; screen0_output_type = <1>; screen0_output_mode = <4>; screen1_output_type = <1>; screen1_output_mode = <4>; screen1_output_format = <0>; screen1_output_bits = <0>; screen1_output_eotf = <4>; screen1_output_cs = <257>; screen1_output_dvi_hdmi = <2>; screen1_output_range = <2>; screen1_output_scan = <0>; screen1_output_aspect_ratio = <8>; dev0_output_type = <1>; dev0_output_mode = <4>; dev0_screen_id = <0>; dev0_do_hpd = <0>; dev1_output_type = <4>; dev1_output_mode = <10>; dev1_screen_id = <1>; dev1_do_hpd = <1>; def_output_dev = <0>; hdmi_mode_check = <1>; fb0_format = <0>; fb0_width = <480>; fb0_height = <854>; disp_rotation_used = <1>; degree0 = <0>; fb1_format = <0>; fb1_width = <0>; fb1_height = <0>; chn_cfg_mode = <1>; disp_para_zone = <1>; // dc1sw-supply = <®_dc1sw>; // eldo3-supply = <®_eldo3>; // dldo2-supply = <®_dldo2>; // dcdc1-supply = <®_dcdc1>; }; &lcd0 { lcd_used = <1>; lcd_driver_name = "st7701s"; lcd_backlight = <50>; lcd_if = <4>; lcd_x = <480>; lcd_y = <854>; lcd_width = <40>; lcd_height = <70>; lcd_dclk_freq = <50>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_hbp = <43>; lcd_ht = <533>; lcd_hspw = <2>; lcd_vbp = <42>; lcd_vt = <910>; lcd_vspw = <10>; lcd_dsi_lane = <2>; lcd_dsi_if = <0>; lcd_dsi_format = <0>; lcd_dsi_te = <0>; lcd_frm = <0>; lcd_io_phase = <0>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>; // reset lcd_gpio_0 = <&pio PD 21 GPIO_ACTIVE_HIGH>; // power lcd_gpio_1 = <&pio PD 18 GPIO_ACTIVE_HIGH>; pinctrl-0 = <&dsi2lane_pins_a>; pinctrl-1 = <&dsi2lane_pins_b>; };只要设置了分辨率为480*854之后 开机之后就会卡死在uboot阶段 启动log如下
U-Boot 2018.07-gce06dac-dirty (Sep 11 2025 - 12:40:46 +0800) Allwinner Technology [00.435]CPU: Allwinner Family [00.438]Model: sun8iw20 [00.440]DRAM: 128 MiB [00.443]Relocation Offset is: 04ec3000 [00.470]secure enable bit: 0 CACHE: Misaligned operation at range [44882e68, 448a2e68] E/TC:0 generate_smc_mem_map:319 Not enough SMC region, 0x41b07937 byte ta ram left unsecured E/TC:0 fdt_getprop_u32:340 prop trace_level not found [00.497]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.504]gic: sec monitor mode [00.507]line:703 init_clocks [00.510]flash init start [00.512]workmode = 0,storage type = 1 [00.515][mmc]: mmc driver ver uboot2018:2023-08-29 10:12:00 [00.521][mmc]: get sdc_type fail and use default host:tm1. [00.527][mmc]: can't find node "mmc0",will add new node [00.532][mmc]: fdt err returned <no error> [00.535][mmc]: Using default timing para [00.539][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.556][mmc]: card_caps:0x3000000a [00.559][mmc]: host_caps:0x3000003f [00.563]sunxi flash init ok get value error [00.567]drv_disp_init partno erro : can't find partition bootloader ** Unable to read file lcd_compatible_index.txt ** [00.590]disp_fat_load for lcd config failed [00.617]drv_disp_init finish [00.625]Loading Environment from SUNXI_FLASH... OK [00.643]boot_gui_init:start partno erro : can't find partition Reserve0相反把分辨率反转一下 设置为854*480 屏幕就能点亮 只是画面有问题 请大佬们指教
-
芒果派R818 tina 使用报错发布在 其它全志芯片讨论区
板子为芒果派R818 使用tina编译自带的qt,运行qt例程之后崩溃,请大佬们帮忙看看问题出在哪里了,感谢

崩溃信息如下
root@TinaLinux:/# qt-washing-machine
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
[ 96.571857] PVR_K: 2586: RGX Firmware image 'rgx.fw.22.102.54.38' loaded
[ 96.579960] PVR_K:(Error): 2586: PMRSysPhysAddrOSMem: physical address (1383BC000) out of allowable range [0; FFFFFFFF]
[ 96.592393] ------------[ cut here ]------------
[ 96.597592] kernel BUG at /home/feng/linux/allwinner/r818/r818-tina-sdk/lichee/linux-4.9/modules/gpu/img-rgx/linux/rogue_km/binary_sunxi_linux_nullws_release/target_aarch64/kbuild/services/server/env/linux/physmem_osmem_linux.c:3036!
[ 96.620873] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 96.627041] Modules linked in: 8723ds dc_sunxi(O) pvrsrvkm(O)
[ 96.633529] CPU: 0 PID: 2586 Comm: qt-washing-mach Tainted: G O 4.9.191 #10
[ 96.642630] Hardware name: sun50iw10 (DT)
[ 96.647136] task: ffffffc0f7343880 task.stack: ffffffc0f1620000
[ 96.654422] PC is at PMRSysPhysAddrOSMem+0xe0/0x13c [pvrsrvkm]
[ 96.661579] LR is at PMRSysPhysAddrOSMem+0xe0/0x13c [pvrsrvkm]
[ 96.668139] pc : [<ffffff80008967fc>] lr : [<ffffff80008967fc>] pstate: 60000145
[ 96.676458] sp : ffffffc0f1623130
[ 96.680183] x29: ffffffc0f1623130 x28: 000000000003000b
[ 96.686166] x27: ffffffc0f7378c98 x26: ffffffc0f908aa80
[ 96.692146] x25: 0000000000000000 x24: ffffffc0f1623420
[ 96.698123] x23: ffffffc0f16233a0 x22: ffffffc0f16231d0
[ 96.704103] x21: 0000000000000018 x20: 000000000000000c
[ 96.710085] x19: ffffffc0f127c1b0 x18: 000000000000000a
[ 96.716065] x17: 0000007f91591070 x16: 0000000000000000
[ 96.722037] x15: 000000000008d978 x14: 3043423338333128
[ 96.728019] x13: 2073736572646461 x12: 206c616369737968
[ 96.734001] x11: 70203a6d654d534f x10: 7264644173796850
[ 96.739981] x9 : 737953524d50203a x8 : 46203b305b206567
[ 96.745960] x7 : 6e617220656c6261 x6 : 0000000000000000
[ 96.751942] x5 : 0000000000000000 x4 : 0000000000000000
[ 96.757923] x3 : ffffff800096985c x2 : 0000000000000000
[ 96.763901] x1 : ffffffc0f7343880 x0 : 0000000000000001
[ 96.769880]
[ 96.769880] SP: 0xffffffc0f16230b0:
[ 96.775462] 30b0 f16231d0 ffffffc0 f16233a0 ffffffc0 f1623420 ffffffc0 00000000 00000000
[ 96.784698] 30d0 f908aa80 ffffffc0 f7378c98 ffffffc0 0003000b 00000000 f1623130 ffffffc0
[ 96.793934] 30f0 008967fc ffffff80 f1623130 ffffffc0 008967fc ffffff80 60000145 00000000
[ 96.803171] 3110 00919e98 ffffff80 383bc000 00000001 ffffffff 0000007f ff000000 ffffffbe
[ 96.812401] 3130 f1623170 ffffffc0 008ae49c ffffff80 f16231d0 ffffffc0 f908aa80 ffffffc0
[ 96.821638] 3150 00000018 00000000 f16233a0 ffffffc0 0000000c 00000000 f1623420 ffffffc0
[ 96.830875] 3170 f16232e0 ffffffc0 008a9408 ffffff80 0a603000 ffffff80 00978948 ffffff80
[ 96.840110] 3190 f1623420 ffffffc0 03000b33 00000000 c0000000 000000e1 f837d700 ffffffc0
[ 96.849348]
[ 96.849348] X1: 0xffffffc0f7343800:
[ 96.854930] 3800 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 96.864167] 3820 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 96.873402] 3840 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 96.882640] 3860 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 96.891870] 3880 00000016 00000000 ffffffff ffffffff 00000001 00000000 00000000 00000000
[ 96.901105] 38a0 f1620000 ffffffc0 00000002 00404100 00000000 00000000 00000000 00000000
[ 96.910342] 38c0 00000001 00000000 0000000f 00000000 ffff38e4 00000000 fb29aa80 ffffffc0
[ 96.919581] 38e0 00000000 00000001 00000078 00000078 00000078 00000000 08898508 ffffff80
[ 96.928823]
[ 96.928823] X19: 0xffffffc0f127c130:
[ 96.934505] c130 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 96.943742] c150 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 96.952972] c170 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 96.962205] c190 00000000 00000000 00000000 00000000 5a5a5a5a 5a5a5a5a cccccccc cccccccc
[ 96.971444] c1b0 efb44480 ffffffc0 00000a1a 00000018 00000018 0000000c ffffffff 00000000
[ 96.980681] c1d0 f908a780 ffffffc0 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 00000001 00000000
[ 96.989921] c1f0 00000000 00000000 00000000 00000000 00000800 00000001 cccccccc cccccccc
[ 96.999157] c210 f127c358 ffffffc0 008980f4 ffffff80 081977bc ffffff80 08198c4c ffffff80
[ 97.008393]
[ 97.008393] X22: 0xffffffc0f1623150:
[ 97.014072] 3150 00000018 00000000 f16233a0 ffffffc0 0000000c 00000000 f1623420 ffffffc0
[ 97.023308] 3170 f16232e0 ffffffc0 008a9408 ffffff80 0a603000 ffffff80 00978948 ffffff80
[ 97.032551] 3190 f1623420 ffffffc0 03000b33 00000000 c0000000 000000e1 f837d700 ffffffc0
[ 97.041785] 31b0 00978900 ffffff80 00000000 00000000 f1623200 ffffffc0 080c14b0 00018000
[ 97.051018] 31d0 00000000 00000000 00001000 00000000 00002000 00000000 00003000 00000000
[ 97.060254] 31f0 00004000 00000000 00005000 00000000 00006000 00000000 00007000 00000000
[ 97.069492] 3210 00008000 00000000 00009000 00000000 0000a000 00000000 0000b000 00000000
[ 97.078728] 3230 0000c000 00000000 0000d000 00000000 0000e000 00000000 0000f000 00000000
[ 97.087967]
[ 97.087967] X23: 0xffffffc0f1623320:
[ 97.093647] 3320 0000000c 00000000 f7148580 ffffffc0 f7378c98 ffffffc0 03000b33 00000000
[ 97.102880] 3340 f1623370 ffffffc0 00190006 00000001 fff06660 ffffffc0 0000000f 00000000
[ 97.112106] 3360 00018000 00000000 00000018 00000000 f1623450 0000000c f16233a0 ffffffc0
[ 97.121341] 3380 0000000c 00000000 00978948 ffffff80 009788b8 ffffff80 00978900 ffffff80
[ 97.130578] 33a0 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
[ 97.139814] 33c0 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
[ 97.149051] 33e0 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
[ 97.158287] 3400 f1218580 ffffffc0 00000080 00000000 f1623490 ffffffc0 0887cf84 ffffff80
[ 97.167525]
[ 97.167525] X24: 0xffffffc0f16233a0:
[ 97.173204] 33a0 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
[ 97.182437] 33c0 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
[ 97.191677] 33e0 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
[ 97.200911] 3400 f1218580 ffffffc0 00000080 00000000 f1623490 ffffffc0 0887cf84 ffffff80
[ 97.210144] 3420 383bc000 00000001 0887cee8 ffffff80 f714bc80 ffffffc0 f908aa80 ffffffc0
[ 97.219380] 3440 f16234c0 ffffffc0 0887cf84 ffffff80 f714bc80 ffffffc0 f908aa80 ffffffc0
[ 97.228623] 3460 f1623480 ffffffc0 0887d0fc ffffff80 f714bc80 ffffffc0 f16234b0 ffffffc0
[ 97.237860] 3480 f16234c0 ffffffc0 0887d12c ffffff80 f714bc80 ffffffc0 00000000 00000000
[ 97.247101]
[ 97.247101] X26: 0xffffffc0f908aa00:
[ 97.252780] aa00 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.262006] aa20 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.271245] aa40 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.280482] aa60 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.289714] aa80 efb44480 ffffffc0 efb49980 ffffffc0 00000002 00000002 f714bc80 ffffffc0
[ 97.298951] aaa0 00000003 00000000 3f117c20 04d228bf 009697b8 ffffff80 f127c1b0 ffffffc0
[ 97.308187] aac0 00000001 6b6b6b6b 0095dda7 ffffff80 78457746 65646f43 69676552 6b006e6f
[ 97.317422] aae0 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b
[ 97.326657]
[ 97.326657] X27: 0xffffffc0f7378c18:
[ 97.332337] 8c18 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.341573] 8c38 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.350814] 8c58 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 97.360053] 8c78 cccccccc cccccccc 00000001 00000000 efbae640 ffffffc0 00000000 00000000
[ 97.369292] 8c98 f7378c98 ffffffc0 f7378c98 ffffffc0 efb50f80 ffffffc0 00000000 00000000
[ 97.378524] 8cb8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 97.387750] 8cd8 00000000 00000000 00000000 00000000 f1651440 ffffffc0 00000000 00000000
[ 97.396984] 8cf8 00000000 00000000 f7378d00 ffffffc0 f7378d00 ffffffc0 00000001 00000000
[ 97.406221]
[ 97.406221] X29: 0xffffffc0f16230b0:
[ 97.411901] 30b0 f16231d0 ffffffc0 f16233a0 ffffffc0 f1623420 ffffffc0 00000000 00000000
[ 97.421136] 30d0 f908aa80 ffffffc0 f7378c98 ffffffc0 0003000b 00000000 f1623130 ffffffc0
[ 97.430371] 30f0 008967fc ffffff80 f1623130 ffffffc0 008967fc ffffff80 60000145 00000000
[ 97.439611] 3110 00919e98 ffffff80 383bc000 00000001 ffffffff 0000007f ff000000 ffffffbe
[ 97.448847] 3130 f1623170 ffffffc0 008ae49c ffffff80 f16231d0 ffffffc0 f908aa80 ffffffc0
[ 97.458082] 3150 00000018 00000000 f16233a0 ffffffc0 0000000c 00000000 f1623420 ffffffc0
[ 97.467321] 3170 f16232e0 ffffffc0 008a9408 ffffff80 0a603000 ffffff80 00978948 ffffff80
[ 97.476556] 3190 f1623420 ffffffc0 03000b33 00000000 c0000000 000000e1 f837d700 ffffffc0
[ 97.485796]
[ 97.487469] Process qt-washing-mach (pid: 2586, stack limit = 0xffffffc0f1620000)
[ 97.495889] Stack: (0xffffffc0f1623130 to 0xffffffc0f1624000)
[ 97.502352] 3120: ffffffc0f1623170 ffffff80008ae49c
[ 97.511162] 3140: ffffffc0f16231d0 ffffffc0f908aa80 0000000000000018 ffffffc0f16233a0
[ 97.519971] 3160: 000000000000000c ffffffc0f1623420 ffffffc0f16232e0 ffffff80008a9408
[ 97.528782] 3180: ffffff800a603000 ffffff8000978948 ffffffc0f1623420 0000000003000b33
[ 97.537591] 31a0: 000000e1c0000000 ffffffc0f837d700 ffffff8000978900 0000000000000000
[ 97.546403] 31c0: ffffffc0f1623200 00018000080c14b0 0000000000000000 0000000000001000
[ 97.555214] 31e0: 0000000000002000 0000000000003000 0000000000004000 0000000000005000
[ 97.564025] 3200: 0000000000006000 0000000000007000 0000000000008000 0000000000009000
[ 97.572834] 3220: 000000000000a000 000000000000b000 000000000000c000 000000000000d000
[ 97.581646] 3240: 000000000000e000 000000000000f000 0000000000010000 0000000000011000
[ 97.590457] 3260: 0000000000012000 0000000000013000 0000000000014000 0000000000015000
[ 97.599269] 3280: 0000000000016000 0000000000017000 ffffffc0f16232e0 ffffff80008a92a0
[ 97.608080] 32a0: ffffff800a603000 ffffffc0f908aa80 ffffffc0f16232e0 ffffff80008a9540
[ 97.616892] 32c0: ffffff800a603000 ffffff8000978948 0000000000210d00 ffffff8008195598
[ 97.625705] 32e0: ffffffc0f1623520 ffffff80008a3610 ffffffc0f10021d8 ffffffc0f908aa80
[ 97.634517] 3300: 0000000000000018 ffffffc0f714b780 0000000000000000 ffffffc0f837d700
[ 97.643327] 3320: 000000000000000c ffffffc0f7148580 ffffffc0f7378c98 0000000003000b33
[ 97.652140] 3340: ffffffc0f1623370 0000000100190006 ffffffc0fff06660 000000000000000f
[ 97.660948] 3360: 0000000000018000 0000000000000018 0000000cf1623450 ffffffc0f16233a0
[ 97.669757] 3380: 000000000000000c ffffff8000978948 ffffff80009788b8 ffffff8000978900
[ 97.678568] 33a0: 0000000100000001 0000000100000001 0000000100000001 0000000100000001
[ 97.687376] 33c0: 0000000100000001 0000000100000001 0000000100000001 0000000100000001
[ 97.696186] 33e0: 0000000100000001 0000000100000001 0000000100000001 0000000100000001
[ 97.704999] 3400: ffffffc0f1218580 0000000000000080 ffffffc0f1623490 ffffff800887cf84
[ 97.713808] 3420: 00000001383bc000 ffffff800887cee8 ffffffc0f714bc80 ffffffc0f908aa80
[ 97.722617] 3440: ffffffc0f16234c0 ffffff800887cf84 ffffffc0f714bc80 ffffffc0f908aa80
[ 97.731428] 3460: ffffffc0f1623480 ffffff800887d0fc ffffffc0f714bc80 ffffffc0f16234b0
[ 97.740241] 3480: ffffffc0f16234c0 ffffff800887d12c ffffffc0f714bc80 0000000000000000
[ 97.749050] 34a0: 0000000000018000 ffffffc0f714b780 0000000000000001 ffffffc0f16234b0
[ 97.757860] 34c0: ffffffc0f16234e0 ffffff80008ad700 ffffffc0f908aa80 ffffffc0f908aa80
[ 97.766671] 34e0: ffffffc0f1623500 ffffff80008ad79c ffffffc0f908aa80 ffffffc0f908aa80
[ 97.775482] 3500: ffffffc0f1623520 ffffff80008a34b8 ffffffc0f10021d8 ffffff80008a7aa4
[ 97.784294] 3520: ffffffc0f16235b0 ffffff8000910054 ffffffc0f10021d8 ffffffc0f837d700
[ 97.793104] 3540: ffffffc0f7148580 ffffffc0f908aa80 0000000003000b33 0000000000001000
[ 97.801915] 3560: 0000000000000001 0000000000000000 ffffffc0f7378c98 ffffffc0f7343880
[ 97.810725] 3580: ffffffc0f16235c0 ffffff80009100dc ffffffc0f16235f8 000000e1c0000000
[ 97.819536] 35a0: 000000e1c0000000 0000000000018000 ffffffc0f1623610 ffffff800089fc64
[ 97.828348] 35c0: ffffffc0f837f500 ffffffc0f1002180 0000000000000000 0000000000000000
[ 97.837161] 35e0: ffffffc0f10021b8 0000000000000000 ffffffc0f837f500 0000000000000000
[ 97.845972] 3600: 0000000000000000 ffffffc0f837f500 ffffffc0f16236a0 ffffff800089dd78
[ 97.854782] 3620: ffffffc0f1000f80 ffffffc0f837f500 0000000000000001 ffffffc0f1623738
[ 97.863594] 3640: ffffffc0f1002180 ffffffc0efb44480 0000000000001000 0000000000018000
[ 97.872405] 3660: ffffffc0f7378c98 ffffffc0f7343880 ffffffc0f16236a0 000000e1c0000000
[ 97.881214] 3680: 0000000000018000 ffffffc0f7148580 ffffff8000953d6a ffffffc0efb44480
[ 97.890025] 36a0: ffffffc0f16236e0 ffffff80008dcd38 0000000000000000 ffffffc0efb58210
[ 97.898838] 36c0: 0000000000018000 0000000003000333 ffffff8000953d6a ffffffc0efb58080
[ 97.907651] 36e0: ffffffc0f1623740 ffffff80008ddeb4 ffffffc0efb58080 ffffffc0efb58080
[ 97.916462] 3700: ffffffc0efb44480 ffffffc0efb44480 0000000000005000 0000000000000000
[ 97.925273] 3720: 0000000000000000 00000000000409bf ffffffc0f1623760 ffffff80008fcad0
[ 97.934084] 3740: ffffffc0f16237d0 ffffff80008fba58 0000000000000000 ffffffc0efb58080
[ 97.942894] 3760: ffffffc0efb44480 ffffff800a615000 ffffffc0f1623a08 ffffffc0f1651440
[ 97.951705] 3780: 0000000000000000 ffffff80089ef000 ffffffc0f7378c98 ffffffc0f7343880
[ 97.960515] 37a0: 0000000000000000 ffffff80089ef000 0000000000000000 ffffffc0f7343880
[ 97.969326] 37c0: ffffffc0efb44480 00000018000409bf ffffffc0f1623940 ffffff80008fc080
[ 97.978138] 37e0: ffffffc0efb44480 0000000000000000 0000000000000000 0000000000000000
[ 97.986951] 3800: 0000000000000000 0000000000000000 ffffffc0f1623860 ffffff800089e8bc
[ 97.995761] 3820: ffffffc0efbb8a80 0000000000018000 0000000000000001 0000000000005000
[ 98.004572] 3840: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 98.013382] 3860: 0000000000000000 ffffff800089ce28 0000000000000001 ffffffc0f121bc80
[ 98.022191] 3880: ffffffc0f16238c0 ffffff80008df3d4 ffffffc0f16238a0 ffffff80008df2dc
[ 98.031002] 38a0: ffffffc0f16238c0 ffffffc0efb58080 0000000000000000 ffffff8008195598
[ 98.039811] 38c0: ffffffc0f1623940 ffffff80008fbfe4 ffffffc0efb44480 0000000000000000
[ 98.048622] 38e0: ffffffc0f1623940 ffffff80008fc068 ffffff8008ba1660 ffffffc0fb004380
[ 98.057432] 3900: 0000000000000140 00000000024000c0 ffffffc0f1623930 ffffff800887cee8
[ 98.066241] 3920: ffffffc0f1218580 ffffff800096e5b8 ffffffc0f16239b0 ffffff800887cf84
[ 98.075052] 3940: ffffffc0f1623a20 ffffff80008b4d70 ffffffc0efb44480 0000000000000000
[ 98.083862] 3960: 0000000000000001 ffffffc0f89db280 ffffffc0efb50f80 ffffffc0f1651440
[ 98.092675] 3980: 00000000ef730d00 0000000000000001 000000007fffffff 0000200000000000
[ 98.101485] 39a0: 0000000000000000 0000000000000000 0000000000000000 0000000100000000
[ 98.110297] 39c0: 0000000000000000 0000000700000000 0000000000000002 0000080000000800
[ 98.119106] 39e0: 0000000000000000 0000000000000000 0000000000000001 0000000000000001
[ 98.127919] 3a00: 0000000200000000 0000000200000000 0000000000000000 ffffffc000000000
[ 98.136731] 3a20: ffffffc0f1623a60 ffffff8000892708 ffffffc0efb44480 ffffffc0f7378c80
[ 98.145543] 3a40: ffffffc0f7378c80 ffffffc0f89db280 ffffffc0f1623a60 ffffffc0f1001b80
[ 98.154352] 3a60: ffffffc0f1623aa0 ffffff80008c78a4 ffffffc0efb51980 ffffff800096da00
[ 98.163163] 3a80: ffffffc0efb51980 ffffff800096da00 ffffffc0f7378c80 ffffffc0f89db280
[ 98.171975] 3aa0: ffffffc0f1623ad0 ffffff8008428420 ffffffc0f7378c80 ffffffc0f89db280
[ 98.180786] 3ac0: ffffff8008dd7af0 ffffffc0f7343880 ffffffc0f1623b30 ffffff800842e350
[ 98.189597] 3ae0: ffffffc0efb50f80 ffffff800091d108 ffffff8008d12000 ffffffc0f1651440
[ 98.198408] 3b00: ffffffc0efb20060 ffffffc0f1651440 0000000000000000 0000000000000038
[ 98.207219] 3b20: ffffff8008892000 ffffffc0f1651440 ffffffc0f1623b70 ffffff80081a8354
[ 98.216030] 3b40: 0000000000000000 ffffffc0f8ca1480 ffffffc0efb20060 ffffff80088f1bd0
[ 98.224842] 3b60: 0000000000000000 ffffffc0f8ca1480 ffffffc0f1623bc0 ffffff80081a0754
[ 98.233653] 3b80: ffffffc0f1651440 ffffffc0efb20060 0000000000000000 ffffff80081a81fc
[ 98.242464] 3ba0: ffffffc0f1623e78 ffffffc0f1651450 0000000000000000 0000008000000000
[ 98.251276] 3bc0: ffffffc0f1623c00 ffffff80081a1684 ffffffc0f1651440 ffffffc0f1623d48
[ 98.260084] 3be0: 0000000000000000 0000000000000000 ffffffc0f1623e78 0000000000020002
[ 98.268897] 3c00: ffffffc0f1623c20 ffffff80081b31b0 ffffffc0f1623d48 ffffffc0f1651440
[ 98.277710] 3c20: ffffffc0f1623d00 ffffff80081b32f4 ffffffc0f1623e78 0000000000000001
[ 98.286519] 3c40: 00000000ffffff9c ffffffc0f9fa23c0 0000000080000000 0000000000000015
[ 98.295329] 3c60: 00000000000001b3 0000000000000038 ffffff8008892000 ffffffc0f7343880
[ 98.304138] 3c80: ffffffc0f1623d50 ffffffc0f1623cf0 000000000808afc8 0000000000000006
[ 98.312948] 3ca0: ffffffc000000041 ffffff800819a0a0 ffffffc0f1623cc0 ffffffc0f69fe108
[ 98.321759] 3cc0: ffffffc0f1623d00 0000000200000000 ffffffc0efb20060 ffffffc0fb1d1a60
[ 98.330570] 3ce0: ffffffc0f6a07bd8 0000000000000001 00000000ffffff9c 0000000000000015
[ 98.339382] 3d00: ffffffc0f1623e20 ffffff80081a1a74 ffffffc0f9fa23c0 00000000ffffff9c
[ 98.348192] 3d20: 0000000000020002 0000000000000006 ffffffc0f1623d70 ffffff80080c14b0
[ 98.357003] 3d40: ffffffc0f1623db0 ffffffc0fb1d1a60 ffffffc0f6a07bd8 0000000a5163dd75
[ 98.365816] 3d60: ffffffc0f9fa23e5 0000000000000000 ffffffc0f6a05ce8 ffffffc0efb20060
[ 98.374626] 3d80: 0000000200000101 00000000000001be 0000000000000000 ffffffc0f1623da0
[ 98.383437] 3da0: 0000000000000006 ffffff80081c1174 ffffffc0f1623e00 ffffff80081c12d4
[ 98.392245] 3dc0: 0000000000020002 00000000ffffff9c 0000000000020002 0000007fd77e18e0
[ 98.401055] 3de0: 0000000080000000 0000000000000015 00000000000001b3 0000000000000038
[ 98.409868] 3e00: ffffffc0f9fa23c0 0000000000000000 ffffffc0f9fa23c0 ffffff9c00000002
[ 98.418681] 3e20: ffffffc0f1623e90 ffffff80081a1be0 ffffffffffffff9c 0000007fd77e18e0
[ 98.427489] 3e40: 0000000000000002 0000000000000000 0000000080000000 0000000000000015
[ 98.436301] 3e60: ffffffc0fb2ab040 ffffffc0fb2aafc0 ffffffc0f1623ea0 ffff000000020002
[ 98.445112] 3e80: 0000010000000006 0000004000000001 0000000000000000 ffffff8008083200
[ 98.453922] 3ea0: fffffffffffffe85 00000040f7365000 ffffffffffffffff 0000007f915910f0
[ 98.462731] 3ec0: ffffffffffffff9c 0000007fd77e18e0 0000000000000002 0000000000000000
[ 98.471542] 3ee0: 0000000040100401 0000005100000000 00000000ffffffff 676e69687361772d
[ 98.480353] 3f00: 0000000000000038 0000000000000004 0101010101010101 7f7f7f7f7f7f7f7f
[ 98.489165] 3f20: 0101010101010101 0000000000000010 000000000000000d 0000000000000000
[ 98.497975] 3f40: 0000007f903a19b0 0000007f91591070 0000000000000073 0000000000000002
[ 98.506786] 3f60: 0000000000000000 0000007fd77e18e0 000000001e64f680 000000001e64f688
[ 98.515594] 3f80: 000000001e64f670 0000000000000020 0000000000000000 0000000000000000
[ 98.524404] 3fa0: 0000000000000000 0000007fd77e17f0 0000007f9031117c 0000007fd77e17f0
[ 98.533212] 3fc0: 0000007f915910f0 0000000080000000 ffffffffffffff9c 0000000000000038
[ 98.542020] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 98.550829] Call trace:
[ 98.553578] Exception stack(0xffffffc0f1622f40 to 0xffffffc0f1623070)
[ 98.560823] 2f40: ffffffc0f127c1b0 0000007fffffffff ffffffc0f1623130 ffffff80008967fc
[ 98.569635] 2f60: 0000000060000145 000000000000003d 0000000000000000 ffffffc0f908aa80
[ 98.578448] 2f80: ffffffc0f1623050 00000000ffffffc8 ffffffc0f1622fd0 ffffff800814be24
[ 98.587257] 2fa0: ffffff800092c614 0000000000000002 ffffffc0f1623090 ffffffc0f1623090
[ 98.596067] 2fc0: ffffffc0f1623050 00000000ffffffc8 ffffffc0f1623090 ffffff800089b038
[ 98.604877] 2fe0: ffffff800096e120 ffffff800092b666 ffffffc0f1623090 ffffffc0f1623090
[ 98.613690] 3000: 0000000000000001 ffffffc0f7343880 0000000000000000 ffffff800096985c
[ 98.622496] 3020: 0000000000000000 0000000000000000 0000000000000000 6e617220656c6261
[ 98.631309] 3040: 46203b305b206567 737953524d50203a 7264644173796850 70203a6d654d534f
[ 98.640119] 3060: 206c616369737968 2073736572646461
[ 98.646226] [<ffffff80008967fc>] PMRSysPhysAddrOSMem+0xe0/0x13c [pvrsrvkm]
[ 98.654557] [<ffffff80008ae49c>] PMR_DevPhysAddr+0xb0/0xec [pvrsrvkm]
[ 98.662389] [<ffffff80008a9408>] MMU_MapPMRFast+0x280/0x768 [pvrsrvkm]
[ 98.670317] [<ffffff80008a3610>] DevmemIntMapPMR+0x250/0x2e0 [pvrsrvkm]
[ 98.678347] [<ffffff8000910054>] BridgeDevmemIntMapPMR+0x4c/0x68 [pvrsrvkm]
[ 98.686760] [<ffffff800089fc64>] _DevmemImportStructDevMap+0x37c/0x5b8 [pvrsrvkm]
[ 98.695756] [<ffffff800089dd78>] DevmemMapToDevice+0xa0/0x18c [pvrsrvkm]
[ 98.703880] [<ffffff80008dcd38>] RGXAllocateFWMemoryRegion.isra.6+0xdc/0x114 [pvrsrvkm]
[ 98.713473] [<ffffff80008ddeb4>] RGXInitAllocFWImgMem+0x5c/0x690 [pvrsrvkm]
[ 98.721887] [<ffffff80008fba58>] InitFirmware.isra.1+0xd8/0x3a8 [pvrsrvkm]
[ 98.730207] [<ffffff80008fc080>] RGXInit+0x358/0x598 [pvrsrvkm]
[ 98.737456] [<ffffff80008b4d70>] PVRSRVDeviceInitialise+0x98/0x270 [pvrsrvkm]
[ 98.746064] [<ffffff8000892708>] PVRSRVCommonDeviceOpen+0x7c/0x10c [pvrsrvkm]
[ 98.754679] [<ffffff80008c78a4>] pvr_drm_open+0x6c/0x98 [pvrsrvkm]
[ 98.761639] [<ffffff8008428420>] drm_open+0x240/0x338
[ 98.767325] [<ffffff800842e350>] drm_stub_open+0xec/0xfc
[ 98.773302] [<ffffff80081a8354>] chrdev_open+0x158/0x164
[ 98.779284] [<ffffff80081a0754>] do_dentry_open.isra.0+0x288/0x2e4
[ 98.786238] [<ffffff80081a1684>] vfs_open+0x5c/0x68
[ 98.791724] [<ffffff80081b31b0>] path_openat+0xc10/0xd0c
[ 98.797700] [<ffffff80081b32f4>] do_filp_open+0x48/0x94
[ 98.803577] [<ffffff80081a1a74>] do_sys_open+0x154/0x23c
[ 98.809550] [<ffffff80081a1be0>] SyS_openat+0x3c/0x4c
[ 98.815234] [<ffffff8008083200>] el0_svc_naked+0x34/0x38
[ 98.821212] Code: 52800040 58000244 91024084 940011b0 (d4210000)
[ 98.828067] ---[ end trace e89c7e1aaaa5ba63 ]---
Segmentation fault -
T113的rtc是什么工作逻辑?发布在 其它全志芯片讨论区
t113在上电时,设置rtc的时间会提示 使用的内部的16M的晶振,随之就是rtc的时间很不准,此时使用的内部的rc时钟,关机之后时间依旧跑,此时转换为外部rc?
各位大佬,这种情况怎么配置呢 才能使rtc走的准呢
???