摘要: 本次代码参看:ftp://ftp.denx.de/pub/u-boot/u-boot-2012.04.01.tar.bz2 以mips架构为例子介绍。等我代码读完,再添加。 下图是uboot到启动内核的大体流程:既然uboot最后的theKernel函数可以将参数传给内核,那么读者是否可以思考下如何... 阅读全文
posted @ 2015-03-14 22:52 JustRelax 阅读(654) 评论(0) 推荐(0)
摘要: 首先进入:apparmor_init初始化。主要就以下几个步骤: ...... if (!apparmor_enabled || !security_module_enable(&apparmor_ops)) { aa_info_message("AppArmor disabled by... 阅读全文
posted @ 2015-03-14 15:11 JustRelax 阅读(944) 评论(0) 推荐(0)
摘要: autoconf-2.65根据以下补丁文件。修改DOC目录下的autoconf.texi (也就是去掉@c)--- autoconf-2.65/doc/autoconf.texi 2009-11-05 10:42:15.000000000 +0800+++ autoconf-2.65/doc/aut... 阅读全文
posted @ 2015-03-14 13:50 JustRelax 阅读(1028) 评论(0) 推荐(0)
摘要: 今天在编译m4的时候出现了以下错误。./stdio.h:456:1: error: 'gets' undeclared here (not in a function)报错提示建议用:fgets。解决办法:在源码中找到:stdio.in.h 这个文件。找到这一行:gets is a security... 阅读全文
posted @ 2015-03-14 13:41 JustRelax 阅读(767) 评论(0) 推荐(0)