Skip to contentSkip to conversation

Can we compile them with eldk and debug them with BDI2000?

DISCUSSION [email protected] 2 participants 2 messages Dec 12, 2005

lore
Share & tools
lore
#0 lore raw

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? Thanks.

------------------------------
我现在使用Sogou.com的2G邮箱了,你也来试试吧!
http://mail.sogou.com/recommend/sogoumail_invite_reg1.jsp?from=sogouinvitation&s_EMAIL=zengshuai%40sogou.com&username=linuxppc-embedded&FullName=linuxppc-embedded&Email=linuxppc-embedded%40ozlabs.org&verify=755eff4e640bdcfc57d93cbd8b0a9cb7

#1 lore raw
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?

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