kylan

kylan

3个粉丝

3

问答

0

专栏

0

资料

kylan  发布于  2024-01-11 10:22:03
采纳率 34%
3个问答
1190

hi3516dv500内核启动无法挂载文件系统

  1. hi3516dv500在使用SDK版本V1.0.0.3时一切正常,后升级到SDK_V2.0.1.0 内核启动出现无法挂载文件系统,请问会是什么问题?
    2.使用的是同一份配置文件
    开机log如下,可看附件:
    flash
    boot table board switch:0x00000007
    DDR size: 0x00000400MB

System startup

Uncompress Ok!

U-Boot 2022.07 (Jan 09 2024 - 15:50:22 +0800)hi3516dv500

DRAM: Relocation Offset is: 17723000
Relocating to 5ff23000, new gd at 5fae2de0, sp at 5fae2dd0
Core: 1 devices, 1 uclasses
SPI Nor: Boot Media isn’t SPI Nor
NAND: fmc_ip_ver_check(32): Check Flash Memory Controller v100 …fmc_ip_ver_check(38): Found
SPI Nand ID Table Version 2.7
SPI Nand(cs 0) ID: 0xe5 0xf4 Name:”DS35Q4GA-IB”
Block:128KB Page:2KB OOB:64B ECC:4bit/512
Chipsize:512 MiB
Loading Environment from SPIFlash… Boot Media isn’t SPI Nor
* Warning - spi_flash_probe() failed, using default environment

Loading Environment from NAND… OK
In: serial
Out: serial
Err: serial

Net: gmac0
Error: gmac0 address not set.

Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x100000, size 0x80000
524288 bytes read: OK
ore0 start ATF
NAN.D re.ad:.
device 0 offset 0x180000, size 0xf00000
NOTICE: BL31: v2.7(release):
NOTICE: BL31: Built : 23:51:13, Oct 10 2023
NOTICE: IPC: waiting for kernel 15728640 bytes read: OK
Run the smc command to switch to the GSL.

sram to npu!
Booting Linux on physical CPU 0x0000000000 [0x412fd050]
Linux version 5.10.0 (yzk@ubuntu) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.110 2023-06-09 09:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.110 2023-06-09 09:00:00) 2.38) #1 SMP Wed Jan 10 17:28:13 CST 2024
Machine model: Vendor HI3516DV500 DEMO Board
Memory limited to 129MB
Zone ranges:
DMA [mem 0x0000000040030000-0x00000000481fffff]
DMA32 empty
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040030000-0x00000000481fffff]
Initmem setup node 0 [mem 0x0000000040030000-0x00000000481fffff]
On node 0, zone DMA: 512 pages in unavailable ranges
cma zone is not set!
cma: Reserved 4 MiB at 0x0000000046c00000
psci: probing for conduit method from DT.
psci: PSCIv1.1 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
psci: SMC Calling Convention v1.2
percpu: Embedded 19 pages/cpu s40024 r8192 d29608 u77824
Detected VIPT I-cache on CPU0
CPU features: detected: GIC system register CPU interface
CPU features: detected: ARM errata 1165522, 1319367, or 1530923
Built 1 zonelists, mobility grouping on. Total pages: 32712
Kernel command line: mem=132928K console=ttyAMA0,115200 clk_ignore_unused root=ubi0:ubifs rootfstype=ubifs rw ubi.mtd=3 mtdparts=nand:1M(u-boot.bin),512K(bl31),15M(kernel),490M(rootfs.ubifs)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 98620K/132928K available (8894K kernel code, 464K rwdata, 2076K rodata, 1344K init, 295K bss, 30212K reserved, 4096K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Hierarchical RCU implementation.
rcu: RCU event tracing is enabled.
Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
GICv3: 320 SPIs implemented
GICv3: 0 Extended SPIs implemented
GICv3: Distributor has no Range Selector support
GICv3: 16 PPIs implemented
GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000
arch_timer: cp15 timer(s) running at 24.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Console: colour dummy device 80x25
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: 512 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs …
Detected VIPT I-cache on CPU1
GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000
CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated.
CPU features: detected: Privileged Access Never
CPU features: detected: User Access Override
CPU features: detected: 32-bit EL0 Support
CPU features: detected: Common not Private translations
CPU features: detected: RAS Extension Support
CPU features: detected: Data cache clean to the PoU not required for I/D coherence
CPU features: detected: CRC32 instructions
CPU features: detected: Speculative Store Bypassing Safe (SSBS)
CPU: All CPU(s) started at EL1
alternatives: patching kernel code
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
ASID allocator initialised with 65536 entries
Serial: AMBA PL011 UART driver
vgaarb: loaded
SCSI subsystem initialized
ssp-pl022 11070000.spi: deassert reset
ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma!
ssp-pl022 11071000.spi: deassert reset
ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma!
ssp-pl022 11072000.spi: deassert reset
ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma!
ssp-pl022 11073000.spi: deassert reset
ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma!
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
videodev: Linux video capture interface: v2.00
[UPS-PHY][ups_phy_module_init]registered new ups phy driver
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arch_sys_counter
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NET: Registered protocol family 2
IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
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.
PCI: CLS 0 bytes, default 64
workingset: timestamp_bits=62 max_order=15 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse: init (API version 7.32)
SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler mq-deadline registered
io scheduler kyber registered
cacheinfo: Unable to detect cache hierarchy for CPU 0
brd: module loaded
loop: module loaded
bsp_nand: Failed to locate of_node [id: 0]
bsp-sfc bsp_spi_nor.0: SPI Nor ID Table Version 1.2
bsp-sfc bsp_spi_nor.0: unrecognized Manufacturer ID
bsp-sfc bsp_spi_nor.0: spi nor register fail!
bsp-sfc: probe of bsp_spi_nor.0 failed with error -2
SPI Nand ID Table Version 2.7
nand: This device[e5,f4] cannot found in spi nand id table!!
Cannot found a valid SPI Nand Device
bsp_spi_nand_probe(184): Error: driver probe, result: -19
gmac_v200 10290000.ethernet: invalid resource
attached PHY 1 to driver Generic PHY, PHY_ID=0x128
ETH: rgmii-id, phy_addr=1
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
bsp_rtc 11110000.rtc: registered as rtc0
bsp_rtc 11110000.rtc: setting system clock to 2024-01-11T10:04:52 UTC (1704967492)
bsp_rtc 11110000.rtc: RTC driver for bsp enabled
i2c /dev entries driver
bsp-i2c 11060000.i2c: deassert reset
bsp-i2c 11060000.i2c: IRQ index 0 not found
bsp-i2c 11061000.i2c: deassert reset
bsp-i2c 11061000.i2c: IRQ index 0 not found
bsp-i2c 11062000.i2c: deassert reset
bsp-i2c 11062000.i2c: IRQ index 0 not found
bsp-i2c 11063000.i2c: deassert reset
bsp-i2c 11063000.i2c: IRQ index 0 not found
bsp-i2c 11064000.i2c: deassert reset
bsp-i2c 11064000.i2c: IRQ index 0 not found
bsp-i2c 11065000.i2c: deassert reset
bsp-i2c 11065000.i2c: IRQ index 0 not found
bsp-i2c 11066000.i2c: deassert reset
bsp-i2c 11066000.i2c: IRQ index 0 not found
bsp-i2c 11067000.i2c: deassert reset
bsp-i2c 11067000.i2c: IRQ index 0 not found
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ….
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
[WING-USB][wing_usb_module_init]register wing usb driver
mmc0: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit
NET: Registered protocol family 10
Segment Routing with IPv6
NET: Registered protocol family 17
uart-pl011 11040000.uart: deassert reset
11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2
printk: console [ttyAMA0] enabled
pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered
pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered
UBI error: cannot open mtd 3, error -19
clk: Not disabling unused clocks
ALSA device list:
No soundcards found.
uart-pl011 11040000.uart: no DMA platform data
VFS: Cannot open root device “ubi0:ubifs” or unknown-block(0,0): error -19
Please append a correct “root=” boot option; here are the available partitions:
0100 65536 ram0
(driver?)
0101 65536 ram1
(driver?)
0102 65536 ram2
(driver?)
0103 65536 ram3
(driver?)
0104 65536 ram4
(driver?)
0105 65536 ram5
(driver?)
0106 65536 ram6
(driver?)
0107 65536 ram7
(driver?)
0108 65536 ram8
(driver?)
0109 65536 ram9
(driver?)
010a 65536 ram10
(driver?)
010b 65536 ram11
(driver?)
010c 65536 ram12
(driver?)
010d 65536 ram13
(driver?)
010e 65536 ram14
(driver?)
010f 65536 ram15
(driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.0 #1
Hardware name: Vendor HI3516DV500 DEMO Board (DT)
Call trace:
dump_backtrace+0x0/0x1a0
show_stack+0x18/0x24
dump_stack+0xd4/0x110
panic+0x170/0x324
mount_block_root+0x2fc/0x3ac
prepare_namespace+0x90/0x164
kernel_init_freeable+0x1fc/0x238
kernel_init+0x14/0x114
ret_from_fork+0x10/0x38
SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00040026,2a00a218
Memory Limit: 129 MB
—-[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]—-

易百纳技术社区文件: log.txt
下载
我来回答
回答4个
时间排序
认可量排序

Stranger

5个粉丝

0

问答

0

专栏

3

资料

Stranger 2024-01-11 11:27:11
认可0

VFS: Cannot open root device “ubi0:ubifs” or unknown-block(0,0): error -19
Please append a correct “root=” boot option; here are the available partitions:
你的bootags检查过吗?

kylan
kylan   回复   Stranger  2024-01-11 17:04:56
0

目前只是替换内核,其余都不改变,也是这个问题,bootags还是用之前那个

毛巾卷

38个粉丝

15

问答

16

专栏

68

资料

毛巾卷 2024-01-11 14:10:21
认可0

新版本更新了啥吗

kylan
kylan   回复   毛巾卷  2024-01-11 17:05:51
0

具体不清楚了

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

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区