Hi,<br>I'm also fairly new with U-Boot, but I found an usefull link:<br><a href="http://www.phptr.com/articles/article.asp?p=674698&seqNum=4&rl=1">http://www.phptr.com/articles/article.asp?p=674698&seqNum=4&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 <<a href="mailto:bwarren@qstreams.com">bwarren@qstreams.com
</a>>:</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>> Dear All,<br>><br>> I'm fairly new to U-Boot and not familiar with the architecture of<br>> U-Boot.<br>> But I think the directory hierarchy can tell me that U-Boot divides all
<br>> the codes into board-related, CPU-related and common.<br>> I'm interested in porting U-Boot to our hardware platform, yet I don't<br>> know which code should be modified or added.<br>><br>> Have some one done U-Boot porting for new hardware platform before?
<br>> 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. If you have a new CPU, of course it's<br>much more complicated.
<br><br>Board-specific stuff is in two places in the U-boot source hierarchy:<br><br>include/configs/<YOUR_BOARD>.h - configuration information<br>board/<your_board>/ - board-specific code<br><br>
You'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/<project_name> <your_repository_name>/
<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's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys-and earn cash<br><a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&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'informations me concernant:<br><a href="http://psyphi.zeblog.com/">http://psyphi.zeblog.com/</a>