您尚未登录。

楼主 #1 2020-04-16 12:35:23

ZZL
会员
注册时间: 2020-04-08
已发帖子: 7
积分: 7

新手小白请教V3S启动问题

1、板子用NAND flash启动无反应,串口也没有打印信息;用SD卡启动有反应,串口0输入下面数据;但好像没有启动成功,想请教下大佬们,是什么意思?

Starting kernel ...


[12:21:03.326]收←◆[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.0-licheepi-zero+ (hexing@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #46 SMP Fri Dec 15 14:36:43 CST 2017

[12:21:03.373]收←◆[    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 with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on. 
[12:21:03.420]收←◆ Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 mtdparts=spi32766.0:1M(uboot),64k(dtb),4M(kernel),-(rootfs) rootwait root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0
[    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: 53572K/64036K available (6144K kernel code, 222
[12:21:03.467]收←◆K rwdata, 1480K rodata, 1024K init, 266K bss, 10464K 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 - 0xc3e89000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0
[12:21:03.514]收←◆xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a37b00   ( 223 kB)
[    0.000000]        .bss : 0xc0a3ebec - 0xc0a8153c   ( 267 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
[12:21:03.545]收←◆ 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.000020] Switching to timer-based delay loop, resolution 41ns

[12:21:03.592]收←◆[    0.000195] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000433] Console: colour dummy device 80x30
[    0.000470] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000486] pid_max: default: 32768 minimum: 301
[    0.000613] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000628] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001243] CPU: Testing
[12:21:03.639]收←◆ write buffer coherency: ok
[    0.001619] /cpus/cpu@0 missing clock-frequency property
[    0.001643] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002079] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002257] Hierarchical SRCU implementation.
[    0.002738] smp: Bringing up secondary CPUs ...
[    0.002753] smp: Brought up 1 node, 1 CPU
[    0.002763] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002769] CPU: All CPU(s) started in SVC mode.
[    0.003
[12:21:03.686]收←◆536] devtmpfs: initialized
[    0.006680] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006989] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007018] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007182] pinctrl core: initialized pinctrl subsystem
[    0.008067] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 with crng_init=0
[    0.008206] NET: Registered protocol family 16
[   
[12:21:03.733]收←◆ 0.008652] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009751] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009769] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023261] SCSI subsystem initialized
[    0.023568] usbcore: registered new interface driver usbfs
[    0.023636] usbcore: registered new interface driver hub
[    0.023734] usbcore: registered new device driver usb
[    0.023983] pps_core: LinuxPPS API ver. 1 register
[12:21:03.779]收←◆ed
[    0.023995] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024020] PTP clock support registered
[    0.024252] Advanced Linux Sound Architecture Driver Initialized.
[    0.026121] clocksource: Switched to clocksource arch_sys_counter
[    0.036955] NET: Registered protocol family 2
[    0.037543] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037579] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037603] 
[12:21:03.811]收←◆TCP: Hash tables configured (established 1024 bind 1024)
[    0.037738] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037789] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038002] NET: Registered protocol family 1
[    0.038576] RPC: Registered named UNIX socket transport module.
[    0.038596] RPC: Registered udp transport module.
[    0.038602] RPC: Registered tcp transport module.
[    0.038607] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040575] 
[12:21:03.858]收←◆workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049510] NFS: Registering the id_resolver key type
[    0.049565] Key type id_resolver registered
[    0.049572] Key type id_legacy registered
[    0.049619] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.051100] random: fast init done
[    0.053923] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053945] io scheduler noop registered
[    0.053952] io scheduler deadline registered
[    0.054205
[12:21:03.905]收←◆] io scheduler cfq registered (default)
[    0.054218] io scheduler mq-deadline registered
[    0.054225] io scheduler kyber registered
[    0.058572] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.127809] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.131067] console [ttyS0] disabled
[    0.151347] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.742054] console [ttyS0] enabled
[    0.750231] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.756880] m25p80: probe of spi32766.0 failed with error -2
[    0.763089] libphy: Fixed MDIO Bus: probed
[    0.767842] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.773639] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.779422] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.785415] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)

[12:21:03.983]收←◆[    0.794998] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.800688] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.807916] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.813568] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.820793] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.825752] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.832720] libphy: stmmac: probed
[    0.838077] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.844618] ehci-platform: EHCI generic platform driver
[    0.850247] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.855865] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.863840] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000

[12:21:04.061]收←◆[    0.896140] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.903383] hub 1-0:1.0: USB hub found
[    0.907333] hub 1-0:1.0: 1 port detected
[    0.911827] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.918119] ohci-platform: OHCI generic platform driver
[    0.923689] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.930420] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.938382] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400

[12:21:04.170]收←◆[    1.011251] hub 2-0:1.0: USB hub found
[    1.015089] hub 2-0:1.0: 1 port detected
[    1.022735] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.032335] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.041371] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0

[12:21:04.233]收←◆[    1.048276] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.052825] i2c /dev entries driver
[    1.057975] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.067499] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)

[12:21:04.295]收←◆[    1.136165] sunxi-mmc 1c0f000.mmc: base:0xc407b000 irq:23

[12:21:04.358]收←◆[    1.187911] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.196151] sunxi-mmc 1c10000.mmc: base:0xc423b000 irq:24
[    1.202546] usbcore: registered new interface driver usbhid
[    1.208201] usbhid: USB HID core driver
[    1.212711] mmc0: Problem switching card into high-speed mode!
[    1.218855] mmc0: new SDXC card at address 213f
[    1.224059] mmcblk0: mmc0:213f APPSD 62.5 GiB 
[    1.230206] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.238273] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.246434] NET: Registered protocol family 17
[    1.251000] Key type dns_resolver registered
[    1.255418] Registering SWP/SWPB emulation handler
[    1.260767]  mmcblk0: p1 p2
[    1.272203] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.282926] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.299222] Console: switching to colour frame buffer device 100x30
[    1.311629] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.320239] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.331674] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.337525] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.346714] hub 3-0:1.0: USB hub found
[    1.350576] hub 3-0:1.0: 1 port detected
[    1.355617] using random self ethernet address
[    1.360175] using random host ethernet address
[    1.365780] usb0: HOST MAC 92:4c:9e:9e:c4:ca
[    1.370213] usb0: MAC e2:29:7a:9b:96:ef
[    1.374110] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.381627] g_cdc gadget: g_cdc ready
[    1.388070] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.397535] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:55 UTC (55)
[    1.405805] vcc5v0: disabling
[    1.408894] ALSA device list:
[    1.411865]   #0: V3s Audio Codec
[    1.417080] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.426074] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities

[12:21:04.623]收←◆[    1.450175] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[    1.464064] EXT4-fs (mmcblk0p2): recovery complete
[    1.468969] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.477147] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.486909] devtmpfs: mounted
[    1.491178] Freeing unused kernel memory: 1024K
[    1.502579] EXT4-fs error (device mmcblk0p2): ext4_iget:4691: inode #783363: comm swapper/0: bad extra_isize 65535 (inode size 256)
[    1.516595] Starting init: /sbin/init exists but couldn't execute it (error -117)
[    1.532796] Starting init: /bin/sh exists but couldn't execute it (error -8)

[12:21:04.748]收←◆[    1.539952] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (80, <SessEnd), retry #0, port1 00000100
[    1.549264] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    1.563416] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-licheepi-zero+ #46
[    1.570712] Hardware name: Allwinner sun8i Family
[    1.575451] [<c010e22c>] (unwind_backtrace) from [<c010af9c>] (show_stack+0x10/0x14)
[    1.583197] [
[12:21:04.780]收←◆<c010af9c>] (show_stack) from [<c0674fd0>] (dump_stack+0x90/0xa4)
[    1.590421] [<c0674fd0>] (dump_stack) from [<c011b05c>] (panic+0xf0/0x268)
[    1.597295] [<c011b05c>] (panic) from [<c06870d4>] (kernel_init+0x100/0x110)
[    1.604339] [<c06870d4>] (kernel_init) from [<c0107358>] (ret_from_fork+0x14/0x3c)
[    1.611912] Rebooting in 5 seconds..

[12:21:10.405]收←◆
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51)
DRAM: 64 MiB
Trying to boot from MMC1
[12:21:10.686]收←◆

U-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB

[12:21:10.780]收←◆MMC:   SUNXI SD/MMC: 0

[12:21:10.811]收←◆SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, using default environment


[12:21:10.905]收←◆Setting up a 800x480 lcd console (overscan 0x0)

[12:21:10.952]收←◆dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6

[12:21:11.515]收←◆In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000

[12:21:11.562]收←◆

U-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, 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:   
[12:21:11.608]收←◆phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0 

[12:21:11.718]收←◆reading zImage

[12:21:12.359]收←◆4016104 bytes read in 640 ms (6 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11803 bytes read in 28 ms (411.1 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffe1a ... OK

离线

#2 2020-04-18 23:53:50

xyyangkun
会员
注册时间: 2018-03-14
已发帖子: 18
积分: 17

Re: 新手小白请教V3S启动问题

你的固件不支持spi nand

离线

页脚

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

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