页次: 1
jianke512 说:晕哥,在Kernel的log中已确认console=ttyS0,与你在一楼推荐的CONFIG_BOOTARGS设置一样
另外Kernel version 4.14
困扰中参考1: https://whycan.cn/t_2388.html (荔枝派zero/小智极客S3/V3s使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡)
参考这个帖子, 一个一个替换文件, 逐步排除问题。
Hi,
晕哥,此问题解决,参考以下链接的改法OK了,谢谢
https://www.lotlab.org/2018/07/28/record-of-using-licheepi-zero-part-1-u-boot-linux-buildroot/
晕哥,现在调试LecheePi Zero,屏幕800x480,已按照1楼的配置更改UBOOT,kernel用的800x480的dtb,启动过程中UBOOT屏幕可以显示,linux kernel屏幕不显示并且kernel hang住,请帮忙给些调试建议
kernle停在Console: switching to colour dummy device 80x30位置不动了
U-Boot SPL 2017.01-rc2 (May 17 2019 - 15:06:54)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2 (May 17 2019 - 15:06:54 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2 (May 17 2019 - 15:06:54 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
reading zImage
4021504 bytes read in 218 ms (17.6 MiB/s)
reading sun8i-v3s-licheepi-zero-with-800x480-lcd.dtb
11953 bytes read in 27 ms (431.6 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dffeb0 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.14-licheepi-zero (root@muwei) (gcc version 7.9
[ 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 instructie
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33740 r8192 d23604 u6556
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15883
[ 0.000000] Kernel command line: console=ttyS0,115200 rootwait root=/dev/mmcw
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 53512K/64036K available (6144K kernel code, 284K rwdata,)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4000000 - 0xff800000 ( 952 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc3e89000 ( 62 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a473a0 ( 285 kB)
[ 0.000000] .bss : 0xc0a4e6dc - 0xc0a902e4 ( 264 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s
[ 0.000018] Switching to timer-based delay loop, resolution 41ns
[ 0.000179] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, maxs
[ 0.000430] Console: colour dummy device 80x30
[ 0.000470] Calibrating delay loop (skipped), value calculated using timer f)
[ 0.000486] pid_max: default: 32768 minimum: 301
[ 0.000612] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000627] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001273] CPU: Testing write buffer coherency: ok
[ 0.001665] /cpus/cpu@0 missing clock-frequency property
[ 0.001692] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002158] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002338] Hierarchical SRCU implementation.
[ 0.002846] smp: Bringing up secondary CPUs ...
[ 0.002860] smp: Brought up 1 node, 1 CPU
[ 0.002868] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002876] CPU: All CPU(s) started in SVC mode.
[ 0.003681] devtmpfs: initialized
[ 0.006874] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5
[ 0.007170] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[ 0.007198] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.007379] pinctrl core: initialized pinctrl subsystem
[ 0.008361] NET: Registered protocol family 16
[ 0.008834] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009885] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint.
[ 0.009982] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.021743] SCSI subsystem initialized
[ 0.021993] usbcore: registered new interface driver usbfs
[ 0.022046] usbcore: registered new interface driver hub
[ 0.022140] usbcore: registered new device driver usb
[ 0.022382] pps_core: LinuxPPS API ver. 1 registered
[ 0.022393] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 0.022415] PTP clock support registered
[ 0.022612] Advanced Linux Sound Architecture Driver Initialized.
[ 0.024319] clocksource: Switched to clocksource arch_sys_counter
[ 0.034142] NET: Registered protocol family 2
[ 0.034814] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.034849] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.034872] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.035007] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.035059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.035282] NET: Registered protocol family 1
[ 0.035967] RPC: Registered named UNIX socket transport module.
[ 0.035989] RPC: Registered udp transport module.
[ 0.035995] RPC: Registered tcp transport module.
[ 0.036001] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.037885] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.043680] NFS: Registering the id_resolver key type
[ 0.043740] Key type id_resolver registered
[ 0.043749] Key type id_legacy registered
[ 0.047928] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 0.047952] io scheduler noop registered
[ 0.047960] io scheduler deadline registered
[ 0.048260] io scheduler cfq registered (default)
[ 0.048274] io scheduler mq-deadline registered
[ 0.048282] io scheduler kyber registered
[ 0.048869] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.052104] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.052982] pwm-backlight backlight: backlight supply power not found, usingr
[ 0.147212] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.150251] console [ttyS0] disabled
[ 0.170534] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1A
[ 0.749735] console [ttyS0] enabled
[ 0.756268] panel-simple panel: panel supply power not found, using dummy rer
[ 0.765453] libphy: Fixed MDIO Bus: probed
[ 0.769921] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.776531] ehci-platform: EHCI generic platform driver
[ 0.782032] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.787700] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus 1
[ 0.795653] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.824364] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.831462] hub 1-0:1.0: USB hub found
[ 0.835402] hub 1-0:1.0: 1 port detected
[ 0.839938] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.846239] ohci-platform: OHCI generic platform driver
[ 0.851805] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.858530] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus 2
[ 0.866485] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 0.939323] hub 2-0:1.0: USB hub found
[ 0.943162] hub 2-0:1.0: 1 port detected
[ 0.950768] udc-core: couldn't find an available UDC - added [g_cdc] to lists
[ 0.960467] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 0.967364] sun6i-rtc 1c20400.rtc: RTC enabled
[ 0.971933] i2c /dev entries driver
[ 0.976832] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-000
[ 0.985861] IR NEC protocol handler initialized
[ 0.990400] IR RC5(x/sz) protocol handler initialized
[ 0.995533] IR RC6 protocol handler initialized
[ 1.000061] IR JVC protocol handler initialized
[ 1.004610] IR Sony protocol handler initialized
[ 1.009220] IR SANYO protocol handler initialized
[ 1.013917] IR Sharp protocol handler initialized
[ 1.018628] IR MCE Keyboard/mouse protocol handler initialized
[ 1.024464] IR XMP protocol handler initialized
[ 1.029670] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, no)
[ 1.094359] sunxi-mmc 1c0f000.mmc: base:0xc406b000 irq:24
[ 1.101308] usbcore: registered new interface driver usbhid
[ 1.106979] usbhid: USB HID core driver
[ 1.112789] NET: Registered protocol family 17
[ 1.117475] Key type dns_resolver registered
[ 1.121869] Registering SWP/SWPB emulation handler
[ 1.134778] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e8900
[ 1.145375] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=80
[ 1.161569] Console: switching to colour frame buffer device 100x30
[ 1.174080] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registere!
[ 1.182839] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.189586] [drm] No driver support for vblank timestamp query.
[ 1.204990] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0743094)
[ 1.212352] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0)
[ 1.220086] fb: switching to sun4i-drm-fb from simple
[ 1.225268] Console: switching to colour dummy device 80x30
页次: 1