您尚未登录。

楼主 # 2021-12-12 11:24:58

how0723
会员
注册时间: 2021-12-12
已发帖子: 65
积分: 53

v3s licheepi 调试u-boot和kernel卡住了

v3s licheepi 调试u-boot和kernel卡住了
主要有以下3个疑点:
1、日志中出现 [    0.130002] console [ttyS0] disabled 是否有影响
2、日志中出现 [    0.932730] m25p80 spi32766.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.939382] m25p80: probe of spi32766.0 failed with error -2
怎么解决?
3、日志到了[    1.537083] Console: switching to colour dummy device 80x30就不再走下去了

U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 04:58:32)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 04:58:32 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 04:58:32 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 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
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffed2 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (yehao@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #2 SMP Sun Dec 12 04:59:16 CST 2021
[    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: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3edf000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    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: 54564K/65024K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10460K reserved, 0K cma-reserved, 0K highmem)
[    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 - 0xc3f80000   (  63 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 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 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_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000184] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000410] Console: colour dummy device 80x30
[    0.000445] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000460] pid_max: default: 32768 minimum: 301
[    0.000587] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000601] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001193] CPU: Testing write buffer coherency: ok
[    0.001566] /cpus/cpu@0 missing clock-frequency property
[    0.001590] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002017] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002189] Hierarchical SRCU implementation.
[    0.002686] smp: Bringing up secondary CPUs ...
[    0.002702] smp: Brought up 1 node, 1 CPU
[    0.002710] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002717] CPU: All CPU(s) started in SVC mode.
[    0.003470] devtmpfs: initialized
[    0.006579] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006873] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006900] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007060] pinctrl core: initialized pinctrl subsystem
[    0.007900] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008037] NET: Registered protocol family 16
[    0.008508] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009626] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009642] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022704] SCSI subsystem initialized
[    0.022997] usbcore: registered new interface driver usbfs
[    0.023064] usbcore: registered new interface driver hub
[    0.023159] usbcore: registered new device driver usb
[    0.023408] pps_core: LinuxPPS API ver. 1 registered
[    0.023417] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023439] PTP clock support registered
[    0.023659] Advanced Linux Sound Architecture Driver Initialized.
[    0.025483] clocksource: Switched to clocksource arch_sys_counter
[    0.036181] NET: Registered protocol family 2
[    0.036767] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036802] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036826] TCP: Hash tables configured (established 1024 bind 1024)
[    0.036953] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037002] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037209] NET: Registered protocol family 1
[    0.037769] RPC: Registered named UNIX socket transport module.
[    0.037786] RPC: Registered udp transport module.
[    0.037792] RPC: Registered tcp transport module.
[    0.037798] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.039875] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.048760] NFS: Registering the id_resolver key type
[    0.048807] Key type id_resolver registered
[    0.048815] Key type id_legacy registered
[    0.048857] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.050386] random: fast init done
[    0.053260] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053281] io scheduler noop registered
[    0.053289] io scheduler deadline registered
[    0.053567] io scheduler cfq registered (default)
[    0.053578] io scheduler mq-deadline registered
[    0.053585] io scheduler kyber registered
[    0.057816] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.058309] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.126796] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.130002] console [ttyS0] disabled
[    0.150276] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.746824] console [ttyS0] enabled
[    0.751500] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    0.759246] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    0.766920] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    0.774571] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    0.782232] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    0.789893] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    0.797552] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    0.805199] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    0.812858] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    0.820517] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    0.828176] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    0.835922] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    0.843657] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    0.851403] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    0.859150] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    0.866896] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    0.874631] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    0.882376] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    0.890122] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    0.897868] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    0.905614] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    0.913349] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    0.922604] panel-simple panel: panel supply power not found, using dummy regulator
[    0.932730] m25p80 spi32766.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.939382] m25p80: probe of spi32766.0 failed with error -2
[    0.945514] libphy: Fixed MDIO Bus: probed
[    0.950066] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.956657] ehci-platform: EHCI generic platform driver
[    0.962149] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.967828] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.975769] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.005538] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.012707] hub 1-0:1.0: USB hub found
[    1.016642] hub 1-0:1.0: 1 port detected
[    1.021141] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.027439] ohci-platform: OHCI generic platform driver
[    1.032991] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.039715] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.047650] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.120590] hub 2-0:1.0: USB hub found
[    1.124435] hub 2-0:1.0: 1 port detected
[    1.132047] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.141778] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.148673] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.153219] i2c /dev entries driver
[    1.158178] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    1.167738] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.235730] sunxi-mmc 1c0f000.mmc: base:0xc4077000 irq:24
[    1.242787] usbcore: registered new interface driver usbhid
[    1.248461] usbhid: USB HID core driver
[    1.254096] NET: Registered protocol family 17
[    1.258789] Key type dns_resolver registered
[    1.263209] Registering SWP/SWPB emulation handler
[    1.273654] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[    1.284216] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.298557] Console: switching to colour frame buffer device 60x34
[    1.307034] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.315126] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.324721] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    1.332489] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    1.340171] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    1.347839] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    1.355500] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    1.363149] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    1.370810] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    1.378471] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    1.386131] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    1.393779] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    1.401439] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    1.409184] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    1.416931] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    1.424666] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    1.432413] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    1.440159] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    1.447905] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    1.455651] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    1.463387] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    1.471133] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    1.478880] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    1.486627] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    1.494745] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.501470] [drm] No driver support for vblank timestamp query.
[    1.516803] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc073f638)
[    1.524143] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073e4b8)
[    1.531887] fb: switching to sun4i-drm-fb from simple
[    1.537083] Console: switching to colour dummy device 80x30

离线

#1 2021-12-12 11:37:30

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,378
积分: 1902
个人网站

Re: v3s licheepi 调试u-boot和kernel卡住了

本站右上角搜 xt25f128b





离线

页脚

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

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