您尚未登录。

#1 Re: 全志 SOC » 荔枝派Zero V3s开发板入坑记录 (TF/SD卡启动)(主线Linux,主线u-boot) » 2018-11-10 16:43:52

晕哥 说:
dobyppg 说:
晕哥 说:

@dobyppg
你的根文件系统有问题,

Starting init: /sbin/init exists but couldn't execute it (error -8)

我用sudo重新解压rootfs可以了,谢谢!
后边的VBUS_ERROR是怎么回事,我看有人说是一个拨码开关造成的,但是板子上好像没有拨码开关。

Starting network: OK


Welcome to Buildroot

buildroot login: [    7.286279] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[    9.366275] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   13.206274] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   15.286278] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   17.366279] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   19.446277] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   23.286277] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100

看起来好像是 usb 的 vbus 电源 引脚引起?

不管他了能跑起来就可以了 哈哈 谢谢!

#2 Re: 全志 SOC » 荔枝派Zero V3s开发板入坑记录 (TF/SD卡启动)(主线Linux,主线u-boot) » 2018-11-10 14:50:06

晕哥 说:

@dobyppg
你的根文件系统有问题,

Starting init: /sbin/init exists but couldn't execute it (error -8)

我用sudo重新解压rootfs可以了,谢谢!
后边的VBUS_ERROR是怎么回事,我看有人说是一个拨码开关造成的,但是板子上好像没有拨码开关。

Starting network: OK


Welcome to Buildroot

buildroot login: [    7.286279] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[    9.366275] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   13.206274] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   15.286278] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   17.366279] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   19.446277] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   23.286277] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100

#3 Re: 全志 SOC » 荔枝派Zero V3s开发板入坑记录 (TF/SD卡启动)(主线Linux,主线u-boot) » 2018-11-09 21:44:36

刚刚入坑,我按照步骤烧录的楼主提供的V3s_TFCard,但是总是自己重启,打印信息如下:

U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51)
DRAM: 64 MiB
Trying to boot from MMC1

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


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:   phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading zImage
4016104 bytes read in 637 ms (6 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11803 bytes read in 29 ms (397.5 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffe1a ... OK

Starting kernel ...

[    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
[    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.  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, 222K 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 - 0xbfe00000   (  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 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000189] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000417] Console: colour dummy device 80x30
[    0.000456] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000473] pid_max: default: 32768 minimum: 301
[    0.000603] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000619] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001227] CPU: Testing write buffer coherency: ok
[    0.001611] /cpus/cpu@0 missing clock-frequency property
[    0.001635] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002069] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002249] Hierarchical SRCU implementation.
[    0.002739] smp: Bringing up secondary CPUs ...
[    0.002756] smp: Brought up 1 node, 1 CPU
[    0.002766] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002773] CPU: All CPU(s) started in SVC mode.
[    0.003540] devtmpfs: initialized
[    0.006665] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006960] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006988] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007154] pinctrl core: initialized pinctrl subsystem
[    0.008023] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 with crng_init=0
[    0.008164] NET: Registered protocol family 16
[    0.008652] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009781] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009798] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023293] SCSI subsystem initialized
[    0.023603] usbcore: registered new interface driver usbfs
[    0.023670] usbcore: registered new interface driver hub
[    0.023770] usbcore: registered new device driver usb
[    0.024022] pps_core: LinuxPPS API ver. 1 registered
[    0.024034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024056] PTP clock support registered
[    0.024282] Advanced Linux Sound Architecture Driver Initialized.
[    0.026142] clocksource: Switched to clocksource arch_sys_counter
[    0.036919] NET: Registered protocol family 2
[    0.037516] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037554] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037576] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037703] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037750] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037966] NET: Registered protocol family 1
[    0.038555] RPC: Registered named UNIX socket transport module.
[    0.038578] RPC: Registered udp transport module.
[    0.038583] RPC: Registered tcp transport module.
[    0.038588] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040562] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049495] NFS: Registering the id_resolver key type
[    0.049551] Key type id_resolver registered
[    0.049558] Key type id_legacy registered
[    0.049605] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.051066] random: fast init done
[    0.053877] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053902] io scheduler noop registered
[    0.053911] io scheduler deadline registered
[    0.054164] io scheduler cfq registered (default)
[    0.054178] io scheduler mq-deadline registered
[    0.054185] io scheduler kyber registered
[    0.058527] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.127613] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.130886] console [ttyS0] disabled
[    0.151160] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.741853] console [ttyS0] enabled
[    0.750020] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.756669] m25p80: probe of spi32766.0 failed with error -2
[    0.762886] libphy: Fixed MDIO Bus: probed
[    0.767641] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.773437] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.779223] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.785213] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)
[    0.794790] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.800483] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.807716] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.813369] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.820593] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.825553] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.832521] libphy: stmmac: probed
[    0.837844] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.844385] ehci-platform: EHCI generic platform driver
[    0.850019] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.855638] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.863613] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.896160] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.903402] hub 1-0:1.0: USB hub found
[    0.907354] hub 1-0:1.0: 1 port detected
[    0.911837] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.918131] ohci-platform: OHCI generic platform driver
[    0.923704] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.930439] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.938394] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.011267] hub 2-0:1.0: USB hub found
[    1.015113] hub 2-0:1.0: 1 port detected
[    1.022753] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.032352] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.041372] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.048279] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.052824] i2c /dev entries driver
[    1.057848] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.067351] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.136192] sunxi-mmc 1c0f000.mmc: base:0xc407b000 irq:23
[    1.183100] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.192886] mmc0: Problem switching card into high-speed mode!
[    1.198843] sunxi-mmc 1c10000.mmc: base:0xc423b000 irq:24
[    1.205213] usbcore: registered new interface driver usbhid
[    1.210869] usbhid: USB HID core driver
[    1.215474] mmc0: new SDHC card at address 0001
[    1.220796] mmcblk0: mmc0:0001 SD16G 15.0 GiB 
[    1.227568] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.235497] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.242082]  mmcblk0: p1 p2
[    1.250229] NET: Registered protocol family 17
[    1.254801] Key type dns_resolver registered
[    1.259354] Registering SWP/SWPB emulation handler
[    1.268798] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.279472] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.295656] Console: switching to colour frame buffer device 100x30
[    1.308165] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.316879] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.328305] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.334070] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.343258] hub 3-0:1.0: USB hub found
[    1.347235] hub 3-0:1.0: 1 port detected
[    1.352445] using random self ethernet address
[    1.357024] using random host ethernet address
[    1.363533] usb0: HOST MAC 1e:56:5f:d1:5b:35
[    1.367980] usb0: MAC 7a:22:a8:1d:eb:71
[    1.371875] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.379394] g_cdc gadget: g_cdc ready
[    1.385742] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.394243] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:08:36 UTC (516)
[    1.402666] vcc5v0: disabling
[    1.405642] ALSA device list:
[    1.408660]   #0: V3s Audio Codec
[    1.414061] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.423537] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.469694] EXT4-fs (mmcblk0p2): recovery complete
[    1.477571] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.485734] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.494781] devtmpfs: mounted
[    1.499148] Freeing unused kernel memory: 1024K
[    1.530217] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-0000, throttling...
[    6.566158] request_module: modprobe binfmt-0000 cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[    6.581503] Starting init: /sbin/init exists but couldn't execute it (error -8)
[    6.623106] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-0000, throttling...
[   11.686150] request_module: modprobe binfmt-0000 cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[   11.701541] Starting init: /bin/sh exists but couldn't execute it (error -8)
[   11.719872] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[   11.734027] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-licheepi-zero+ #46
[   11.741324] Hardware name: Allwinner sun8i Family
[   11.746067] [<c010e22c>] (unwind_backtrace) from [<c010af9c>] (show_stack+0x10/0x14)
[   11.753813] [<c010af9c>] (show_stack) from [<c0674fd0>] (dump_stack+0x90/0xa4)
[   11.761037] [<c0674fd0>] (dump_stack) from [<c011b05c>] (panic+0xf0/0x268)
[   11.767911] [<c011b05c>] (panic) from [<c06870d4>] (kernel_init+0x100/0x110)
[   11.774955] [<c06870d4>] (kernel_init) from [<c0107358>] (ret_from_fork+0x14/0x3c)
[   11.782527] Rebooting in 5 seconds..

页脚

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

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