Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi3516ev100 with XMC QH128AHIG 16m flash boot error #1415

Closed
catulacnpoly opened this issue Apr 25, 2024 · 1 comment
Closed

hi3516ev100 with XMC QH128AHIG 16m flash boot error #1415

catulacnpoly opened this issue Apr 25, 2024 · 1 comment

Comments

@catulacnpoly
Copy link

catulacnpoly commented Apr 25, 2024

my cam cannot boot kenel because "no filesystem could mount root"

U-Boot 2010.06 (Nov 14 2022 - 19:27:26)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0x20 0x70 0x18
Block:64KB Chip:16MB Name:"XM25QH128A"
SPI Nor total size: 16MB
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
RAM size: 64MB
Hit any key to stop autoboot: 0
16384 KiB hi_fmc at 0:0 is now current device

Booting kernel from Legacy Image at 82000000 ...

Image Name: Linux-3.18.20-hi3516ev100
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1687451 Bytes = 1.6 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.18.20 (runner@fv-az651-175) (buildroot-gcc-13.2.0) #2 Thu Apr 25 02:10:11 UTC 2024
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: Hisilicon Hi3516CV300 DEMO Board
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: mem=32M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 27668K/32768K available (3129K kernel code, 171K rwdata, 976K rodata, 148K init, 239K bss, 5100K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc040aa74 (4107 kB)
[ 0.000000] .init : 0xc040b000 - 0xc0430000 ( 148 kB)
[ 0.000000] .data : 0xc0430000 - 0xc045ae20 ( 172 kB)
[ 0.000000] .bss : 0xc045ae20 - 0xc0496d60 ( 240 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] VIC @c2800000: id 0x00641190, vendor 0x41
[ 0.000034] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
[ 0.000808] Console: colour dummy device 80x30
[ 0.000866] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
[ 0.050025] pid_max: default: 32768 minimum: 301
[ 0.050196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050217] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051432] Initializing cgroup subsys devices
[ 0.051477] Initializing cgroup subsys freezer
[ 0.051504] Initializing cgroup subsys blkio
[ 0.051562] CPU: Testing write buffer coherency: ok
[ 0.052249] Setting up static identity map for 0x802fa6f0 - 0x802fa748
[ 0.054334] devtmpfs: initialized
[ 0.056041] VFP support v0.3: not present
[ 0.056895] pinctrl core: initialized pinctrl subsystem
[ 0.065199] NET: Registered protocol family 16
[ 0.066655] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.083247] Serial: AMBA PL011 UART driver
[ 0.083627] 12100000.uart: ttyAMA0 at MMIO 0x12100000 (irq = 21, base_baud = 0) is a PL011 rev2
[ 0.356796] console [ttyAMA0] enabled
[ 0.388058] SCSI subsystem initialized
[ 0.392076] ssp-pl022 12120000.spi: ARM PL022 driver, device ID: 0x00800022
[ 0.399152] ssp-pl022 12120000.spi: mapped registers from 0x12120000 to c286c000
[ 0.431735] usbcore: registered new interface driver usbfs
[ 0.437405] usbcore: registered new interface driver hub
[ 0.442921] usbcore: registered new device driver usb
[ 0.450265] Switched to clocksource arm,sp804
[ 0.478406] NET: Registered protocol family 2
[ 0.484658] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.491766] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.498178] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.504732] TCP: reno registered
[ 0.507978] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.513908] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.520609] NET: Registered protocol family 1
[ 0.526026] RPC: Registered named UNIX socket transport module.
[ 0.532038] RPC: Registered udp transport module.
[ 0.536749] RPC: Registered tcp transport module.
[ 0.541482] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.554795] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.582994] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.592363] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.600118] msgmni has been set to 54
[ 0.608207] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.615733] io scheduler noop registered
[ 0.619681] io scheduler deadline registered (default)
[ 0.625323] io scheduler cfq registered
[ 0.639672] pinctrl-single 12040000.pinmux: 66 pins at pa c28ca000 size 264
[ 0.647348] pinctrl-single 12040800.pinconf: 76 pins at pa c28cc800 size 304
[ 0.655401] pl061_gpio 12140000.gpio: PL061 GPIO chip @0x12140000 registered
[ 0.663138] pl061_gpio 12141000.gpio: PL061 GPIO chip @0x12141000 registered
[ 0.670896] pl061_gpio 12142000.gpio: PL061 GPIO chip @0x12142000 registered
[ 0.678590] pl061_gpio 12143000.gpio: PL061 GPIO chip @0x12143000 registered
[ 0.686328] pl061_gpio 12144000.gpio: PL061 GPIO chip @0x12144000 registered
[ 0.694059] pl061_gpio 12145000.gpio: PL061 GPIO chip @0x12145000 registered
[ 0.701883] pl061_gpio 12146000.gpio: PL061 GPIO chip @0x12146000 registered
[ 0.709523] pl061_gpio 12147000.gpio: PL061 GPIO chip @0x12147000 registered
[ 0.717280] pl061_gpio 12148000.gpio: PL061 GPIO chip @0x12148000 registered
[ 0.740899] brd: module loaded
[ 0.753127] loop: module loaded
[ 0.759293] hisi-sfc hisi_spi_nor.0: The ID: 0x20 isn't in the BP table, Current device can't not protect
[ 0.768974] hisi-sfc hisi_spi_nor.0: xm25qh128a (16384 Kbytes)
[ 0.774875] 5 cmdlinepart partitions found on MTD device hi_sfc
[ 0.780831] 5 cmdlinepart partitions found on MTD device hi_sfc
[ 0.786752] Creating 5 MTD partitions on "hi_sfc":
[ 0.791577] 0x000000000000-0x000000040000 : "boot"
[ 0.798435] 0x000000040000-0x000000050000 : "env"
[ 0.806499] 0x000000050000-0x000000250000 : "kernel"
[ 0.814638] 0x000000250000-0x000000750000 : "rootfs"
[ 0.822891] 0x000000750000-0x000001000000 : "rootfs_data"
[ 0.832543] SPI Nand ID Table Version 2.4
[ 0.837583] Cannot found a valid SPI Nand Device
[ 0.845838] libphy: hisi_femac_mii_bus: probed
[ 0.850398] mdio_bus 10051100.mdio: /soc/mdio@10051100/phy@1 has invalid PHY address
[ 0.858158] mdio_bus 10051100.mdio: scan phy phy at address 0
[ 0.880460] mdio_bus 10051100.mdio: scan phy phy at address 1
[ 0.908982] mdio_bus 10051100.mdio: scan phy phy at address 2
[ 0.930317] mdio_bus 10051100.mdio: scan phy phy at address 3
[ 0.950300] mdio_bus 10051100.mdio: scan phy phy at address 4
[ 0.970292] mdio_bus 10051100.mdio: scan phy phy at address 5
[ 0.990294] mdio_bus 10051100.mdio: scan phy phy at address 6
[ 1.010292] mdio_bus 10051100.mdio: scan phy phy at address 7
[ 1.030293] mdio_bus 10051100.mdio: scan phy phy at address 8
[ 1.050292] mdio_bus 10051100.mdio: scan phy phy at address 9
[ 1.070298] mdio_bus 10051100.mdio: scan phy phy at address 10
[ 1.090292] mdio_bus 10051100.mdio: scan phy phy at address 11
[ 1.110296] mdio_bus 10051100.mdio: scan phy phy at address 12
[ 1.130291] mdio_bus 10051100.mdio: scan phy phy at address 13
[ 1.150293] mdio_bus 10051100.mdio: scan phy phy at address 14
[ 1.170293] mdio_bus 10051100.mdio: scan phy phy at address 15
[ 1.190292] mdio_bus 10051100.mdio: scan phy phy at address 16
[ 1.210294] mdio_bus 10051100.mdio: scan phy phy at address 17
[ 1.230292] mdio_bus 10051100.mdio: scan phy phy at address 18
[ 1.250291] mdio_bus 10051100.mdio: scan phy phy at address 19
[ 1.270294] mdio_bus 10051100.mdio: scan phy phy at address 20
[ 1.290293] mdio_bus 10051100.mdio: scan phy phy at address 21
[ 1.310293] mdio_bus 10051100.mdio: scan phy phy at address 22
[ 1.330293] mdio_bus 10051100.mdio: scan phy phy at address 23
[ 1.350294] mdio_bus 10051100.mdio: scan phy phy at address 24
[ 1.370294] mdio_bus 10051100.mdio: scan phy phy at address 25
[ 1.390293] mdio_bus 10051100.mdio: scan phy phy at address 26
[ 1.410293] mdio_bus 10051100.mdio: scan phy phy at address 27
[ 1.430293] mdio_bus 10051100.mdio: scan phy phy at address 28
[ 1.450292] mdio_bus 10051100.mdio: scan phy phy at address 29
[ 1.470294] mdio_bus 10051100.mdio: scan phy phy at address 30
[ 1.490293] mdio_bus 10051100.mdio: scan phy phy at address 31
[ 1.840317] hisi-femac 10050000.ethernet: phy_id=0x02430c54, phy_addr=1, phy_mode=rmii
[ 1.848301] hisi-femac 10050000.ethernet: using random MAC address ce:12:0c:53:68:1f
[ 1.857929] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.864577] ehci-platform: EHCI generic platform driver
[ 1.870139] ehci-platform 10120000.ehci: EHCI Host Controller
[ 1.876058] ehci-platform 10120000.ehci: new USB bus registered, assigned bus number 1
[ 1.884438] ehci-platform 10120000.ehci: irq 31, io mem 0x10120000
[ 1.910366] ehci-platform 10120000.ehci: USB 2.0 started, EHCI 1.00
[ 1.918362] hub 1-0:1.0: USB hub found
[ 1.922295] hub 1-0:1.0: 1 port detected
[ 1.927597] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.933924] ohci-platform: OHCI generic platform driver
[ 1.939472] ohci-platform 10110000.ohci: Generic Platform OHCI controller
[ 1.946429] ohci-platform 10110000.ohci: new USB bus registered, assigned bus number 2
[ 1.954643] ohci-platform 10110000.ohci: irq 32, io mem 0x10110000
[ 2.026116] hub 2-0:1.0: USB hub found
[ 2.029977] hub 2-0:1.0: 1 port detected
[ 2.035341] i2c /dev entries driver
[ 2.039961] hibvt-i2c 12110000.i2c: hibvt-i2c0@100000hz registered
[ 2.047230] hibvt-i2c 12112000.i2c: hibvt-i2c1@100000hz registered
[ 2.054639] himci: mmc host probe
[ 2.220423] himci: mmc host probe
[ 2.390424] himci: mmc host probe
[ 2.560955] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.567990] usbcore: registered new interface driver usbhid
[ 2.573637] usbhid: USB HID core driver
[ 2.578715] TCP: cubic registered
[ 2.582156] NET: Registered protocol family 17
[ 2.586781] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.611062] List of all partitions:
[ 2.614606] 1f00 256 mtdblock0 (driver?)
[ 2.619672] 1f01 64 mtdblock1 (driver?)
[ 2.624806] 1f02 2048 mtdblock2 (driver?)
[ 2.629866] 1f03 5120 mtdblock3 (driver?)
[ 2.635006] 1f04 8896 mtdblock4 (driver?)
[ 2.640056] No filesystem could mount root, tried: squashfs
[ 2.645766] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 2.654124] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.20 #2
[ 2.660007] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[ 2.667781] [] (show_stack) from [] (panic+0x78/0x1cc)
[ 2.674686] [] (panic) from [] (mount_block_root+0x1a8/0x1f4)
[ 2.682184] [] (mount_block_root) from [] (prepare_namespace+0x174/0x1b4)
[ 2.690722] [] (prepare_namespace) from [] (kernel_init_freeable+0x14c/0x1a8)
[ 2.699608] [] (kernel_init_freeable) from [] (kernel_init+0x8/0xe0)
[ 2.707712] [] (kernel_init) from [] (ret_from_fork+0x14/0x2c)
[ 2.715282] Rebooting in 20 seconds..

@catulacnpoly
Copy link
Author

I got it

run setnor16m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant