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.

About OMAP4470 boot from emmc or sd card

Hi TI

Our custom board have two of version,A and B. With the version of B is replaced different emmc and ram of EDB8164B3PF-1D-F, but When I boot the version of B, it is a message appered repeated below. I can't read x-loader.

Baud Rate:115200
 
                                                                                 輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                            輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                   輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                             輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                       輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                                                 輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                        輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                  輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                            輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                   輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                             輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                       輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                                                 輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                        輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                  輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                            輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                   輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                             輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                       輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                                                 輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                        輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                  輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                            輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                   輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                             輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                       輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                                                 輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                        輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                  輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                                            輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                   輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                             輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p
                                                                                                       輕軵D趖?5?MsP羇m===b H6?粢"k崛

I have to clarify what this happen is about hardware issue or software issue? if this is software issue, where is the most possible going wrong? Thank you very much.

  • Hi Bernie,

    With boot configuration is the following output ( "輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙)?p") observed?

    It looks like a word outputted from the SOC but is containing damaged data. Check serial sys-boot configuration to see what the terminal outputs in a waiting state.

    Regards,

    Boyko

  • sorry, I don't know your means. You means that sys-boot can be configured by software?

    I summarize now we enconunterd :

          Hardware engineer configure SYSBOOT: usb mode, uart mode, mmc1 mode, mmc2 mode in order. Now we are in uart mode, so  輕軵D趖?5?MsP羇m===b H6?粢"k崛Dp麙 is appeared, and then we configure SYSBOOT mmc1 mode to the first mode, there are nothing outputed in screen. Then we check all of signals from cpu to sd card, it is correct. We want to boot from sd card. Could you tell me more detail about this issue. Thank you.

  • Hi Bernie,

     1 Have you considered the following recommendations from the  OMAP4470 TRM:

     - the maximum size for each DDR supported is 1 GB.

      The two EMIFs allow:
    • Connection between the device and LPDDR2-SDRAM memories. Support two CSs per EMIF
    controller.
    • PHY is the DDR physical interface, which implements data-rate conversion in compliance with
    LPDDR2 JEDEC requirements.
    • Memory density up to 8 Gbits supported per CS. Total address space is limited to 2GB = 16 Gbits

     2. Have you tried changing the memory settings in your x-loader (see http://e2e.ti.com/support/omap/f/849/t/233977.aspx) :
      - In the x-loader, look at the struct defined in /cpu/omap4/sdram_elpida.c, which is assigned based on the OMAP type in the function __ddr_init().  You will need to change this to use the correct DDR struct (see the struct used for OMAP4470).

    3. Micron are providing the following document, which describes the mobile ddr2 tuning (including thermal considerations): http://www.micron.com/~/media/Documents/Products/Technical%20Note/DRAM/tn4612.pdf

    4. If you contact your TI representative, there is an application note available that describes LPDDR2 settings for OMAP in detail.

    Regards,

    Boyko

  • We find the problem, because the cpu is HS device, so we use prebuild HS-MLO and our u-boot.bin and kernel

    but it is stop and the message appeared below

    "Uncompressing Linux... done, booting the kernel"

    If we use prebuild kernel from  http://omappedia.org/wiki/Android:_Working_with_pre-built_binaries#Blaze_Tablet

    It can into kernel. Is it possible that our device is HS device so that our kernel can not be uncompress? Thank you.

  • Hi Bernie,

    Check this article:

    http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux

    to see which of the three might be the cause for your problem. I believe it is because of wrong boot argument not passed to the kernel so when it  loads it doesn't print to the correct UART.

    Regards,

    Boyko

  • HI Boyko

    We finally find that problem that is ram setting in board-44xx-tablet.c then we can uncompress kernel now.

    I have another question about the message of  omapdss DISPC error: mgr or device is NULL, and I found the thread on e2e http://e2e.ti.com/support/omap/f/849/p/292061/1029848.aspx talking about this error. Our device is set only HDMI output, so I add command omapdss.def_disp=hdmi into  android_omap_defconfig.

    so what the first thing must I need to do is revising 

         #define DISPC_CONFIG            0x0144  /* in dispc.h*/ right?

    and

    #define DISPC_CONTROL            0x0040 must in stall mode?

    Thank you.

    Bernie

    BestRegards