* Re:Re: Can we compile them with eldk and debug them with BDI2000?
@ 2005-12-13 3:48 zengshuai
2005-12-13 8:18 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: zengshuai @ 2005-12-13 3:48 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: ppc
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: zengshuai@sogou.com
Cc: ppc
Subject: Re: Can we compile them with eldk and debug them with BDI2000?
Sent: Mon Dec 12 21:26:57 CST 2005
> In message <4069241.1134390336250.JavaMail.postfix@mx3.mail.sohu.com> 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?
>
> 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
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can we compile them with eldk and debug them with BDI2000?
2005-12-13 3:48 Re:Re: Can we compile them with eldk and debug them with BDI2000? zengshuai
@ 2005-12-13 8:18 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-12-13 8:18 UTC (permalink / raw)
To: zengshuai; +Cc: ppc
In message <31064960.1134445714325.JavaMail.postfix@mx3.mail.sohu.com> you wrote:
> thanks a lot.Would you give me more inf,please?
I'm afraid this is off topic on this list.
> 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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Four thousand throats may be cut in one night by a running man.
-- Klingon Soldier, "Day of the Dove", stardate unknown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-13 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13 3:48 Re:Re: Can we compile them with eldk and debug them with BDI2000? zengshuai
2005-12-13 8:18 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).