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.

Getting started with AM35x Linux - couple of newbie questions..

Got a new hardware design coming up and it looks like AM35x is the part for the job.

To evaluate the chip, I've got a Craneboard card on order. I've also created a card which breaks the expansion header out into RS232 headers for UART2/UART4, and connects some audio I/O up to McBSP1. Alas, I'm primarily a hardware guy and "close to the metal" programmer, and I don't have much experience with embedded Linux and how everything gets set up and interacts.

Couple of questions:

(1) I'll need to set the CONTROL_PADCONF_x registers appropriately to put the UARTx/McBSP signals on the expansion header. Sounds simple enough, but where is this configuration "typically" done, in the bootloader or in the kernel somewhere?

(2) I'd like to set up McBSP1 to act as an audio device - I'd like to be able to run a MP3 player or similar program in the OS, and have the resulting audio come out the McBSP. My expansion board will drive the CLKX/FSX pins with 48KHz, I2S frame sync signals which takes care of the clock generation part, but as far as including a McBSP driver that points to the right port, sets up pin directions and data formats, makes the ALSA interface look right, etc... I'm pretty much clueless where to start with that.

If anyone can give me a kick in the right direction, point me to a book, etc.. that will be highly appreciated.

Thanks for any help!