分类:
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的结果,猜的。