使能HDMI后,系统会出现一个异常告警
-
硬件平台mq-pro,软件是tina-linux
https://github.com/mangopi-sbc/Tina-Linux按D1哪吒HDMI测试固件20210804中的描述修改bootlogo.bmp, uboot-board.dts 和board.dts和kernel config, 下是修改后文件
如果系统起来后,会有一个异常告警,
[ 3.362121] Unable to handle kernel paging request at virtual address 0000000000004001 [ 3.393700] Oops [#1] [ 3.396231] Modules linked in: [ 3.399638] CPU: 0 PID: 64 Comm: hdmi proc Not tainted 5.4.61 #7 [ 3.406330] sepc: ffffffe0001ede72 ra : ffffffe0001edf70 sp : ffffffe01ecc7d90 [ 3.414379] gp : ffffffe0005f043c tp : ffffffe01e68eb80 t0 : ffffffe01ecd2980 [ 3.422427] t1 : ffffffe0003ef700 t2 : ffffffe00052e240 s0 : 0000000000000000 [ 3.430475] s1 : 0000000000001011 a0 : 0000000000000000 a1 : ffffffe01ecc7d98 [ 3.438523] a2 : ffffffe01e68eb80 a3 : ffffffe01ecd2978 a4 : 0000000000004001 [ 3.446570] a5 : 0000000000004001 a6 : ffffffe01ecd2900 a7 : 0000000000000000 [ 3.454618] s2 : ffffffe000615ef8 s3 : 0000000000001000 s4 : ffffffe000615ec0 [ 3.462664] s5 : 0000000000000028 s6 : 0000000000001010 s7 : 0000000000000000 [ 3.470712] s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000 [ 3.478759] s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe00052e248 [ 3.486806] t5 : 0000000000000005 t6 : ffffffe01ce75864 [ 3.492723] sstatus: 0000000200000120 sbadaddr: 0000000000004001 scause: 000000000000000d [ 3.503211] ---[ end trace 12820b5063470e04 ]---
是HDMI模块, 系统还能够正常运行下去,不能再检测HDMI线的插拔过程了。/dev/fb0也是可以正常工作的,填充/dev/random数据可以看到显示的变化。
如果先不插HDMI线,等系统起来后,再插入HDMI,会有同样的异常。下面是完整启动记录
Starting kernel ... [02.245][mmc]: MMC Device 2 not found [02.248][mmc]: mmc 2 not find, so not exit [ 0.000000] Linux version 5.4.61 (forlinx@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #7 PREEMPT Fri Mar 31 04:23:03 UTC 2023 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040000000-0x000000005fffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x000000005fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff] [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] DMA32 zone: 1792 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 131072 pages, LIFO batch:31 [ 0.000000] elf_hwcap is 0x20112d [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129280 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_of [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 501392K/524288K available (3903K kernel code, 401K rwdata, 1641K rodata, 132K init, 230K bss, 22896K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 [ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000023] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000316] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000840] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000861] pid_max: default: 32768 minimum: 301 [ 0.001018] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.001036] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.002426] ASID allocator initialised with 65536 entries [ 0.002571] rcu: Hierarchical SRCU implementation. [ 0.003157] devtmpfs: initialized [ 0.016264] random: get_random_u32 called from bucket_table_alloc.isra.27+0xf6/0x118 with crng_init=0 [ 0.016987] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.017016] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.017135] pinctrl core: initialized pinctrl subsystem [ 0.018286] NET: Registered protocol family 16 [ 0.018921] DMA: preallocated 256 KiB pool for atomic allocations [ 0.019504] cpuidle: using governor menu [ 0.056285] rtc_ccu: sunxi ccu init OK [ 0.063443] clock: sunxi ccu init OK [ 0.064791] clock: sunxi ccu init OK [ 0.090359] iommu: Default domain type: Translated [ 0.090516] sunxi iommu: irq = 4 [ 0.091830] SCSI subsystem initialized [ 0.092010] usbcore: registered new interface driver usbfs [ 0.092088] usbcore: registered new interface driver hub [ 0.092191] usbcore: registered new device driver usb [ 0.093047] Advanced Linux Sound Architecture Driver Initialized. [ 0.093629] pwm module init! [ 0.095032] g2d 5410000.g2d: Adding to iommu group 0 [ 0.095474] G2D: rcq version initialized.major:252 [ 0.096351] clocksource: Switched to clocksource riscv_clocksource [ 0.108223] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.111095] NET: Registered protocol family 2 [ 0.111822] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.111859] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.111918] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.111968] TCP: Hash tables configured (established 4096 bind 4096) [ 0.112084] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.112121] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.112321] NET: Registered protocol family 1 [ 0.113366] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.113859] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.114087] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE [ 0.114139] sunxi_spi_resource_get()2154 - Failed to get sample mode [ 0.114149] sunxi_spi_resource_get()2159 - Failed to get sample delay [ 0.114159] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.114220] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000 [ 0.114940] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 [ 0.116861] workingset: timestamp_bits=62 max_order=17 bucket_order=0 [ 0.122886] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.123108] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.123510] fuse: init (API version 7.31) [ 0.145320] io scheduler mq-deadline registered [ 0.145333] io scheduler kyber registered [ 0.146125] [DISP]disp_module_init [ 0.146694] disp 5000000.disp: Adding to iommu group 0 [ 0.147244] [DISP] disp_init,line:2386: [ 0.147250] smooth display screen:0 type:4 mode:10 [ 0.182726] display_fb_request,fb_id:0 [ 0.244988] Freeing logo buffer memory: 8100K [ 0.245815] [DISP]disp_module_init finish [ 0.246636] sunxi_sid_init()551 - insmod ok [ 0.247153] pwm-regulator: supplied by regulator-dummy [ 0.248607] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.249025] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.249353] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI [ 0.249377] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.941210] printk: console [ttyS0] enabled [ 0.946918] misc dump reg init [ 0.951175] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.962358] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 0.969605] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.976926] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.984312] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 0.990840] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 0.997773] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 1.005468] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=131 assert=1 [ 1.013360] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.024557] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.032694] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.040324] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.047089] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 1.054594] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0 [ 1.062560] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11 [ 1.070180] [ADDR_MGT] addr_mgt_probe: success. [ 1.076073] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223 [ 1.083337] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.094979] random: fast init done [ 1.295373] random: crng init done [ 2.086430] sunxi-spinand-phy: read id failed : -110 [ 2.091992] spi-nand: probe of spi0.0 failed with error -110 [ 2.098433] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.105712] sunxi-ehci: EHCI SUNXI driver [ 2.110619] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.117571] sunxi-ohci: OHCI SUNXI driver [ 2.122976] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 2.134059] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 2.144922] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 2.155618] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 2.166815] sunxi-rtc 7090000.rtc: registered as rtc0 [ 2.172478] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 2.183089] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4) [ 2.191972] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 2.197899] i2c /dev entries driver [ 2.201826] sunxi cedar version 1.1 [ 2.205943] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.212236] VE: install start!!! [ 2.212236] [ 2.217736] VE: cedar-ve the get irq is 6 [ 2.217736] [ 2.224048] VE: ve_debug_proc_info:0000000044fa92f3, data:000000007e0cfb9e, lock:00000000f721a456 [ 2.224048] [ 2.235627] VE: install end!!! [ 2.235627] [ 2.240693] VE: sunxi_cedar_probe [ 2.245208] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.256411] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 2.266343] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.272559] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.278891] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.285300] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.291727] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.298254] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.304758] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.311283] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.318216] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.323534] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.330165] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.341290] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.361424] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.385774] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.391494] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.403697] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 2.413770] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.420007] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.426385] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.432815] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.444386] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.450816] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.457444] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.463980] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.470546] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.477133] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.485801] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.498034] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.509273] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.518558] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.530138] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.554400] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.562099] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.574089] ashmem: initialized [ 2.577657] exFAT: Version 1.3.0 [ 2.585737] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.585737] [ 2.602933] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.614531] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.623514] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.635004] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.643259] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.655112] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 2.665057] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.674926] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.686709] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.695552] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.705579] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.718767] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.730270] mmc0: new high speed SD card at address 1388 [ 2.737097] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.745880] mmcblk0: mmc0:1388 CS004 482 MiB [ 2.752407] NET: Registered protocol family 10 [ 2.757512] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.764833] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.777528] Segment Routing with IPv6 [ 2.781699] NET: Registered protocol family 17 [ 2.786836] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.800000] HDMI 2.0 driver init start! [ 2.804289] boot_hdmi=true [ 2.809467] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.821304] ERROR: pinctrl_get for HDMI2.0 DDC fail [ 2.827621] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.833387] HDMI2.0 module init end [ 2.839478] [DISP] disp_device_attached,line:158: [ 2.839485] attached ok, mgr0<-->device0, type=4 [ 2.850775] mmc1: new high speed SDIO card at address 0001 [ 2.874541] [HDMI receive params]: tv mode: 0xa format:0x1 data bits:0x0 eotf:0x4 cs:0x101 dvi_hdmi:2 range:2 scan:0 aspect_ratio:8 [ 2.887803] [DISP] disp_hdmi_set_mode,line:680: [ 2.887807] hdmi_set_mode is null! [ 2.896705] disp_al_manager_apply ouput_type:4 [ 2.902858] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.917387] sunxi-i2c sunxi-i2c2: probe success [ 2.926870] get ehci0-controller wakeup-source is fail. [ 2.932786] sunxi ehci0-controller don't init wakeup source [ 2.939082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00061a1a8, 0x:ffffffd0040fc000, irq_no:2e [ 2.952619] [sunxi-ehci0]: Not init ehci0 [ 2.957563] get ohci0-controller wakeup-source is fail. [ 2.963483] sunxi ohci0-controller don't init wakeup source [ 2.969792] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00061a570 [ 2.980195] [sunxi-ohci0]: Not init ohci0 [ 2.985131] get ehci1-controller wakeup-source is fail. [ 2.991121] sunxi ehci1-controller don't init wakeup source [ 2.997373] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe00061a938, 0x:ffffffd005d0f000, irq_no:31 [ 3.011188] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 3.024707] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 3.031983] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 3.041849] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 3.076383] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 3.085098] hub 1-0:1.0: USB hub found [ 3.089404] hub 1-0:1.0: 1 port detected [ 3.094730] get ohci1-controller wakeup-source is fail. [ 3.100793] sunxi ohci1-controller don't init wakeup source [ 3.107086] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe00061ad00 [ 3.117788] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 3.130136] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 3.137442] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 3.147246] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 3.221282] hub 2-0:1.0: USB hub found [ 3.225511] hub 2-0:1.0: 1 port detected [ 3.234600] clk: Not disabling unused clocks [ 3.240409] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.250090] HDMI cable is connected [ 3.256410] ALSA device list: [ 3.259722] #0: audiocodec [ 3.262941] alloc_fd: slot 0 not NULL! [ 3.276394] cfg80211: failed to load regulatory.db [ 3.289455] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 3.310023] devtmpfs: mounted [ 3.313466] Freeing unused kernel memory: 132K [ 3.326386] This architecture does not have kernel memory protection. [ 3.333601] Run /sbin/init as init process [ 3.362121] Unable to handle kernel paging request at virtual address 0000000000004001 [ 3.393700] Oops [#1] [ 3.396231] Modules linked in: [ 3.399638] CPU: 0 PID: 64 Comm: hdmi proc Not tainted 5.4.61 #7 [ 3.406330] sepc: ffffffe0001ede72 ra : ffffffe0001edf70 sp : ffffffe01ecc7d90 [ 3.414379] gp : ffffffe0005f043c tp : ffffffe01e68eb80 t0 : ffffffe01ecd2980 [ 3.422427] t1 : ffffffe0003ef700 t2 : ffffffe00052e240 s0 : 0000000000000000 [ 3.430475] s1 : 0000000000001011 a0 : 0000000000000000 a1 : ffffffe01ecc7d98 [ 3.438523] a2 : ffffffe01e68eb80 a3 : ffffffe01ecd2978 a4 : 0000000000004001 [ 3.446570] a5 : 0000000000004001 a6 : ffffffe01ecd2900 a7 : 0000000000000000 [ 3.454618] s2 : ffffffe000615ef8 s3 : 0000000000001000 s4 : ffffffe000615ec0 [ 3.462664] s5 : 0000000000000028 s6 : 0000000000001010 s7 : 0000000000000000 [ 3.470712] s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000 [ 3.478759] s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe00052e248 [ 3.486806] t5 : 0000000000000005 t6 : ffffffe01ce75864 [ 3.492723] sstatus: 0000000200000120 sbadaddr: 0000000000004001 scause: 000000000000000d [ 3.503211] ---[ end trace 12820b5063470e04 ]--- [ 4.030149] init: Console is alive [ 4.034265] init: - watchdog - [ 4.037903] init: - preinit - formating /dev/by-name/UDISK to ext4 /etc/preinit: line 1: mkfs.ext4: not found formating /dev/by-name/rootfs_data to ext4 /etc/preinit: line 1: mkfs.ext4: not found [ 4.864635] mount_root: mounting /dev/root [ 4.870538] mount_root: loading kmods from internal overlay [ 4.975409] block: attempting to load /etc/config/fstab [ 5.003830] block: extroot: device not present, retrying in 5 seconds [ 6.926374] [ 6.926374] insmod_device_driver [ 6.926374] [ 6.933550] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 10.079269] block: extroot: cannot find device UDISK [ 10.097150] procd: - early - [ 10.100547] procd: - watchdog - [ 10.309202] procd: - watchdog - [ 10.312994] procd: - ubus - [ 10.325701] procd (1): /proc/108/oom_adj is deprecated, please use /proc/108/oom_score_adj instead. [ 10.512814] procd: - init - Please press Enter to activate this console. [ 10.801422] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 11.253560] xt_time: kernel timezone is -0000 kmodloader done [ 11.861011] file system registered [ 12.006475] configfs-gadget 4100000.udc-controller: failed to start g1: -19 [ 12.342177] read descriptors [ 12.348268] read strings [ 12.623176] sunxi_set_cur_vol_work()485 WARN: get power supply failed [ 12.672246] android_work: sent uevent USB_STATE=CONNECTED [ 12.701353] configfs-gadget gadget: high-speed config #1: c [ 12.737059] android_work: sent uevent USB_STATE=CONFIGURED
-
下面是修改后的dts和kernel的配置文件, 哪位大侠能够指点一下?
-
芒果的tina linux的HDMI驱动有问题,更新了驱动但是接口没更新,现在先回滚到老版本驱动
-
@whycanservice 谢谢你的答复,我还是有点不清楚
芒果tina-linux是 https://github.com/mangopi-sbc/Tina-Linux
它的内核的linux-5.4 https://github.com/mangopi-sbc/tina-linux-5.4
我看它的提交记录 https://github.com/mangopi-sbc/tina-linux-5.4/commits/0d4903ebd9d2194ad914686d5b0fc1ddacf11a9d
只有7次提交,没有HDMI驱动的修改提交,不知道应该如何回滚到旧的版本?但是我也没有找到官方tina-linux-5.4的链接,这样就可以把整个内核替换掉, 我看到由YuzukiTsuru维护的一个版本 https://github.com/Tina-Linux/linux-5.4, 不知道是否可用?或者能否提供一个链接,谢谢!
-
-
@whycanservice 谢谢的答复,我用https://github.com/Tina-Linux/linux-5.4
替换原来内核,测试了一下,原来的异常告警消除了
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号