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