天嵌 ARM开发社区

 找回密码
 注册
查看: 2816|回复: 3

救助高手!linux启动出错:undefined instruction ---

[复制链接]
liyunkebeyond 发表于 2010-9-13 22:10:04 | 显示全部楼层 |阅读模式
本帖最后由 liyunkebeyond 于 2010-9-13 22:17 编辑

Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,Warning: this binary is not compressed linux kernel image
zImage magic = 0xffffffff
NOW, Booting Linux......
undefined instruction
pc : [<300081c0>]    lr : [<33d81760>]
sp : 33d3d714  ip : c000107e  fp : 33d3d993
r10: 33d3d893  r9 : 00000000  r8 : 33d3ffdc
r7 : 33d3d993  r6 : 00000000  r5 : 000000a8  r4 : 30008000
r3 : fc000000  r2 : 30008000  r1 : 000000a8  r0 : 00000000
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

以上是以正确操作方式加裁天嵌公司提供的linux-2.6.30.4*的出错结果!!之前用同样的操作方式内核启动正常!  现请高手救助!!!!

EmbedSky> printenv
bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
bootcmd=nboot 0x32000000 kernel; bootm 0x32000000
bootdelay=0
baudrate=115200
ethaddr=0a:1b:2c:3d:4e:5f
ipaddr=192.168.1.6
serverip=192.168.1.8
netmask=255.255.255.0
mtdids=nand0=nandflash0
mtdparts=nandflash0:256k@0(bios),1024k(logo),2m(kernel),60m(root)
stdin=serial
stdout=serial
stderr=serial

以上是UBOOT的参数。

end_request: I/O error, dev mtdblock2, sector 0
FAT: unable to read boot sector
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "EmbedSky_Board_uboot"
0x000000200000-0x000000400000 : "EmbedSky_Board_kernel"
0x000000400000-0x00000ff80000 : "EmbedSky_Board_yaffs2"
......
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00             256 mtdblock0 (driver?)
1f01            2048 mtdblock1 (driver?)
1f02          257536 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

以上是从NOR FLASH启动后--->按键:t ([t] Test Linux Image (zImage))的部分信息,是不是我的启动出错与这个信息有关?
 楼主| liyunkebeyond 发表于 2010-9-13 22:50:08 | 显示全部楼层
本人重新向NOR FLASH烧写了官方提供的UBOOT,和向NAND FLASH中烧写官方的KERNEL,ROOTFS,但还是出现同样的错误。
 楼主| liyunkebeyond 发表于 2010-9-14 13:13:00 | 显示全部楼层
哈,现在可好了,原来还是镜像的问题!!!!
天嵌_support1 发表于 2010-9-14 14:57:40 | 显示全部楼层
3# liyunkebeyond


你的镜像出了什么问题。我们都是通过测试才给客户的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-18 04:35 , Processed in 1.017617 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表