How to develop a linux user application for P2020RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to develop a linux user application for P2020RDB

1,247 Views
farseer
Contributor I

I have a P2020RDB development board that runs Linux/Debian 2.6. I wish to develop my own application that runs on top of the OS running on this board. Note: that I do not wish to recompile the kernel or modify the BSP. I just want my own program to run on top of linux. How do I do that? Should I use CodWarrior to develop my program? and how will I transfer the binary to the board such that is is recognized by linux?

Labels (1)
0 Kudos
Reply
4 Replies

1,044 Views
J2MEJediMaster
Specialist I

Yes, you can do Linux application debug with CodeWarrior for Power Architecture tools. In the CodeWarrior installation is a quick setup and start debugging document termed Quick Start Application Debug, which explains how to build the application in the Codewarrior IDE and debug it. However, be aware that CodeWarrior Linux tools support only the Red Hat and SuSE releases of Linux.

 

---Tom

0 Kudos
Reply

1,044 Views
farseer
Contributor I

I have done a bit of research and it seems there is something called the CodeWarrior Linux TRK that helps us develop and debug linux applications. My question is would the P2020RDB development board support this? And more importantly which version of CodeWarrior/LinuxTRK I should use for this particular development board?

0 Kudos
Reply

1,044 Views
J2MEJediMaster
Specialist I

Go to this CodeWarrior for Power Architecture page and look at the target processor matrix. There doesn't seem to be any support for Linux debug. (Actually the Linux support cell is blank, I have to look into this.) This page also mentions the supported Linux types and it turns out that I was in error: SuSE Linux (32-bit) is supported.

 

---Tom

0 Kudos
Reply

1,044 Views
J2MEJediMaster
Specialist I

I've checked with the engineers and you can do Linux debugging on this board. We are looking into updating the web page.

 

---Tom

0 Kudos
Reply