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 EVM: Uboot Not Installed

Other Parts Discussed in Thread: SEGGER

Hi Again,

It appears that my board does not have the bootloader installed. Another developer on my project mentioned that he received his boards in the same condition and that to the best of his knowledge it required Code Composer Studio and a Spectrum Digital JTAG unit to do this.

Is this true? Are there any other ways to program the bootloaders? I have a Segger JTAG but it may not be supported by Code Composer.

Thanks,

Ken

  • Ken,

    Unfortunately, at the present time, you do need CCS 3.3 and compatible JTAG emulator to re-flash DM365 EVM if you do not have u-boot flashed already.  If you have u-boot, then you can use it to flash other software components including new u-boot. 

    Alternatively, I hear some customers have sent their EVM to Spectrum Digital and they have reflashed it for them.

  • I appear to be in the same boat.  Is there no way to use the UART boot loader to load UBOOT?

  • Hi Guys,

     

    This is our first project with TI, we used to do all our work with MicroChip, and I'm having the same issue.

    I then bought the XDS510 JTAG to flash the board, but now get the following error when loading the flash utility to DDR:

    Data verification failed at address 0x8E000000
    Please verify target memory and memory map

    My project is extremely urgent for my company and I can't really afford these delays.

    Can anybody please assist me in explaining why I'm getting this error message? Is there a setting that I need to set, which will allow write access to DDR from the JTAG?

    The final project is a video media system that must boot of USB and run a linux installation from a USB mass-storage device.

     

    Can anybody tell me if I actually need to use an onboard flash in my final design? Can't I just load all the required boot data on a USB device and boot from there?

    I assume that the DM365 have the required USB mass storage drivers on board in the silicon.

     

    Also, the UART message that is wrong on the UART boot function with the DM365 is not good.  Is this due to the baud rate on the DM365 EVM being incorrect?

     

    Thank you very much.

     

    Louis Putter

     

  • We are working on porting dm355 SD card boot and flashing utility to dm356. It will be ready soon.

  • I'm working on the same thing too, just to learn how to do it... :)

    Now I have an UBL that can boot from SD and I am working on a "super UBL" that can also act as a flasher utility and can prepare a NAND flash for boot. I also have done an SD/MMC preparation tool that can format an SD card for boot.

    Basically, I am redoing the same thing Constantine has done for DM355, for educational purpose.

  • Hello Marco,

     

    Could I possibly (big please) down load what you've done, and use that as the basis of my project going forward?

    I've recompiled the u-boot for DM365 and the kernel yesterday. I plan to format a SD as follows:

    1.) 2 partitions

    2.) 1st partion being a 30MB FAT16, with files uboot.bin and uImage

    3.) 2nd partition being ext2, with a fully functional monivista

    Will this work, and is it very much down the line with what you've done?

    Can you see the boot messages in a terminal connected to the UART and at what baud rate? Is it 115200?

     

    Then I shouldn't need a flash chip on my final design, as all data will be stored on the SD card.

    The reason why I don't what a flash chip, but radar a SD card is for future field upgrades.

     

    The idea is to boot of SD, then mount a USB mass storage device, which will contain all the video data.

     

    Thank you

  • Hi Louis,

    I think someone has posted a link where you can download the image to boot from SD. The image is "preformatted" and already contains U-Boot so you cannot use it (as it is) to do what you suggest. Yes, when UBL starts it enables the serial port so you see boot messages on the UART.

    What you ask can more or less be done with current version I'm working on, but I'm not sure if I'll publish it. The problem is that U-Boot does not contain the drivers for SD/MMC on DM365, so at the moment it is not able to read uImage directly from SD. There is instead a trick that allows to do what you ask: UBL can read in memory U-Boot and kernel image, then can start U-Boot from memory and it will execute the kernel from memory too. This will basically allow a complete boot of the Kernel from SD.

    Sadly there is a limit to this approach: UBL cannot be bigger than 30Kb so there is no space for FAT support. This means that the only choice is to load U-Boot and uImage from linear space on SD. You can still put the files in a FAT partition but you must be sure that the blocks are contiguous, so they must be "prepared" correctly on the FAT file system. Also the SD must be formatted in a specific way. While having the files on a FAT file system is nice if you have to update the files, FAT is not really involved in the boot process.

    Constantine has already done a bootable SD on DM355 using this trick, using FAT to contain U-Boot and uImage, but from what I understand FAT is not really used in the boot process. I know he's working on the same thing for DM365.

    It would instead be great to have SD support in U-Boot. Should not be really difficult but takes time.

     

     

  • Marco Braga said:

    Constantine has already done a bootable SD on DM355 using this trick, using FAT to contain U-Boot and uImage, but from what I understand FAT is not really used in the boot process. I know he's working on the same thing for DM365.

    Right. I am working on flashing DM365 from FAT.

  • Any idea why magic numbers have been changed? DM35X_STANDARD uses 0xA1BCEDxx while DM365 uses 0xA1ACERxx

  • Please let me know where I can download the DM365 SD boot utlity.

    Thanks

     

    Shlomo Kut

     

  • Shlomo Kut said:

    Please let me know where I can download the DM365 SD boot utlity.

    Thanks

    Shlomo Kut

    6th release of SD Card Boot and Flashing Tool for DM355 and DM365

     

  • I had a similar problem of DDR error while loading program.

    TO overcome this, after connecting the board,  try doing Debug-Advanced resets-system reset .

    Then try. This should work

  • Data verification failed at address 0x8E000000.
    Please verity target memory and memory map

    The same question!!

    Why?

  • yes , the same problem to my customer board .help!!!!!!!!!!!!!

  • JIm,

    If you get the BOOTME message when the switches are set to UART boot, then you can use the serial flash write from Linux to write the NAND.  The other option is to use the SD Flash utility.

    John A

  • >> The problem is that U-Boot does not contain the drivers for SD/MMC on DM365, so at the moment it is not able to read uImage directly from SD.

    Does this still actuall for u-boot v2010.12-rc2 ?

    I need FAT/SD support in u-boot.