This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to develop application on linux



Hello, I'm a new user for linux, now I want to develop application for liinux on beagle bone black , but I have no direction, I develope applicaton on ti c6000 dsp , in dsp ,there are many datasheet about the peripheral, italso have platform lib and demos on how to use the peripheral , but I haven't found that something like it under linux, for example If I want to use gpio , I can't find the description on gpio API in Linux PSP GPIO Driver Guide, how can I start the development on linux ,can you give me some advise.

  • You need to first of all get hold of a cross-compiler. Code Sourcery Lite is the best place to start. Once you have a cross-compiler you can write some code, compile it on a PC, and upload and run it on your board.

    Ralph

  • Thank you for your reply, I have build the development based on ti sdk, and I have build a simple led driver for beagle bone black , and I have tested it under eclipse IDE, but the led driver source is downloaded from web , and I have read some reference on how to develop linux driver , the problem I have is that I have no familiar with the driver api, such as pwm, gpio,usb hdmi and so on ,and I can't find the document on how to use these peripherals, for example ,if I want to use gpio on dsp6455 , I can use csl ,and there are document on how to use it ,and it also has detail description for each API(CSL_gpio_open().....and so on), but I have no direction on how to develop for linux, and how to start use the peripheral on the board ,can you give me some advise?

  • There should be a Linux driver for all these peripherals. You need to do a "make menuconfig" in your Linux source and have a search for drivers. I can't believe there isn't more support on the TI Beaglebone Black website for this? Have you had a look?

  • thank you for your answer, I'm a  new user for linux, the problem is that I can't find a general method for develop application that need to call bottom peripherals driver, and I can't find something detail descript it, can you give me some material for this.

  • You may want to read Linux device drivers and familiarize yourself with the basics.  lwn.net/Kernel/LDD3