Chinaunix首页 | 论坛 | 博客
  • 博客访问: 438726
  • 博文数量: 78
  • 博客积分: 2030
  • 博客等级: 大尉
  • 技术积分: 1002
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 15:25
文章分类

全部博文(78)

文章存档

2012年(1)

2011年(1)

2010年(4)

2009年(12)

2008年(60)

我的朋友

分类:

2008-10-30 17:55:41

## Booting image at bf460000 ...
rootfs corrupted
   Image Name:   kernel Image
   Created:      2007-12-28   8:14:56 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    689333 Bytes = 673.2 kB
   Load Address: 80060000
  Entry Point:  8023b000
   Verifying Checksum ... OK
   Uncompressing LZMA Kernel Image ..................................OK

Starting kernel @8023b000...

上面这个entry point的地址很奇怪啊!看了下openwrt的东西,它用一个命令可以直接找出来,很方便。
grep -Rn "KERNEL_ENTRY" ./
./include/image.mk:17:KERNEL_ENTRY=`readelf -a $(BIN_DIR)/vmlinux.ar91xx|grep "Entry"|cut -d":" -f 2`

用readelf -a 读不压缩的wmlinux就可以确定。
上面mips的地址比load addr偏后很多,估计是big endian的结果,猜的。

阅读(3835) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~