qn1541649915

qn1541649915

0个粉丝

2

问答

0

专栏

0

资料

qn1541649915  发布于  2018-11-21 10:56:02
采纳率 0%
2个问答
2108

NDS3531D 评估板内核无法挂载文件系统

 
NDS3531D 评估板内核无法挂载文件系统

        收到评估板以后通过打印发现启动参数如下
                bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hisfc:1M(boot),4M(kernel),11M(rootfs)'
                bootcmd 'sf probe 0;sf read 0x42000000 0x100000 0x400000;bootm 0x42000000'

        自己编译了Uboot以后,在评估板自带的uboot下用命令烧进SPI的地址0-0x100000,其它地址数据不变,还是用的原版的内核和文件系统,启动以后可以正常加载内核但是无法挂载根文件系统,内核启动后报如下错误:
  List of all partitions:
  No filesystem could mount root, tried:  jffs2
  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 #8
  [] (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+0x294/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)
  我对比了原版打印以后发现主要区别如下
         正常打印:
                         hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
                        hisi-sfc hisi_spi_nor.0: mx25l25635f (32768 Kbytes)
                        3 cmdlinepart partitions found on MTD device hi_sfc
                        3 cmdlinepart partitions found on MTD device hi_sfc
                        Creating 3 MTD partitions on "hi_sfc":
                        0x000000000000-0x000000100000 : "boot"
                        0x000000100000-0x000000500000 : "kernel"
                        0x000000500000-0x000001000000 : "rootfs"

                        SPI Nand ID Table Version 2.4
                        Cannot found a valid SPI Nand Device
         错误打印:
                         hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
                        hisi-sfc hisi_spi_nor.0: mx25l25635f (32768 Kbytes)
                        SPI Nand ID Table Version 2.4
                        Cannot found a valid SPI Nand Device

         问题出在哪里呢?

         完整错误打印:


System startup

U-Boot 2010.06 (Nov 19 2018 - 18:15:53)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x19
Block:64KB Chip:32MB Name:"MX25L(256/257)XX"
SPI Nor total size: 32MB
Cannot found a valid SPI Nand Device
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
32768 KiB hi_fmc at 0:0 is now current device

## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   Linux-3.18.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3281146 Bytes = 3.1 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.18.20 (lwx@lwx-VirtualBox) (gcc version 4.9.4 20150629 (prerelease) (Hisilicon_v500_20180120) ) #8 SMP Fri Jul 27 17:33:35 CST 2018
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Hisilicon HI3531D DEMO Board
Memory policy: Data cache writealloc
PERCPU: Embedded 9 pages/cpu @c3f5b000 s5696 r8192 d22976 u36864
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyAMA0,115200 noinitrd root=/dev/mtdblock2 rw init=/linuxrc rootfstype=jffs2 mtdparts=hisfc:1M(boot),4M(kernel),11M(rootfs)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 58252K/65536K available (4588K kernel code, 196K rwdata, 1240K rodata, 232K init, 288K bss, 7284K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc05b93c8   (5829 kB)
      .init : 0xc05ba000 - 0xc05f4000   ( 232 kB)
      .data : 0xc05f4000 - 0xc06252e0   ( 197 kB)
       .bss : 0xc06252e0 - 0xc066d37c   ( 289 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
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
Console: colour dummy device 80x30
Calibrating delay loop... 2786.91 BogoMIPS (lpj=13934592)
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 0x404613b8 - 0x40461410
L2C: DT/platform modifies aux control register: 0x72030001 -> 0x72430001
L2C: DT/platform tries to modify or specify cache size
L2C-310 enabling early BRESP for Cortex-A9
L2C-310: enabling full line of zeros but not enabled in Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 256 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x76430001
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (5580.39 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
12080000.uart: ttyAMA0 at MMIO 0x12080000 (irq = 38, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
1-PCIE port mode, skip PCIE1 even config pcie1-sel!
Number of PCIe controllers: 1
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: root bus resource [mem 0x28000000-0x2fffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x28000000-0x287fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x28800000-0x2880ffff]
pci 0000:00:00.0: PCI bridge to [bus 01]
vgaarb: loaded
SCSI subsystem initialized
ssp-pl022 120d0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120d0000.spi: mapped registers from 0x120d0000 to fe8d0000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource timer00
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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)
ntfs: driver 2.1.31 [Flags: R/W].
jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 113
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
pinctrl-single 120f0000.pinmux: 234 pins at pa fe8f0000 size 936
brd: module loaded
ahci 11010000.sata: forcing port_map 0xf -> 0x6
ahci 11010000.sata: SSS flag set, parallel bus scan disabled
ahci 11010000.sata: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x6 impl platform mode
ahci 11010000.sata: flags: ncq sntf stag pm led clo only pmp fbs slum part ccc sxs boh
scsi host0: ahci_platform
scsi host1: ahci_platform
scsi host2: ahci_platform
scsi host3: ahci_platform
ata1: DUMMY
ata2: SATA max UDMA/133 mmio [mem 0x11010000-0x11010fff] port 0x180 irq 49
ata3: SATA max UDMA/133 mmio [mem 0x11010000-0x11010fff] port 0x200 irq 49
ata4: DUMMY
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l25635f (32768 Kbytes)
SPI Nand ID Table Version 2.4
Cannot found a valid SPI Nand Device
libphy: hisi_gemac_mii_bus: probed
ata2: SATA link down (SStatus 0 SControl 300)
hi_gmac_v200 100a0000.ethernet (unnamed net_device) (uninitialized): using random MAC address c6:51:4c:8a:b3:2f
we fix up ar8035 phy
attached PHY 0 to driver Generic PHY, PHY_ID=0x4dd072
Higmac dma_sg_phy: 0x43b80000
ETH: rgmii, phy_addr=0
xhci-hcd 11000000.xhci: xHCI Host Controller
xhci-hcd 11000000.xhci: new USB bus registered, assigned bus number 1
xhci-hcd 11000000.xhci: irq 54, io mem 0x11000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 11000000.xhci: xHCI Host Controller
xhci-hcd 11000000.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-pci: EHCI PCI platform driver
ehci-platform: EHCI generic platform driver
ehci-platform 100c0000.ehci: EHCI Host Controller
ehci-platform 100c0000.ehci: new USB bus registered, assigned bus number 3
ehci-platform 100c0000.ehci: irq 51, io mem 0x100c0000
ehci-platform 100c0000.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
ata3: SATA link down (SStatus 0 SControl 300)
ohci-pci: OHCI PCI platform driver
ohci-platform: OHCI generic platform driver
ohci-platform 100b0000.ohci: Generic Platform OHCI controller
ohci-platform 100b0000.ohci: new USB bus registered, assigned bus number 4
ohci-platform 100b0000.ohci: irq 50, io mem 0x100b0000
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 hisi_i2c.0: Hisilicon [i2c-0] probed!
hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed!
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
List of all partitions:
No filesystem could mount root, tried:  jffs2
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 #8
[] (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+0x294/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 #8
[] (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(0xc05f5f68 to 0xc05f5fb0)
5f60:                   c3f5b210 00000000 00000ab8 c001b6a0 c05f4038 c05fc480
5f80: c05fc4e4 c0463940 c0625151 c0625151 c05f4000 00000000 00000000 c05f5fb0
5fa0: c000f778 c000f77c 60000113 ffffffff
[] (__irq_svc) from [] (arch_cpu_idle+0x38/0x3c)
[] (arch_cpu_idle) from [] (cpu_startup_entry+0xf4/0x148)
[] (cpu_startup_entry) from [] (start_kernel+0x398/0x3a4)
[] (start_kernel) from [<40008074>] (0x40008074)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
        完整正确打印:
hisilicon #                          

System startup

U-Boot 2010.06 (Aug 10 2018 - 15:16:13)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x19
Block:64KB Chip:32MB Name:"MX25L(256/257)XX"
SPI Nor total size: 32MB
Cannot found a valid SPI Nand Device
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
32768 KiB hi_fmc at 0:0 is now current device

## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   Linux-3.18.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3281146 Bytes = 3.1 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.18.20 (lwx@lwx-VirtualBox) (gcc version 4.9.4 20150629 (prerelease) (Hisilicon_v500_20180120) ) #8 SMP Fri Jul 27 17:33:35 CST 2018
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Hisilicon HI3531D DEMO Board
Memory policy: Data cache writealloc
PERCPU: Embedded 9 pages/cpu @c3f5b000 s5696 r8192 d22976 u36864
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(boot),4M(kernel),11M(rootfs)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 58252K/65536K available (4588K kernel code, 196K rwdata, 1240K rodata, 232K init, 288K bss, 7284K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc05b93c8   (5829 kB)
      .init : 0xc05ba000 - 0xc05f4000   ( 232 kB)
      .data : 0xc05f4000 - 0xc06252e0   ( 197 kB)
       .bss : 0xc06252e0 - 0xc066d37c   ( 289 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
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
Console: colour dummy device 80x30
Calibrating delay loop... 2786.91 BogoMIPS (lpj=13934592)
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 0x404613b8 - 0x40461410
L2C: DT/platform modifies aux control register: 0x72030001 -> 0x72430001
L2C: DT/platform tries to modify or specify cache size
L2C-310 enabling early BRESP for Cortex-A9
L2C-310: enabling full line of zeros but not enabled in Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 256 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x76430001
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (5580.39 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
12080000.uart: ttyAMA0 at MMIO 0x12080000 (irq = 38, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
1-PCIE port mode, skip PCIE1 even config pcie1-sel!
Number of PCIe controllers: 1
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: root bus resource [mem 0x28000000-0x2fffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x28000000-0x287fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x28800000-0x2880ffff]
pci 0000:00:00.0: PCI bridge to [bus 01]
vgaarb: loaded
SCSI subsystem initialized
ssp-pl022 120d0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120d0000.spi: mapped registers from 0x120d0000 to fe8d0000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
ssp-pl022 120d0000.spi: Max speed that can be programmed is 25000000 Hz, you requested 40500000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource timer00
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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)
ntfs: driver 2.1.31 [Flags: R/W].
jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 113
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
pinctrl-single 120f0000.pinmux: 234 pins at pa fe8f0000 size 936
brd: module loaded
ahci 11010000.sata: forcing port_map 0xf -> 0x6
ahci 11010000.sata: SSS flag set, parallel bus scan disabled
ahci 11010000.sata: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x6 impl platform mode
ahci 11010000.sata: flags: ncq sntf stag pm led clo only pmp fbs slum part ccc sxs boh
scsi host0: ahci_platform
scsi host1: ahci_platform
scsi host2: ahci_platform
scsi host3: ahci_platform
ata1: DUMMY
ata2: SATA max UDMA/133 mmio [mem 0x11010000-0x11010fff] port 0x180 irq 49
ata3: SATA max UDMA/133 mmio [mem 0x11010000-0x11010fff] port 0x200 irq 49
ata4: DUMMY
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l25635f (32768 Kbytes)
3 cmdlinepart partitions found on MTD device hi_sfc
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000500000 : "kernel"
0x000000500000-0x000001000000 : "rootfs"
SPI Nand ID Table Version 2.4
Cannot found a valid SPI Nand Device
libphy: hisi_gemac_mii_bus: probed
ata2: SATA link down (SStatus 0 SControl 300)
hi_gmac_v200 100a0000.ethernet (unnamed net_device) (uninitialized): using random MAC address fe:6b:c9:b7:48:f4
we fix up ar8035 phy
attached PHY 0 to driver Generic PHY, PHY_ID=0x4dd072
Higmac dma_sg_phy: 0x43b80000
ETH: rgmii, phy_addr=0
xhci-hcd 11000000.xhci: xHCI Host Controller
xhci-hcd 11000000.xhci: new USB bus registered, assigned bus number 1
xhci-hcd 11000000.xhci: irq 54, io mem 0x11000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 11000000.xhci: xHCI Host Controller
xhci-hcd 11000000.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-pci: EHCI PCI platform driver
ehci-platform: EHCI generic platform driver
ehci-platform 100c0000.ehci: EHCI Host Controller
ehci-platform 100c0000.ehci: new USB bus registered, assigned bus number 3
ehci-platform 100c0000.ehci: irq 51, io mem 0x100c0000
ehci-platform 100c0000.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
ata3: SATA link down (SStatus 0 SControl 300)
ohci-pci: OHCI PCI platform driver
ohci-platform: OHCI generic platform driver
ohci-platform 100b0000.ohci: Generic Platform OHCI controller
ohci-platform 100b0000.ohci: new USB bus registered, assigned bus number 4
ohci-platform 100b0000.ohci: irq 50, io mem 0x100b0000
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 hisi_i2c.0: Hisilicon [i2c-0] probed!
hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed!
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
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
VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
Freeing unused kernel memory: 232K (c05ba000 - c05f4000)

            _ _ _ _ _ _ _ _ _ _ _ _
            \  _  _   _  _ _ ___
            / /__/ \ |_/
           / __   /  -  _ ___
          / /  / /  / /
  _ _ _ _/ /  /  \_/  \_ ______
___________\___\__________________

[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
usb 3-1.3: new high-speed USB device number 3 using ehci-platform
[RCS]: /etc/init.d/S80network
      IP: 192.168.100.74
   BOOTP:
GATEWAY: 192.168.100.1
NETMASK: 255.255.255.0
HOSTNAME:
  NETDEV: eth0
AUIPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
TOCONF:
[RCS]: /etc/init.d/S90autorun
random: awk urandom read with 11 bits of entropy available
mmz_start: 0x44000000, mmz_size: 448M
usb-storage 3-1.3:1.0: USB Mass Storage device detected
rmmod: can't unload 'hi3531d_adec': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_aenscsi host4: usb-storage 3-1.3:1.0
c': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_ao': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_ai': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_aio': unknown symbol in module, or unknown parameter
rmmod: can't unload 'tp2853': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_ive': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_vda': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_jpege': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_h264e': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_h2load sys_config.ko for ...OK!
65e': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_vedu': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_chnl': unknown symbol in Module himedia: init ok
module, or unknown parameter
rmmod: canHisilicon Media Memory Zone Manager
't unload 'hi3531d_venc': unknown symbolhi_osal 1.0 init success!
in module, or unknown parameter
rmmod: can't unload 'hi3531d_rc': unknown symbol in module, or unknown parameter
rmmod: can't unload hi_base: module license 'Proprietary' taints kernel.
'hi3531d_hdmi': unknown symbol in moduleDisabling lock debugging due to kernel taint
, or unknown parameter
rmmod: can't unload 'hifb': unknown symbol in moload base.ko ... OK!
dule, or unknown parameter
rmmod: can't unload 'hi3531d_vou': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_vpss': unknown symbol in module, or load sys.ko ...OK!
unknown parameter
rmmod: can't unload 'hi3531d_viu': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_vgs': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_region': unknown symbol in module, or unknown paraload vdec.ko ....OK!
meter
rmmod: can't unload 'hi3531d_tde': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_jpegd': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_vdec': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_vfmw': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3531d_sys': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_base': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_osal': unknown symbol in module, or unknown parameter
rmmod: can't unload 'sys_config': unknown symbol in module, or unknown parameter
load vdh firmware.ko OK
load jpegd.ko ....OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko ...OK!
load viu.ko for ...OK!
load vpss.ko ...OK!
load vou.ko OK!
load hifb.ko OK!
load hdmi.ko OK!
load rc.ko ...OK!
load venc.ko ...OK!
load chnl.ko ...OK!
load vedu.ko ...OK!
load h264e.ko ...OK!
load h265e.ko ...OK!
load jpege.ko ...OK!
load vda.ko ....OK!
load ive.ko ... OK!
load aio.ko OK!
load ai.ko OK!
load ao.ko OK!
load aenc.ko OK!
load adec.ko OK!
Auto login as root ...
Jan  1 00:00:04 login[167]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ # scsi 4:0:0:0: Direct-Access     Multiple Card  Reader     1.00 PQ: 0 ANSI: 0
sd 4:0:0:0: [sda] Attached SCSI removable disk

~ #
~ #
~ #
~ #
~ #
~ # hi_gmac_v200 100a0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready



我来回答
回答2个
时间排序
认可量排序

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2018-11-21 11:27:54
认可0
楼主的flash 是32M 的, 是否在自己编的 uboot中开启了4byte模式

qn1541649915

0个粉丝

2

问答

0

专栏

0

资料

qn1541649915 2018-11-21 11:32:22
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=112472&ptid=53707]zhuangweiye 发表于 2018-11-21 11:27[/url]
楼主的flash 是32M 的, 是否在自己编的 uboot中开启了4byte模式[/quote]

CONFIG_CLOSE_SPI_8PIN_4IO
你是说要打开这个宏定义吗?
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区