Can we compile them with eldk and debug them with BDI2000?
thanks a lot.Would you give me more inf,please?
There were a test.c.
When we use "ppc_6xx-gcc -o test test.c",we can get a "test" which can running in Linux. How can we get a "test" which can running in bareboard and be debuged using the BDI2000? Would you give a flag example?
----- Original Message -----
From: Wolfgang Denk
To: [email protected]
Cc: ppc
Subject: Re: Can we compile them with eldk and debug them with BDI2000?
Sent: Mon Dec 12 21:26:57 CST 2005
Quoted 5 lines
Quoted 3 lines · In message <[email protected]> you wrote:
There are some example C programs in freescale's web. They don't work in linux but bareboard.
Can we compile them with eldk and debug them with BDI2000?
Quoted 15 lines
Yes. You may have to set up your own linker script, though. It would be probably much easier to run such code as standalone application in U-Boot (and yes, this too can be compiled using the ELDK and debugged using the BDI).
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] We are all agreed that your theory is crazy. The question which divides us is whether it is crazy enough to have a chance of being correct. My own feeling is that it is not crazy enough. - Niels Bohr
------------------------------
?????Sogou.com?2G??????????!
http://mail.sogou.com/recommend/sogoumail_invite_reg1.jsp?from=sogouinvitation&s_EMAIL=zengshuai%40sogou.com&username=&FullName=&Email=&verify=e197bd6dbd1fc7f8d6a035729df08d63
Quoted 1 line · In message <[email protected]> you…
thanks a lot.Would you give me more inf,please?
I'm afraid this is off topic on this list.
Quoted 4 lines
There were a
test.c.
When we use "ppc_6xx-gcc -o test test.c",we can get a "test" which can running in Linux. How can we get a "test" which can running in bareboard and be debuged using the BDI2000? Would you give a flag example?
See the U-Boot source code. U-Boot itself is just such a bare-silicon application program (a pretty complex one, though). Also see the examples/ directory which contains code for several simple standalone applications within the U-Boot context.
Note that you will have to understand how the linker works, and know exactly what you are doing.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Four thousand throats may be cut in one night by a running man. -- Klingon Soldier, "Day of the Dove", stardate unknown