How to develop a linux user application for P2020RDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to develop a linux user application for P2020RDB

1,245 次查看
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?

标签 (1)
0 项奖励
回复
4 回复数

1,042 次查看
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 项奖励
回复

1,042 次查看
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 项奖励
回复

1,042 次查看
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 项奖励
回复

1,042 次查看
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 项奖励
回复