newbie

newbie

0个粉丝

2

问答

0

专栏

0

资料

newbie  发布于  2014-09-26 22:19:39
采纳率 0%
2个问答
9016

Hi3518e自行燒寫uimage kernal後出現以下問題是什麼原因?

 
Hi3518e自行燒寫uimage kernal後出現以下問題是什麼原因?


U-Boot 2010.06-svn (Jun 16 2014 - 09:36:52)

DRAM:  256 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x17 0xC2 0x20 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"MX25L6406E"
envcrc 0xab0aeb22
ENV_SIZE = 0xfffc
In:    serial
Out:   serial
Err:   serial
Press Ctrl+C to stop autoboot
8192 KiB hi_sfc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.0.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2891032 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000


load=0x80008000,_bss_end=80829580,image_end=802c9d18,boot_sp=807c71d8
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.0.8 (root@kaho-K42JK) (gcc version 4.4.1 (Hisilicon_v200(gcc4.4-290+glibc-2.11+eabi+nptl)) ) #1 Sat Sep 20 16:19:30 HKT 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
Ignoring unrecognised tag 0x54410010
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 200000000.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: mem=32M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:0x40000(boot),0x300000(kernel),0x4c0000(rootfs)
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 26984k/26984k available, 5784k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc2800000 - 0xfe000000   ( 952 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0029000   ( 132 kB)
      .text : 0xc0029000 - 0xc0513000   (5032 kB)
      .data : 0xc0514000 - 0xc0537fa0   ( 144 kB)
       .bss : 0xc0537fc4 - 0xc0555240   ( 117 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 5) is a PL011 rev2
bio: create slab at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 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.
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 52
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
loop: module loaded
Spi id table Version 1.22
Spi(cs1) ID: 0xC2 0x20 0x17 0xC2 0x20 0x17
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:8MB
Name:"MX25L6406E"
spi size: 8MB
chip num: 1
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000340000 : "kernel"
0x000000340000-0x000000800000 : "rootfs"
Fixed MDIO Bus: probed
himii: probed
usbcore: registered new interface driver rt2500usb
usbcore: registered new interface driver rt73usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver mdc800
mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
\F8VFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing init memory: 132K
/bin/sh: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Backtrace:
[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
r6:0000001b r5:c05382b0 r4:c05382b0 r3:0000000a
[] (dump_stack+0x0/0x1c) from [] (panic+0x64/0x190)
[] (panic+0x0/0x190) from [] (do_exit+0x640/0x700)
r3:60000013 r2:c1824000 r1:c1822120 r0:c04b8534
r7:c1822000
[] (do_exit+0x0/0x700) from [] (do_group_exit+0x44/0xc4)
r7:000000f8
[] (do_group_exit+0x0/0xc4) from [] (sys_exit_group+0x18/0x24)
r4:bed63a38 r3:0000ffff
[] (sys_exit_group+0x0/0x24) from [] (ret_fast_syscall+0x0/0x2c)
我来回答
回答14个
时间排序
认可量排序

david

33个粉丝

368

问答

253

专栏

229

资料

david 2014-09-29 09:05:08
认可0
/bin/sh: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory

先把这个error处理了 看下。

newbie

0个粉丝

2

问答

0

专栏

0

资料

newbie 2014-09-29 09:40:55
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8263&ptid=3883]david 发表于 2014-9-29 09:05[/url]
/bin/sh: error while loading shared libraries: libm.so.6: cannot open shared object file: No such fi ...[/quote]

就是不慬為什麼會出現这个error...

david

33个粉丝

368

问答

253

专栏

229

资料

david 2014-09-29 09:52:38
认可0

/bin/sh: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory

这块没有遇到,你搜下 libm.so.6 是什么地方用的。 如果是在摸个模块里面,先把它注释了看看。
或者先不加相关模块。

kolaking

0个粉丝

0

问答

0

专栏

0

资料

kolaking 2014-10-24 15:08:41
认可0
有道理,问题解决没有?

kg123456

0个粉丝

14

问答

0

专栏

3

资料

kg123456 2016-03-09 02:54:48
认可0
你好 我想问下3518E在烧写根文件系统时 擦除的地址是多少  我这边老是提示越界  谢谢

fancong

0个粉丝

15

问答

0

专栏

2

资料

fancong 2016-03-09 08:44:08
认可0
看这个打印,貌似是文件系统做得有问题,可以先用海思自带的文件系统试试!里面的库比较全!

包龙兔

0个粉丝

14

问答

0

专栏

0

资料

包龙兔 2016-03-09 09:53:02
认可0
应该是文件系统的问题。

ganjivai

0个粉丝

0

问答

0

专栏

0

资料

ganjivai 2016-03-09 14:10:23
认可0
你Flash有问题大小只有8MB,文件系统却挂在8MB的开头,一定会取不到数据

juven

0个粉丝

4

问答

0

专栏

0

资料

juven 2016-03-09 15:00:12
认可0
应该是文件系统烧写的出问题了,Flash才8M,所以uboot+uImage+filessystem一定<=8M

czw19911010

0个粉丝

3

问答

0

专栏

1

资料

czw19911010 2016-03-10 11:23:05
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26266&ptid=3883]juven 发表于 2016-3-9 15:00[/url]
应该是文件系统烧写的出问题了,Flash才8M,所以uboot+uImage+filessystem一定[/quote]

我也出现了这个问题   我重烧了也是一样啊   无法启动

贴一下启动命令: setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:0.3M(boot),3.09M(kernel),4.09M(rootfs)'
setenv bootcmd 'sf probe 0;sf read 0x82000000 0x30000 0x340000;bootm 0x82000000'

juven

0个粉丝

4

问答

0

专栏

0

资料

juven 2016-03-10 16:59:49
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26311&ptid=3883]czw19911010 发表于 2016-3-10 11:23[/url]
我也出现了这个问题   我重烧了也是一样啊   无法启动

贴一下启动命令: setenv bootargs 'mem=64M co ...[/quote]

mtdparts=hi_sfc:0.3M(boot),3.09M(kernel),4.09M(rootfs)'把这当中的单位M改为K为单位,

czw19911010

0个粉丝

3

问答

0

专栏

1

资料

czw19911010 2016-03-10 21:53:10
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26337&ptid=3883]juven 发表于 2016-3-10 16:59[/url]
mtdparts=hi_sfc:0.3M(boot),3.09M(kernel),4.09M(rootfs)'把这当中的单位M改为K为单位,[/quote]

改了好像也并没用

czw19911010

0个粉丝

3

问答

0

专栏

1

资料

czw19911010 2016-03-10 21:57:39
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26337&ptid=3883]juven 发表于 2016-3-10 16:59[/url]
mtdparts=hi_sfc:0.3M(boot),3.09M(kernel),4.09M(rootfs)'把这当中的单位M改为K为单位,[/quote]

出现这种情况

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0000: 0x7bc5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0004: 0x8b46 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0008: 0xd1a9 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e000c: 0xed44 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0010: 0xc5dd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0014: 0xac91 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0018: 0xcc56 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e001c: 0x59b8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0020: 0xdf15 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0024: 0xdece instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0000: 0xacc2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0004: 0xd6ea instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0008: 0x3b8a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f000c: 0xb7bb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0010: 0xb42b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0014: 0x5ffd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0018: 0x62be instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f001c: 0xb71e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0020: 0x474e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0024: 0x2624 instead

kelly447801322

0个粉丝

4

问答

0

专栏

0

资料

kelly447801322 2016-04-13 09:16:43
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26224&ptid=3883]fancong 发表于 2016-3-9 08:44[/url]
看这个打印,貌似是文件系统做得有问题,可以先用海思自带的文件系统试试!里面的库比较全![/quote]

您好!本人最近在研究海思的3518E,可是烧写了海思SDK包自带的u-boot内核文件系统还是出现了问题,能否指点一二?:handshake
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区