Hi,<br>I&#39;m also fairly new&nbsp; with U-Boot, but I found an usefull link:<br><a href="http://www.phptr.com/articles/article.asp?p=674698&amp;seqNum=4&amp;rl=1">http://www.phptr.com/articles/article.asp?p=674698&amp;seqNum=4&amp;rl=1
</a> which explain shortly how to port a new board on U-Boot.<br>I hope it will be usefull for you.<br>Bye,<br>Thomas<br><br><div><span class="gmail_quote">2007/2/28, Ben Warren &lt;<a href="mailto:bwarren@qstreams.com">bwarren@qstreams.com
</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 2007-02-28 at 11:24 +0800, <a href="mailto:Haifeng.Wu@infineon.com">
Haifeng.Wu@infineon.com</a> wrote:<br>&gt; Dear All,<br>&gt;<br>&gt; I&#39;m fairly new to U-Boot and not familiar with the architecture of<br>&gt; U-Boot.<br>&gt; But I think the directory hierarchy can tell me that U-Boot divides all
<br>&gt; the codes into board-related, CPU-related and common.<br>&gt; I&#39;m interested in porting U-Boot to our hardware platform, yet I don&#39;t<br>&gt; know which code should be modified or added.<br>&gt;<br>&gt; Have some one done U-Boot porting for new hardware platform before?
<br>&gt; Would you like to share how to do it with me?<br><br>As we always do in engineering, find something similar to what you have<br>and copy it as much as possible.&nbsp;&nbsp;If you have a new CPU, of course it&#39;s<br>much more complicated.
<br><br>Board-specific stuff is in two places in the U-boot source hierarchy:<br><br>include/configs/&lt;YOUR_BOARD&gt;.h&nbsp;&nbsp;- configuration information<br>board/&lt;your_board&gt;/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - board-specific code<br><br>
You&#39;ll also have to modify the main Makefile, again following the<br>example of a similar board.<br><br>Make sure you start with the latest from the git repo:<br><br>cg-clone git://www.denx.de/git/&lt;project_name&gt;&nbsp;&nbsp;&lt;your_repository_name&gt;/
<br><br>Recommended reading:<br>README<br><a href="http://www.denx.de/wiki/DULG/Manual">http://www.denx.de/wiki/DULG/Manual</a><br><a href="http://www.kernel.org/pub/software/scm/git/docs/everyday.html">http://www.kernel.org/pub/software/scm/git/docs/everyday.html
</a><br><br>regards,<br>Ben<br><br><br><br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net&#39;s Techsay panel and you&#39;ll get the chance to share your
<br>opinions on IT &amp; business topics through brief surveys-and earn cash<br><a href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV
</a><br>_______________________________________________<br>U-Boot-Users mailing list<br><a href="mailto:U-Boot-Users@lists.sourceforge.net">U-Boot-Users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/u-boot-users">
https://lists.sourceforge.net/lists/listinfo/u-boot-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Plus d&#39;informations me concernant:<br><a href="http://psyphi.zeblog.com/">http://psyphi.zeblog.com/</a>