bootloader分析-breed

bootloader分析-breed无评论

2017年3月16日 下午2:19分类:路由器 阅读: 17,458 次

Ubuntu下安装binwalk: 下载: #git clone https://github.com/devttys0/binwalk.git #cd binwalk 安装: $ sudo python setup.py install 解压需要7z支持 $ sudo apt-get install p7zip-full 分析breed: 解压后的文件在: ~/_breed-mt7620-phicomm-psg1208.bin.extracted breed分为两个部分: 1、0-0x2850 为一个bin文件,这一部分一般叫做bootstrap.bin, 2、0x2850-最后(0x14e09)为一个LZMA格式(7z)的压缩文件,就是上图的2850.7z,解压后的文件是2850,我们暂把它叫uboot.bin 设备上电后开始执行bootstrap.bin, 先进行ram/flash相 ...


【阅读全文】

vmware安装、运行openwrt

vmware安装、运行openwrt有2条评论

2017年3月16日 上午9:49分类:路由器 阅读: 33,185 次

参考: 21   1、下载解压openwrt for vmware 由于要用到qemu-img,因此在centos下操作 # yum -y install qemu-img 下载文件openwrt-15.05.1-x86-64: #wget https://downloads.openwrt.org/chaos_calmer/15.05.1/x86/64/openwrt-15.05.1-x86-64-combined -ext4.img.gz 解压 # gunzip openwrt-15.05.1-x86-64-combined-ext4.img.gz 生成vmware用的文件 # qemu-img convert -f raw -O vmdk openwrt-15.05.1-x86-64-combined-ext4.img openwrt.vmdk 为照顾没有linux的朋友, ...


【阅读全文】