qn1530868394

qn1530868394

0个粉丝

11

问答

0

专栏

0

资料

qn1530868394  发布于  2018-07-10 17:25:03
采纳率 0%
11个问答
1851

Cannot open root device "mtdblock2" or unknown-block(0,0): error -6

 
按Hi3519V101/Hi3516AV200 SDK 安装以及升级使用说明.txt文档编译烧写到nand flash,板子起来后,报如下错误:
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0): error -6
有没有碰到这种情况的?

详细串口打印如下:
U-Boot 2010.06 (Jul 10 2018 - 15:19:43)

Check Flash Memory Controller v100 ... Found
Special NAND id table Version 1.38
Nand ID: 0xEC 0xDA 0x10 0x95 0x44 0xEC 0xDA 0x10
Block:128KB Page:2KB Chip:256MB*1 OOB:64B ECC:4bit/512
ECC provided by Flash Memory Controller
Nand total size: 256MB
MMC:   
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x300000
3145728 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.18.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3098182 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.18.20 (root@ldz-ty) (gcc version 4.9.4 20150629 (prerelease) (Hisilicon_v500_20160223) ) #1 SMP Tue Jul 10 11:38:48 CST 2018
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Hisilicon HI3519V101 DEMO Board
cmz zone is not set!
cma: Reserved 16 MiB at 0x9f000000
Memory policy: Data cache writealloc
PERCPU: Embedded 9 pages/cpu @debcc000 s7424 r8192 d21248 u36864
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: mem=512M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2 rw mtdparts=hinand:1M(boot),3M(kernel),32M(rootfs),28M(test)
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 496936K/524288K available (4327K kernel code, 200K rwdata, 1132K rodata, 224K init, 349K bss, 27352K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc055d190   (5461 kB)
      .init : 0xc055e000 - 0xc0596000   ( 224 kB)
      .data : 0xc0596000 - 0xc05c83c0   ( 201 kB)
       .bss : 0xc05c83c0 - 0xc061fa7c   ( 350 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 24.00MHz (phys).
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
Switching to timer-based delay loop, resolution 41ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80421be8 - 0x80421c40
ARM CCI driver probed
CPU1: Booted secondary processor
CPU1: thread -1, cpu 0, socket 1, mpidr 80000100
Brought up 2 CPUs
SMP: Total of 2 processors activated (96.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
Serial: AMBA PL011 UART driver
12100000.uart: ttyAMA0 at MMIO 0x12100000 (irq = 36, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
SCSI subsystem initialized
ssp-pl022 12120000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12120000.spi: mapped registers from 0x12120000 to fea20000
ssp-pl022 12121000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12121000.spi: mapped registers from 0x12121000 to fea21000
ssp-pl022 12122000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12122000.spi: mapped registers from 0x12122000 to fea22000
ssp-pl022 12123000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12123000.spi: mapped registers from 0x12123000 to fea23000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 512 (order: 3, 32768 bytes)
jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 970
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pl061_gpio 12140000.gpio_chip: PL061 GPIO chip @0x12140000 registered
pl061_gpio 12141000.gpio_chip: PL061 GPIO chip @0x12141000 registered
pl061_gpio 12142000.gpio_chip: PL061 GPIO chip @0x12142000 registered
pl061_gpio 12143000.gpio_chip: PL061 GPIO chip @0x12143000 registered
pl061_gpio 12144000.gpio_chip: PL061 GPIO chip @0x12144000 registered
pl061_gpio 12145000.gpio_chip: PL061 GPIO chip @0x12145000 registered
pl061_gpio 12146000.gpio_chip: PL061 GPIO chip @0x12146000 registered
pl061_gpio 12147000.gpio_chip: PL061 GPIO chip @0x12147000 registered
pl061_gpio 12148000.gpio_chip: PL061 GPIO chip @0x12148000 registered
pl061_gpio 12149000.gpio_chip: PL061 GPIO chip @0x12149000 registered
pl061_gpio 1214a000.gpio_chip: PL061 GPIO chip @0x1214a000 registered
pl061_gpio 1214b000.gpio_chip: PL061 GPIO chip @0x1214b000 registered
pl061_gpio 1214c000.gpio_chip: PL061 GPIO chip @0x1214c000 registered
pl061_gpio 1214d000.gpio_chip: PL061 GPIO chip @0x1214d000 registered
pl061_gpio 1214e000.gpio_chip: PL061 GPIO chip @0x1214e000 registered
pl061_gpio 12150000.gpio_chip: PL061 GPIO chip @0x12150000 registered
brd: module loaded
hisi-sfc hisi_spi_nor.0: unrecognized JEDEC id bytes: 00, 00, 00
hisi-sfc hisi_spi_nor.0: spi nor register fail!
hisi-sfc: probe of hisi_spi_nor.0 failed with error -2
SPI Nand ID Table Version 2.4
Cannot found a valid SPI Nand Device
libphy: hisi_gemac_mii_bus: probed
hi_gmac_v200 10050000.ethernet (unnamed net_device) (uninitialized): using random MAC address aa:8b:ce:c9:2e:f0
attached PHY 1 to driver Generic PHY, PHY_ID=0x1cc916
higmac: ETH MAC supporte CCI.
Higmac dma_sg_phy: 0x9e700000
ETH: rgmii, phy_addr=1
xhci-hcd 10180000.xhci: xHCI Host Controller
xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 1
xhci-hcd 10180000.xhci: irq 54, io mem 0x10180000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 10180000.xhci: xHCI Host Controller
xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform 10120000.ehci: EHCI Host Controller
ehci-platform 10120000.ehci: new USB bus registered, assigned bus number 3
ehci-platform 10120000.ehci: irq 51, io mem 0x10120000
ehci-platform 10120000.ehci: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
ohci-platform 10110000.ohci: Generic Platform OHCI controller
ohci-platform 10110000.ohci: new USB bus registered, assigned bus number 4
ohci-platform 10110000.ohci: irq 52, io mem 0x10110000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
hisi-i2c-v110 12110000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12110000.i2c: mapped registers from 0x12110000 to 0xfea10000
hisi-i2c-v110 12111000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12111000.i2c: mapped registers from 0x12111000 to 0xfea11000
hisi-i2c-v110 12112000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12112000.i2c: mapped registers from 0x12112000 to 0xfea12000
hisi-i2c-v110 12113000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12113000.i2c: mapped registers from 0x12113000 to 0xfea13000
CPUidle for CPU1 registered
himci: mmc host probe
himci: mmc host probe
usb 3-1: new high-speed USB device number 2 using ehci-platform
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
himci: mmc host probe
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.20 #1
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x88/0x98)
[] (dump_stack) from [] (panic+0x9c/0x1fc)
[] (panic) from [] (mount_block_root+0x218/0x298)
[] (mount_block_root) from [] (prepare_namespace+0x190/0x1d4)
[] (prepare_namespace) from [] (kernel_init_freeable+0x1c8/0x1d8)
[] (kernel_init_freeable) from [] (kernel_init+0x8/0xe8)
[] (kernel_init) from [] (ret_from_fork+0x14/0x34)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.20 #1
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x88/0x98)
[] (dump_stack) from [] (handle_IPI+0x1cc/0x1ec)
[] (handle_IPI) from [] (gic_handle_irq+0x74/0x78)
[] (gic_handle_irq) from [] (__irq_svc+0x40/0x54)
Exception stack(0xc0597f48 to 0xc0597f90)
7f40:                   fffffff0 00000000 fffffff0 c00199a0 c0596018 c059e460
7f60: c059e4c4 00000000 00000000 00000000 c0596000 c04239b0 c059f21c c0597f90
7f80: c000f0e4 c000f0e8 60000113 ffffffff
[] (__irq_svc) from [] (arch_cpu_idle+0x38/0x3c)
[] (arch_cpu_idle) from [] (cpu_startup_entry+0x228/0x29c)
[] (cpu_startup_entry) from [] (start_kernel+0x398/0x3a4)
[] (start_kernel) from [<80008074>] (0x80008074)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
我来回答
回答2个
时间排序
认可量排序

qn1530868394

0个粉丝

11

问答

0

专栏

0

资料

qn1530868394 2018-07-12 15:12:01
认可0
已解决,应该是编译的参数传得不对,按文档规范来操作,能正常起来。

张清

3个粉丝

2

问答

0

专栏

0

资料

张清 2023-10-24 14:25:11
认可0

bootargs参数没有配对

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区