弱弱的问下,嵌入式这块是搞驱动好,还是开发应用程序好
时间:2009-12-12
来源:互联网
在ubuntu系统apt-get安装的bochs没有调试功能。于是下载代码重编了一个有调试功能的。
现在的现象是,启动bochs。$ bochs -qf "配置文件"。配置文件是一个linux0.11的img对应的配置文件。
使用apt-get安装的bochs没有调试功能的 可以正常引导进入linux0.11
使用自己编译的带有调试功能的bochs,运行到<bochs:1> 暂停,输入c继续,然而并不能正常进入linux0.11。看了一下产生的bochsout.txt文件有如下的调试信息
-->103行
00027768764i[FDD ] partial read() on floppy image returns 132/512
00027813719i[FDD ] read() on floppy image returns 0
00027858674i[FDD ] read() on floppy image returns 0
/*中间全部是同样的信息*/
00034343390i[FDD ] read() on floppy image returns 0
00034393837i[BIOS ] int13_harddisk: function 15, unmapped device for ELDL=81
00034674965e[CPU0 ] MOV_CdRd: #UD - control register 3 index out of range
00034677386e[CPU0 ] MOV_CdRd: #UD - control register 3 index out of range
/* 之后也同样都是如上的Log */
这可能是因为什么缘故,为什么进不去系统。那位能给个提示。这里先谢过了。
现在的现象是,启动bochs。$ bochs -qf "配置文件"。配置文件是一个linux0.11的img对应的配置文件。
使用apt-get安装的bochs没有调试功能的 可以正常引导进入linux0.11
使用自己编译的带有调试功能的bochs,运行到<bochs:1> 暂停,输入c继续,然而并不能正常进入linux0.11。看了一下产生的bochsout.txt文件有如下的调试信息
-->103行
00027768764i[FDD ] partial read() on floppy image returns 132/512
00027813719i[FDD ] read() on floppy image returns 0
00027858674i[FDD ] read() on floppy image returns 0
/*中间全部是同样的信息*/
00034343390i[FDD ] read() on floppy image returns 0
00034393837i[BIOS ] int13_harddisk: function 15, unmapped device for ELDL=81
00034674965e[CPU0 ] MOV_CdRd: #UD - control register 3 index out of range
00034677386e[CPU0 ] MOV_CdRd: #UD - control register 3 index out of range
/* 之后也同样都是如上的Log */
这可能是因为什么缘故,为什么进不去系统。那位能给个提示。这里先谢过了。
作者: xynan 发布时间: 2009-12-12
我也碰到了这样的情况,是否有人解决了啊?望赐教呀。
我的是ubuntu10.10.
需要在bochs上安装的是linux-kernel 0.11
编译linux-kernel 0.11能生成Image.
但是用bochs -q -f tools/bochs/bochsrc/bochsrc-hd.bxrc后
bochs界面就一直定在Loading System...这一块,光标不断闪动
我的是ubuntu10.10.
需要在bochs上安装的是linux-kernel 0.11
编译linux-kernel 0.11能生成Image.
但是用bochs -q -f tools/bochs/bochsrc/bochsrc-hd.bxrc后
bochs界面就一直定在Loading System...这一块,光标不断闪动
作者: runcoder 发布时间: 2010-10-02
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28