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.

AM5716: About ROM Code Data

Part Number: AM5716
Other Parts Discussed in Thread: AM5718

Hello Guys,

This is Milav Soni From Teq Diligent.

I have a Embedded Board which have "AM5716AABCDA" Processor.

In hardware we select Booting option like :- 

1st --> SD 

2nd --> eMMc

PMIC is also working fine and gives output as per power sequence defind in uP Datasheet.

We have also see 20Mhz Clock signal in Oscilloscope.

We have also see reset signal and it is in good voltage level.

But when i make sd card from "am57xx-evm-linux-rt-06.03.00.106.img" and See the log over UART3 console,

I didnot see any thing over there. 

so i want to know that what is data value for ROM Code, means how i can verify that my processor is booting very well or not?

is there any UART console for init ROM code for the same image and uP.?

so please help me to sort out this question.

+)(, +*,- -

  • Hello Guys,

    I have also see some result when i set boot configuration mode in UART Mode.

    When i connected UART console on PC, I see "JE!" data over there and it is continuous.

    So i want to confirm with you guys that is it correct? is MPU run well?

    Here i have send screen shot of uart console.

    Please help me to sort out this question.

    Thank you

  • Hi Milav,

    Is it a custom board? If yes How many instances of USB enumerate when you connect the USB cable?
    On AM571x-IDK board typically 2 instances come up and the u-boot/kernel traces come on the second instnaces.

    For ex: /dev/ttyUSB0 & /dev/ttyUSB1 enumerate on my setup and traces come up on /dev/ttyUSB1 instance.

    Just want to make sure that you are looking at the right instance on minicom/teraterm.

    Best Regards,
    Keerthy

  • Hello Keerthy,

    Thank You for your response.

    Yes it is custom Board.

    I have window PC and I have just connected UART3 of AM5716 to Windows PC through TTL to USB connector.

    I see log over teraterm.

    Thank You.

  • Hi Milav,

    Can you try to boot using the u-boot.img & MLO from the board-support/prebuilt-images
    from the SDK installation.

    Latest SDK: http://software-dl.ti.com/processor-sdk-linux/esd/AM57X/latest/index_FDS.html

    If you have any am57xx TI Board. You could try booting the bootloaders before trying the SD boot
    on the custom board.
    I just want to be sure that there are no issues with the software before suspecting hardware.

    I checked with the RoM expert and JE! is on UART console means its behaving as expected
    in the UART boot mode. So no issues with the MPU there.

    Best Regards,
    Keerthy

  • Hello Keerthy,

    Thank You for your response.

    I have "AM5716AABCDA" Chip mounted on custom board.

    Is doing any change in Linux Image if ARM Frequency is lower? Means I have 500 Mhz AM5716 Processor Part. 

    Is doing any change in Boot Files or MLO file for the same 500Mhz part?

    Please Help me.

     



    software-dl.ti.com/.../index_FDS.html

  • Milav,

    I did not understand your question. Have you done any changes in u-boot/Kernel?
    The default pre-built images should boot from SD card.

    - Keerthy

  • Keerthy

    No I have not any change in uboot/kernel.

    But I have questions.  Is doing any changes in kernel or u boot EVM image , if  processor frequency is changed from 1500 MHZ to 500 MHZ?

    If yes than what and where?

    Because I have mounted 500Mhz Am5716 processor in custom board.

    Note :-  I have AM5718 IDK TI board.

    I use am57xx-evm-linux-rt-06.02.00.106.img .

    When i configure 500 Mhz Frequency on AM5718 IDK than it is work and I see Boot Log.

    And also I bypass EEPROM in AM5718 IDK.

    In following code, changed is done for EEPROM bypass.
     
    
    int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr)
    
    {
    
                   int rc;
    
                   struct ti_am_eeprom am_ep;
    
                   struct ti_common_eeprom *ep;
    
     
    
                   ep = TI_EEPROM_DATA;
    
    #ifndef CONFIG_SPL_BUILD
    
                   if (ep->header == TI_EEPROM_HEADER_MAGIC)
    
                                  return 0; /* EEPROM has already been read */
    
    #endif
    
     
    
                   /* Initialize with a known bad marker for i2c fails.. */
    
                   ep->header = TI_DEAD_EEPROM_MAGIC;
    
                   ep->name[0] = 0x0;
    
                   ep->version[0] = 0x0;
    
                   ep->serial[0] = 0x0;
    
                   ep->config[0] = 0x0;
    
     
    
                   rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC,
    
                                                        sizeof(am_ep), (uint8_t *)&am_ep);
    
    //           if (rc)
    
    //                          return rc;
    
     
    
                   ep->header = am_ep.header;
    
    //           strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1);
    
                   strlcpy(ep->name, "AM571IDK", TI_EEPROM_HDR_NAME_LEN + 1);
    
                   ti_eeprom_string_cleanup(ep->name);
    
     
    
                   /* BeagleBone Green '1' eeprom, board_rev: 0x1a 0x00 0x00 0x00 */

    Please helping me out with this problem.

  • Keerthy

    I want to add some information at above message.

    I didn’t see any boot msg in UART 3 console when I use above mention evm image on my custom embedded board.

    My custom embedded board have AM5716 processor.

    But I see “JE!” On uart 3 console when I select boot mode uart in the same.

    So, conclusion is that , same image is run on AM5718 IDK with 500Mhz frequence configure & eeprom bypass, but same can not run in AM5716 based embedded board.

     

    Please help me out.

  • Hi Milav,

    Can you copy the attached files in zip folder to boot partition of SD card and try booting?
    These are latest release u-boot/spl images. Let me know if they work.

    - Keerthybin.tar

  • Hi Keerthy,

    Thanks for your response.

    I have tried, but still i am not receiving any boot log on UART 3 Tx Pin on my custom Board.

    I have tried same image on AM5718 IDK , in that it is run successful.

    Here i want to tell you one thing about Processor that we have mounted 500 Mhz processor part on custom board.

    so is this images run on my 500 mhz part AM5716?

    If No, than what should i change in image so i can see boot on my custom board?

  • Milav,

    Can you confirm that the am571-idk you are using has the same AM5716AABCDA

    processor that is embedded in your custom board. I believe you are able to boot the
    idk board?

    - Keerthy

  • Milav,

    I believe this is what is the change in bootloader/kernel you need to do for the part used by you. Please
    follow the instructions diligently:
    https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/How_to_Guides_Linux_Porting_Guide_AM571x_AM570x_Speed_Grades.html

    This should surely get you to uboot on 500M part.


    Best Regards,
    Keerthy