⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 android kernel porting 的简单总结文档 - colorant的专栏 - csdn博客.htm

📁 Android Kernel Porting 的简单总结文档.rar
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<DIV>&nbsp;</DIV>
<DIV><SPAN>Ø<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN>Android的Init位于根目录下,所以如果你需要直接启动Init,可以在内核参数命令行中用init=/init 
来指定,或者chroot 目录 /init来指定。 当然,启动/bin/sh以后,再手动启动/init也是可以的。</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN>Ø<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN>/dev/binder /dev/alarm /dev/log/* 
等文件是最重要的几个设备节点,由于这几个设备节点号的主次设备号是动态分配的,所以,最好确认你的文件系统中的这几个设备节点的主次设备号是否正确。如果不知道如何确认,直接删除掉再重启 
8 )</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN>Ø<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN>如果flash速度太慢或者nfs网络连接太差,可以将data tmp这两个目录mount到内存里,前提是你的内存足够大 8 
)</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN>Ø<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN>如果启动过程中,红色滚动条速度太快(和emulator里的表现比较),runtime或者system_server进程CPU占用率接近100%,那么你可以修改一下你的framebuffer代码中pan_display相关的函数的代码,保证其调用返回时得到足够的帧同步延迟时间。据Google的swetland给我的说法是:This 
is usually indicative of lack of vsync/pageflip in the fb driver.The 
surfaceflinger believes it will be limited by the vsync rate and the startup 
animation depends on that.</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN>Ø<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN>目前的Android的内核代码有M3-r20和M5-r14两个版本,这两个版本对binder和power两个驱动做了较大的修改,上层的文件系统和内核必须配套使用。( 
另,我的板子上,M5版本可以跑起来,M3的版本会出现段错误,没跑起来 :(。如果一个版本实在跑不起来,不妨试试别的版本)</DIV>
<DIV style="MARGIN-LEFT: 0cm">&nbsp;</DIV>
<DIV><SPAN>Ø<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN>使用strace去跟踪问题!</DIV>
<P class="right articalinfo">发表于 @ <A title=permalink 
href="http://blog.csdn.net/colorant/archive/2008/02/27/2124992.aspx">2008年02月27日 
16:59:00</A>|<A title=评论 
href="http://blog.csdn.net/colorant/archive/2008/02/27/2124992.aspx#FeedBack">评论(<SPAN 
id=FeedbackCount_2124992>loading...</SPAN>
<SCRIPT type=text/javascript>AddFeedbackCountStack("2124992")</SCRIPT>
)</A>|<A title=编辑 
href="http://writeblog.csdn.net/PostEdit.aspx?entryId=2124992">编辑</A></P><SPAN 
id=Post.ascx_ViewPost_PreviousAndNextEntriesDown>
<H3 class=pagego><A 
href="http://blog.csdn.net/colorant/archive/2008/06/27/2590654.aspx">新一篇:&nbsp;ARM平台上蓝牙协议栈Bluez的移植使用和配置</A>&nbsp;|&nbsp;<A 
href="http://blog.csdn.net/colorant/archive/2008/01/09/2031721.aspx">旧一篇:&nbsp;udev文件系统的使用和基本工作原理分析</A></H3></SPAN></DIV></DIV>
<DIV class=commentslist>
<SCRIPT type=text/javascript>
    var CurrentEntryId = '2124992';
    var CurrentUserName = 'colorant';
</SCRIPT>

<SCRIPT 
src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/feedback.js" 
type=text/javascript></SCRIPT>

<DIV id=commentslist></DIV></DIV>
<DIV class=spacecommment></DIV>
<SCRIPT type=text/javascript>
        LoadFeedbackCount();
        document.write("<img src='http://counter.csdn.net/pv.aspx?id=24' border=0 width=0 height=0>");// 计数器
    </SCRIPT>
</DIV></DIV></DIV>
<DIV id=csdnblog_sidebar>
<DIV class=gutter>
<DIV class=aboutauthor>
<DL>
  <DT>用户操作
  <DD class=middle><A href="http://webim.csdn.net/Messages/colorant.ashx" 
  target=_blank>[即时聊天]</A> <A 
  href="http://hi.csdn.net/Admin/WriteMessage.aspx?Receiver=colorant" 
  target=_blank>[发私信]</A> <A 
  href="http://webim.csdn.net/AddFriends/colorant.ashx" target=_blank>[加为好友]</A>
  <DT><A href="http://hi.csdn.net/colorant">彩色蚂蚁</A><SPAN>ID:<A 
  href="http://hi.csdn.net/colorant">colorant</A></SPAN>
  <DD class=middle><A href="http://hi.csdn.net/colorant"><IMG alt="" 
  src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/1_colorant.jpg"></A>
  <DD class=middle><A href="http://profile.csdn.net/8/E4/edit.html"></A>
  <DD>共<EM>41310</EM>次访问,排名<EM>3261</EM>,<A 
  href="http://hi.csdn.net/colorant/profile/contactlist/1.html">好友</A><EM>31</EM>人,<A 
  href="http://hi.csdn.net/colorant/profile/concernedlist/1.html">关注者</A><EM>35</EM>人。<BR>从事Linux驱动开发,BlueZ协议栈开发,喜爱摄影。
  <DD>
  <DT>colorant的文章
  <DD>原创 40 篇
  <DD>翻译 0 篇
  <DD>转载 0 篇
  <DD>评论 26 篇 
  <DT>彩色蚂蚁的公告
  <DD>希望和各位Linux开发者多多交流 8) 
  <DT>文章分类
  <DD>
  <DIV class=publiclist_sidebar>
  <UL>
    <LI><A href="http://blog.csdn.net/colorant/category/292888.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/292888.aspx">10.Linux内核模块分析</A>
    <LI><A href="http://blog.csdn.net/colorant/category/351743.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/351743.aspx">15.驱动编程</A>
    <LI><A href="http://blog.csdn.net/colorant/category/293198.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/293198.aspx">20.内核杂项</A>
    <LI><A href="http://blog.csdn.net/colorant/category/297036.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/297036.aspx">21.内核ARM体系结构相关</A>
    <LI><A href="http://blog.csdn.net/colorant/category/292873.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/292873.aspx">30.调试工具和方法论</A>
    <LI><A href="http://blog.csdn.net/colorant/category/441721.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/441721.aspx">35.调试记录和分析</A>
    <LI><A href="http://blog.csdn.net/colorant/category/358448.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/358448.aspx">40.系统集成相关</A>
    <LI><A href="http://blog.csdn.net/colorant/category/516900.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/516900.aspx">50.输入法</A>
    <LI><A href="http://blog.csdn.net/colorant/category/528235.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/528235.aspx">60.应用开发</A>
    <LI><A href="http://blog.csdn.net/colorant/category/351135.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/351135.aspx">80.读书笔记</A>
    <LI><A href="http://blog.csdn.net/colorant/category/293357.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/293357.aspx">90.其它</A>
    <LI><A href="http://blog.csdn.net/colorant/category/468688.aspx/rss"><IMG 
    alt=(RSS) 
    src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/rss.gif"></A><A 
    href="http://blog.csdn.net/colorant/category/468688.aspx">T10.旅行</A></LI></UL></DIV>
  <DT>收藏
  <DD>
  <DIV class=publiclist_sidebar>
  <UL></UL></DIV>
  <DT>我的其它主页空间
  <DD><A href="http://colorant.yupoo.com/" target=_self>我的摄影相册</A><A 
  href="http://www.yupoo.com/services/feeds/photos?user_id=ff80808113090b90011327be59de425c" 
  target=_blank>(RSS)</A>
  <DD><A href="http://colorant.blogcn.com/index.shtml" 
  target=_self>我的旅行摄影博客</A><A href="http://colorant.blogcn.com/rss.xml" 
  target=_blank>(RSS)</A>
  <DT>存档
  <DD>
  <DIV class=publiclist_sidebar>
  <UL>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2009/03.aspx">2009年03月(1)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2009/02.aspx">2009年02月(2)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2009/01.aspx">2009年01月(1)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/10.aspx">2008年10月(1)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/09.aspx">2008年09月(2)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/08.aspx">2008年08月(8)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/07.aspx">2008年07月(6)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/06.aspx">2008年06月(2)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/02.aspx">2008年02月(1)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2008/01.aspx">2008年01月(1)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2007/12.aspx">2007年12月(8)</A>
    <LI><A 
    href="http://blog.csdn.net/colorant/archive/2007/04.aspx">2007年04月(7)</A></LI></UL></DIV><SPAN 
  id=RecentVisitors></SPAN><SPAN id=SubscriptionList>
  <DT>订阅我的博客
  <DD><A href="http://feeds.feedsky.com/csdn.net/colorant"><IMG alt=XML聚合 
  src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/gif.gif" 
  border=0></A>&nbsp;&nbsp;<A href="http://feeds.feedsky.com/csdn.net/colorant" 
  target=_blank><IMG alt=FeedSky 
  src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/feedsky.gif" 
  border=0></A></SPAN> </DD></DL></DIV></DIV></DIV>
<DIV id=pubfooter>
<DL>
  <DT>
  <DD>Csdn Blog version 3.1a 
  <DD>Copyright © 彩色蚂蚁 </DD></DL></DIV></DIV></FORM>
<SCRIPT 
src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/counter.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="Android Kernel Porting 的简单总结文档 - colorant的专栏 - CSDN博客.files/ga.js" 
type=text/javascript>
</SCRIPT>

<SCRIPT type=text/javascript>
try {
var pageTracker = _gat._getTracker("UA-2688088-9");
pageTracker._trackPageview();
} catch(err) {}</SCRIPT>
</DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -