您尚未登录。

楼主 #1 2020-08-07 21:50:01

zilch_shen
会员
注册时间: 2020-08-05
已发帖子: 9
积分: 9

mangopi v3s 尝试从tf卡启动,结果起不来,晕哥,麻烦你帮我看看呢,啥情况?

U-Boot SPL 2017.01-rc2 (Aug 07 2020 - 01:49:08)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (Aug 07 2020 - 01:49:08 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: MangoPi
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, c2, 12
*** 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 (Aug 07 2020 - 01:49:08 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: MangoPi
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, c2, 12
*** 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
GUID Partition Table Entry Array CRC is wrong: 0x1300e20f != 0xc3bd3d0c
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: ***        Using Backup GPT ***
reading zImage
3930488 bytes read in 266 ms (14.1 MiB/s)
GUID Partition Table Entry Array CRC is wrong: 0x1300e20f != 0xc3bd3d0c
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: ***        Using Backup GPT ***
reading sun8i-v3s-mangopi.dtb
11248 bytes read in 30 ms (365.2 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffbef ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-mangopi (kerson@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Thu Aug 6 19:31:01 PDT 2020
[    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: Mango Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3de8000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 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: 53620K/64036K available (6144K kernel code, 213K rwdata, 1436K rodata, 1024K init, 262K bss, 10416K 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 - 0xc0a35700   ( 214 kB)
[    0.000000]        .bss : 0xc0a37000 - 0xc0a789cc   ( 263 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected 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.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000151] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000372] Console: colour dummy device 80x30
[    0.000407] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000422] pid_max: default: 32768 minimum: 301
[    0.000558] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000571] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001281] CPU: Testing write buffer coherency: ok
[    0.001700] /cpus/cpu@0 missing clock-frequency property
[    0.001724] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002090] Setting up static identity map for 0x40100000 - 0x40100058
[    0.002844] smp: Bringing up secondary CPUs ...
[    0.002862] smp: Brought up 1 node, 1 CPU
[    0.002871] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002878] CPU: All CPU(s) started in SVC mode.
[    0.003682] devtmpfs: initialized
[    0.007091] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007380] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007409] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007565] pinctrl core: initialized pinctrl subsystem
[    0.008574] NET: Registered protocol family 16
[    0.009046] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.010398] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.010415] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023197] SCSI subsystem initialized
[    0.023499] usbcore: registered new interface driver usbfs
[    0.023579] usbcore: registered new interface driver hub
[    0.023676] usbcore: registered new device driver usb
[    0.023912] pps_core: LinuxPPS API ver. 1 registered
[    0.023923] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023947] PTP clock support registered
[    0.024161] Advanced Linux Sound Architecture Driver Initialized.
[    0.025991] clocksource: Switched to clocksource arch_sys_counter
[    0.026834] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4080000
[    0.026853] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    0.033710] Console: switching to colour frame buffer device 100x30
[    0.039845] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    0.050205] NET: Registered protocol family 2
[    0.050840] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050872] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.050895] TCP: Hash tables configured (established 1024 bind 1024)
[    0.050980] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.051025] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.051252] NET: Registered protocol family 1
[    0.051880] RPC: Registered named UNIX socket transport module.
[    0.051901] RPC: Registered udp transport module.
[    0.051906] RPC: Registered tcp transport module.
[    0.051912] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.054196] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.063233] NFS: Registering the id_resolver key type
[    0.063285] Key type id_resolver registered
[    0.063292] Key type id_legacy registered
[    0.063341] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.068142] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.068164] io scheduler noop registered
[    0.068172] io scheduler deadline registered
[    0.068365] io scheduler cfq registered (default)
[    0.072628] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.143078] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.146544] console [ttyS0] disabled
[    0.166805] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.759031] console [ttyS0] enabled
[    0.763285] [drm] Initialized
[    0.769519] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, c2, 12
[    0.776173] m25p80: probe of spi32766.0 failed with error -2
[    0.782217] libphy: Fixed MDIO Bus: probed
[    0.786888] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.792680] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.798472] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.804464] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)
[    0.814060] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.819757] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.826991] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.832643] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.839874] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.844833] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.851833] libphy: stmmac: probed
[    0.857276] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.863813] ehci-platform: EHCI generic platform driver
[    0.869315] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.875530] ohci-platform: OHCI generic platform driver
[    0.880996] usbcore: registered new interface driver usb-storage
[    0.887498] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.897029] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.906177] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.912972] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.917618] i2c /dev entries driver
[    1.036135] Goodix-TS 0-0014: i2c test failed attempt 1: -6
[    1.076165] Goodix-TS 0-0014: i2c test failed attempt 2: -6
[    1.115994] Goodix-TS 0-0014: I2C communication failure: -6
[    1.446171] edt_ft5x06 0-0038: touchscreen probe failed
[    1.452357] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.516022] sunxi-mmc 1c0f000.mmc: base:0xc4071000 irq:23
[    1.564263] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.574772] mmc0: new high speed SD card at address 0002
[    1.580583] sunxi-mmc 1c10000.mmc: base:0xc4075000 irq:24
[    1.587000] usbcore: registered new interface driver usbhid
[    1.592574] usbhid: USB HID core driver
[    1.597505] mmcblk0: mmc0:0002 00000 1.87 GiB
[    1.605153] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.613260] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.622872] NET: Registered protocol family 17
[    1.627592] Key type dns_resolver registered
[    1.632002] Registering SWP/SWPB emulation handler
[    1.642919] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.650972] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.656824] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.666460] hub 1-0:1.0: USB hub found
[    1.671220] hub 1-0:1.0: 1 port detected
[    1.676104] using random self ethernet address
[    1.680556] using random host ethernet address
[    1.686195] usb0: HOST MAC a6:42:45:28:02:30
[    1.690520] usb0: MAC 72:ad:d7:35:09:32
[    1.694407] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.701956] g_cdc gadget: g_cdc ready
[    1.708278] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.717050] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:37 UTC (37)
[    1.725295] vcc5v0: disabling
[    1.728349] ALSA device list:
[    1.731317]   #0: V3s Audio Codec
[    1.735850] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
[    1.743870] Please append a correct "root=" boot option; here are the available partitions:
[    1.752248] b300         1955840 mmcblk0
[    1.752253]  driver: mmcblk
[    1.759066] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[    1.767495] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.10.15-mangopi #1
[    1.774184] Hardware name: Allwinner sun8i Family
[    1.778921] [<c010e2fc>] (unwind_backtrace) from [<c010b098>] (show_stack+0x10/0x14)
[    1.786664] [<c010b098>] (show_stack) from [<c034d804>] (dump_stack+0x84/0x98)
[    1.793885] [<c034d804>] (dump_stack) from [<c01a6d18>] (panic+0xdc/0x248)
[    1.800764] [<c01a6d18>] (panic) from [<c09011f0>] (mount_block_root+0x188/0x260)
[    1.808243] [<c09011f0>] (mount_block_root) from [<c09013e8>] (mount_root+0x120/0x128)
[    1.816154] [<c09013e8>] (mount_root) from [<c0901540>] (prepare_namespace+0x150/0x194)
[    1.824153] [<c0901540>] (prepare_namespace) from [<c0900e40>] (kernel_init_freeable+0x1d4/0x1e4)
[    1.833016] [<c0900e40>] (kernel_init_freeable) from [<c066c7b8>] (kernel_init+0x8/0x10c)
[    1.841188] [<c066c7b8>] (kernel_init) from [<c0107638>] (ret_from_fork+0x14/0x3c)
[    1.848757] Rebooting in 5 seconds..

离线

#2 2020-08-07 21:50:57

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: mangopi v3s 尝试从tf卡启动,结果起不来,晕哥,麻烦你帮我看看呢,啥情况?

[    1.735850] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
[    1.743870] Please append a correct "root=" boot option; here are the available partitions:
[    1.752248] b300         1955840 mmcblk0
[    1.752253]  driver: mmcblk
[    1.759066] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)



TF卡第二分区根文件系统有问题.





离线

楼主 #3 2020-08-08 09:46:57

zilch_shen
会员
注册时间: 2020-08-05
已发帖子: 9
积分: 9

Re: mangopi v3s 尝试从tf卡启动,结果起不来,晕哥,麻烦你帮我看看呢,啥情况?

哇酷小二 说:

[    1.735850] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
[    1.743870] Please append a correct "root=" boot option; here are the available partitions:
[    1.752248] b300         1955840 mmcblk0
[    1.752253]  driver: mmcblk
[    1.759066] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)



TF卡第二分区根文件系统有问题.

具体哪里错误了,能点明下吗,楼主!

离线

#4 2020-08-08 10:33:48

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: mangopi v3s 尝试从tf卡启动,结果起不来,晕哥,麻烦你帮我看看呢,啥情况?

zilch_shen 说:

具体哪里错误了,能点明下吗,楼主!

mangopi跑主线Linux?

重新格式化TF卡第二分区,然后再拷贝根文件系统到这个分区。





离线

楼主 #5 2020-08-08 10:50:18

zilch_shen
会员
注册时间: 2020-08-05
已发帖子: 9
积分: 9

Re: mangopi v3s 尝试从tf卡启动,结果起不来,晕哥,麻烦你帮我看看呢,啥情况?

哇酷小二 说:

mangopi跑主线Linux?

重新格式化TF卡第二分区,然后再拷贝根文件系统到这个分区。

跑的是linux
我用gparted格式化了好多次,就是不行啊。昨天搞了好晚,还是不行。头大了。

离线

页脚

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

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