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.

am3352 custom board booting issue

Other Parts Discussed in Thread: AM3352

Hi All,

we have am3352 custom board.But we compiled kernel and u-boot with ti yocto setup.and also latest sdk for ti-processors v3.0.0.0xx source.

But our custom board ddr is MT41J128M16JT-125,micro sdcard  also same as am335x-evm board,uart0 is evm debug uart.  In our Board debug uart connected uarto test points given.those points only we connected RX,Tx pins .But we cant able to get logs on minicom.

we checked processor to mmc0 both evm and custom board .But in custom board while u-boot and kernel loading time we observe mmc data on cro.ie is also milli or nano seconds.In custom board we cant get that issue.

pmic also same compare to evm and custom board.

Is it necessary to add any support in u-boot for custom board? we need to boot the custom board.

can you any body face this issue.please explain whats the problem.

Thanks & Regards

veeranjaneyulu

  • Hi,

    You need to program the correct EMIF/DDR values in u-boot, in order to get your board to boot.

    You could use the following wiki + the ddr configuration tool in it:

    processors.wiki.ti.com/.../AM335x_EMIF_Configuration_tips

    in order to obtain the correct values that need to be configured in arch/arm/cpu/armv7/am33xx/ddr.c, arch/arm/cpu/armv7/am33xx/emif4.c & board/ti/am335x/board.c files.

    Best Regards,
    Yordan
  • In addition to Yordan suggestions, if you have debugger, then you can connect it to your custom board and try to run some AM335x based starterware examples on your board.
    Also to validate your DDR, try to run a simple helloworld on your DDR.
    For that, you may need to modify the gel file with your new EMIF settings as Yordan pointed out.
  • The CPU has an internal bootloader that looks for the SD card. If no SD card is found, it sends CCCCC on the serial port. If you don't even see the CCCCC, check that the CPU is even starting properly: power, DDR activity, etc. Titus also suggested a debugger. If the board has the jtag connector, use CCS to connect to the CPU. The starterware contains scripts that can R/W memory. Just select the script in CCS. The scripts are text files, so you can modify these to suit your board.

    If you think the CPU is up and running, check the serial port and make sure you see CCCCC.

    After you see CCCCC, insert your SD card with uboot. The bootloader should detect the card and find uboot. If it doesn't, check the R/W enable/protect pins to make sure that the SD card access is ok.

  • thanks for your reply.

    I got CCCC message on console with out inserting the sdcard into the sd slot .Then copied MLO and u-boot.img into the sdcard boot partition.But are unable to get logs on console even CCC also not came when we insert sdcard into the sdcard slot.

    But same image sdcard inserted am335x evm ie booting.In our custom board they given mmc wp pin .how to configure mmc0_wp pin u-boot and how to set mmc0_cd pins in u-boot.But we are using same ddr for both evm and custom .I think no need to configure ddr setting values right? Actually evm schematics not given mmc0_wp.In our custom board schematics mmc0_wp pin given.

    so can you any body help me.