一、openwrt
1.安装openwrt
http://blog.xavierskip.com/2012-12-25-openwrt-for-wr703n/
2.openwrt 重置wr703n
1)将ip设为192.168.1.字段,设置网关192.168.1.1
2)插上电源,按下reset键,蓝色灯不断闪烁,输入telnet 192.168.1.1进入openwrt,输入firstboot,擦除文件系统数据,重启路由。
3.恢复
http://unxmail.com/read.php?186
二、qemu-system-arm模拟rpi
$qemu-system-arm -cpu arm1176 -m 256 -kernel ../../project/simulation/apc_boot_tmp/kernel-qemu -append "root=/dev/sda2 panic=1" -hda 2013-05-25-wheezy-raspbian.img
qemu: hardware error: integratorcm_read: Unimplemented offset 0x1f1018
CPU #0:
R00=0063e064 R01=00000055 R02=101f1000 R03=00000113
R04=009893b8 R05=009893e8 R06=009893e4 R07=00000113
R08=00000100 R09=00639eb0 R10=006396c4 R11=009893dc
R12=0000000d R13=0098a3e8 R14=0063a680 R15=0063a5a0
PSR=200001d3 --C- A svc32
s00=00000000 s01=00000000 d00=0000000000000000
s02=00000000 s03=00000000 d01=0000000000000000
s04=00000000 s05=00000000 d02=0000000000000000
s06=00000000 s07=00000000 d03=0000000000000000
s08=00000000 s09=00000000 d04=0000000000000000
s10=00000000 s11=00000000 d05=0000000000000000
s12=00000000 s13=00000000 d06=0000000000000000
s14=00000000 s15=00000000 d07=0000000000000000
s16=00000000 s17=00000000 d08=0000000000000000
s18=00000000 s19=00000000 d09=0000000000000000
s20=00000000 s21=00000000 d10=0000000000000000
s22=00000000 s23=00000000 d11=0000000000000000
s24=00000000 s25=00000000 d12=0000000000000000
s26=00000000 s27=00000000 d13=0000000000000000
s28=00000000 s29=00000000 d14=0000000000000000
s30=00000000 s31=00000000 d15=0000000000000000
FPSCR: 00000000
已放弃(吐核)
solve:
the qemu ARM variety of processor doesn't have disk support
add -M versatilepb
more information about qemu use:http://qemu.weilnetz.de/qemu-doc.html
about qemu with RPI :http://xecdesign.com/working-with-qemu/