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.

Cannot Boot DM8168

Hi,

     I have try boot DM8168 custom board,and encouter some problem as illustration:

   

   In this condition, may I have to confirm that DDR can work regularly? DATA BUS rout is different between coustom board and EVM.If this condition could not caused by DDR,what the other condition? I'm hurry to heard from you.

 

Best wish

Chen

  • Hi Chen,

    What is the SDK that you are using? Can you try with EZSDK 5.05 and provide full log file (including the u-boot messages to the console)?

    From what I can see in your screen shot, the u-boot stage is passed correctly, and the process stuck at the Linux Kernel uncompressing and booting, the next expected message is "Uncompressing Linux... done, booting the kernel."

    As you need the DDR memory initialized and working, to be able to load and run the second stage bootloader (u-boot), I can assume that the DDR can work correctly (as you pass the u-boot stage and stuck in the Linux kernel stage). This is what we have in our wiki http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot

    On TI81XX platform, the ROM code serves as the first stage bootloader while the U-Boot serves as the 2nd stage bootloader. The bootloader does the bare minimum configuration needed to boot the kernel and in the process relocates itself to DDR.

    The first stage (or rather the 2nd stage if the ROM code is also considered) is built using a minimal configuration and has an embedded ENV. The purpose of this stage is to initialize the necessary peripherals, especially DDR, so that a full fledged U-Boot can be transferred to DDR from NAND/SPI/SD/UART/NOR and then control passed to it.

    I can propose you to download and install the latest EZSDK (5.05) and create a bootable MMC/SD card, following the instruction in:

    ti-ezsdk_dm816x-evm_5_05_01_04/docs/DM816x_EZ_Software_Developers_Guide.pdf

    6.7 How to create an SD card

    Regards,

    Pavel

  • Chen,

    Try the following bootargs. This is suggested by daniel

    earlyprintk debug ignore_loglevel log_buf_len=10M print_fatal_signals=1 LOGLEVEL=8

  • Chen,

    This could happens if the console argument passed on the bootargs is not matching with the UART console used in the customer board. DM8168 EVM uses "console=ttyO2" as the argument and this could be different on the customer board.

    The following wiki will help you on this http://processors.wiki.ti.com/index.php/FAQ_for_DaVinci_Linux

    Regards,

    Deepu Raj

  • Hi folks,

    I am newbie with de DM6818, and I have a custom board. I copy and create de u-boot in a SD card, but the custom board can't read any file from de SD. Why I can't boot the system from de SD?

    Regards,

    Iñigo Oyarbide

  • Inigo,

    Please run the mksdboot.sh script to make your SD card bootable. Refer to the {EZSDK}/docs/DM816x_EZ_Software_Developers_Guide.pdf for more info.

    Make sure also your boot mode pins are configured for SD boot.

    BR
    Pavel

  • Thanks Pavel,

    I have de Boot mode switch configured properly. The device detects the SD card, but still it cannot access to both partitions created (boot & filesystem). The device connections and signals are correct but this problem persist.

    Is it probably that the u-boot I created (with the DM816x EZ Software Developers Guide 6.7 (create SD card)) is not correct or is corrupted?

    Thanks in advance,

    BR

    Iñigo


  • Hi Inigo,

    Yes, it might be corrupted. Can you try run the mksdboot.sh script over your SD card one more time. Please also attach full log of the console output when you try to boot your device.

    BR
    Pavel

  • Hi Pavel,

    I read the block-diagram of our custom DM8168 board, and switch (only have resistors) are in SD boot mode.

    Also, I re-build the SD car with the mksdboot.sh script, nevertheless the system could not access to both partitions of the SD card.

    BR,

    Inigo

  • Inigo,

    What is the size of your SD card? Note that the mksdboot.sh script supports up to 8GB SD card size.

    You can also try with different SD card.

    Regards,
    Pavel

  • Pavel,

    Is a 8GB SD card? The first 5 times I boot from the SD was with UBuntu 10.04 LTS, but know, we have the versión 11.10 LTS.

    Also, the custom board has 2x UART (UART0 & UART1). I put by default UART1, instead of UART2 in the EVM. But in the console nothing happens. All the connections are OK in the board, the currents and voltage are perfect and the SD pins are ok.

    The SD card is copied Ok, because in other PC's the SD card is read perfectly with both partitons created.

    Regards,

    Inigo

  • Pavel,

    Is a 8GB SD card. The first 5 times I boot from the SD was with UBuntu 10.04 LTS, but know, we have the versión 11.10 LTS.

    Also, the custom board has 2x UART (UART0 & UART1). I put by default UART1, instead of UART2 in the EVM. But in the console nothing happens.

    All the connections are OK in the board, the currents and voltage are perfect and the SD pins are ok. The SD card is copied Ok, because in other PC's the SD card is read perfectly with both partitons created.

    Regards,

    Inigo

  • Pavel,

    instead of booting from the SD Card, can I use the JTAG connector via CCSv5? What I need to configure and what steps I need to do?

    Thanks,

    Regards, 

    inigo

  • Hi Inigo,

    Yes, you can use JTAG with CCS, instead of SD card. You need to load GEL file instead of the u-boot files. Refer to the below links for more info:

    https://processors.wiki.ti.com/index.php/AM389x_C6A816x_DM816x_Software_Design_Guide

    https://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5

    You can ask CCS related question in our dedicated forum:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81.aspx

    Regards,
    Pavel

  • Hi Pavel,

    I think on Monday we are going to receive a EVM, so I could test all your advices, and then, test it on the custom board and compare, so I could do more concrete questions.

    Regards,

    Inigo