boot.img 有Android特定的头文件、然后是kernel、然后才是ramdisk 我们现在的做法是直接跑kernel然后挂载ramdisk 我想问如果是boot.img,如何让他跑起来?我们用的是redboot。 需要修改什么启动参数来让系统识别kernle还有ramdisk的地址吗?
by sourxsunny - 嵌入式开发 - 2011-06-21 14:26:14 阅读(7413) 回复(16)
RT。 第一次build可以生成boot.img,可我把这个boot.img删掉以后,重新build时,并没有生成新的boot.img。 什么原因会导致这种问题的出现?
:em10: 请问怎样把boot.img文件复制到软盘上做成引导盘。已在openserver 5.07上试过民好多办法仍不成功,如mount,tar,dd,doscp... 在windowns 试过DD-COPY也不行。SOS。。。
root@aaa tmp]# mount -o loop -t msdos boot.img /mnt/boot mount: wrong fs type, bad option, bad superblock on /dev/loop0, or too many mounted file systems 提示错误. 请教 怎么处理???????
root@aaa tmp]# mount -o loop -t msdos boot.img /mnt/boot mount: wrong fs type, bad option, bad superblock on /dev/loop0, or too many mounted file systems 提示错误. 请教 怎么处理???????
参照网上的文章 “自己动手写操作系统--"Hello, OS world!" “(http://blog.csdn.net/wangneng/archive/2007/12/16/1942350.aspx) ,制作了一个软盘镜像:boot.img, 下载一个简单的boot程序, boot.asm:[code] org 07c00h ; 告诉编译器程序加载到 7c00处 mov ax, cs mov ds, ax mov es, ax call DispStr ; 调用显示字符串例程 jmp $ ; 无限循环 DispStr: mov ax, bootMessage mov bp, ax ; es:bp = 串地址 mov cx, 16 ; cx = 串...
我要做的是根据http://dev.gentoo.org/~armin76/arm/pandaboard/install.xml 这个网址里的内容,将MLO,u-boot.img, uImage编译完成后拷到SD卡中,然后启动pandaboard。已经验证过MLO和uImage没有任何问题。u-boot.img也能成功编译出来,问题是启动不了。u-boot-tools 版本为2013.07,u-boot版本试过2013.04,2013.07,2013.10,latest,结果都一样启动不出来,调试信息如下: U-boot 2013.10 (Apr 12 2014 - 05:08:24) CPU : O...