您尚未登录。

楼主 # 昨天 21:35:03

QL2017
会员
注册时间: 2026-02-19
已发帖子: 29
积分: 19

[求助] F133配置屏幕驱动就离奇启动失败

芯片F133-A,自己做的板子,W25Q128FLASH,在uboot的配置里给CONFIG_DISP2_SUNXI=y注释后可以正常启动,但是此时内核配置好HX8394D的驱动再开机3秒左右就卡死了,不知道为什么,以下是完整Log,求助大佬:

[34]HELLO! BOOT0 is starting!
[37]BOOT0 commit : 88480af
[40]set pll start
[42]periph0 has been enabled
[44]set pll end
[46][pmu]: bus read error
[48]board init ok
[50]ZQ value = 0x2e
[52]get_pmu_exist() = -1
[54]DRAM BOOT DRIVE INFO: V0.33
[57]DRAM CLK = 528 MHz
[59]DRAM Type = 2 (2:DDR2,3:DDR3)
[62]DRAMC read ODT off.
[65]DRAM ODT off.
[67]ddr_efuse_type: 0xa
[69]DRAM SIZE =64 M
[71]dram_tpr4:0x0
[73]PLL_DDR_CTRL_REG:0xf8002b00
[76]DRAM_CLK_REG:0xc0000000
[78][TIMING DEBUG] MR2= 0x0
[83]DRAM simple test OK.
[85]dram size =64
[87]spinor id is: ef 40 18, read cmd: 0b
[90]Succeed in reading toc file head.
[94]The size of toc is c0000.
[223]Entry_name = opensbi
[226]Entry_name = u-boot
[229]Entry_name = dtb
[232]Jump to second Boot.

OpenSBI auto-t113-linux-V0.8-3-ge39e937
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|

Platform Name : T-HEAD Xuantie Platform
Platform HART Features : RV64ACDFIMSUVX
Platform Max HARTs : 1
Current Hart : 0
Firmware Base : 0x41fc0400
Firmware Size : 75 KB
Runtime SBI Version : 0.2

MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b1ff
PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A)
PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
PMP3 : 0x0000000000020000-0x0000000000027fff (A,ÿ

U-Boot 2018.07-ge987def5-dirty (May 22 2026 - 20:42:41 +0800) Allwinner Technology

[00.318]DRAM: 64 MiB
[00.320]Relocation Offset is: 01f2f000
[00.324]secure enable bit: 0
[00.326]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
sunxi flash map init
SPI ALL: ready
[00.337]flash init start
[00.339]workmode = 0,storage type = 3
[00.346]sunxi_upper_lock, invalid address!
[00.350]spi sample_mode:1 sample_delay:1a
[00.355]spi sunxi_slave->max_hz:100000000
SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.366]sunxi flash init ok
[00.369]line:703 init_clocks
[00.373]Loading Environment from SUNXI_FLASH... OK
[00.386]out of usb burn from boot: not need burn key
[00.390]get secure storage map err
partno erro : can't find partition private
root_partition is rootfs
set root to /dev/mtdblock5
[00.402]update part info
[00.404]update bootcmd
[00.406]change working_fdt 0x42aeeda0 to 0x42aceda0
disable nand error: FDT_ERR_NOTFOUND
disable nand error: FDT_ERR_NOTFOUND
No reserved memory region found in source FDT
[00.439]update dts
Hit any key to stop autoboot: 0
[01.592]no vendor_boot partition is found
Android's image name: d1s-nezha_nor
Detect comp none
[01.610]
Starting kernel ...

8 printk messages dropped
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] DMA32 zone: 224 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3
[ 0.000000] elf_hwcap is 0x20112d
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.07-ge987def5-dirty(05/22/2026-20:42:41) mbr_offset=1556480 androidboot.dramsize=64
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 48880K/65536K available (4372K kernel code, 403K rwdata, 1740K rodata, 164K init, 230K bss, 8464K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000024] riscv_timer_clockevent depends on broadcast, but no broadcast function available
[ 0.000385] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.001016] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001037] pid_max: default: 32768 minimum: 301
[ 0.001227] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.001245] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.003302] ASID allocator initialised with 65536 entries
[ 0.003490] rcu: Hierarchical SRCU implementation.
[ 0.004222] devtmpfs: initialized
[ 0.020566] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0
[ 0.021571] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.021604] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 0.022173] pinctrl core: initialized pinctrl subsystem
[ 0.023711] NET: Registered protocol family 16
[ 0.025814] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.026411] cpuidle: using governor menu
[ 0.074309] rtc_ccu: sunxi ccu init OK
[ 0.083333] clock: sunxi ccu init OK
[ 0.084996] clock: sunxi ccu init OK
[ 0.117109] sun6i-dma 3002000.dma-controller: sunxi dma probed
[ 0.119552] iommu: Default domain type: Translated
[ 0.119745] sunxi iommu: irq = 4
[ 0.121267] SCSI subsystem initialized
[ 0.121515] usbcore: registered new interface driver usbfs
[ 0.121611] usbcore: registered new interface driver hub
[ 0.121732] usbcore: registered new device driver usb
[ 0.121889] videodev: Linux video capture interface: v2.00
[ 0.122951] Advanced Linux Sound Architecture Driver Initialized.
[ 0.123687] Bluetooth: Core ver 2.22
[ 0.123781] NET: Registered protocol family 31
[ 0.123791] Bluetooth: HCI device and connection manager initialized
[ 0.123815] Bluetooth: HCI socket layer initialized
[ 0.123832] Bluetooth: L2CAP socket layer initialized
[ 0.123875] Bluetooth: SCO socket layer initialized
[ 0.124183] pwm module init!
[ 0.125902] g2d 5410000.g2d: Adding to iommu group 0
[ 0.126472] G2D: rcq version initialized.major:252
[ 0.127392] clocksource: Switched to clocksource riscv_clocksource
[ 0.141945] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.145555] NET: Registered protocol family 2
[ 0.146474] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.146522] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.146542] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.146557] TCP: Hash tables configured (established 512 bind 512)
[ 0.146725] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.146773] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.147065] NET: Registered protocol family 1
[ 0.148455] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.149087] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.149405] sunxi_spi_resource_get()2438 - [spi0] SPI MASTER MODE
[ 0.149478] sunxi_spi_resource_get()2485 - sample_mode:1 sample_delay:26
[ 0.149605] sunxi_spi_clk_init()2527 - [spi0] mclk 80000000
[ 0.150488] sunxi_spi_probe()2978 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
[ 0.152804] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.160437] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.160702] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.161064] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.180859] io scheduler mq-deadline registered
[ 0.180874] io scheduler kyber registered
[ 0.181842] [DISP]disp_module_init
[ 0.182483] disp 5000000.disp: Adding to iommu group 0
[ 0.224602] display_fb_request,fb_id:0
[ 0.257825] [DISP] Fb_copy_boot_fb,line:1445:
[ 0.257830] no boot_fb0
[ 0.258392] disp_al_manager_apply ouput_type:0
[ 0.258812] [DISP] lcd_clk_config,line:774:
[ 0.258826] disp 0, clk: pll(504000000),clk(504000000),dclk(63000000) dsi_rate(63000000)
[ 0.258826] clk real:pll(504000000),clk(504000000),dclk(126000000) dsi_rate(150000000)
[ 0.258861] [DISP] disp_sys_pwm_config,line:509:
[ 0.258864] disp_sys_pwm_Config, handle is NULL!
[ 0.258873] [DISP] disp_sys_pwm_set_polarity,line:528:
[ 0.258876] disp_sys_pwm_Set_Polarity, handle is NULL!
[ 0.267913] [DISP]disp_module_init finish
[ 0.268876] sunxi_sid_init()783 - insmod ok
[ 0.269770] pwm-regulator: supplied by regulator-dummy
[ 0.271667] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.272159] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.272607] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[ 0.272637] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n
[ 1.706232] printk: console [ttyS0] enabled
[ 1.728335] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.747928] uart uart1: uart1 supply uart not found, using dummy regulator
[ 1.755976] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
[ 1.788691] misc dump reg init
[ 1.793146] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 1.807441] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 1.814725] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 1.837427] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 1.843930] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 1.867455] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1
[ 1.875289] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 1.897461] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 1.917500] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 1.924244] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0
[ 1.948147] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ 1.955842] [ADDR_MGT] addr_mgt_probe: success.
[ 1.968714] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 1.989470] 7 sunxipart partitions found on MTD device spi0.0
[ 1.995872] Creating 7 MTD partitions on "spi0.0":
[ 2.017433] 0x000000000000-0x000000180000 : "uboot"

Log到此结束,目前我没有一点头绪,希望大佬能给点思路或解决方案,感激不尽!!!

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发