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.

DM365 flash tools utility

Dear DM365 Champs,

We are seeing below issue using flash tools. on a custom board designed based on DM365 EVM from Spectrum digital as start point.  Can you please have a look into the issue here?

Thanks & Best Regards

Feroz

I have hit upon an issue with booting up uboot on our board. I am using the sd card boot and flashing utility.  I am using dm3xx-sd-boot v6.1. I built the uboot from the dvsdk (u-boot-2010.12-rc2-psp03.01.01.39). I am using the codesourcery compiler recommended in the e2e pages which is dated 2009q1. When I boot up I get the following messages and then the board simply hangs:

 

DM36x initialization passed!

TI UBL Version: 1.50

Booting Catalog Boot Loader

BootMode = NAND

Starting NAND Copy...

Valid magicnum, 0xA1ACED66, found in block 0x00000019.

   DONE

Jumping to entry point at 0x81080000.

 

This is what I get when I run the SD card flashing utility:

 

SD card boot and flashing tool for DM355 and DM365

by Constantine Shulyupin http://www.LinuxDriver.co.il/

Online manual: http://wiki.davincidsp.com/index.php/SD_card_boot_and_flashing_tool_for_DM355_and_DM365

based on TI DM35x FlashAndBootUtils 1.10 SFT, TI flash_utils and SpectrumDigital evmdm355, evmdm365

Compiled on Sep 24 2012 at 18:13:53 with gcc 4.3.3

SYSTEM->DEVICE_ID=0x8B83E02F

&EMIFStart=0x02000000

nand->devID=0x000000F1 nand->dataBytesPerPage=2048 nand->pagesPerBlock=64 nand->numBlocks=1024 nand_size=134217728

sdcard_init

sdcard_read sdc_src=0x00001000 dst=0x80001044 len=0x00000200 dst + len=0x80001244 *data0=0xA1ACED00

flasher_data=0x000A7000  

sdcard_read sdc_src=0x000AF000 dst=0x80001044 len=0x00000200 dst + len=0x80001244 *data0=0x00010000

check_pattern_123        

1 - boot; 2 - install; 3 - erase flash, 4 - nand boot, 5 - test first 16MB of RAM

u - install ubl only, d - nand flash dump

sdcard_init

sdcard_read sdc_src=0x00001000 dst=0x80001248 len=0x00000200 dst + len=0x80001448 *data0=0xA1ACED00

flasher_data=0x000A7000  

sdcard_read sdc_src=0x000AF000 dst=0x80001248 len=0x00000200 dst + len=0x80001448 *data0=0x00010000

check_pattern_123         

sdcard_install

* Flashing UBL

sdcard_read sdc_src=0x000B7000 dst=0x8000144C len=0x00007800 dst + len=0x80008C4C *data0=0xEE190F31

Writing header data to Block 00000001, Offset 00020000

* Flashing u-boot

sdcard_read sdc_src=0x000C7000 dst=0x81080000 len=0x00028000 dst + len=0x810A8000 *data0=0xEA000012

Assuming GNU UBL UBL_GNU_ENTRY=0x00000100

Writing header data to Block 00000019, Offset 00320000

* Flashing kernel

sdcard_read sdc_src=0x00107000 dst=0x80700000 len=0x00300000 dst + len=0x80A00000 *data0=0x56190527

nand_write dst_nand=0x00400000 block_idx=0x00000020 len=0x00300000

* Flashing Root FS        

sdcard_read sdc_src=0x004A7000 dst=0x82000000 len=0x00400000 dst + len=0x82400000 *data0=0x08088B1F

nand_write dst_nand=0x00600000 block_idx=0x00000030 len=0x00400000

DONE                       

 

1 - boot; 2 - install; 3 - erase flash, 4 - nand boot, 5 - test first 16MB of RAM

u - install ubl only, d - nand flash dump

 

Am I missing something here?

  • Some updates:

    Another thing I noted is that if use the same images when booting with an SDCard with the same uboot image it works perfectly, but when I put it into the FLASH it hangs.

    Please note that NAND is similar to that on EVM but DDR are identical to the EVM. 0x81080000 is mapped to RAM.

     I tried the same thing on the EVM with both the NAND that came with the EVM and our NAND device with the exact same steps. It behaves the same way.

    Any clues?

    Best Regards

    Feroz

  • Hi Champs,

    We tried flashing Nand on DM365 EVM. However not successful. The DM365 boot and flash tools - SD Card based - seem to be successful. However when booted they are stuck upon jumping to the DDR2.

    Any clues?

    Dear customer,

    Please share the boot args....

    Best Regards

    Feroz