<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;Dk4FRHs_fip7ImA9WhRaEEs.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819</id><updated>2012-02-13T00:41:55.546+08:00</updated><category term="生活" /><category term="工具" /><category term="学习" /><category term="电脑" /><category term="GNU" /><title>yu   space</title><subtitle type="html">"Being the richest man in the cemetery doesn't matter to me... Going to bed at night saying we've done something wonderful... that's what matters to me."
- Steve Jobs, on Gates and Microsoft, Wall Street Journal, summer 1993</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://yushiyou.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>230</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/yushiyou" /><feedburner:info uri="blogspot/yushiyou" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUYGSHw7eyp7ImA9WhRbEE0.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-9052786900290686658</id><published>2012-01-31T18:52:00.001+08:00</published><updated>2012-01-31T18:52:09.203+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-31T18:52:09.203+08:00</app:edited><title>now it can work</title><content type="html">&lt;div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"&gt;now it can work&amp;nbsp;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"&gt;&lt;span id="netease_mail_footer"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-9052786900290686658?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/I1YMDA_K47U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/9052786900290686658/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=9052786900290686658" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/9052786900290686658?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/9052786900290686658?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/I1YMDA_K47U/now-it-can-work.html" title="now it can work" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2012/01/now-it-can-work.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YGR3w5fSp7ImA9WhdQEEs.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-7987077441094131501</id><published>2011-08-11T19:11:00.000+08:00</published><updated>2011-08-11T19:12:06.225+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T19:12:06.225+08:00</app:edited><title>her1</title><content type="html">&lt;div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"&gt;亲爱的，一想到吾生也有涯而不能天天见到你时，我就会心痛...&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"&gt;&lt;span id="netease_mail_footer"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-7987077441094131501?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/ELXvidqpVl4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/7987077441094131501/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=7987077441094131501" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/7987077441094131501?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/7987077441094131501?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/ELXvidqpVl4/her1.html" title="her1" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2011/08/her1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EHQnw5cSp7ImA9WhZaF0o.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5046821615720197187</id><published>2011-07-04T18:33:00.001+08:00</published><updated>2011-07-04T18:33:53.229+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-04T18:33:53.229+08:00</app:edited><title>最近</title><content type="html">沉寂了很长时间,不知道为什么,不想写,也不知道写些什么。也许是因为老了吧。&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;&lt;div&gt;工作还是老样子，虽然一直在做自己喜欢的东西，但是感觉学习的速度有些慢，也许是我要求太高太急躁，抑或者是没有高人指点，而且感觉离我的梦想还是太远了。有时候会想，这是我想要的生活么？我只是想自由自在、无忧无虑地工作，高效率地每天9个小时，工作时间太长只能降低我的效率。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;志同道合的人太少，zxg结婚了，要生小孩了，很忙，不常见，lyb又要GRE，又要考试。真不知道等lyb出国后，还能和谁谈论技术。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;终于遇到了那个人，很爱很爱，好想照顾她一辈子。祝愿我们吧！&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"&gt;&lt;span id="netease_mail_footer"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5046821615720197187?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/pZ8sxJsuXek" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5046821615720197187/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5046821615720197187" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5046821615720197187?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5046821615720197187?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/pZ8sxJsuXek/blog-post.html" title="最近" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2011/07/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIDQHg4fyp7ImA9Wx9REUk.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-608895440561308457</id><published>2010-12-12T18:09:00.001+08:00</published><updated>2010-12-12T18:09:31.637+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-12T18:09:31.637+08:00</app:edited><title>notes</title><content type="html">&lt;div style="font-size: 18px; "&gt;该死的天气，让原本的计划全部都泡汤了！&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;日常琐碎的生活会让你无法停下脚步，不停地追啊追啊，却不知道目标在哪里。必须有时间冷静地思考一下生活。有时候感觉很失落，为什么我身边的朋友一个个离我越来越远，联系越拉越少，甚至除了客套的话都没有什么话说，这难道是因为我们长大了么？我们的价值观也会随着我的长大逐渐流走么？我会因为我心爱的人而放弃我的原则么？那些梦想会被遗忘么？我不知道，我不敢回答。&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;在人生的旅途中，我不停地认识自我，不停地追寻什么是真实的，什么是对的，什么是错的，即使可能答案并不存在。我面临的很多很多选择，我尽力使我的选择是对的，我知道正是那些我们的选择才造就了我们是什么样的人。&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;对于爱情，我始终相信真爱，我始终保持最纯真的那一部分，尽量不去伤害任何人，不欺骗。即使自己痛苦。尽管有时候不知道怎样表达，不知道应该怎样去做。&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"&gt;&lt;span id="netease_mail_footer"&gt;&lt;hr/&gt; &lt;a href="http://help.163.com/special/007525G0/163mail_guide.html?id=2716" target="_blank"&gt;网易163/126邮箱百分百兼容iphone ipad邮件收发&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-608895440561308457?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/0bqC-n0B9g8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/608895440561308457/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=608895440561308457" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/608895440561308457?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/608895440561308457?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/0bqC-n0B9g8/notes.html" title="notes" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/12/notes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8MR384fyp7ImA9Wx5aF04.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-6988644906128264114</id><published>2010-11-14T20:14:00.001+08:00</published><updated>2010-11-14T20:14:46.137+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-14T20:14:46.137+08:00</app:edited><title>最近11</title><content type="html">&lt;span style="font-size: 18px; "&gt;最近很乱。&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;先是去世博会，很不爽，第一天去南京路被雨淋了，感冒，第三天，排石油馆5小时，没进去；&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;然后整科技项目，报专利，整体做文件；&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;接着发着烧去深圳EVS25，累得够呛，酒店隔音效果差，没睡好觉，感冒一直没有好；&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;回来，没有提前通知宿舍就不让住了，被赶到一小房间里，最郁闷的是一舍友晚上打呼噜，没法睡好觉；&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;就赶快找房子。&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;然后，办公室又要搬；&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;项目很多，人太少，整天就整些杂碎事了，手上的项目一拖再拖；&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;好想一心忙项目啊！&lt;/div&gt;&lt;div style="font-size: 18px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"&gt;&lt;span id="netease_mail_footer"&gt;&lt;hr/&gt; &lt;a href="http://help.163.com/10/1108/18/6L03I4G500753VB8.html" target="_blank"&gt;网易163/126邮箱百分百兼容iphone ipad邮件收发&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-6988644906128264114?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/4IUMXpsTHF0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/6988644906128264114/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=6988644906128264114" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/6988644906128264114?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/6988644906128264114?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/4IUMXpsTHF0/11.html" title="最近11" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/11/11.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMCR349cCp7ImA9Wx5WFk4.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-103526143624480366</id><published>2010-09-28T07:34:00.001+08:00</published><updated>2010-09-28T07:34:26.068+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-28T07:34:26.068+08:00</app:edited><title>谷岳</title><content type="html">&lt;div&gt;&lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;&lt;span class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; "&gt;谷岳&lt;div class="text_pic" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-bottom-color: rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 246, 246); padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; text-align: center; float: right; position: relative; width: 133px; visibility: visible; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a class="pic-handle" title="查看图片" href="http://baike.baidu.com/image/346bd85c4588a475faf2c04c" target="_blank" style="text-decoration: none; color: rgb(19, 110, 194); background-image: url(http://img.baidu.com/img/baike/s/zoom.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 14px; height: 14px; font-size: 0px; line-height: 0; display: block; position: absolute; right: 4px; bottom: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(246, 246, 246); border-right-color: rgb(246, 246, 246); border-bottom-color: rgb(246, 246, 246); border-left-color: rgb(246, 246, 246); background-position: 0px 0px; background-repeat: no-repeat no-repeat; "&gt;&amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;a href="http://baike.baidu.com/image/346bd85c4588a475faf2c04c" target="_blank" style="text-decoration: underline; color: rgb(19, 110, 194); "&gt;&lt;img class="editorImg" title="" src="http://imgsrc.baidu.com/baike/abpic/item/346bd85c4588a475faf2c04c.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; display: block; "&gt;&lt;/a&gt;&lt;p class="pic-info" style="margin-top: 3px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 0px; color: rgb(102, 102, 102); font-size: 12px; font-weight: normal; word-wrap: break-word; word-break: break-all; font-style: normal; line-height: 18px; min-height: 18px; "&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　出生：1980年&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　出生地：北京（美国籍）&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　身份：环球旅行者&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　谷岳0-11岁在中国，11-24岁美国（其中一年在中国留学），24-26岁在世界流浪，26-31岁在中国。谷岳在北京出生、共在北京住了17年，在共美国14年&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　2003年，美籍华裔青年谷岳（Kyle Johnson）辞了工作，卖掉几乎所有家当，从西雅图出发开始旅行。带着一只背包，三台相机，和一张单程机票，试图离开喧嚣和既定的生活，寻找生命中的真实和美丽。他花了两年零一星期，走了18个国家，最终回到出生地——北京。&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　这次旅行前，谷岳已经有过两次让他上了瘾的长途旅行。一次是18岁时类似"成人礼"的欧洲行，一呆就是6个月。另一次是从北京搭火车去西藏，他想买张学生票，就找了个办假证的买学生证，本想要个人大的，拿到一张北大的，随身携带假证，他在西藏呆了两个月。西藏之行他读了〈在路上〉，没能看完，但对搭车一幕始终不忘。凯鲁亚克描述了他生平最精彩的搭车旅行，一辆卡车，后面平板上趴着六七个小伙子，司机是两个金发年轻农民，路上见谁都乐意带上。"我们要去洛杉矶！"这群小伙子嚷嚷着。"你们去那儿干吗？""我们也不知道，管他呢。"后来的环球旅行，谷岳经历了生平最挣扎的搭车旅行。第一站新西兰，为了省钱他决定搭顺风车，可即使对着飞驰而过的汽车伸出大拇指这么简单的动作，他也做不出来，这是个祈求的动作，需要极大的谦卑，他觉得自己太低声下气了。后来做了个大牌子，也依然难以将它伸出去，尝试、放弃、放弃、尝试，一个40开外的女士主动搭载了他，之后他对新西兰民族甚至整个世界，充满了信心。这是真正踏上旅途的人才能体会的挣扎与欣喜，整天在房间旅行的人无福享用。&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　这次旅行，可能有逃避的意思。谷岳刚大学毕业，在西雅图的通用汽车公司工作，在美国小学上到大学，大公司可能是人生段落的一个中止点。同龄人整天想着怎样在30岁之前升职，4、50岁时挣够钱提前退休，到时有一个房子，几台车子，一个老婆，几个孩子，可是快乐吗？自由吗？所有的愉悦来自别人的羡慕，忽略发自内心的渴望。听上去就像头脑一热，谷岳服从自由召唤，辞职上路。刚离开公司的几日，总会惯性地想着工作，真正到达新西兰，他躺在奥克兰的一个海边栈桥，看着蓝天，云特别近，突然意识到，已经是在路上。&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　在老挝万荣，谷岳遇到一个浅褐色眼睛的美丽女孩Noa。他们参加一个小派对，聊到很晚，送她回旅馆的时候他们在布满大坑的街上慢慢走，谷岳觉得胃里像打了个结，手掌全是汗，停到旅馆门口台阶前时心跳飞快，满脑子搜索勇气，但一瞬间勇气好象又蒸发掉了，他们还在交谈，说的什么却全记不得。看着Noa的眼睛，谷岳突然弯腰，吻了她的嘴唇。他移开一点点，Noa说："真没想到。"然后笑了。他们在芭那度过了两天，之后在去印度之前，谷岳在一条浅河边向她告别，他们最后一次亲吻，她站在河岸上，朝着站在河中狭长独木舟上的他挥手。这可能是谷岳旅行的一个小缩影，他遇到的友善的人，愤怒的人，喜欢的人，厌恶的人，明明知道互相可能永不再见，但依旧共同体会与珍藏那短暂的幸福，伤感，失落，欣喜，抱怨，发疯……&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　不像凯鲁亚克那般疯狂，谷岳最多在越南的一个前美空军基地，躲避安全人员的追踪，在杂草和大坑中奔跑；或在巴基斯坦被当成孤身一人前去寻找本•拉登的美国人。也不同于匆忙度假的人，夫妻因为没有确认酒店而争吵，丈夫随时随地打开笔记本查收邮件，孩子大哭大闹，谷岳疑惑地看着他们，为什么不肯享受旅途的宁静？甚至与整日混在路上的其他背包客也不同，他听完一个日本人骑车环美一周，加拿大泛舟抵达北极的传奇，一边感慨他的勇敢一边想知道他是不是还记得旅行的目的地。在青年旅社，一个花白头发的单身汉在一群年轻人中显得格外孤独，他一辈子都漂泊四方，居无定所，更换工作、友伴和性。这种感觉在印度时格外明显，钱所剩无几，新鲜感渐渐消退，原本几个月的旅行打算拖延到了1年零8个月，谷岳真害怕自己又头脑一热，就在此度过余生。他打算前往终点，北京。&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　从巴基斯坦越过边境，他从新疆吐鲁番坐了42小时火车到达北京西站。身上还有800多美元，一个老大哥的训诫：千万不要一文不名的结束旅行，生活总要重新启动。选择北京是潜意识的，这是他的出生地。他也不认为自己是嬉皮士或"垮掉的一代"当代版，他自认为是主流青年，他的继父是美国60年代的嬉皮士遗老，而嬉皮士的后代大都积极上进。他暂时留在了北京，但再也不想穿上西装，旅行让他沾染了文艺气，打算搞电影。他不会呆着不动，虽然没想好，但一直在谋划下一次出行。生活也许像一个大病房，大多数人都甘心呆在里面，懒于更换病床。谷岳可能没有走出病房的大门，但他将病床从靠暖气片的地方更换到了靠窗的位置。&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　火车离北京越来越近，谷岳却出乎意料地平静，这是憧憬了很久的时刻，但脑子里空空的，什么也没有。他走下站台，没人知道他是谁，没人知道他都干了什么，他背着一个又旧又脏的背囊，穿着一双更旧更脏的鞋子。&lt;div class="spctrl" style="height: 14px; line-height: 14px; font-size: 12px; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;　　&lt;b&gt;在09夏天&lt;/b&gt;一路只依靠陌生人的帮助，搭便车,经过1万6千多公里、13个国家，穿越中国、中亚和欧洲，直到柏林。在那里等待他们的就是谷岳的女友伊卡。&lt;/span&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"&gt;&lt;span id="netease_mail_footer"&gt;&lt;hr/&gt; &lt;a href="http://yxp.163.com/photo/ep.html?sss=fromyx0911" target="_blank"&gt;全国最低价，天天在家冲照片，24小时发货上门！&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-103526143624480366?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/3Pe5I6BQByI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/103526143624480366/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=103526143624480366" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/103526143624480366?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/103526143624480366?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/3Pe5I6BQByI/blog-post.html" title="谷岳" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/09/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4GR3Y8fCp7ImA9WxFbGU0.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-1937720733690462474</id><published>2010-07-12T10:48:00.001+08:00</published><updated>2010-07-12T10:48:46.874+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-12T10:48:46.874+08:00</app:edited><title>OpenEmbedded / Angstrom : use the demo root filesystem</title><content type="html">&lt;div&gt;&lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;&lt;span class="Apple-style-span" style="font-family: 文泉驿微米黑; line-height: normal; "&gt;&lt;table class="natLayoutTable" cellpadding="0" cellspacing="0" border="0" width="100%" style="table-layout: fixed; width: 1008px; "&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="natMain natMiddle  natMiddleRight natMainRight " valign="top" style="padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; color: rgb(68, 68, 68); font-family: arial, sans-serif; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;div class="natMainContents" style="min-height: 50em; overflow-x: hidden; overflow-y: hidden; padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; "&gt;&lt;h1 style="font-size: 24px; text-decoration: none; line-height: 33px; margin-top: 0px; padding-top: 0px; color: rgb(51, 102, 153); "&gt;OpenEmbedded / Angstrom : use the demo root filesystem&lt;/h1&gt;&lt;div class="twikiToc" style="margin-top: 5px; margin-bottom: 5px; padding-top: 5px; padding-bottom: 5px; "&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#Boot_to_the_installed_rootfs" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Boot to the installed rootfs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Fit_application_set_to_your_need" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Fit application set to your needs&lt;/a&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#While_building_the_rootfs_image" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;While building the rootfs image&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#With_pre_built_packets_in_hands" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;With pre-built packets in hands&lt;/a&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#Install_application_packages_ove" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Install application packages over the network&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Install_application_packages_fro" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Install application packages from local storage&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h2 style="font-size: 20px; text-decoration: none; line-height: 28px; color: rgb(51, 102, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(51, 102, 153); "&gt;&lt;a name="Boot_to_the_installed_rootfs" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 28px; "&gt;&lt;/a&gt;Boot to the installed rootfs&lt;/h2&gt;&lt;p&gt;Check&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/U-Boot#Load_Linux_with_u_boot_on_AT91_b" class="twikiAnchorLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Load Linux with u-boot&lt;/a&gt;&amp;nbsp;chapter in the u-boot page to know how to load a Linux kernel.&lt;/p&gt;&lt;p&gt;Once loaded, the Linux kernel tries to mount a root file system ; command line parameters can indicate a location of such a rootfs. This option can be specified during the build process of through a u-boot environment variable.&lt;/p&gt;&lt;p&gt;Here is a sample command line for booting in the proper partition of the NAND FLASH : address indicated in the&lt;code style="color: rgb(119, 102, 102); "&gt;Address&lt;/code&gt;&amp;nbsp;text field&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromGet#Install_a_rootfs_on_an_AT91_boar" class="twikiAnchorLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;during the flashing process (step #6)&lt;/a&gt;.&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2 &lt;/pre&gt;which leads to the following u-boot command to setup the environment :&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;setenv bootargs 'mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2' saveenv &lt;/pre&gt;&lt;p&gt;Once the Linux kernel and root filesystem loaded, you can access the Linux console through the serial line plugged on DBGU port.&lt;br&gt;Use the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;root&lt;/code&gt;&amp;nbsp;login account without password.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style="font-size: 20px; text-decoration: none; line-height: 28px; color: rgb(51, 102, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(51, 102, 153); "&gt;&lt;a name="Fit_application_set_to_your_need" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 28px; "&gt;&lt;/a&gt;Fit application set to your needs&lt;/h2&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="While_building_the_rootfs_image" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;While building the rootfs image&lt;/h3&gt;&lt;p&gt;The AT91 demo policy is to bring the user more application to figure out what the capacities of the CPU are. We add then more packages at build time. The way to add packages to a base Angstrom image at building time is to add a new recipe, stating that it requires the base recipe, and to modify the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;ANGSTROM_EXTRA_INSTAL&lt;/code&gt;&amp;nbsp;variable. Basically this is exactly the same thing as extending the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;RDEPENDS&lt;/code&gt;&amp;nbsp;variable (Cf. x11-at91sam9-image.bb recipe):&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;RDEPENDS = "\     [..]      ${ANGSTROM_EXTRA_INSTALL}" &lt;/pre&gt;&lt;p&gt;Check the attached&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;&lt;a href="http://www.at91.com/linux4sam/pub/Linux4SAM/OpenEmbeddedAngstromUse/x11-at91sam9-image.bb" target="_top" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;x11-at91sam9-image.bb&lt;/a&gt;&lt;/code&gt;&amp;nbsp;file.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;ANGSTROM_EXTRA_INSTALL += " \     &amp;lt;package_name&amp;gt; \     &amp;lt;another_package_or_task&amp;gt; \     &amp;lt;..&amp;gt; \     " &lt;/pre&gt;&lt;p&gt;The complete process of how to build the rootfs is described in the&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild#How_to_build_Angstrom_for_AT91_f" class="twikiAnchorLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;How to build Angstrom for AT91 from sources&lt;/a&gt;chapter.&lt;/p&gt;&lt;p&gt;This point is discussed in details in this acticle :&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://bec-systems.com/web/index.php?option=com_content&amp;amp;task=view&amp;amp;id=79&amp;amp;Itemid=9" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;The correct way to add packages to an OpenEmbedded Image&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="With_pre_built_packets_in_hands" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;With pre-built packets in hands&lt;/h3&gt;&lt;p&gt;Referring to the Angstrom Manual, you can check how to install new packages in an existing Angstrom distribution.&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://linuxtogo.org/gowiki/AngstromManual#InstallingSoftwareandPackageManagement" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;5. Installing Software and Package Management&lt;/a&gt;. So, there is always the ability to add applications to an already built distribution.&lt;/p&gt;&lt;p&gt;Here is different mean to add packaged applications to a running system.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 style="font-size: 16px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 22px; color: rgb(51, 102, 153); "&gt;&lt;a name="Install_application_packages_ove" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 22px; "&gt;&lt;/a&gt;Install application packages over the network&lt;/h4&gt;&lt;p&gt;&lt;a class="natExternalLink" target="_blank" href="http://linuxtogo.org/gowiki/AngstromManual#InstallingSoftwareandPackageManagement" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Reference chapter&lt;/a&gt;&amp;nbsp;in the Angstrom manual.&lt;/p&gt;&lt;p&gt;Here is the&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://code.google.com/p/opkg/" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Opkg official website&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;On the target,&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;/etc/opkg&lt;/code&gt;,&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;/etc/opkg/*.conf&lt;/code&gt;&amp;nbsp;files points towards the servers where the device can pull packages from.&lt;/p&gt;&lt;p&gt;&lt;a class="natExternalLink" target="_blank" href="http://www.angstrom-distribution.org/repo/" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Angstrom feeds&lt;/a&gt;&amp;nbsp;are discussed in the Angstrom Wiki.&lt;/p&gt;&lt;p&gt;Information on available packages are stored on particular files: the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;Packages&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;Packages.gz&lt;/code&gt;&amp;nbsp;. This kind of file is downloaded to the target while issuing the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;opkg update&lt;/code&gt;&amp;nbsp;command.&amp;nbsp;&lt;br&gt;You can create a custom opkg feed using a web server that is configured to point to the directory where resides compiled packages (*.ipk). Those packages are created during the OpenEmbedded building process. For example generic /armv5te/ compiled packages are located in&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;tmp/deploy/glibc/ipk/armv5te&lt;/code&gt;&amp;nbsp;.&lt;/p&gt;&lt;p&gt;&lt;img width="16" alt="tip" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/tip.gif" height="16" border="0"&gt;&amp;nbsp;If you build additional packages, do not forget to run&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;bitbake package-index&lt;/code&gt;&amp;nbsp;to update&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;Packages&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;Packages.gz&lt;/code&gt;&amp;nbsp;files in your opkg feed.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h5 style="font-size: 14px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 19px; color: rgb(51, 102, 153); "&gt;&lt;a name="Procedure" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 19px; "&gt;&lt;/a&gt;&lt;a name="_Procedure" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 19px; "&gt;&lt;/a&gt;Procedure&lt;/h5&gt;&lt;p&gt;&lt;strong&gt;On the host machine&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;construct packages&lt;/li&gt;&lt;li&gt;run&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;bitbake package-index&lt;/code&gt;&lt;/li&gt;&lt;li&gt;collect packages in a directory (done by the OpenEmbedded system : in&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;path_to_deploy_dir/glibc/ipk/armv5te/&lt;/code&gt;)&lt;/li&gt;&lt;li&gt;configure your web server to give access to that directory&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;On the target&lt;/strong&gt;&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;configure your Ethernet interface&lt;/li&gt;&lt;li&gt;check that you can access the web server and the feed (package directory)&lt;/li&gt;&lt;li&gt;run&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;opkg update&lt;/code&gt;&lt;/li&gt;&lt;li&gt;run&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;opkg list&lt;/code&gt;&amp;nbsp;to see if the package you want is in the "available packages" list&lt;/li&gt;&lt;li&gt;run&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;opkg install&lt;the_package_name_i_want_installed&gt;&lt;/the_package_name_i_want_installed&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;check if the package is installed with the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;opkg list_installed&lt;/code&gt;&amp;nbsp;command&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 style="font-size: 16px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 22px; color: rgb(51, 102, 153); "&gt;&lt;a name="Install_application_packages_fro" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 22px; "&gt;&lt;/a&gt;Install application packages from local storage&lt;/h4&gt;&lt;a class="natExternalLink" target="_blank" href="http://linuxtogo.org/gowiki/AngstromManual#Installingnewsoftwarepackagesfromlocalfilesystem" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Reference chapter&lt;/a&gt;&amp;nbsp;in the Angstrom manual.&lt;p&gt;You can pick those packages in the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;deploy/glibc/ipk/&lt;/code&gt;&amp;nbsp;directory once you built them with&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;bitbake&lt;/code&gt;.&lt;/p&gt;&lt;p&gt;You can install&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;.ipk&lt;/code&gt;&amp;nbsp;packages from all mass-storage support you can connect to a board.&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;usb key&lt;/li&gt;&lt;li&gt;SD/MMC card&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;hr style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); margin-top: 0.7em; margin-right: 0px; margin-bottom: 0.7em; margin-left: 0px; "&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="natMainFooter natMiddle  natMiddleRight natMainFooterRight  " valign="bottom" style="vertical-align: bottom; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; color: rgb(68, 68, 68); font-family: arial, sans-serif; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;div class="natMainFooterContents" style="padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; font-size: 12px; "&gt;&lt;div class="natTopicAttachments"&gt;&lt;div class="twikiAttachments"&gt;&lt;table cellspacing="0" cellpadding="0" class="twikiTable" border="1" style="margin-top: 1px; empty-cells: show; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: collapse; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; width: 765px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;tbody&gt;&lt;tr class="twikiTableEven"&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" class="twikiFirstCol" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=0;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;&amp;nbsp;&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=1;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;ATTACHMENT&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=2;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;ACTION&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=3;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;SIZE&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=4;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;DATE&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=5;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;WHO&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromUse?sortcol=6;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;COMMENT&lt;/a&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class="twikiTableOdd"&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiFirstCol twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;img width="16" alt="else" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/else.gif" height="16" border="0"&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/viewfile/Linux4SAM/OpenEmbeddedAngstromUse?rev=1;filename=x11-at91sam9-image.bb" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;x11-at91sam9-image.bb&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/attach/Linux4SAM/OpenEmbeddedAngstromUse?filename=x11-at91sam9-image.bb&amp;amp;revInfo=1" title="manage properties of x11-at91sam9-image.bb" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;props&lt;/a&gt;,&amp;nbsp;&lt;a href="/linux4sam/bin/rename/Linux4SAM/OpenEmbeddedAngstromUse?attachment=x11-at91sam9-image.bb" title="move or delete x11-at91sam9-image.bb" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;move&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" align="right" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;1.1&amp;nbsp;K&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;17 Mar 2010 - 16:59&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/view/Main/NicolasFerre" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;NicolasFerre&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-1937720733690462474?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/Gfpqnn-4ouE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/1937720733690462474/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=1937720733690462474" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/1937720733690462474?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/1937720733690462474?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/Gfpqnn-4ouE/openembedded-angstrom-use-demo-root.html" title="OpenEmbedded / Angstrom : use the demo root filesystem" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/07/openembedded-angstrom-use-demo-root.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAASX08cCp7ImA9WxFbGU0.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-2400018757466947792</id><published>2010-07-12T10:44:00.000+08:00</published><updated>2010-07-12T10:45:48.378+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-12T10:45:48.378+08:00</app:edited><title>[备份]angstrom rootfs for at91</title><content type="html">&lt;div&gt;&lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;&lt;span class="Apple-style-span" style="font-family: 文泉驿微米黑; line-height: normal; "&gt;&lt;table class="natLayoutTable" cellpadding="0" cellspacing="0" border="0" width="100%" style="table-layout: fixed; width: 1008px; "&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="natMain natMiddle  natMiddleRight natMainRight " valign="top" style="padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; color: rgb(68, 68, 68); font-family: arial, sans-serif; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;div class="natMainContents" style="min-height: 50em; overflow-x: hidden; overflow-y: hidden; padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; "&gt;&lt;h1 style="font-size: 24px; text-decoration: none; line-height: 33px; margin-top: 0px; padding-top: 0px; color: rgb(51, 102, 153); "&gt;OpenEmbedded / Angstrom : build from sources&lt;/h1&gt;&lt;div class="twikiToc" style="margin-top: 5px; margin-bottom: 5px; padding-top: 5px; padding-bottom: 5px; "&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#How_to_build_Angstrom_for_AT91" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;How to build Angstrom for AT91&lt;/a&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#Pre_requires" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Pre-requires&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Building_environment" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Building environment&lt;/a&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#Getting_BitBake" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Getting BitBake&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Getting_OpenEmbedded" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Getting OpenEmbedded&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#AT91_OpenEmbedded_overlay_tree" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;AT91 OpenEmbedded overlay tree&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Setup_local_configuration" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Setup local configuration&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Start_building" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Start building&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Tips_tricks" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Tips &amp;amp; tricks&lt;/a&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li&gt;&lt;a href="#OE_Link_collection" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OE Link collection&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#BitBake" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;BitBake&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Hello_World_examples" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Hello World examples&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h2 style="font-size: 20px; text-decoration: none; line-height: 28px; color: rgb(51, 102, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(51, 102, 153); "&gt;&lt;a name="How_to_build_Angstrom_for_AT91" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 28px; "&gt;&lt;/a&gt;How to build Angstrom for AT91&lt;/h2&gt;&lt;p&gt;Note that building an entire distribution is a long process. It also requires a big amount of free disk space ; at least :&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;~650 MByte of source archives downloaded for Internet&lt;/li&gt;&lt;li&gt;~5 GByte of compiled packages and tools&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;This documentation is largely inspired by the following resources :&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;Angstrom simple build instruction:&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://www.angstrom-distribution.org/building-angstrom" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://www.angstrom-distribution.org/building-angstrom&lt;/a&gt;&lt;/li&gt;&lt;li&gt;OpenEmbedded getting started instructions:&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://wiki.openembedded.org/index.php/Getting_Started" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://wiki.openembedded.org/index.php/Getting_Started&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;To build the binary found in the&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromGet" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OpenEmbeddedAngstromGet&lt;/a&gt;&amp;nbsp;page, you will have to go through the following steps.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="Pre_requires" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;Pre-requires&lt;/h3&gt;&lt;p&gt;Here are the reference pages for setting up an OpenEmbedded building environment.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;&lt;a class="natExternalLink" target="_blank" href="http://wiki.openembedded.net/index.php/Required_Software" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://wiki.openembedded.net/index.php/Required_Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="natExternalLink" target="_blank" href="http://wiki.openembedded.net/index.php/OEandYourDistro" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://wiki.openembedded.net/index.php/OEandYourDistro&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Note however that most of time, on a development host, those packages are often already installed.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="Building_environment" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;Building environment&lt;/h3&gt;&lt;p&gt;A step-by-step comprehensive installation is explained in the&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://wiki.openembedded.net/index.php/Getting_Started" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OpenEmbedded Getting Started&lt;/a&gt;&amp;nbsp;page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.&lt;/p&gt;&lt;p&gt;Have a look at the&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OEDirectoryTree" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OEDirectoryTree&lt;/a&gt;&amp;nbsp;to figure out what your working environment tree will look like. In the following procedure, each time we speak about the base directory, we refer to the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;stuff&lt;/code&gt;&amp;nbsp;directory.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 style="font-size: 16px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 22px; color: rgb(51, 102, 153); "&gt;&lt;a name="Getting_BitBake" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 22px; "&gt;&lt;/a&gt;Getting BitBake&lt;/h4&gt;&lt;p&gt;Take it through the&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://developer.berlios.de/projects/bitbake/" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;BitBake build tool website&lt;/a&gt;&amp;nbsp;and take the latest archive tarball. follow the advice: simply install it in your&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OEDirectoryTree" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OEDirectoryTree&lt;/a&gt;&amp;nbsp;and make a generic link:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;tar xvzf bitbake-1.8.18.tar.gz ln -s bitbake-1.8.18 bitbake &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 style="font-size: 16px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 22px; color: rgb(51, 102, 153); "&gt;&lt;a name="Getting_OpenEmbedded" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 22px; "&gt;&lt;/a&gt;Getting OpenEmbedded&lt;/h4&gt;&lt;p&gt;Once in your&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OEDirectoryTree" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OEDirectoryTree&lt;/a&gt;, download a snapshot of the OpenEmbedded database using the GIT Souce Code Management tool.&lt;br&gt;&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;git clone git://git.openembedded.org/openembedded openembedded &lt;/pre&gt;or using HTTP protocol:&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;git clone http://repo.or.cz/r/openembedded.git openembedded &lt;/pre&gt;&lt;p&gt;&lt;img width="16" alt="warning" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/warning.gif" height="16" border="0"&gt;&amp;nbsp;Make sure to call the directory where you will clone the GIT source&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;openembedded&lt;/code&gt;. This name will be used in the following procedure and in the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;site.conf&lt;/code&gt;&amp;nbsp;configuration file.&lt;/p&gt;&lt;p&gt;Then create a local branch based on OpenEmbedded&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;stable/2009&lt;/code&gt;&amp;nbsp;branch:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;cd openembedded git checkout -b stable_2009_mybranch origin/stable/2009 cd .. &lt;/pre&gt;&lt;p&gt;For demo root filesystems available in the&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/GettingStarted" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;GettingStarted&lt;/a&gt;&amp;nbsp;page, we used the following commit ID :&lt;code style="color: rgb(119, 102, 102); "&gt;a646269c2ada7691d8a7f7455ba4528c7cca3483&lt;/code&gt;&amp;nbsp;. The&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;stable/2009&lt;/code&gt;&amp;nbsp;branch should be stable enough to be able to build using those instructions even with a more recent&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;HEAD&lt;/code&gt;&amp;nbsp;for this branch.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 style="font-size: 16px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 22px; color: rgb(51, 102, 153); "&gt;&lt;a name="AT91_OpenEmbedded_overlay_tree" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 22px; "&gt;&lt;/a&gt;AT91 OpenEmbedded overlay tree&lt;/h4&gt;&lt;p&gt;In addition to the upstream recipes, we also have a set of our own recipes or modifications of the original ones. So, the following overlay tree will modify current OE original recipes.&lt;/p&gt;&lt;p&gt;&lt;img width="16" alt="hand" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/hand.gif" height="16" border="0"&gt;&amp;nbsp;note however that the goal of those recipes is to merge the most of it bits into the mainstream OE tree.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;table cellspacing="0" cellpadding="0" class="twikiTable" border="1" style="margin-top: 1px; empty-cells: show; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: collapse; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;tbody&gt;&lt;tr class="twikiTableEven"&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" class="twikiFirstCol" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=0;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); font-family: arial, sans-serif; "&gt;DESCRIPTION&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=1;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); font-family: arial, sans-serif; "&gt;SOURCES&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=2;table=1;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); font-family: arial, sans-serif; "&gt;PATCH&lt;/a&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class="twikiTableOdd"&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiFirstCol twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 19px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;OpenEmbedded database&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 19px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;Web interface:&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://cgit.openembedded.org/" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://cgit.openembedded.org/&lt;/a&gt;&amp;nbsp;&lt;br&gt;branch:&amp;nbsp;&lt;strong&gt;stable/2009&lt;/strong&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 19px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="ftp://ftp.linux4sam.org/pub/oe/linux4sam_2.1/oe_at91sam.tgz" target="_top" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;overlay directory tree archive&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Then download and install the overlay tree archive, be sure to be in your&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OEDirectoryTree" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OEDirectoryTree&lt;/a&gt;&amp;nbsp;and:&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;wget ftp://ftp.linux4sam.org/pub/oe/linux4sam_x.y/oe_at91sam.tgz tar xvzf oe_at91sam.tgz &lt;/pre&gt;&lt;p&gt;This archive contains the configuration files, recipes that will overload the original ones from the OpenEmbedded project. The&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;oe_env.sh&lt;/code&gt;&amp;nbsp;script will allow you to setup local configuration variables needed for your rootfs to build.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 style="font-size: 16px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 22px; color: rgb(51, 102, 153); "&gt;&lt;a name="Setup_local_configuration" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 22px; "&gt;&lt;/a&gt;Setup local configuration&lt;/h4&gt;&lt;p&gt;The local configuration is located in&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;oe_at91sam/conf/local.conf&lt;/code&gt;&amp;nbsp;. This configuration file will overload the&lt;code style="color: rgb(119, 102, 102); "&gt;openembedded/conf/local.conf&lt;/code&gt;&amp;nbsp;one.&lt;/p&gt;&lt;p&gt;&lt;img width="16" alt="hand" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/hand.gif" height="16" border="0"&gt;&amp;nbsp;Read comments in it as it will bring you valuable information and allow you to adapt it to your own environment and building host (directory structure for example). Choose the proper&amp;nbsp;&lt;strong&gt;machine&lt;/strong&gt;&amp;nbsp;type: we will use&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;at91sam9m10g45ek&lt;/code&gt;&amp;nbsp;for this setup:&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;MACHINE ?= "at91sam9m10g45ek" &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="Start_building" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;Start building&lt;/h3&gt;&lt;p&gt;Be sure to always be in your&amp;nbsp;&lt;a href="/linux4sam/bin/view/Linux4SAM/OEDirectoryTree" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;OEDirectoryTree&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;To start the building,&amp;nbsp;&lt;em&gt;source&lt;/em&gt;&amp;nbsp;the&amp;nbsp;&lt;code style="color: rgb(119, 102, 102); "&gt;oe_env.sh&lt;/code&gt;&amp;nbsp;script:&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;source ./oe_env.sh &lt;/pre&gt;&lt;p&gt;Then begin building the distribution with a little set of packages:&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;bitbake base-image &lt;/pre&gt;&lt;p&gt;&lt;img width="16" alt="warning" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/warning.gif" height="16" border="0"&gt;&amp;nbsp;even a minimal image will require a big amount of time because of the cross-toolchain building process.&lt;/p&gt;&lt;p&gt;The&amp;nbsp;&lt;em&gt;console&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;graphical&lt;/em&gt;&amp;nbsp;images are built using the following recipes respectively:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;bitbake console-at91sam9-image bitbake x11-at91sam9-image &lt;/pre&gt;&lt;p&gt;Or for AT91SAM9M10 based boards:&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;bitbake x11-at91sam9m10-image &lt;/pre&gt;This will allow you to take advantage of video features of this chip. This image will include kernel and Gstreamer components needed to use the hardware video decoder.&lt;p&gt;&lt;/p&gt;&lt;h2 style="font-size: 20px; text-decoration: none; line-height: 28px; color: rgb(51, 102, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(51, 102, 153); "&gt;&lt;a name="Tips_tricks" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 28px; "&gt;&lt;/a&gt;Tips &amp;amp; tricks&lt;/h2&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="OE_Link_collection" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;OE Link collection&lt;/h3&gt;&lt;p&gt;From the BUG community, here is a very good link collection :&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://community.buglabs.net/bballantine/posts/102-Three-Steps-for-OpenEmbedded-N-Bs" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Three Steps for OpenEmbedded N00Bs&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Wonder how to customize an OpenEmbedded building based on AT91 SOCs? Here is a simple and clear step by step blog:&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://www.headnut.org/2009/08/12/customizing-openembedded/" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Customizing OpenEmbedded&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="BitBake" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;&lt;a name="_BitBake" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;BitBake&lt;/h3&gt;BitBake usage:&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2&lt;/a&gt;&amp;nbsp;&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://bitbake.berlios.de/manual/" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;BitBake User Manual&lt;/a&gt;&lt;p&gt;list tasks provided by a package:&lt;/p&gt;&lt;pre style="width: 758px; padding-bottom: 1px; overflow-x: scroll; overflow-y: scroll; font-size: 0.9em; line-height: 1.3em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); padding-left: 5px; background-position: initial initial; background-repeat: initial initial; "&gt;bitbake -c listtasks &amp;lt;package_name&amp;gt; &lt;/pre&gt;You can use one of those tasks to have a fine grained control over the package building.&lt;p&gt;The structure of a BitBake file explained:&amp;nbsp;&lt;a class="natExternalLink" target="_blank" href="http://bitbake.berlios.de/manual/ch02.html" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;BitBake Metadata&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="font-size: 18px; margin-top: 10px; margin-bottom: 0px; text-decoration: none; line-height: 25px; color: rgb(51, 102, 153); "&gt;&lt;a name="Hello_World_examples" style="text-decoration: none; color: rgb(51, 102, 153); font-family: arial, sans-serif; line-height: 25px; "&gt;&lt;/a&gt;Hello World examples&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;li&gt;&lt;a class="natExternalLink" target="_blank" href="http://www.gumstix.net/User-How-To-s/view/Build-system-overview/Hello-world-tutorial/110.html" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Very well explained Hello world example&lt;/a&gt;&amp;nbsp;although directory structure differs&lt;/li&gt;&lt;li&gt;&lt;a class="natExternalLink" target="_blank" href="http://docs.openembedded.org/usermanual/usermanual.html#recipes_examples" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;Basic example in OE official manual&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The OpenMoko way:&amp;nbsp;&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://wiki.openmoko.org/wiki/Building_a_hello_world_application" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://wiki.openmoko.org/wiki/Building_a_hello_world_application&lt;/a&gt;&amp;nbsp;&lt;br&gt;&lt;a class="natExternalLink" target="_blank" href="http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Your_First_Application" style="text-decoration: none; color: rgb(153, 153, 102); font-family: arial, sans-serif; "&gt;http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Your_First_Application&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;hr style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); margin-top: 0.7em; margin-right: 0px; margin-bottom: 0.7em; margin-left: 0px; "&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="natMainFooter natMiddle  natMiddleRight natMainFooterRight  " valign="bottom" style="vertical-align: bottom; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; color: rgb(68, 68, 68); font-family: arial, sans-serif; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;div class="natMainFooterContents" style="padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; font-size: 12px; "&gt;&lt;div class="natTopicAttachments"&gt;&lt;div class="twikiAttachments"&gt;&lt;table cellspacing="0" cellpadding="0" class="twikiTable" border="1" style="margin-top: 1px; empty-cells: show; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: collapse; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; width: 765px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;tbody&gt;&lt;tr class="twikiTableEven"&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" class="twikiFirstCol" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=0;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;&amp;nbsp;&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=1;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;ATTACHMENT&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=2;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;ACTION&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=3;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;SIZE&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=4;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;DATE&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=5;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;WHO&lt;/a&gt;&lt;/th&gt;&lt;th bgcolor="#6b7f93" align="center" valign="top" maxcols="0" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: bold; text-align: center; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; font: normal normal bold 12px/140% verdana, arial, sans-serif; text-transform: uppercase; color: rgb(153, 153, 102) !important; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a rel="nofollow" href="http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild?sortcol=6;table=2;up=0#sorted_table" title="Sort by this column" style="text-decoration: none; color: rgb(255, 255, 255); "&gt;COMMENT&lt;/a&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class="twikiTableOdd"&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiFirstCol" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;img width="16" alt="else" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/else.gif" height="16" border="0"&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/viewfile/Linux4SAM/OpenEmbeddedAngstromBuild?rev=1;filename=oe_angstrom_at91-2.diff.gz" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;oe_angstrom_at91-2.diff.gz&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/attach/Linux4SAM/OpenEmbeddedAngstromBuild?filename=oe_angstrom_at91-2.diff.gz&amp;amp;revInfo=1" title="manage properties of oe_angstrom_at91-2.diff.gz" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;props&lt;/a&gt;,&amp;nbsp;&lt;a href="/linux4sam/bin/rename/Linux4SAM/OpenEmbeddedAngstromBuild?attachment=oe_angstrom_at91-2.diff.gz" title="move or delete oe_angstrom_at91-2.diff.gz" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;move&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" align="right" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;194.9&amp;nbsp;K&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;12 Dec 2008 - 12:56&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/view/Main/NicolasFerre" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;NicolasFerre&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;linux4sam_1.4_20081212&lt;/td&gt;&lt;/tr&gt;&lt;tr class="twikiTableEven"&gt;&lt;td bgcolor="#edf4f9" valign="top" class="twikiFirstCol" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;img width="16" alt="else" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/else.gif" height="16" border="0"&gt;&lt;/td&gt;&lt;td bgcolor="#edf4f9" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/viewfile/Linux4SAM/OpenEmbeddedAngstromBuild?rev=1;filename=oe_angstrom_at91-3.diff.gz" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;oe_angstrom_at91-3.diff.gz&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#edf4f9" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/attach/Linux4SAM/OpenEmbeddedAngstromBuild?filename=oe_angstrom_at91-3.diff.gz&amp;amp;revInfo=1" title="manage properties of oe_angstrom_at91-3.diff.gz" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;props&lt;/a&gt;,&amp;nbsp;&lt;a href="/linux4sam/bin/rename/Linux4SAM/OpenEmbeddedAngstromBuild?attachment=oe_angstrom_at91-3.diff.gz" title="move or delete oe_angstrom_at91-3.diff.gz" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;move&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#edf4f9" align="right" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;195.9&amp;nbsp;K&lt;/td&gt;&lt;td bgcolor="#edf4f9" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;23 Jul 2009 - 15:17&lt;/td&gt;&lt;td bgcolor="#edf4f9" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/view/Main/NicolasFerre" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;NicolasFerre&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#edf4f9" valign="top" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;linux4sam_1.6_20090723&lt;/td&gt;&lt;/tr&gt;&lt;tr class="twikiTableOdd"&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiFirstCol twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;img width="16" alt="else" align="top" src="/linux4sam/pub/TWiki/TWikiDocGraphics/else.gif" height="16" border="0"&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/viewfile/Linux4SAM/OpenEmbeddedAngstromBuild?rev=3;filename=oe_angstrom_at91.diff.gz" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;oe_angstrom_at91.diff.gz&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/attach/Linux4SAM/OpenEmbeddedAngstromBuild?filename=oe_angstrom_at91.diff.gz&amp;amp;revInfo=1" title="manage properties of oe_angstrom_at91.diff.gz" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;props&lt;/a&gt;,&amp;nbsp;&lt;a href="/linux4sam/bin/rename/Linux4SAM/OpenEmbeddedAngstromBuild?attachment=oe_angstrom_at91.diff.gz" title="move or delete oe_angstrom_at91.diff.gz" rel="nofollow" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;move&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" align="right" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;192.5&amp;nbsp;K&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;15 Apr 2008 - 13:13&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="/linux4sam/bin/view/Main/NicolasFerre" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;NicolasFerre&lt;/a&gt;&lt;/td&gt;&lt;td bgcolor="#ffffff" valign="top" class="twikiLast" style="padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; line-height: 16px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; vertical-align: top; background-position: initial initial; background-repeat: initial initial; "&gt;linux4sam_1.2_20080415&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="natRevision"&gt;r28 - 07 Jun 2010 - 14:23:07 -&amp;nbsp;&lt;a href="/linux4sam/bin/view/Main/NicolasFerre" class="twikiLink" style="text-decoration: none; color: rgb(153, 153, 102); "&gt;NicolasFerre&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-2400018757466947792?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/0CfVyrqcqJI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/2400018757466947792/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=2400018757466947792" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/2400018757466947792?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/2400018757466947792?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/0CfVyrqcqJI/angstrom-rootfs-for-at91.html" title="[备份]angstrom rootfs for at91" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/07/angstrom-rootfs-for-at91.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8BQXk_eyp7ImA9WxFbF0g.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5081753100561050741</id><published>2010-07-10T18:47:00.001+08:00</published><updated>2010-07-10T18:47:30.743+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-10T18:47:30.743+08:00</app:edited><title>重新编译了根文件系统</title><content type="html">&lt;div&gt;使用最新的openembedded，编译的at91sam9263ek的rootfs，LCD换为800*600的后，触摸屏死活校准不好，而linux4sam上的可以。今天上Linux4sam发现根文件系统有更新了，故到学校更新了下。学校的网速真是爽阿！花了5个小时就编译完了，后天上班实验下。&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5081753100561050741?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/9hzgVQ7bEUg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5081753100561050741/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5081753100561050741" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5081753100561050741?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5081753100561050741?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/9hzgVQ7bEUg/blog-post.html" title="重新编译了根文件系统" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/07/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08HSXc4fSp7ImA9WxFbEEo.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-433010423592449326</id><published>2010-07-02T19:57:00.001+08:00</published><updated>2010-07-02T19:57:18.935+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-02T19:57:18.935+08:00</app:edited><title>AT91SAM9263开发近况1</title><content type="html">&lt;div&gt;从6月10号左右元器件到齐，焊好板子，到今天已经快有三周了，期间也有很多乱七八糟的事情要处理，但是大部分时间还是用到了调试板子上，也走了很多弯路，16C554的驱动调试了快一周，最后才发现是有两个引脚在芯片底下焊接短路了，但是还算顺利，到今天驱动算是差不多了。&lt;/div&gt;&lt;div&gt;主要完成了:&lt;/div&gt;&lt;div&gt;一些平台搭建；&lt;/div&gt;&lt;div&gt;硬件调试；&lt;/div&gt;&lt;div&gt;16C554外括4个RS485驱动；&lt;/div&gt;&lt;div&gt;自带RS485口驱动；&lt;/div&gt;&lt;div&gt;4个MCP2515 CAN驱动；&lt;/div&gt;&lt;div&gt;自带CAN驱动；&lt;/div&gt;&lt;div&gt;PCF8563驱动；&lt;/div&gt;&lt;div&gt;FM24CL64驱动；&lt;/div&gt;&lt;div&gt;LCD驱动（800＊600）；&lt;/div&gt;&lt;div&gt;主频修改到235MHZ；&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;当然，都是在一些现有的基础上修改的，但是对于俺这样的菜鸟来说已经貌似可以了。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;最爽的是，设计的LVDS LCD驱动电路、16C554扩展电路、RS485自动收发切换电路及LCD背光驱动电路等现在都还没有发现问题。硬件除了一个插头手册上有，但是市场上少量买不到外，都没有问题。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;使用了：&lt;/div&gt;&lt;div&gt;bootstrap-1.1.4&lt;/div&gt;&lt;div&gt;u-boot-1.3.4&lt;/div&gt;&lt;div&gt;linux-2.6.30&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-433010423592449326?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/nkUzXjrRHpQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/433010423592449326/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=433010423592449326" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/433010423592449326?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/433010423592449326?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/nkUzXjrRHpQ/at91sam92631.html" title="AT91SAM9263开发近况1" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/07/at91sam92631.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYBR3szeSp7ImA9WxFUE0g.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5985302508166570840</id><published>2010-06-24T11:29:00.001+08:00</published><updated>2010-06-24T11:29:16.581+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-24T11:29:16.581+08:00</app:edited><title>16C554在LINUX上的移植（AT91）</title><content type="html">&lt;div&gt;&lt;div&gt;linux版本：2.6.30&lt;/div&gt;&lt;div&gt;AT91SAM9263&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;修改串口扩展驱动：&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1，在/drivers/serial/下以8250_exar_st16c554.c文件为模板创建8250_at91_xr16v554.c文件；修改相应的PORT和中断号，修改Platform device ID为&lt;/div&gt;&lt;div&gt;PLAT8250_DEV_AT91_XR16V554；在init函数中加入了对总线，及中断口的初始化操作；；在文件/include/linux/serial_8250.h ID列表中加入该ID；&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;/drivers/serial/Kconfig加入：&lt;/div&gt;&lt;div&gt;config SERIAL_8250_AT91_XR16V554&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;tristate "Support Exar XR16V554/554D Quad UART for AT91"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;depends on SERIAL_8250 != n&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;help&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt; &amp;nbsp;My PSMU-C4M11 uses xr16v554d to form Quad UART. &amp;nbsp;If you are&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt; &amp;nbsp;using these UARTs,&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt; &amp;nbsp;say Y here.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt; &amp;nbsp;To compile this driver as a module, choose M here: the module&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt; &amp;nbsp;will be called 8250_at91_xr16v554.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;/drivers/serial/makefile加入：&lt;/div&gt;&lt;div&gt;obj-$(CONFIG_SERIAL_8250_AT91_XR16V554) += 8250_at91_xr16v554.o&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2，8250.c无须修改！！&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;需要注意的地方：&lt;/div&gt;&lt;div&gt;1，&lt;/div&gt;&lt;div&gt;#define PORT(_base,_irq)&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt; &amp;nbsp; &amp;nbsp;\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;{&lt;span class="Apple-tab-span" style="white-space:pre"&gt;						&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;.mapbase&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;= _base,&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;.irq&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;= _irq,&lt;span class="Apple-tab-span" style="white-space:pre"&gt;			&lt;/span&gt;\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;.uartclk&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;= 7372800,&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;.iotype&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;= UPIO_MEM,&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;\&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.regshift&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;= 0, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;.flags&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;= UPF_BOOT_AUTOCONF | UPF_IOREMAP,\&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;宏中，.mapbase指的是16C554的物理基地址，注意不是membase；.uartclk是16C554晶振的频率，其最高波特率为.uartclk/16；.iotype指的是访问类型，与硬件的连接相关,UPIO_MEM指的是8位总线连接，而UPIO_MEM32表示为32位总线访问方式，即访问16C554的寄存器时，读取32位数，取低8位；.regshift也跟硬件的物理连接相关，指的是访问16C554的每个地址时的偏移，也就是16C554的A0对应CPU的A几；UPF_IOREMAP指16C554寄存器需要映射到虚拟地址访问；&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2，&lt;/div&gt;&lt;div&gt;.dev&lt;span class="Apple-tab-span" style="white-space:pre"&gt;			&lt;/span&gt;= {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;.platform_data&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;= xxx_data,&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;设备结构声明中的xxx_data因为是个多维数组，从而.platform_data&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;= xxx_data与.platform_data&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;= &amp;amp;xxx_data意义是一样的，都可以；&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;3，&lt;/div&gt;&lt;div&gt;platform_device无须在板极初始化中注册，使用module_init声明即可；&lt;/div&gt;&lt;div&gt;链接的次序，对应执行的次序，与makefile中的次序一致；而注册platform_device与注册platform_driver的次序无关，注册成功时都会匹配，匹配成功，都会调用probe函数，probe设备，只有probe成功才会进行地址映射，分配资源等等的操作；&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;4，&lt;/div&gt;&lt;div&gt;通过阅读参考1及8250.c serial_core.c源代码，发现：&lt;/div&gt;&lt;div&gt;在serial8250_init(void)函数中总会注册一ID为PLAT8250_DEV_LEGACY的platform_device，而该设备的资源在old_serial_port[]中定义，&lt;/div&gt;&lt;div&gt;而该数组依赖于SERIAL_PORT_DFNS的定义，如果定义为空则，该device不会添加port；而其他device调用platform_device_register(）函数时，如果匹配&lt;/div&gt;&lt;div&gt;驱动，会调用serial8250_probe(),该函数会从该设备的资源中读出数据，检测每个port，如果存在则申请中断号，映射物理地址等等，并添加port。&lt;/div&gt;&lt;div&gt;从而添加新的设备无须修改8250.c，初始化时默认添加的设备只要不定义SERIAL_PORT_DFNS，并不会有影响。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;5，如果使用了GPIO中断，则需要注意AT91的普通IO口不能设置为上升沿或下降沿触发，而只能定义为边沿触发，即每次有效电平触发2次，只是浪费了CPU，并不会&lt;/div&gt;&lt;div&gt;影响使用，如果想修改，则可在修改8250.c中的中断函数，无效中断直接返回即可，参考如下：&lt;/div&gt;&lt;div&gt;+#define AT91_GPIO_IRQ_HACK&lt;/div&gt;&lt;div&gt;+&lt;/div&gt;&lt;div&gt;+#ifdef AT91_GPIO_IRQ_HACK&lt;/div&gt;&lt;div&gt;+#include &amp;lt;mach/gpio.h&amp;gt;&lt;/div&gt;&lt;div&gt;+&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5985302508166570840?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/6btN77a382E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5985302508166570840/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5985302508166570840" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5985302508166570840?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5985302508166570840?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/6btN77a382E/16c554linuxat91.html" title="16C554在LINUX上的移植（AT91）" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/06/16c554linuxat91.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcEQH04eCp7ImA9WxFSEEo.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-8138571114187877629</id><published>2010-04-12T19:49:00.000+08:00</published><updated>2010-04-12T19:50:01.330+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-12T19:50:01.330+08:00</app:edited><title>无题</title><content type="html">&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;最近：&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;感情的事仍在试探中,还是找不到感觉,也许是缘分还未到。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;工作也不是很专注，感觉在办公室远不如在学校实验室的感觉好，也许是太需要学伴了；随着光光的订婚，我想以后更难找到能够一起讨论技术的朋友了。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;房子也该买了，不过最近比较贵，更重要的是我太不喜欢折腾这些事了，有个人一起折腾该多好。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;老徐最近结婚了，嫂子很漂亮；很庆幸老徐能够找到一个能够赏识他的公司，想老徐的努力程度，非我辈所能及啊！&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;老二说，等老大结婚的时候，一定要聚齐我们宿舍的8个人，是啊！自从05年毕业后，一直没有与老三 见面，也从没有聚齐过，希望明年可以把酒言欢。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;心里很乱也很孤独，很想找一个可以共度一生的人，但是一直找不到感觉；一直很喜欢科学，但是无法从事研究工作，而且智力及努力程度也无法达到；一直是一个理想的人，但生活社会却事与愿违。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;但我一直相信自己是一个好人，在各个方面。现在，我还是这样认为。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-8138571114187877629?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/JhpkW9h6ls0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/8138571114187877629/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=8138571114187877629" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/8138571114187877629?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/8138571114187877629?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/JhpkW9h6ls0/blog-post.html" title="无题" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/04/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUER3c8fSp7ImA9WxBVF08.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-7183890251584632330</id><published>2010-02-21T10:43:00.001+08:00</published><updated>2010-02-21T10:43:26.975+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-21T10:43:26.975+08:00</app:edited><title>使用Sourcery G++ Lite Edition + keil 进行开发ARM</title><content type="html">&lt;div&gt;一致使用winarm + keil进行ARM开发，但是兼容性不好，例如有时候无法链接，而且WINARM已经很长时间没有更新了，故决定使用Sourcery G++ Lite Edition替换WINARM。&lt;/div&gt;&lt;div&gt;主要遇到了一下几个问题：&lt;/div&gt;&lt;div&gt;1，无法链接_isatty()函数。&lt;/div&gt;&lt;div&gt;把原来的isatty()函数改名为_isatty()即可。&lt;/div&gt;&lt;div&gt;2，(.ARM.exidx+0x0): undefined reference&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="Arial" size="3"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: normal; white-space: nowrap;"&gt;(.ARM.exidx+0x0): relocation truncated to fit: R_ARM_PREL31 against `.text'&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="Arial" size="3"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: normal; white-space: nowrap;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;链接脚本中添加：&lt;/div&gt;&lt;div&gt;&lt;div&gt;.ARM.exidx :&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __exidx_start = .;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*(.ARM.exidx* .gnu.linkonce.armexidx.*)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __exidx_end = .;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;gt;eflash&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;3，sh_link not set for section `.ARM.exidx'&lt;/div&gt;&lt;div&gt;把上述脚本改为：&lt;/div&gt;&lt;div&gt;&lt;div&gt;/* .ARM.exidx is sorted, so has to go in its own output section.*/&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN(4);&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; __exidx_start = .;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; PROVIDE(__exidx_start = __exidx_start);&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;.ARM.exidx :&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* __exidx_start = .; */&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*(.ARM.exidx* .gnu.linkonce.armexidx.*)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* __exidx_end = .; */&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;gt;eflash&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN(4);&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; __exidx_end = .;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; PROVIDE(__exidx_end = __exidx_end);&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-7183890251584632330?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/NeveCz8sn_w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/7183890251584632330/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=7183890251584632330" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/7183890251584632330?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/7183890251584632330?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/NeveCz8sn_w/sourcery-g-lite-edition-keil-arm.html" title="使用Sourcery G++ Lite Edition + keil 进行开发ARM" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/02/sourcery-g-lite-edition-keil-arm.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YDQ3s6fyp7ImA9WxBWFkQ.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5283790973148466425</id><published>2010-02-09T13:59:00.001+08:00</published><updated>2010-02-09T13:59:32.517+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-09T13:59:32.517+08:00</app:edited><title>linux 触摸屏校准</title><content type="html">&lt;div&gt;最近更新了sam9263的angstrom，导致触摸屏不好用了，表现为触摸不准。当然启动的时候是有触摸校准的。google了一番，好像是最新的X是使用Xorg了，不能直接支持tslib了，要使用X的Xf86-input-tslib驱动才行，使用openembedded编译了该驱动，并将其加入到了文件系统中，修改xorg.conf为：&lt;/div&gt;&lt;div&gt;&lt;div&gt;Section "ServerLayout"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Identifier "default"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;InputDevice "atmel-ts" "CorePointer"&lt;/div&gt;&lt;div&gt;EndSection&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;#Section "InputDevice"&lt;/div&gt;&lt;div&gt;#&amp;nbsp;&amp;nbsp; &amp;nbsp;Identifier "atmel-ts"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;#&amp;nbsp;&amp;nbsp;Driver "evdev"&lt;/div&gt;&lt;div&gt;#&amp;nbsp;&amp;nbsp; &amp;nbsp;Option "SwapAxes" "1"&lt;/div&gt;&lt;div&gt;#&amp;nbsp;&amp;nbsp; &amp;nbsp;Option "Device" "/dev/input/touchscreen0"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;#Option "Calibrate" &amp;nbsp;"1"&lt;/div&gt;&lt;div&gt;#EndSection&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Section "InputDevice"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Identifier &amp;nbsp; &amp;nbsp; &amp;nbsp;"atmel-ts"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Driver &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"tslib"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"CorePointer" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "true"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"SendCoreEvents" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"true"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Device" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"/dev/input/touchscreen0"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Protocol" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Auto"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Width" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "240"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Height" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"320"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"EmulateRightButton" &amp;nbsp; &amp;nbsp;"1"&lt;/div&gt;&lt;div&gt;#EndSection&lt;/div&gt;&lt;div&gt;启动后，更加不行了，查看var/log/Xorg.0.log，加载也没有问题。有可能是编译xorg时没有使能tslib。&lt;/div&gt;&lt;div&gt;在xorg.conf中看到，默认是使用的evdev驱动，google了半天其校准的方法，貌似xinput-calibrator才是正道，编译，复制到文件系统，在串口终端中运行DISPLAY＝:0 &amp;nbsp;xinput_calibrator，会出现校准窗口，校准完后就OK了，不过貌似这样每次启动后都需要重新校准，无需重新校准的方法，运行xinput_calibrator时会提示的，一种是使用hal，创建一个touchscreen.fdi文件，一种是之间写到xorg.conf中。&lt;/div&gt;&lt;div&gt;这样就OK了！！&lt;/div&gt;&lt;div&gt;原来默认启动时的校准窗口是tslib的校准，仅适用于xf86-input-tslib。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;一个很好的文章：&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 文泉驿正黑; line-height: normal; font-size: medium; "&gt;&lt;div id="header"&gt;&lt;h1&gt;Touchscreen calibration under Linux&lt;/h1&gt;&lt;/div&gt;&lt;div id="sub_header"&gt;A snapshot of the state-of-affairs on 20 december 2009&lt;/div&gt;&lt;div id="main_content_top"&gt;&lt;/div&gt;&lt;div id="main_content"&gt;&lt;div class="content"&gt;&lt;h2&gt;A new generic calibrator&lt;/h2&gt;&lt;p&gt;Since I originally created this overview, I have started the&amp;nbsp;&lt;a href="http://www.freedesktop.org/wiki/Software/xinput_calibrator"&gt;xinput_calibrator&lt;/a&gt;&amp;nbsp;project, hosted on freedesktop.org. Xinput_calibrator is an easy to use generic touchscreen calibration program that can calibrate all Xorg drivers (except tslib).&lt;/p&gt;&lt;p&gt;To understand how touchscreens are handled nowadays, check out&amp;nbsp;&lt;a href="/calibration/device_support.html"&gt;this other page that tries to explain it all&lt;/a&gt;.&lt;/p&gt;&lt;h2&gt;Historical overview&lt;/h2&gt;&lt;p&gt;The rest of this page gives an overview of other calibration software for Linux.&lt;/p&gt;&lt;p&gt;Unfortuantely, most calibration software either works for only one Xorg driver, or only event devices (and no other Xorg drivers). This overview is a result of my long search to find a generic one for my dynapro serial touchscreen. I ended up combining the best interface(from soren) with the best approach(from tkxinput), which resulted in&amp;nbsp;&lt;a href="http://www.freedesktop.org/wiki/Software/xinput_calibrator"&gt;xinput_calibrator&lt;/a&gt;.&lt;/p&gt;&lt;h3&gt;Historical calibration software overview:&lt;/h3&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Application&lt;/th&gt;&lt;th&gt;Config&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;th&gt;Requires&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://tslib.berlios.de/"&gt;tslib&lt;/a&gt;&lt;/td&gt;&lt;td&gt;ts_calibrate&lt;/td&gt;&lt;td&gt;dynamic&lt;/td&gt;&lt;td&gt;Appearently the standard for touchscreens on embedded ARM systems (according to&amp;nbsp;&lt;a href="http://www.nabble.com/Touchscreen-calibration-utility-td7275143.html"&gt;this post&lt;/a&gt;). Originally developed for Kdrive, but there is a port for Xorg called&amp;nbsp;&lt;a href="http://www.pengutronix.de/software/xf86-input-tslib/index_en.html"&gt;xf86-input-tslib&lt;/a&gt;&amp;nbsp;(packaged in ubuntu and gentoo among others).&lt;/td&gt;&lt;td&gt;a /dev/input/eventX device and a /dev/fbY video framebuffer device&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://www.tls.cena.fr/divisions/PII/produits/tkxinput/"&gt;tkxinput&lt;/a&gt;&lt;/td&gt;&lt;td&gt;tkxinput&lt;/td&gt;&lt;td&gt;in xorg.conf&lt;/td&gt;&lt;td&gt;A calibration program that gets coordinates by registering for xinput events. Not driver dependent (but the brittle gui wrongly makes you believe it is)&lt;/td&gt;&lt;td&gt;none (uses XInput)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Soren's calibrator&lt;/td&gt;&lt;td&gt;&lt;a href="http://people.ubuntu.com/~ogra/my_calibrator.cc"&gt;my_calibrator.cc&lt;/a&gt;&lt;/td&gt;&lt;td&gt;dynamic&lt;/td&gt;&lt;td&gt;A small and clean fullscreen app that gets coordinates from the GUI and calculates the new values.&lt;/td&gt;&lt;td&gt;usbtouchscreen driver&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://www.conan.de/touchscreen/evtouch.html"&gt;evtouch&lt;/a&gt;&lt;/td&gt;&lt;td&gt;ev_calibrate&lt;/td&gt;&lt;td&gt;in xorg.conf&lt;/td&gt;&lt;td&gt;Aimed to integrate pointer support for X, but seems unmaintained at the moment. According to&amp;nbsp;&lt;a href="http://ubuntuforums.org/showthread.php?t=644258"&gt;this post&lt;/a&gt;&amp;nbsp;it has a calibration utility called&amp;nbsp;&lt;i&gt;ev_calibrate&lt;/i&gt;. According to&amp;nbsp;&lt;a href="http://blogs.gnome.org/juanje/2008/12/27/touchscreens-on-linux/#comment-23"&gt;this post&lt;/a&gt;&amp;nbsp;evtouch is superseded by evdev now (though a calibration program may&amp;nbsp;&lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=468140"&gt;not yet&lt;/a&gt;&amp;nbsp;been written).&lt;/td&gt;&lt;td&gt;a /dev/input/eventX device&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://sourceforge.net/projects/linuxconsole/"&gt;joystick&lt;/a&gt;&lt;/td&gt;&lt;td&gt;jscal&lt;/td&gt;&lt;td&gt;in custom config&lt;/td&gt;&lt;td&gt;According to&amp;nbsp;&lt;a href="http://lists.freedesktop.org/archives/xorg/2007-October/029559.html"&gt;this post&lt;/a&gt;&amp;nbsp;it is possible to use the calibration of the joystick driver.&lt;/td&gt;&lt;td&gt;a /dev/input/js0 device? not sure...&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://sourceforge.net/projects/tabletvk/"&gt;tabletvk&lt;/a&gt;&lt;/td&gt;&lt;td&gt;calibrater&lt;/td&gt;&lt;td&gt;in custom config&lt;/td&gt;&lt;td&gt;According to&amp;nbsp;&lt;a href="http://www.gentoo-wiki.info/Elo_Touchscreen"&gt;this page&lt;/a&gt;&amp;nbsp;it can be used for devices using the input event layer.&lt;/td&gt;&lt;td&gt;a /dev/input/eventX device, I suppose&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://linux.chapter7.ch/touchkit/mini-howto.txt"&gt;touchkit usb&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://linux.chapter7.ch/touchkit/calibrator.c"&gt;calibrator&lt;/a&gt;&lt;/td&gt;&lt;td&gt;in xorg.conf&lt;/td&gt;&lt;td&gt;Uses plain X stuff to draw the gui, but it didn't read any touches from the device file ?&lt;/td&gt;&lt;td&gt;a /dev/input/eventX device, I suppose&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://www.plop.at/en/touchscreen.html"&gt;plpevtech&lt;/a&gt;&lt;/td&gt;&lt;td&gt;getcal.sh&lt;/td&gt;&lt;td&gt;in xorg.conf&lt;/td&gt;&lt;td&gt;Another event device driver that can calibrate (like tslib and evtouch but written by one man). Calibration is not with a program but by checking your logfile for printouts.&lt;/td&gt;&lt;td&gt;a /dev/input/eventX device&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://touchcal.sourceforge.net/"&gt;touchcal&lt;/a&gt;&lt;/td&gt;&lt;td&gt;touchcal&lt;/td&gt;&lt;td&gt;in xorg.conf&lt;/td&gt;&lt;td&gt;Self declared as 'loosely maintained', only for 2 drivers.&lt;/td&gt;&lt;td&gt;mutouch or elographics driver&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;h4&gt;Other projects interested in clearing the touchscreen calibration jungle:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;Ubuntu on this&amp;nbsp;&lt;a href="https://blueprints.launchpad.net/ubuntu/+spec/mobile-general-resolution-for-touchscreen-handling"&gt;blueprint&lt;/a&gt;&amp;nbsp;and more recently&amp;nbsp;&lt;a href="https://wiki.ubuntu.com/X/Blueprints/Touchscreen"&gt;this wiki blueprint page&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Others undoubtedly...&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5283790973148466425?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/ouveIKtEbq4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5283790973148466425/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5283790973148466425" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5283790973148466425?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5283790973148466425?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/ouveIKtEbq4/linux.html" title="linux 触摸屏校准" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/02/linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkADR30zfSp7ImA9WxBQEk0.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-4095280109798406676</id><published>2010-01-11T19:19:00.001+08:00</published><updated>2010-01-11T19:19:36.385+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-11T19:19:36.385+08:00</app:edited><title>编译make2yaffsimage</title><content type="html">&lt;div&gt;最近弄yaffs，但是CVS上下的无法编译make2yaffsimage，提示yaffs_PackTags2（）函数传入的参数不对，看源代码发现，传入的参数少一个，google了一下，解决了问题，详见以下patch：&lt;/div&gt;&lt;div&gt;&lt;div&gt;diff --git a/utils/mkyaffs2image.c b/utils/mkyaffs2image.c&lt;/div&gt;&lt;div&gt;index 9939658..5b6c0c6 100644&lt;/div&gt;&lt;div&gt;--- a/utils/mkyaffs2image.c&lt;/div&gt;&lt;div&gt;+++ b/utils/mkyaffs2image.c&lt;/div&gt;&lt;div&gt;@@ -182,7 +182,7 @@ static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;nPages++;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;-&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;yaffs_PackTags2(&amp;amp;pt,&amp;amp;t);&lt;/div&gt;&lt;div&gt;+&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;yaffs_PackTags2_no_dev(&amp;amp;pt,&amp;amp;t);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;//&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;return write(outFile,&amp;amp;pt,sizeof(yaffs_PackedTags2));&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;return write(outFile,&amp;amp;pt,spareSize);&lt;/div&gt;&lt;div&gt;diff --git a/yaffs_packedtags2.c b/yaffs_packedtags2.c&lt;/div&gt;&lt;div&gt;index e33e8a3..e8d94dc 100644&lt;/div&gt;&lt;div&gt;--- a/yaffs_packedtags2.c&lt;/div&gt;&lt;div&gt;+++ b/yaffs_packedtags2.c&lt;/div&gt;&lt;div&gt;@@ -107,6 +107,15 @@ void yaffs_PackTags2(yaffs_Device *dev, yaffs_PackedTags2 *pt, const yaffs_Exten&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;					&lt;/span&gt;&amp;amp;pt-&amp;gt;ecc);&lt;/div&gt;&lt;div&gt;&amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;+void yaffs_PackTags2_no_dev(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t){&lt;/div&gt;&lt;div&gt;+&lt;/div&gt;&lt;div&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yaffs_PackTags2TagsPart(&amp;amp;pt-&amp;gt;t, t);&lt;/div&gt;&lt;div&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yaffs_ECCCalculateOther((unsigned char *)&amp;amp;pt-&amp;gt;t,&lt;/div&gt;&lt;div&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sizeof(yaffs_PackedTags2TagsPart),&lt;/div&gt;&lt;div&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;pt-&amp;gt;ecc);&lt;/div&gt;&lt;div&gt;+}&lt;/div&gt;&lt;div&gt;+&lt;/div&gt;&lt;div&gt;+&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t,&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;yaffs_PackedTags2TagsPart *ptt)&lt;/div&gt;&lt;div&gt;diff --git a/yaffs_packedtags2.h b/yaffs_packedtags2.h&lt;/div&gt;&lt;div&gt;index d90c6cb..fb1d49b 100644&lt;/div&gt;&lt;div&gt;--- a/yaffs_packedtags2.h&lt;/div&gt;&lt;div&gt;+++ b/yaffs_packedtags2.h&lt;/div&gt;&lt;div&gt;@@ -37,6 +37,8 @@ typedef struct {&lt;/div&gt;&lt;div&gt;&amp;nbsp;void yaffs_PackTags2(yaffs_Device *dev, yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t);&lt;/div&gt;&lt;div&gt;&amp;nbsp;void yaffs_UnpackTags2(yaffs_Device *dev, yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;+void yaffs_PackTags2_no_dev(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t);&lt;/div&gt;&lt;div&gt;+&lt;/div&gt;&lt;div&gt;&amp;nbsp;/* Only the tags part (no ECC for use with inband tags */&lt;/div&gt;&lt;div&gt;&amp;nbsp;void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart *pt, const yaffs_ExtendedTags *t);&lt;/div&gt;&lt;div&gt;&amp;nbsp;void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t, yaffs_PackedTags2TagsPart *pt);&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span title="neteasefooter"/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-4095280109798406676?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/RuqdbI_JXSU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/4095280109798406676/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=4095280109798406676" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/4095280109798406676?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/4095280109798406676?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/RuqdbI_JXSU/make2yaffsimage.html" title="编译make2yaffsimage" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2010/01/make2yaffsimage.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIMQHk-eCp7ImA9WxBTFEw.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-1513569812807064521</id><published>2009-12-10T11:59:00.001+08:00</published><updated>2009-12-10T11:59:41.750+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-10T11:59:41.750+08:00</app:edited><title>[转帖]AD6编译原理图时出现[ERROR]“Duplicate Net Names Element……”</title><content type="html">&lt;TABLE style="TABLE-LAYOUT: fixed; WIDTH: 100%"&gt;    &lt;TBODY&gt;    &lt;TR&gt;      &lt;TD&gt;        &lt;DIV class=cnt&gt;&lt;SPAN&gt;&lt;A         href="http://hi.baidu.com/jamiedu/blog/item/97a9022cb11ff13e359bf756.html"&gt;转自：http://hi.baidu.com/jamiedu/blog/item/97a9022cb11ff13e359bf756.html&lt;/A&gt;         &lt;/SPAN&gt;&lt;/DIV&gt;        &lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;        &lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;        &lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;        &lt;DIV&gt;&lt;SPAN&gt;&lt;IMG class=blogimg         src="http://hiphotos.baidu.com/jamiedu/pic/item/77fa3ed9b439201a32fa1c4c.jpg"         border=0 small="0"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;        &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;        &lt;DIV class=cnt&gt;&lt;BR&gt;&lt;BR&gt;刚开始看到"Duplicate Net Names         Element[0]:N000-1(inferred)"的错误提示觉得很奇怪，因为根本没有N000-1这个Net，搞了很久才找到解决办法。这个错误一般是出现在一个项目里有多原理图时，原理图里面应用了Port就会出现这个问题。&lt;BR&gt;&lt;BR&gt;原图：&lt;BR&gt;&lt;SPAN&gt;&lt;IMG         class=blogimg         src="http://hiphotos.baidu.com/jamiedu/pic/item/5076ee16682ff626c83d6d56.jpg"         border=0 small="0"&gt;&lt;/SPAN&gt;&lt;BR&gt;修改后(关键要给总线也添加网络标号)：&lt;BR&gt;&lt;SPAN&gt;&lt;IMG         class=blogimg height=124         src="http://hiphotos.baidu.com/jamiedu/pic/item/97a9022c793eb91b359bf752.jpg"         width=535 border=0         small="0"&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;因为Port和总线只是图形上的表示(为了好看而已)，如果觉得不方便可以直接不用Port，用个Text表示就可以了,懒人办法~~呵呵：&lt;BR&gt;&lt;SPAN&gt;&lt;IMG         class=blogimg height=133         src="http://hiphotos.baidu.com/jamiedu/pic/item/7a41ec12b24e980cdc540158.jpg"         width=541 border=0   small="0"&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-1513569812807064521?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/qrH0j0z3fww" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/1513569812807064521/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=1513569812807064521" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/1513569812807064521?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/1513569812807064521?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/qrH0j0z3fww/ad6errorduplicate-net-names-element.html" title="[转帖]AD6编译原理图时出现[ERROR]“Duplicate Net Names Element……”" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/12/ad6errorduplicate-net-names-element.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UNSXs-fSp7ImA9WxNaEE4.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-6248184812841362942</id><published>2009-11-24T10:54:00.001+08:00</published><updated>2009-11-24T10:54:58.555+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-24T10:54:58.555+08:00</app:edited><title>超好的PCB封装资源</title><content type="html">有各种软件的库下载，还有很多资料。
&lt;br&gt;&lt;a href="http://www.analog.com/zh/pcb-design-resources/content/pcb_design_resources/fca.html"&gt;http://www.analog.com/zh/pcb-design-resources/content/pcb_design_resources/fca.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-6248184812841362942?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/CrLpOg6OAvU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/6248184812841362942/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=6248184812841362942" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/6248184812841362942?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/6248184812841362942?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/CrLpOg6OAvU/pcb.html" title="超好的PCB封装资源" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/11/pcb.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcASHw8eip7ImA9WxNUFE8.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5161273522939135654</id><published>2009-11-05T19:54:00.001+08:00</published><updated>2009-11-05T19:54:09.272+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-05T19:54:09.272+08:00</app:edited><title>无题</title><content type="html">&lt;DIV&gt;&lt;FONT   size=3&gt;对于爱情，我尽力保持其来自于本心，而不为其他所扰动；对于爱情，我尽力保持其真诚，而不为其他所侵蚀；对于爱情，我尽力避免对方受到伤害，而宁愿自己舔舐伤口；对于爱情，我一直充满了希望；&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT   size=3&gt;尽管，有时候有些话无法说出口；尽管，有时候乌云阻隔了方向；尽管，有时候船儿驶出了中央；我的心从未改变。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5161273522939135654?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/e1bAWY_YlVk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5161273522939135654/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5161273522939135654" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5161273522939135654?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5161273522939135654?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/e1bAWY_YlVk/blog-post.html" title="无题" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/11/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHSHw7fip7ImA9WxNWFks.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-8296812760594049544</id><published>2009-10-16T10:48:00.001+08:00</published><updated>2009-10-16T10:48:59.206+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-16T10:48:59.206+08:00</app:edited><title>LVDS-LCD驱动芯片选型</title><content type="html">最近选用了一块台湾晶彩10.4寸的液晶屏，接口是18BIT的LVDS接口，故评估了几家的LVDS-LCD驱动器芯片  。
&lt;br&gt;
&lt;br&gt;生产该类芯片的主要厂家有TI和NS，产品系列都比较全，而且两家的有些产品彼此兼容，两家对该类产品的叫法不同，TI叫做FlatLink (LVDS for LCD) ，而NS则叫做SerDes - Displays and Imaging Interface，又细分为FPD-Link/Open LDI LVDS 和FPD-Link II - Embedded Clock LVDS。而最常用的是TI的sn65lvds84a ，sn65lvds86a ，与此兼容的是NS的 FPD-Link/Open LDI LVDS系列的DS90C363B，DS90CF364A等。
&lt;br&gt;
&lt;br&gt;另外，TI的资料较少，基本上只有DATASHEET，而NS的资料则较多。
&lt;br&gt;
&lt;br&gt;另外还有一韩国厂家DOSTEK生产的DTC34LM85A系列较便宜，几十片的价格只有8元，相对于以上两家的千片价格动辄两三个美金的价格可谓相当便宜，不过恐怕质量够呛。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-8296812760594049544?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/5_2eTi9PTaU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/8296812760594049544/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=8296812760594049544" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/8296812760594049544?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/8296812760594049544?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/5_2eTi9PTaU/lvds-lcd.html" title="LVDS-LCD驱动芯片选型" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/10/lvds-lcd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcCQHgzcSp7ImA9WxNWFks.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-4509623112203544417</id><published>2009-10-16T10:27:00.001+08:00</published><updated>2009-10-16T10:27:41.689+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-16T10:27:41.689+08:00</app:edited><title>白光LED驱动器选型</title><content type="html">最近要找一驱动液晶LED背光的驱动器，评估了几家的产品，最后选择了天�科技股份有限公司(&lt;a href="http://www.fitipower.com/"&gt;http://www.fitipower.com/&lt;/a&gt;) 的FP6738。
&lt;br&gt;
&lt;br&gt;生产该驱动器的主要有TI，LINEAR及台湾的一些小公司；TI和LINEAR 产品系列比较全，而且资料文档参考设计等比较全，供货好，产品质量也有保证，主要缺点是价格高，且基本上都是QFN封装的，手工焊接较难。而台湾公司产的很多是SOP-8封装的，容易焊接调试，主要缺点是产品系列不全，资料很少，供货不好。
&lt;br&gt;
&lt;br&gt;评估的台湾公司：
&lt;br&gt;白光LED驱动器	台湾天钰科技股份	&lt;a href="http://www.fitipower.com/product.htm?cid=13&amp;amp;sc_id=18"&gt;http://www.fitipower.com/product.htm?cid=13&amp;amp;sc_id=18&lt;/a&gt;	               资料相对要全，DATASHEET上有计算方法
&lt;br&gt;白光LED驱动器	BITEK公司                &lt;a href="http://www.bitek.com/"&gt;www.bitek.com/&lt;/a&gt;	                                                                      资料不全，且控制复杂
&lt;br&gt;白光LED驱动器	台湾E-CMOS             &lt;a href="http://www.ecmos.com.tw/"&gt;www.ecmos.com.tw/&lt;/a&gt;	                                                                 主页上资料无法下载&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-4509623112203544417?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/JI7AxM1jAoE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/4509623112203544417/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=4509623112203544417" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/4509623112203544417?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/4509623112203544417?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/JI7AxM1jAoE/led.html" title="白光LED驱动器选型" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/10/led.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIHSHo6eSp7ImA9WxNQEEQ.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-3348019597449849847</id><published>2009-09-16T18:38:00.001+08:00</published><updated>2009-09-16T18:38:59.411+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-16T18:38:59.411+08:00</app:edited><title>【转】关于verilog综合</title><content type="html">转自：
&lt;br&gt;&lt;a href="http://hi.baidu.com/%B0%AE%B5%C4%BF%D5%BC%E4%B0%AE%B5%C4%CE%DD/blog/item/90993c03c27965074afb512e.html"&gt;http://hi.baidu.com/%B0%AE%B5%C4%BF%D5%BC%E4%B0%AE%B5%C4%CE%DD/blog/item/90993c03c27965074afb512e.html&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;一：基本
&lt;br&gt;Verilog中的变量有线网类型和寄存器类型。线网型变量综合成wire，而寄存器可能综合成WIRE，锁存器和触发器。
&lt;br&gt;
&lt;br&gt;二：verilog语句结构到门级的映射
&lt;br&gt;1、连续性赋值：assign
&lt;br&gt;连续性赋值语句逻辑结构上就是将等式右边的驱动左边的结点。因些连续性赋值的目标结点总是综合成由组合逻辑驱动的结点。Assign语句中的延时综合时都将忽视。
&lt;br&gt;
&lt;br&gt;2、过程性赋值：
&lt;br&gt;过程性赋值只出现在always语句中。
&lt;br&gt;
&lt;br&gt;阻塞赋值和非阻塞赋值就该赋值本身是没有区别的，只是对后面的语句有不同的影响。
&lt;br&gt;
&lt;br&gt;建议设计组合逻辑电路时用阻塞赋值，设计时序电路时用非阻塞赋值。
&lt;br&gt;
&lt;br&gt;过程性赋值的赋值对象有可能综合成wire,latch,和flip-flop，取决于具体状况。如，时钟控制下的非阻塞赋值综合成flip-flop。
&lt;br&gt;
&lt;br&gt;过程性赋值语句中的任何延时在综合时都将忽略。
&lt;br&gt;
&lt;br&gt;建议同一个变量单一地使用阻塞或者非阻塞赋值。
&lt;br&gt;
&lt;br&gt;3、逻辑操作符：
&lt;br&gt;逻辑操作符对应于硬件中已有的逻辑门
&lt;br&gt;
&lt;br&gt;4、算术操作符：
&lt;br&gt;Verilog中将reg视为有符号数，而integer视为有符号数。因此，进行有符号操作时使用integer,使用无符号操作时使用reg。
&lt;br&gt;
&lt;br&gt;5、进位：
&lt;br&gt;通常会将进行运算操作的结果比原操作数扩展一位，用来存放进位或者借位。如：
&lt;br&gt;Wire [3:0] A,B;
&lt;br&gt;Wire [4:0] C;
&lt;br&gt;Assign C=A+B;
&lt;br&gt;C的最高位用来存放进位。
&lt;br&gt;
&lt;br&gt;6、关系运算符：
&lt;br&gt;关系运算符：&amp;lt;,&amp;gt;,&amp;lt;=,&amp;gt;=
&lt;br&gt;和算术操作符一样，可以进行有符号和无符号运算，取决于数据类型是reg ，net还是integer。
&lt;br&gt;
&lt;br&gt;7、相等运算符：==，！=
&lt;br&gt;注意：===和！==是不可综合的。
&lt;br&gt;可以进行有符号或无符号操作，取决于数据类型
&lt;br&gt;
&lt;br&gt;8、移位运算符：
&lt;br&gt;左移，右移，右边操作数可以是常数或者是变量，二者综合出来的结果不同。
&lt;br&gt;
&lt;br&gt;9、部分选择：
&lt;br&gt;部分选择索引必须是常量。
&lt;br&gt;
&lt;br&gt;10、BIT选择：
&lt;br&gt;BIT选择中的索引可以用变量，这样将综合成多路（复用）器。
&lt;br&gt;11、敏感表：
&lt;br&gt;Always过程中，所有被读取的数据，即等号右边的变量都要应放在敏感表中，不然，综合时不能正确地映射到所用的门。
&lt;br&gt;
&lt;br&gt;12、IF：
&lt;br&gt;如果变量没有在IF语句的每个分支中进行赋值，将会产生latch。如果IF语句中产生了latch，则IF的条件中最好不要用到算术操作。Case语句类似。Case的条款可以是变量。
&lt;br&gt;
&lt;br&gt;如果一个变量在同一个IF条件分支中先赎值然后读取，则不会产生latch。如果先读取，后赎值，则会产生latch。
&lt;br&gt;
&lt;br&gt;13、循环：
&lt;br&gt;只有for-loop语句是可以综合的。
&lt;br&gt;
&lt;br&gt;14、设计时序电路时，建议变量在always语句中赋值，而在该always语句外使用，使综合时能准确地匹配。建议不要使用局部变量。
&lt;br&gt;
&lt;br&gt;15、不能在多个always块中对同一个变量赎值
&lt;br&gt;
&lt;br&gt;16、函数
&lt;br&gt;函数代表一个组合逻辑，所有内部定义的变量都是临时的，这些变量综合后为wire。
&lt;br&gt;
&lt;br&gt;17、任务：
&lt;br&gt;任务可能是组合逻辑或者时序逻辑，取决于何种情况下调用任务。
&lt;br&gt;
&lt;br&gt;18、Z：
&lt;br&gt;Z会综合成一个三态门，必须在条件语句中赋值
&lt;br&gt;
&lt;br&gt;19、参数化设计：
&lt;br&gt;优点：参数可重载，不需要多次定义模块
&lt;br&gt;
&lt;br&gt;四：模块优化
&lt;br&gt;1、资源共享：
&lt;br&gt;当进程涉及到共用ALU时，要考虑资源分配问题。可以共享的操作符主要有：关系操作符、加减乘除操作符。通常乘和加不共用ALU，乘除通常在其内部共用。
&lt;br&gt;
&lt;br&gt;2、共用表达式：
&lt;br&gt;如：C=A+B;
&lt;br&gt;D=G+(A+B);
&lt;br&gt;两者虽然有共用的Ａ＋Ｂ，但是有些综合工具不能识别．可以将第二句改为：D=G+C；这样只需两个加法器．
&lt;br&gt;
&lt;br&gt;3、转移代码：
&lt;br&gt;如循环语句中没有发生变化的语句移出循环．
&lt;br&gt;
&lt;br&gt;4、避免latch：
&lt;br&gt;两种方法：1、在每一个IF分支中对变量赋值。2、在每一个IF语句中都对变量赋初值。
&lt;br&gt;
&lt;br&gt;5：模块：
&lt;br&gt;综合生成的存储器如ROM或RAM不是一种好方法。最好用库自带的存储器模块。
&lt;br&gt;
&lt;br&gt;五、验证：
&lt;br&gt;１、敏感表：
&lt;br&gt;在always语句中，如果敏感表不含时钟，最好将所有的被读取的信号都放在敏感表中。
&lt;br&gt;
&lt;br&gt;２、异步复位：
&lt;br&gt;建议不要在异步时对变量读取，即异步复位时，对信号赎以常数值。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-3348019597449849847?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/hCW0-51QzxE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/3348019597449849847/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=3348019597449849847" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/3348019597449849847?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/3348019597449849847?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/hCW0-51QzxE/verilog.html" title="【转】关于verilog综合" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/09/verilog.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYBQnoycCp7ImA9WxNQEEs.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-8352877331013024153</id><published>2009-09-16T10:12:00.001+08:00</published><updated>2009-09-16T10:12:33.498+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-16T10:12:33.498+08:00</app:edited><title>verilog综合时序仿真出现X状态解决一例</title><content type="html">&lt;DIV&gt;软件版本：ISE webpack 11.1 + Synplify&amp;nbsp;Pro&amp;nbsp;9.6.1&amp;nbsp;+   Modelsim&amp;nbsp;SE&amp;nbsp;6.5 &lt;/DIV&gt;  &lt;DIV&gt;CPLD：xilinx XC9500系列&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;模块代码：&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;module&amp;nbsp;rs485_fiber(clk,&amp;nbsp;rs485_rx,fiber_rx,&amp;nbsp;fiber_sd,&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rs485_tx,&amp;nbsp;rs485_en,&amp;nbsp;fiber_tx,&amp;nbsp;led_tx,&amp;nbsp;led_rx);&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;output&amp;nbsp;rs485_tx,&amp;nbsp;rs485_en,&amp;nbsp;fiber_tx,&amp;nbsp;led_tx,&amp;nbsp;led_rx;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;input&amp;nbsp;&amp;nbsp;clk,&amp;nbsp;rs485_rx,&amp;nbsp;fiber_rx,&amp;nbsp;fiber_sd;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reg&amp;nbsp;[2:0]&amp;nbsp;delay;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial&amp;nbsp;begin&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delay&amp;nbsp;=&amp;nbsp;3'b000;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp; assign&amp;nbsp;rs485_tx&amp;nbsp;=&amp;nbsp;~fiber_rx;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp; assign&amp;nbsp;fiber_tx&amp;nbsp;=&amp;nbsp;~rs485_rx;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp; assign&amp;nbsp;led_tx&amp;nbsp;=&amp;nbsp;rs485_rx;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;   assign&amp;nbsp;led_rx&amp;nbsp;=&amp;nbsp;rs485_tx&amp;nbsp;&amp;amp;&amp;nbsp;fiber_sd;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;   assign&amp;nbsp;rs485_en&amp;nbsp;=&amp;nbsp;(~delay[2])&amp;nbsp;|&amp;nbsp;(~delay[1])&amp;nbsp;|&amp;nbsp;(~delay[0]);&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT color=#ff0000&gt;&amp;nbsp;&amp;nbsp;   always&amp;nbsp;@&amp;nbsp;(posedge&amp;nbsp;clk&amp;nbsp;)&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   //&lt;FONT color=#ff0000&gt;always&amp;nbsp;@&amp;nbsp;(posedge&amp;nbsp;clk&amp;nbsp;or posedge   fiber_rx)&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   if&amp;nbsp;(fiber_rx&amp;nbsp;==&amp;nbsp;1)&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   delay&amp;nbsp;&amp;lt;=&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   if&amp;nbsp;(delay&amp;nbsp;==&amp;nbsp;7)&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   delay&amp;nbsp;&amp;lt;=&amp;nbsp;7;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   delay&amp;nbsp;&amp;lt;=&amp;nbsp;delay&amp;nbsp;+&amp;nbsp;1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;endmodule&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;顶层测试代码：&lt;/DIV&gt;  &lt;DIV&gt;module&amp;nbsp;RS485_fiber_t;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;//&amp;nbsp;Inputs&lt;/DIV&gt;  &lt;DIV&gt;reg&amp;nbsp;clk;&lt;/DIV&gt;  &lt;DIV&gt;reg&amp;nbsp;rs485_rx;&lt;/DIV&gt;  &lt;DIV&gt;reg&amp;nbsp;fiber_rx;&lt;/DIV&gt;  &lt;DIV&gt;reg&amp;nbsp;fiber_sd;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;//&amp;nbsp;Outputs&lt;/DIV&gt;  &lt;DIV&gt;wire&amp;nbsp;rs485_tx;&lt;/DIV&gt;  &lt;DIV&gt;wire&amp;nbsp;rs485_en;&lt;/DIV&gt;  &lt;DIV&gt;wire&amp;nbsp;fiber_tx;&lt;/DIV&gt;  &lt;DIV&gt;wire&amp;nbsp;led_tx;&lt;/DIV&gt;  &lt;DIV&gt;wire&amp;nbsp;led_rx;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;//&amp;nbsp;Instantiate&amp;nbsp;the&amp;nbsp;Unit&amp;nbsp;Under&amp;nbsp;Test&amp;nbsp;(UUT)&lt;/DIV&gt;  &lt;DIV&gt;rs485_fiber&amp;nbsp;uut&amp;nbsp;(&lt;/DIV&gt;  &lt;DIV&gt;.clk(clk),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.rs485_rx(rs485_rx),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.fiber_rx(fiber_rx),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.fiber_sd(fiber_sd),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.rs485_tx(rs485_tx),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.rs485_en(rs485_en),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.fiber_tx(fiber_tx),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.led_tx(led_tx),&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;.led_rx(led_rx)&lt;/DIV&gt;  &lt;DIV&gt;);&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;always&amp;nbsp;#15&amp;nbsp;clk&amp;nbsp;&amp;lt;=&amp;nbsp;~clk;&amp;nbsp;//15ns反转一次&lt;/DIV&gt;  &lt;DIV&gt;always&amp;nbsp;#5000&amp;nbsp;fiber_rx&amp;nbsp;&amp;lt;=&amp;nbsp;~fiber_rx;&amp;nbsp;&amp;nbsp;//5us反转一次&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;initial&amp;nbsp;begin&lt;/DIV&gt;  &lt;DIV&gt;//&amp;nbsp;Initialize&amp;nbsp;Inputs&lt;/DIV&gt;  &lt;DIV&gt;clk&amp;nbsp;=&amp;nbsp;0;&lt;/DIV&gt;  &lt;DIV&gt;rs485_rx&amp;nbsp;=&amp;nbsp;1;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;fiber_rx&amp;nbsp;=&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;fiber_sd&amp;nbsp;=&amp;nbsp;1;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;//&amp;nbsp;Wait&amp;nbsp;100&amp;nbsp;ns&amp;nbsp;for&amp;nbsp;global&amp;nbsp;reset&amp;nbsp;to&amp;nbsp;finish&lt;/DIV&gt;  &lt;DIV&gt;#100;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;//&amp;nbsp;Add&amp;nbsp;stimulus&amp;nbsp;here&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;end&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;endmodule&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;synplify综合RTL图：&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;IMG src="cid:__0@Foxmail.net"&gt;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;modelsim 前仿真没有问题，后仿真结果有问题：&lt;/DIV&gt;  &lt;DIV&gt;&lt;IMG src="cid:__1@Foxmail.net"&gt;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;修改模块代码，&lt;FONT   color=#ff0000&gt;always&amp;nbsp;@&amp;nbsp;(posedge&amp;nbsp;clk&amp;nbsp;)&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;为&lt;FONT   color=#ff0000&gt;always&amp;nbsp;@&amp;nbsp;(posedge&amp;nbsp;clk&amp;nbsp;or posedge   fiber_rx)&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;则综合RTL图为：&lt;/DIV&gt;  &lt;DIV&gt;&lt;IMG src="cid:__2@Foxmail.net"&gt;&lt;/DIV&gt;  &lt;DIV&gt;modelsim 前仿真没有问题，后仿真结果也没有问题：&lt;/DIV&gt;  &lt;DIV&gt;&lt;IMG src="cid:__3@Foxmail.net"&gt;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;原因分析：&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT   size=4&gt;从代码1可以看出，综合的RTL图中有多个控制端的多路数据选择器，如果多个控制端同时动作（由于延时等），可能会冲突，导致逻辑短路，从而形成X状态。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT   size=4&gt;而代码2综合生成的RTL图中多个控制端的多路数据选择器被简化为单个控制端的两路选择器，则不会有该问题。&lt;/FONT&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-8352877331013024153?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/pEm4bG4-6OI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/8352877331013024153/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=8352877331013024153" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/8352877331013024153?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/8352877331013024153?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/pEm4bG4-6OI/verilogx.html" title="verilog综合时序仿真出现X状态解决一例" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/09/verilogx.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcDQno5eSp7ImA9WxNRGEQ.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5818693200759031597</id><published>2009-09-14T09:51:00.001+08:00</published><updated>2009-09-14T09:51:13.421+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-14T09:51:13.421+08:00</app:edited><title>ISE11.1 + Modelsim SE 6.5 CPLD开发环境搭建</title><content type="html">&lt;DIV&gt;&lt;FONT   size=4&gt;最近搞CPLD，使用的是XILINX的XC9572，搭建环境的过程网上和书本上介绍的都不是很系统，过程还是相当麻烦的，现总结一下。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;步骤：&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;1，下载ISE Webpack 11.1免费版&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT   size=4&gt;去XILINX的官方主页下载，（首先要注册下）有两种下载方式（1）使用网络安装版；下载一个80多M的安装文件，该程序会根据你的设置下载相应的文件安装，优点是不需下载所有安装文件，只下载需要安装的；但是安装过程中如果网络断线，机器重启就要从头开始；（2）现在全部安装文件，大约2.7G，下载说明中说浏览器会下载一个下载插件，该插件会保证下载文件的完整性，及断点下载，但是俺的FIREFOX一直没提示安装插件，那个插件GOOGLE了半天也没找到，最后使用FLASHGET就下载下来了。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;2，下载Modelsim SE&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;网上找个PJ版就可以，CSDN上有个6.5版本可以。需要注意的是ISE 11.1的POST   FIT仿真和编译XILINX库只支持Modelsim SE 6.2版本以上的。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;3，安装&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;先安装Modelsim SE，再安装ISE 11.1，会自动找到Modelsim的安装目录，设置好。如果没有设置好，在ISE   11.1的菜单 设置中设置一下即可。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;4，编译XILINX库&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT   size=4&gt;理论上在新建的工程中全部编译即可，但是实践发现有些库不会编译，后仿真时会提示找不到库。网上有很多方法编译库，最方便的方法还是在   ISE安装目录\ISE\bin\nt 中执行compxlibgui.exe   程序，按照提示，注意要选中所有库（包括FPGA），否则编译库不全面。编译完成即可。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;需要注意的是：编译完成后，会自动更新ISE安装目录\ISE\bin\nt \unwrapped   \modelsim.ini文件，添加进加载库的路径。新建工程仿真时，ISE会复制该文件到你的工程目录，从而从ISE中调用Modelsim仿真时，会读取工程目录下的配置。所以，如果你是先建的工程仿真出错后又编译的库，则需要执行菜单命令clean下你的工程，重新编译综合仿真，从而仿真时又复制一遍配置文件，否则仿真时会找不到库。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;5，新建工程 添加测试文件&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;使用Verilog文件，加入你的模型，编译综合成功后；添加测试文件，要选择Verilog   texture文件（必须注意啊！！），该测试文件会自动保护一个测试框架，在里面添加测试语句即可。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;一定要注意：测试文件一定要选择Verilog   texture文件，我一开始选择的Verilog源文件，结果，仿真都正常，前仿真没有问题，而后仿真有个波形就是出不来，最后发现是文件类型不对！！&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;6，仿真&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;在仿真界面下，右击设定仿真时间、精度等等参数，双击即可自动打开Modelsim仿真，在命令窗口输入run   30us即可仿真。&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;其他：&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV&gt;&lt;FONT size=4&gt;安装ISE Webpack 11.1 好像不会自动安装Modelsim   XE软件版本，但是会有一个ISIM可以进行仿真。&lt;/FONT&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5818693200759031597?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/HVXDBoFwuPI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5818693200759031597/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5818693200759031597" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5818693200759031597?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5818693200759031597?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/HVXDBoFwuPI/ise111-modelsim-se-65-cpld.html" title="ISE11.1 + Modelsim SE 6.5 CPLD开发环境搭建" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/09/ise111-modelsim-se-65-cpld.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MERHk4eCp7ImA9WxNRFkg.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-5468899309132103894</id><published>2009-09-11T14:43:00.001+08:00</published><updated>2009-09-11T14:43:25.730+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-11T14:43:25.730+08:00</app:edited><title>ISE MODELSIM小记（1）</title><content type="html">ISE版本：ISE WEBPACK 11.1
&lt;br&gt;MODELSIM SE 6.5
&lt;br&gt;
&lt;br&gt;从ISE中调用MODELSIM SE 6.5，执行的配置文件是该工程目录下的modelsim.ini文件，该文件是建立该工程时从I:\XILINX\ISE11.1-WEBPACK\ISE\bin\nt\unwrapped\modelsim.ini复制过来的，而不是modelsim安装目录中的。
&lt;br&gt;
&lt;br&gt;要编译XINLINX的库，则执行I:\XILINX\ISE11.1-WEBPACK\ISE\bin\nt目录下compxlibgui.ex程序，按提示进行即可；要进行布线后的仿真必须选中全部的，如果不选FPGA，默认好像不编译simprims_ver库等，都选择全部即可。在ISE工程中编译时也是不会全部编译。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-5468899309132103894?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/m__aUJogHPg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/5468899309132103894/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=5468899309132103894" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5468899309132103894?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/5468899309132103894?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/m__aUJogHPg/ise-modelsim1.html" title="ISE MODELSIM小记（1）" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/09/ise-modelsim1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMEQn8zeSp7ImA9WxNRFkk.&quot;"><id>tag:blogger.com,1999:blog-814289533289167819.post-3882909054329394173</id><published>2009-09-11T13:19:00.000+08:00</published><updated>2009-09-11T13:20:03.181+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-11T13:20:03.181+08:00</app:edited><title>[转帖]Modelsim se完全编译xilnx库的方法</title><content type="html">转自：&lt;a href="http://hi.baidu.com/yoman/blog/item/7ea0b38b8ce32e7e9e2fb4bc.html"&gt;http://hi.baidu.com/yoman/blog/item/7ea0b38b8ce32e7e9e2fb4bc.html&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;什么是之前的老办法呢？
&lt;br&gt;
&lt;br&gt;Modlesim 仿真库的建立：
&lt;br&gt;将Modelsim根目录下的modelsim.ini的属性由只读改为可写。
&lt;br&gt;新建一个文件夹，比如library（为叙述方便，把它放在modelsim的根目录下）。D:/modelsim/library.
&lt;br&gt;启动Modelsim,选择[File]/[chang Directory],选择D:/modelsim/library.
&lt;br&gt;
&lt;br&gt;选择[File]/[New]/[library]命令，弹出[Creat a New library],在[lihrary Name]中输入&amp;quot;simprims_ver&amp;quot;,同时下一栏也自动输入&amp;quot;simprims_ver&amp;quot;，单击OK。
&lt;br&gt;     
&lt;br&gt;在主窗口中选择[compile]/[Compile]命令，弹出[compile Source Files],在[Library]的下拉列表中选择&amp;quot;simprims_ver&amp;quot;在[查找范围]中选中[Xilinx/veriog/src /simprims]目录下的全部文件，单击complie进行编译。(这时可能会花你一些时间,耐心等待编译完毕)用同样的方法将unisims和 Xilinxcorelib三个仿真库进行编译。
&lt;br&gt;     
&lt;br&gt;这时在D:/modelsim/library 下就有以上三个仿真库。
&lt;br&gt;   
&lt;br&gt;总结步骤为a：建立库的放置路径b：对库进行编译c：对库进行映射。最后重新启动Modelsim可以在列表中看到建立的三个库。
&lt;br&gt;
&lt;br&gt;那么这个办法明显是比较麻烦的。其实我们可以这样做;
&lt;br&gt;
&lt;br&gt;   1.
&lt;br&gt;      首先将modelsim.ini文件只读模式去掉，存档前面打对勾。
&lt;br&gt;   2.
&lt;br&gt;      在您安装ise的目录下，进入到bin\nt目录下，例如e:\ise6\bin\nt，确认有compxlib这个程序
&lt;br&gt;   3.
&lt;br&gt;      在cmd中运行compxlib -s mti_se -f all -l all -o e:\modeltech_6.0\xilinx_libs就可以了，e:\modeltech_6.0是我安装modelsim的目录，您可以作相应的更改。参数也可以按照您的要求作相应的更改。
&lt;br&gt;
&lt;br&gt;这样就可以了。
&lt;br&gt;
&lt;br&gt;需要注意的是，千万记住ise和modelsim的安装目录都不要出现空格，最好是直接安装在根目录下。
&lt;br&gt;
&lt;br&gt;具体单独用modelsim进行behavioral model的方法是，打开modelsim，把你的代码和仿真代码文件加入，别忘了加入glbl.v文件。在哪里？自己找吧。然后编译，work库这些设置好后，命令行（modelsim里的）输入
&lt;br&gt;
&lt;br&gt;vsim -L Xilinxcorelib_ver -L unisims_ver -L simprims_ver -lib work $yourtestname glbl
&lt;br&gt;
&lt;br&gt;就可以了&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814289533289167819-3882909054329394173?l=yushiyou.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yushiyou/~4/l5U4WAby_Yg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://yushiyou.blogspot.com/feeds/3882909054329394173/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=814289533289167819&amp;postID=3882909054329394173" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/3882909054329394173?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/814289533289167819/posts/default/3882909054329394173?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yushiyou/~3/l5U4WAby_Yg/modelsim-sexilnx.html" title="[转帖]Modelsim se完全编译xilnx库的方法" /><author><name>fishhead</name><uri>http://www.blogger.com/profile/00620154671091866796</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://yushiyou.blogspot.com/2009/09/modelsim-sexilnx.html</feedburner:origLink></entry></feed>

