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.

boot problem on am335

Other Parts Discussed in Thread: AM3359

hi

I design a new board with am3359 core, it similar to evm board just it has DDR3 memory &

I want booting  the ti-sdk-am335-evm-05.05.00.00 on board but it just boots some line.

I define ID memory (magic, name, version & config) similar evm board and it knowns them but doesn't continue to end.

please help me

  • You haven't provided enough information. Please post what Linux version you are using, where are you booting from. Also capture a boot log and attach it to your post.
  • Thanks for answer

    my linux is Ubuntu 10.04. I boot from micro SD and it just comments:

    U-Boot SPL 2011.09-dirty (Dec 16 2013 - 10:52:49)                               
    Texas Instruments Revision detection unimplemented                              
    No daughter card present

    ////////////////////

    I have the evm board with features:

    A33515BB1.4A46124P160024SKU#01FFFFFFFFFFFFFFFFFFFFFFFFFF??????????????????
    ??

    i changed codes of evm.c and  wrote above information on my eeprom in new board

    when i turn on the board it check the ID memory and pasted it.

    also i put some commands (printf("xxxx")) between evm.c code. that it shown  stope on  gpmc_init() function and boot failed  !!!!!!!!!!

  • Hi,

    You don't actually need an EEPROM for device ID detection for a custom board. The EEPROM ID check is implemented in the TI SDK in order to recognize and use the different TI AM335x boards with the same board file. For your custom board you don't need an EEPROM check for this as you only have one board.

    Please try to disable all the EEPROM-dependent code inside the U-Boot and the kernel board file and do the DDR3 initialization without it.

    P.S.
    Please also note that the version of the TI SDK you are using is very old and I would suggest you download and use the latest version (06.00.00.00).

    Best regards,
    Miroslav

  • Thanks dear Miroslav

    I disabled eeprom code but i didn't have new occurred !!!!

    also i downloaded  the ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin of wiki.ti.com

    and installed but it didn't install completely !!!!!!!!!!!

  • Thanks dear Miroslav

    I disabled eeprom code but i didn't have new occurred !!!!

    also i downloaded  the ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin of wiki.ti.com

    and installed but it didn't install completely !!!!!!!!!!!

    can you tell me correct link for doanload

  • Hi,

    The correct link to download the TI SDK is this: http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html

    Please provide a log of the error during the SDK installation, as an attachment.

    Also please let me know if the boot problem was solved after you disabled the EEPROM code.

    Best regards,
    Miroslav

  • Hi,

    I downloaded install file and when i was installing, i received below command. (i cant insert image)

    1.environment setup script requirement

    To be able to use some of the features of the ti-sdk-am335x-evm 06.00.00.00 the user must run a script  setup.sh after the installer completes. (Back Next Cancel)

    2.InstallJammer Wizard Complete

    the installjammer wizard has successfully installed the ti-sdk-am335x-avm. Click finish to exit the wizard.

    it didn't install completely!!!!!!!!!

  • So did you run the setup.sh script after the setup completed?

    The setup.sh script is located inside the SDK installation folder.

    Best regards,
    Miroslav

  • hi
    dear Miroslav
    after install it created Bin  & Board-support folder. i don't find the Setup.sh to continue install

  • Hi,

    This is how the directory structure should look like after the SDK installation: http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer%E2%80%99s_Guide#SDK_Directory_Structure_Overview

    If this is not the case, then something went wrong. Perhaps you don't have enough disk space?

    Please provide logs with any error messages during SDK installation.

    Best regards,
    Miroslav

  • Thanks

    dear Miroslav

    it has been solved :)

    my new problem of boot is below:

    ///////////////////////////////////////

    U-Boot SPL 2011.09-dirty (Dec 18 2013 - 14:18:37)                               
    Texas Instruments Revision detection unimplemented                              
    OMAP SD/MMC: 0                                                                  
    reading u-boot.img                                                              
    reading u-boot.img                                                              
                                                                                    
                                                                                    
    U-Boot 2011.09-dirty (Dec 16 2013 - 16:27:09)                                   
                                                                                    
    I2C:   ready                                                                    
    DRAM:  256 MiB                                                                  
    WARNING: Caches not enabled                                                     
    NAND:  HW ECC Hamming Code selected                                             
    No NAND device found!!!                                                         
    0 MiB                                                                           
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
    *** Warning - readenv() failed, using default environment                       
                                                                                    
    Net:   cpsw                                                                     
    Hit any key to stop autoboot:  0                                                
    SD/MMC found on device 0                                                        
    reading uEnv.txt                                                                
                                                                                    
    ** Unable to read "uEnv.txt" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    3087664 bytes read                                                              
    ## Booting kernel from Legacy Image at 80007fc0 ...                             
       Image Name:   Linux-3.2.0                                                    
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    3087600 Bytes = 2.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       XIP Kernel Image ... OK                                                      
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Uncompressing Linux...

    //////////////////

     it can't continue booting and reboot again !!!!!!!!!!!!!!!!!!!!!!!!!!

  • hi Biser
    do i tune ddr3 whitout JTAG Emulator?
    best regards

  • No, this is not possible.
  • i have the XDS510USB emulatore with 2*7 pin and  the JTAG of am335x is 2*10 pin.

    how can i use the XDS510USB for debug?

    best regards.

  • You don't need all 20 pins.Just connect to pins 1-14.

  • hi ,

    i connect the xds510 usb to pc and the ccsv5.1 khonws it:

    ** Checking for available USB devices on valid ports.

         $$ XDS510USB connected on:
         $$ EmuPortAddr=0x510
         $$ EmuSerialNumber=S415335745120422

    but
    when connect the xds510 usb to target (am335x evm-sk)

    and reset & test it, i have:

    ** Emulator Scan Test
         ERROR -- XDS510USB Test Failed
         ERROR -- Check power to your emulator/eZdsp
         ERROR -- Then check your port address
         ERROR -- Cannot find necessary emulation driver file(s)
         ERROR -- Cannot find necessary emulation driver file(s)

    can you help me?

  • You have selected the am335x evm-sk as your target. This normally connects through USB, not through JTAG header.

  • thanks

    but i want to use the xds510 for my new board that the 20pin jtag connects to am335x directly,

    and i have same commands:

    ** Emulator Scan Test
         ERROR -- XDS510USB Test Failed
         ERROR -- Check power to your emulator/eZdsp
         ERROR -- Then check your port address
         ERROR -- Cannot find necessary emulation driver file(s)
         ERROR -- Cannot find necessary emulation driver file(s)

    i just check correctly of xds510  with evm-sk board

    finally i want to tuning the DDR3
    .

  • Try posting this in the CCS forum: http://e2e.ti.com/support/development_tools/code_composer_studio/default.aspx