作者:黎静 一、知识点总结 (一)给MenuOS增加time和time-asm命令 1.更新menu代码到最新版 2.test.c中main函数里,增加MenuConfig() 3.增加对应的两个函数,Time和TimeAsm函数 4.make rootfs自动编译脚本 (二)使用gdb调试跟踪系统 ...
分类:
系统相关 时间:
2016-03-27 20:54:35
阅读次数:
267
实验内容: 1.执行rm menu -rf命令,强制删除原有的menu 2.使用git命令 git clone https://github.com/mengning/menu.git 克隆新的menu 3.在test.c中,在main函数中增加两个MenuConfig 4.增加对应的GetPid函 ...
分类:
系统相关 时间:
2016-03-26 17:04:22
阅读次数:
193
更新menu代码到最新版 在main函数中增加MenuConfig 增加对应的Time函数和TimeAsm函数 make rootfs 一直按n单步执行会进入schedule函数 sys_time返回后进入汇编代码处理gdb无法继续跟踪 执行int 0x80之后执行system_call对应的代码 ...
分类:
其他好文 时间:
2016-03-24 16:14:40
阅读次数:
225
busybox-1.24.1.tar.bz21, 修改 Makefile找到以下2处修改为ARCH ?= armCROSS_COMPILE ?= arm-linux- 2, 打开配置菜单make menuconfig这里进行一些配置,打开 TAB 补全功能,选中 ifconfig , 打开驱动加载功
分类:
其他好文 时间:
2016-03-10 14:21:51
阅读次数:
215
为什么要配置内核 基于硬件和软件的需求选出需要的功能,去掉不要的功能。 内核配置的方法 make config:基于文本交互的配置。 make menuconfig:基于图形菜单的配置。 make menuconfig配置方法 1.菜单项的分类 processor type and features
分类:
系统相关 时间:
2016-03-04 09:16:41
阅读次数:
316
测试:1:make menuconfig去掉原来的驱动程序 Device Drivers ---> Graphics support ---> <M> S3C2410 LCD framebuffer support 2: make uImage make modules cp arch/arm/bo
分类:
其他好文 时间:
2016-01-30 02:39:24
阅读次数:
175
前提:将CentOS7上3.10.0-229.el7.x86_64重新编译一个3.18.25内核自编译安装,按照自己的硬件平台架构编译,能最适合硬件主机的性能且按照需要编译模块,可以选择自己需要的包编译[root@localhosttmp]#uname-a一、编译前准备工作1.宿主机系统本次编译宿主机:VMwareWorkstation..
分类:
系统相关 时间:
2016-01-01 23:15:52
阅读次数:
3373
配置编译busyboxmake menuconfig [*] Tab completionmkdir -p /work/nfs_root/frist_fsmakemake CONFIG_PREFIX=/work/nfs_root/frist_fs installbin linuxrc sbi...
分类:
其他好文 时间:
2015-12-27 01:01:32
阅读次数:
351
CentOS: make menuconfig error: curses.h: No such file or directory yum install ncurses-devel ncurses
分类:
其他好文 时间:
2015-12-20 20:56:03
阅读次数:
193
Linux系统内核制作 1、清除原有配置与中间文件 x86: make distclean arm: make distclean 2、配置内核 x86: make menuconfig arm: make menuconfig ARCH=arm 3.编译内核 ...
分类:
系统相关 时间:
2015-11-27 23:30:19
阅读次数:
211