uboot tftp下载内核和文件系统

jidesanhaofei110 2012-02-15 02:52:31
[b]只下载内核,能正常启动[/b]:2097152 bytes read: OK
## Booting kernel from Legacy Image at 30008000 ...
Image Name: linux-2.6.32.2
Created: 2012-02-15 3:08:33 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2287060 Bytes = 2.2 MiB
Load Address: 30008000
Entry Point: 30008040
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
................................................................................
........ done, booting the kernel.
Linux version 2.6.32.2-FriendlyARM (root@localhost.localdomain) (gcc version 4.3
.2 (Sourcery G++ Lite 2008q3-72) )
下了内核和文件系统,linux就这样了:
NAND read: device 0 offset 0x50000, size 0x200000

please waiting......
2097152 bytes read: OK
## Booting kernel from Legacy Image at 30008000 ...
Image Name: linux-2.6.32.2
Created: 2012-02-15 3:08:33 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2287060 Bytes = 2.2 MiB
Load Address: 30008000
Entry Point: 30008040
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
## Starting application at 0x30008000 ...
data abort
pc : [<30008008>] lr : [<3300bb04>]
sp : 32fcdbc4 ip : fffffffe fp : 00000000
r10: 32fcdcfd r9 : 7ffffffb r8 : 32fcffe0
r7 : 00000000 r6 : 00000002 r5 : 32fcdef4 r4 : 30008000
r3 : 30008000 r2 : 32fcdef4 r1 : 32fcdef4 r0 : 00000001
Flags: nZCv IRQs on FIQs off Mode SVC_32
Resetting CPU ...

求解啊:这是我下载内核和文件用的命令
tftp 0x30008000 uImage
nand erase 0x50000 0x200000
nand write 0x30008000 0x50000 0x200000
tftp 0x30008000 rootfs_qtopia_qt4.img
nand erase 0x250000 0x3db0000
nand write.yaffs2 0x30008000 0x250000 $(filesize
不知道哪里出了问题啊,求大大门指点啊,急急急
...全文
559 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
guishong 2013-04-24
  • 打赏
  • 举报
回复
同样的问题啊。楼主有没有解决啊。求帮助啊。 我的是下载根文件系统出现如下问题: ###############################data abort pc : [<b0a633dc>] lr : [<33f83f5c>] sp : 33f3dda4 ip : 33f3db08 fp : 33fbf4be r10: 000005be r9 : cc040b39 r8 : 33f3ffe0 r7 : 33fbf4cc r6 : 0000dc82 r5 : 03f360c4 r4 : 00ff0000 r3 : 00000000 r2 : 33fbf4ce r1 : 000005bc r0 : 33f3db08 Flags: nZCv IRQs on FIQs off Mode SVC_32 Resetting CPU ... resetting ...
jackylongchen 2012-05-03
  • 打赏
  • 举报
回复
请问下:
bootargs=noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200 rootf
stype=yaffs2 rw mem=64M

中的 root=/dev/mtdblock3 console=ttySAC0 是根据 什么来的呢?
jidesanhaofei110 2012-02-15
  • 打赏
  • 举报
回复
uboot设置的环境变量:bootargs=noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200 rootf
stype=yaffs2 rw mem=64M
bootcmd=nand read 0x30008000 0x50000 0x200000; bootm 0x30008000
bootdelay=1
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.1.110
serverip=192.168.1.100
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
ethact=dm9000
jidesanhaofei110 2012-02-15
  • 打赏
  • 举报
回复
求大大现身啊

21,595

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧