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.

Configuration of device based on am1806

Other Parts Discussed in Thread: TPS65070, AM1806, AM1808, OMAP-L138

Hi to everybody,

i designed the device based on AM1806 processor. Device consist of AM1806 TI Sitara processor, 128MB of mDDR RAM, 8MB NOR Flash for booting, uSD/MMC card slot, OTG USB Port, and Aptina MT9P031 CCD sensor. Whole board is powered by TPS65070 PMIC from TI. The board is designed to be powered from DC adapter, USB port or battery.

I designed board to can be bootable from SD/MMC card, UART2 port, SPI Flash and Emulation debug. Booting method which will be used can be selected with DIP switches.

Board is assembled and it is powered for the first time. I got correct voltage ranges on TPS65070 regulated output pins. Also the current is 20mA, and I assumed that that is correct.

Now I have to boot Linux and write application software, and that is the reason why I writing the post here. I'm hardware engineer and this is my first time to doing something like this.

Can somebody explain to me what is next step to keep alive the device that I made. I read that I need to use pinmux utility to configure hardware. Does somebody make the device from the beginning and which are the steps?

Thanks for answers. 

  • HI Miroslav,

    Hope you’ve already checked the power and clock signal .Then place the device in the emulation mode and try connecting the board to the CCS via JTAG to make sure you are establishing the connection and try running some statreware example LED Blink,UART test,memory tets ....etc.

    Running Linux Application

    For running Linux application the first step is to select  which bootable device you’re going to use to boot the board once you select it then second step is to customize, build  and flash the U-boot  on the target hardware according to your board configuration (memory size) etc. And third step is to build and flash kernel into your target hardware and run some sample application on top of it.

    TI provides the Sitara Linux software developer’s guide that explains to you the steps involved in creating and flash the U-boot and kernel image in the target hardware.

    http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer%E2%80%99s_Guide

    Regards

    Antony

    • --------------------------------------------------------------------------------------------------------
      Please click the Verify Answer button on this post if it answers your question.
      --------------------------------------------------------------------------------------------------------
  • Hi Antony,

    thanks for your replay. I will read everything from link you send to me and try to connect my hardware to CCS via JTAG, I tested power supply and I have all voltage I need to hardware work properly. I didn't check clock signal jet.

    Thanks again.

    Beste ragards M.

  • Hi again,

    I was able to establish the connection between AM1806 and CCS. Next thing I'm wanting to do is programing the SPI Memory with u-boot. Because I have custom hardware I have to customize the u-boot.

    As I mentioned earlier I designed the hardwer similar to AM1808 SOM-M1 from Logic PD. I changed the processor to AM1806 but the DDR memory, SPI Flash SD/MMC card interface, Oscilator frequency and PMIC is designed based on Logic PD SOM. Instead of UART2 I used UART0 as serial boot port.

    I found and download Serial Boot and Flash Loading Utility for OMAP-L138. Beacuse I have custom hardware I think that I have to change UART port setings in OMAP-L138/Common/include/device_uart.h. The SPI FLASH pins setting is exactly the same as settings on AM1808 SOM-M1. Also the DDR memory IC is the same as the one on Logic PD SOM and I think that I do not need to change anything in OMAP-L138/Common/src/device.c. Crystal frequency is 24MHz and also PLL settings is ok.

    I can't add AM1806 as "-flashType", is it Ok to put AM1808 as "-flashType" and change clock frequency of the processor to 300MHz?

    Now, if I'm right I have to build Serial Boot and Flash Loading Utility to apply the changes?

    My second question is about u-boot. Firstly where I can find u-boot to download?
    Second how to change the u-boot in accordance to my hardware?
    Third how to build u-boot to make binary file?

    I found a lot of about that on internet but everything is oriented to some EVM hardware and nowhere is explained how to customize the u-boot source for custom hardware.

    I would be grateful for some tutorial.

    Best regards Miroslav.