首页问答详情

海思3559A文件系统识别不到

 
雨夜
雨夜  发布于  2018-05-10 14:59:17
采纳率 0%
9个问答
启动的打印log如下:
System startup

Uncompress Ok!

U-Boot 2016.11 (Apr 02 2018 - 19:56:01 +0800)hi3559av100

Relocation Offset is: 176f3000
Relocating to 5fef3000, new gd at 5fe52e00, sp at 5fe52df0
SPI Nor:  Boot Media isn't SPI Nor
NAND:  Check Flash Memory Controller v100 ... Found
SPI Nand ID Table Version 2.6
SPI Nand(cs 0) ID: 0xc8 0xc2 Name:"5F2GQ4RB9IGR"
Block:128KB Page:2KB OOB:128B ECC:24bit/1K
Chipsize:256 MiB
MMC:   
In:    serial
Out:   serial
Err:   serial
Net:   gmac0
Error: gmac0 address not set.
, gmac1
Error: gmac1 address not set.

Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x900000
9437184 bytes read: OK
Load fip from 0x0000000042000000 ...
Firmware Image Package ToC:
---------------------------
- EL3 Runtime Firmware BL3-1: offset=0x88, size=0x7090
- Non-Trusted Firmware BL3-3: offset=0x7118, size=0x81E8CE
---------------------------
Create Entry Point info ...
Get - EL3 Runtime Firmware BL3-1
Get - Non-Trusted Firmware BL3-3
kernel_size[0x81e8ce] fdt_size[0x788e] fdt_addr[0x0000000044897000]
hdr[0x000000004407ffc0] header_size[0x40] image_size[0x817040]
bl33_ep->spsr = 0x3c5 bl33_ep->pc = 0x44080000
NOTICE:  BL31: v1.3(debug):
NOTICE:  BL31: Built : 22:05:09, Mar  9 2018
INFO:    ARM GICv2 driver initialized
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x44080000
INFO:    SPSR = 0x3c5
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (pub@BVT-SDK) (gcc version 6.2.1 20161016 (Huaweiliteos_v100_20170512) ) #1 SMP Fri Mar 9 22:05:02 CST 2018
Boot CPU: AArch64 Processor [410fd034]
Memory limited to 512MB
cma: Reserved 4 MiB at 0x0000000063c00000
cmz zone is not set!
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
percpu: Embedded 20 pages/cpu @ffffffc023b7e000 s41112 r8192 d32616 u81920
Detected VIPT I-cache on CPU0
CPU features: enabling workaround for ARM erratum 845719
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129024
Kernel command line: mem=512M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2 rw mtdparts=hinand:1M(boot),9M(kernel),100M(rootfs) hbcomp=/dev/mtdblock3
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14768(90%)
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 475404K/524288K available (5822K kernel code, 344K rwdata, 1736K rodata, 320K init, 306K bss, 44788K reserved, 4096K cma-reserved)
Virtual kernel memory layout:
    modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
    vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
      .text : 0xffffff8008080000 - 0xffffff8008630000   (  5824 KB)
    .rodata : 0xffffff8008630000 - 0xffffff80087f0000   (  1792 KB)
      .init : 0xffffff80087f0000 - 0xffffff8008840000   (   320 KB)
      .data : 0xffffff8008840000 - 0xffffff8008896008   (   345 KB)
       .bss : 0xffffff8008896008 - 0xffffff80088e2a24   (   307 KB)
    fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
    PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
    vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
              0xffffffbf00100000 - 0xffffffbf00900000   (     8 MB actual)
    memory  : 0xffffffc004000000 - 0xffffffc024000000   (   512 MB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
        RCU debugfs-based tracing is enabled.
        Build-time adjustment of leaf fanout to 64.
        RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
NR_IRQS:64 nr_irqs:64 0
arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=50000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
ASID allocator initialised with 65536 entries
Detected VIPT I-cache on CPU1
CPU1: Booted secondary processor [410fd034]
Detected VIPT I-cache on CPU2
CPU2: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU3
CPU3: Booted secondary processor [410fd092]
Brought up 4 CPUs
SMP: Total of 4 processors activated.
CPU features: detected feature: 32-bit EL0 Support
CPU: All CPU(s) started at EL1
alternatives: patching kernel code
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 1024 (order: 5, 131072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
vdso: 2 pages (1 code @ ffffff8008637000, 1 data @ ffffff8008844000)
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
DMA: preallocated 256 KiB pool for atomic allocations
Serial: AMBA PL011 UART driver
12100000.uart: ttyAMA0 at MMIO 0x12100000 (irq = 9, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
12101000.uart: ttyAMA1 at MMIO 0x12101000 (irq = 10, base_baud = 0) is a PL011 rev2
12102000.uart: ttyAMA2 at MMIO 0x12102000 (irq = 11, base_baud = 0) is a PL011 rev2
12103000.uart: ttyAMA3 at MMIO 0x12103000 (irq = 12, base_baud = 0) is a PL011 rev2
12104000.uart: ttyAMA4 at MMIO 0x12104000 (irq = 13, base_baud = 0) is a PL011 rev2
vgaarb: loaded
SCSI subsystem initialized
ssp-pl022 12120000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12120000.spi: mapped registers from 0x0000000012120000 to ffffff8008925000
ssp-pl022 12120000.spi: setup for DMA on RX dma1chan0, TX dma1chan1
ssp-pl022 12121000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12121000.spi: mapped registers from 0x0000000012121000 to ffffff800892b000
ssp-pl022 12121000.spi: setup for DMA on RX dma1chan2, TX dma1chan3
ssp-pl022 12122000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12122000.spi: mapped registers from 0x0000000012122000 to ffffff8008931000
ssp-pl022 12122000.spi: setup for DMA on RX dma1chan4, TX dma1chan5
ssp-pl022 12123000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12123000.spi: mapped registers from 0x0000000012123000 to ffffff8008937000
ssp-pl022 12123000.spi: setup for DMA on RX dma1chan6, TX dma1chan7
ssp-pl022 12124000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12124000.spi: mapped registers from 0x0000000012124000 to ffffff800893d000
ssp-pl022 12124000.spi: setup for DMA on RX dma1chan8, TX dma1chan9
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
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
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Freeing initrd memory: 16380K (ffffffc020001000 - ffffffc021000000)
workingset: timestamp_bits=62 max_order=17 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.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pl061_gpio 12140000.gpio_chip: PL061 GPIO chip @0x0000000012140000 registered
pl061_gpio 12141000.gpio_chip: PL061 GPIO chip @0x0000000012141000 registered
pl061_gpio 12142000.gpio_chip: PL061 GPIO chip @0x0000000012142000 registered
pl061_gpio 12143000.gpio_chip: PL061 GPIO chip @0x0000000012143000 registered
pl061_gpio 12144000.gpio_chip: PL061 GPIO chip @0x0000000012144000 registered
pl061_gpio 12145000.gpio_chip: PL061 GPIO chip @0x0000000012145000 registered
pl061_gpio 12146000.gpio_chip: PL061 GPIO chip @0x0000000012146000 registered
pl061_gpio 12147000.gpio_chip: PL061 GPIO chip @0x0000000012147000 registered
pl061_gpio 12148000.gpio_chip: PL061 GPIO chip @0x0000000012148000 registered
pl061_gpio 12149000.gpio_chip: PL061 GPIO chip @0x0000000012149000 registered
pl061_gpio 1214a000.gpio_chip: PL061 GPIO chip @0x000000001214a000 registered
pl061_gpio 1214b000.gpio_chip: PL061 GPIO chip @0x000000001214b000 registered
pl061_gpio 1214c000.gpio_chip: PL061 GPIO chip @0x000000001214c000 registered
pl061_gpio 1214d000.gpio_chip: PL061 GPIO chip @0x000000001214d000 registered
pl061_gpio 1214e000.gpio_chip: PL061 GPIO chip @0x000000001214e000 registered
pl061_gpio 1214f000.gpio_chip: PL061 GPIO chip @0x000000001214f000 registered
pl061_gpio 12150000.gpio_chip: PL061 GPIO chip @0x0000000012150000 registered
pl061_gpio 12151000.gpio_chip: PL061 GPIO chip @0x0000000012151000 registered
pl061_gpio 12152000.gpio_chip: PL061 GPIO chip @0x0000000012152000 registered
Unable to detect cache hierarchy from DT for CPU 0
brd: module loaded
loop: module loaded
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.0
hisi-sfc hisi_spi_nor.0: unrecognized Manufacturer ID
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.6
SPI Nand(cs 0) ID: 0xc8 0xc2
nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xc2
nand: GD/ESMT 5F2GQ4RB9IGR
nand: 256MiB, SLC, page size: 2048
Nand(Auto): OOB:128B
ECC:24bit/1k nand:  ECC provided by Flash Memory Controller
3 cmdlinepart partitions found on MTD device hinand
Creating 3 MTD partitions on "hinand":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000a00000 : "kernel"
0x000000a00000-0x000006e00000 : "rootfs"
libphy: hisi_gemac_mii_bus: probed
libphy: hisi_gemac_mii_bus: probed
libphy: Fixed MDIO Bus: probed
hi_gmac_v200 101c0000.ethernet (unnamed net_device) (uninitialized): using random MAC address 8a:d7:74:bc:d1:9b
attached PHY 1 to driver Generic PHY, PHY_ID=0x1cc916
Higmac dma_sg_phy: 0x0000000063c80000
ETH: rgmii, phy_addr=1
hi_gmac_v200 101e0000.ethernet (unnamed net_device) (uninitialized): using random MAC address 76:ab:a2:9d:96:bb
phy 3 not found
xhci-hcd 12310000.xhci_1: xHCI Host Controller
xhci-hcd 12310000.xhci_1: new USB bus registered, assigned bus number 1
xhci-hcd 12310000.xhci_1: hcc params 0x0220fe6d hci version 0x110 quirks 0x00010010
xhci-hcd 12310000.xhci_1: irq 41, io mem 0x12310000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 12310000.xhci_1: xHCI Host Controller
xhci-hcd 12310000.xhci_1: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
hibvt_rtc 180b0000.rtc: rtc core: registered 180b0000.rtc as rtc0
hibvt_rtc 180b0000.rtc: RTC driver for hibvt enabled
i2c /dev entries driver
hibvt-i2c 12110000.i2c: hibvt-i2c0@100000hz registered
hibvt-i2c 12111000.i2c: hibvt-i2c1@100000hz registered
hibvt-i2c 12112000.i2c: hibvt-i2c2@100000hz registered
hibvt-i2c 12113000.i2c: hibvt-i2c3@100000hz registered
hibvt-i2c 12114000.i2c: hibvt-i2c4@100000hz registered
hibvt-i2c 12115000.i2c: hibvt-i2c5@100000hz registered
hibvt-i2c 12116000.i2c: hibvt-i2c6@100000hz registered
hibvt-i2c 12117000.i2c: hibvt-i2c7@100000hz registered
hibvt-i2c 12118000.i2c: hibvt-i2c8@100000hz registered
hibvt-i2c 12119000.i2c: hibvt-i2c9@100000hz registered
hibvt-i2c 1211a000.i2c: hibvt-i2c10@100000hz registered
hibvt-i2c 1211b000.i2c: hibvt-i2c11@100000hz registered
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
mmc0: SDHCI controller on 10100000.SD [10100000.SD] using ADMA 64-bit
mmc1: SDHCI controller on 10110000.SD [10110000.SD] using ADMA 64-bit
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
NET: Registered protocol family 17
hibvt_rtc 180b0000.rtc: setting system clock to 1970-01-01 00:48:47 UTC (2927)
uart-pl011 12100000.uart: no DMA platform data
RAMDISK: Couldn't find valid RAM disk image starting at 0.
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
Freeing unused kernel memory: 320K (ffffffc0047f0000 - ffffffc004840000)
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
Call trace:
[] dump_backtrace+0x0/0x198
[] show_stack+0x14/0x20
[] dump_stack+0x94/0xb8
[] panic+0x118/0x268
[] kernel_init+0xec/0x100
[] ret_from_fork+0x10/0x50
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 512 MB
---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

请教大神,这是什么原因导致的呢?
我来回答
5664
0
0
回答
11个
易百纳技术社区
Leo1987 发布于2018-06-13 16:49:57
要么是uboot环境变量没写对, 要么是rootfs没烧对地址
0
易百纳技术社区
juiceweng 发布于2018-07-24 15:28:24
文件系统的类型或者flash中文件系统所处的位置不匹配
0
易百纳技术社区
juiceweng 发布于2018-07-28 15:10:37
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel.
制作的文件系统错误,没有init
0
易百纳技术社区
hero 发布于2018-07-30 10:18:57
[quote][url=forum.php?mod=redirect&goto=findpost&pid=102239&ptid=39537]juiceweng 发表于 2018-7-28 15:10[/url]
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel.
制作的文件 ...[/quote]

:victory::victory:
0
易百纳技术社区
雨夜 发布于2018-08-08 16:30:57
谢谢各位!问题已经解决,文件系统没有选择静态编译的原因导致的!
0
易百纳技术社区
rfk 发布于2018-08-10 12:09:24
顶帖是一种美德:victory:
0
易百纳技术社区
qn1520991384 发布于2018-09-17 18:51:00
应该是启动参数设置的不对,我也碰到了这个问题,已经解决
0
易百纳技术社区
it_0918 发布于2020-05-09 17:07:58
[quote][url=forum.php?mod=redirect&goto=findpost&pid=106883&ptid=39537]qn1520991384 发表于 2018-9-17 18:51[/url]
应该是启动参数设置的不对,我也碰到了这个问题,已经解决[/quote]

请问下有没有碰到过在Hi3559av100下使用rtc模块,断电重启后,时间被还原
0
易百纳技术社区
Tracy_9216 发布于2020-05-09 18:31:05
bootargs和bootcmd设置的问题吧
0
易百纳技术社区
hero 发布于2018-06-14 08:30:53
:lol:lol:lol:lol:lol
0
易百纳技术社区
hero 发布于2018-07-24 15:42:13
:lol:lol:lol:lol:lol
0

Markdown 语法

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

Markdown 语法

  • 加粗 **内容**
  • 斜体 *内容*
  • 删除线 ~~内容~~
  • 引用 > 引用内容
  • 代码 `代码`
  • 代码块 ```编程语言↵代码```
  • 链接 [链接标题](url)
  • 无序列表 - 内容
  • 有序列表 1. 内容
  • 缩进 内容
  • 图片 ![alt](url)
+ 添加网盘链接/附件
或将文件直接拖到这里
悬赏:
EBC
网盘
* 网盘链接:
* 提取码:
悬赏:
EBC
Loading...
易百纳技术社区
确定要删除此文章、专栏、评论吗?
确定
取消
易百纳技术社区
易百纳技术社区
在专栏模块发布专栏,可获得其他E友的打赏
易百纳技术社区
回答悬赏问答,被题主采纳后即可获得悬赏金
易百纳技术社区
在上传资料时,有价值的资料可设置为付费资源
易百纳技术社区
达到一定金额,收益即可提现~
收益也可用来充值ebc,下载资料、兑换礼品更容易
易百纳技术社区
活动规则
  • 1.周任务为周期性任务,每周周一00:00刷新,上周完成的任务不会累计到本周,本周需要从头开始任务,当前任务完成后才可以完成下一个任务
  • 2.发布的专栏与资料需要与平台的板块有相关性,禁止注水,专栏/资料任务以审核通过的篇数为准
  • 3.任务完成后,现金奖励直接打款到微信账户;EBC/收益将自动发放到个人账户,可前往“我的钱包”查看;其他奖励请联系客服兑换
  • 4.每周最后三个任务将会有以下奖品掉落:社区热卖开发板、小米音响、视频年度会员、京东卡、华为手机等等
易百纳技术社区
升级提醒
易百纳技术社区

恭喜您由入门

社区送出礼品一份

请填写您的收件地址,礼品将在3个工作日寄出

易百纳技术社区