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.

Tutorial to work directly on the OMAP3530 of beagleboard.

Other Parts Discussed in Thread: OMAP3530

Hi All, 

  I was looking for a step-by-step tutorial that can guide me on how 
to work directly on the hardware level of the OMAP3530 processor on a beagleboard. 

  I intend to do video capturing and processing as quickly as 
possible(from a cold start). TI claims that OMAP3530 
can capture images in 1/10th of a second. I would like to make use of 
this instead of waiting for the Linux OS to boot(which currently is 
less than 3 secs). 

  It would be of great help if somebody can provide a tutorial to work 
with code composer studio(CCS) and beagleboard. 

  I am also wondering if I can download binary from CCS to nand flash on beagleboard and later execute it. 

Thanks in advance, 

Vinay. 

  • This is kind of a non typical development path, most of the collateral and software out there has dependencies on a high level OS environment, primarily Linux. This being said, if you want to run without an OS I would recommend starting with some code like the X-Loader sources or U-Boot sources, the boot loaders for higher level OSes, as these give some of the most basic initialization code needed to use the device. If you add your code at this level before Linux boots than you will be about as low as you can go.

    However keep in mind that device driver capabilities, and multimedia stacks are limited at this stage, since the boot loaders are not full fledged operating systems you could end up having to write a lot of code that you could avoid by booting into Linux. A more typical approach would be to strip down the booting Linux kernel so that it boots faster, as opposed to writing your own RTOS from the ground up.

    I don't believe there are code composer projects for the boot loaders, so getting them into a debug state from CCS may require some effort.

  • I can have X-loader or U-Boot sources of linux distribution on the nand flash, I intend to have my binary to access the camera module along with these on the same flash. I am aware of the limitations that I can have with device driver capabilities and multimedia stack. Is it possible to use a MMC on the gumstix board to store the feed from camera module?

    I have already explored the option of using stripped-down linux OS and have achieved a boot time of <3 secs, but was facing problems in accessing the camera(both USB on beagleboard and camera module on gumstix), hence I am thinking to start the camera module even before the kernel loads. 

    I would greatly appreciate any leads on writing a boot loader to start the camera module of OMAP3530.

     

    Thanks,

     

    Vinay.

  • Vinay Krishna Murthy said:
    Is it possible to use a MMC on the gumstix board to store the feed from camera module?

    It would be in Linux, I imagine you could do the same from U-Boot if you could put together a camera driver and a MMC driver, I believe basic MMC support already exists as it is able to read out a Linux kernel to boot from the MMC interface.

    Vinay Krishna Murthy said:
    I would greatly appreciate any leads on writing a boot loader to start the camera module of OMAP3530.

    I would probably start with the existing camera driver code in the kernel sources, copying that out of the kernel sources and into the U-Boot sources should give a base line of code to work with, though there will likely be a good deal of porting/integration effort to gain full functionality.