How to get the board's detail?
Hi,
I know when I want to port u-boot to a new board,I can find a similar
board in u-boot and modify it to my new board.But how I know which board is similar with my new board?e.g.POWERPC and SDRAM's pins connection.
Best Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030404/642095cc/attachment.htm
Hi,
Quoted 4 lines · in message <[email protected]> you wrote:
I know when I want to port u-boot to a new board,I can find a similar
board in u-boot and modify it to my new board.But how I know which board is similar with my new board?e.g.POWERPC and SDRAM's pins connection.
Read the sources. This is usually a good idea anyway as it gives you some overview about different implementations and options.
Quoted 4 lines
------=_NextPart_000_0022_01C2FAB6.BBDD9C90
Content-Type: text/html; charset="gb2312"Content-Transfer-Encoding: quoted-printable
And please never post HTML to this list.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de God is real, unless declared integer.
Dear hotmail :-),
Quoted 4 lines · hotmail
Hi,
I know when I want to port u-boot to a new board,I can find a similar
board in u-boot and modify it to my new board.But how I know which board is similar with my new board?e.g.POWERPC and SDRAM's pins connection.
Well, the CPU type is defined in a board's config file, eg. like this:
/* The 855T is just a stripped 860T and needs code for 860, so for now
* at least define 860, 860T and 855T
*/
#define CONFIG_MPC860 1 #define CONFIG_MPC860T 1 #define CONFIG_MPC855T 1
As for the SDRAM (and all the other resources attached to the memory controller): this is typically the part where you have to apply your modifications. I recommend you begin by looking at a board configuration file that at least has the right CPU. Then try to understand what all the defines do (there is a lot of documentation included with u-boot). Try to relate your knowledge with other configurations - maybe you find a more suitable one on the way.
This will take a lot of time. If you're short on that resource, you can always hire a guru.
Regards,
Marius
-----------------------------------------------------------------------------
Marius Groeger SYSGO Real-Time Solutions AG mgroeger at sysgo.de Software Engineering Embedded and Real-Time Software www.sysgo.de Voice: +49-6136-9948-0 Am Pfaffenstein 14 www.osek.de FAX: +49-6136-9948-10 55270 Klein-Winternheim, Germany www.elinos.com