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.

TMS320DM6467T booting problem

hello

i have some issues with my board dm6467t, i use teraterm on windows xp or on linux minicom using a virtual machine on VMWare, and booted the board using NAND flash, and on the command console of the serial communication, i typed 'nand erase' in an attempt to restore uboot to its original values, but now it looks like i erased it from the NAND, and now when y try to boot it, on the console only displays BOOTME, and now i want to know how to recover it, or to loading it again, anyone who can help?

  • Alan,

    Looks like you erased u-boot in the NAND. You need to reprogram the u-boot using the CCS. Required Tools and Instructions are available DVSDK3.x wiki:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/index_FDS.html

    In particular look at following items at above wiki to fix your problem.

    "PSP_03.02_Release_Notes" (PSP Release Notes for DM6467/DM6467T)

    "board-utils-dm646x.tar.gz" (Images: Serial Flash, NAND Writer and UBL Utilities for DM6467T)

    Regards, Srirami.

  • I followed the steps on the wiki you send me, but i get an error, and i cant move on, im here

    http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment

    specificly in this part

    Set the environment variables

    $ . arago/setenv

    that doenst tun in the terminal, i thought it wold be more like this ./arago/setenv, y tried that too, and nothing happened, but qhen i get to tipe the following command
    bitbake arago-base-image, first, i get a permission denied error, when i add it sudo or log as root, the following error appear



    well, i figure that if i finished this i can do whats on this page
    http://processors.wiki.ti.com/index.php/DM6467_EVM_Installation#Flashing_UBL_and_U-Boot_to_NAND_using_Serial_Flasher

    specially the topic "Flashing UBL to NAND", if you can help i'd really appreciate it.
  • well, i gave up on linux and have find a more easiest way for lading uboot into my nand flash,

    http://processors.wiki.ti.com/index.php/DM6467_EVM_Installation

    In the section Flashing UBL and U-Boot to NAND using Serial Flasher, here it says i can load wwith the command prompt of windows, if a hace frammework 2.0, wich i have, but the problem its that there are two files i cant find in the web they are davinciUBLais.bin and u-boot.bin, u-boot.bin i dont think its a problem, because i have another file named dm6467t_495_ubl.bin, and i think i can replace it with it, but i cant find davinciUBLais.bin, if anyone know where to donwload this, id really appreciate it

  • Are you using DM6467 EVM or DM6467T EVM? The files are different for these two different processors.

    Regards, Srirami.

  • I'm using dm6467t, sorry for not specifying, i'm following the instructions i told you in my last replay, and now i know i skipped a lot of steps, im currently in the

    Prerequisites for Build

    http://processors.wiki.ti.com/index.php/DM6467_EVM_Installation

    i have alredy downloaded u-boot-git-snapshot.tar.gz

    im stuck in the CROSS_COMPILE variable, i dont know where to modify it, it says that i should change it in the bash, dont know where that is, and put

    "export CROSS_COMPILE=arm-none-linux-gnueabi-"

    I remember done something similar before, i changed the file .bashrc in the home directory,
    but when i follow the next instructions, like make, i doesnt create me the uboot.bin, instead
     show me the following errors

    administrator@administrator:~/git$ make davinci_dm6467_evm_config
    Configuring for davinci_dm6467_evm board...
    administrator@administrator:~/git$ make
    /bin/bash: arm-linux-gcc: command not found
    Generating include/autoconf.mk
    /bin/bash: line 3: arm-linux-gcc: command not found
    Generating include/autoconf.mk.dep
    /bin/bash: line 3: arm-linux-gcc: command not found
    /bin/bash: arm-linux-gcc: command not found
    for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done
    make[1]: arm-linux-gcc: Command not found
    make[1]: Entering directory `/home/administrator/git/tools'
    make[1]: Leaving directory `/home/administrator/git/tools'
    make[1]: arm-linux-gcc: Command not found
    make[1]: Entering directory `/home/administrator/git/tools'
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/administrator/git/tools'
    make[1]: arm-linux-gcc: Command not found
    make[1]: Entering directory `/home/administrator/git/examples/standalone'
    /bin/sh: arm-linux-gcc: not found
    dirname: missing operand
    Try `dirname --help' for more information.
    /bin/sh: arm-linux-gcc: not found
    dirname: missing operand
    Try `dirname --help' for more information.
    /bin/sh: arm-linux-gcc: not found
    /bin/sh: arm-linux-gcc: not found
    make[1]: *** No rule to make target `.depend', needed by `_depend'. Stop.
    make[1]: Leaving directory `/home/administrator/git/examples/standalone'
    make[1]: arm-linux-gcc: Command not found
    make[1]: Entering directory `/home/administrator/git/examples/api'
    /bin/sh: arm-linux-gcc: not found
    dirname: missing operand
    Try `dirname --help' for more information.
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/administrator/git/examples/api'
    make -C tools all
    make[1]: arm-linux-gcc: Command not found
    make[1]: Entering directory `/home/administrator/git/tools'
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o mkimage.o /home/administrator/git/tools/mkimage.c
    gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o crc32.o /home/administrator/git/lib_generic/crc32.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o image.o /home/administrator/git/common/image.c
    gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o md5.o /home/administrator/git/lib_generic/md5.c
    gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o sha1.o /home/administrator/git/lib_generic/sha1.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o fdt.o /home/administrator/git/libfdt/fdt.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o fdt_ro.o /home/administrator/git/libfdt/fdt_ro.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o fdt_rw.o /home/administrator/git/libfdt/fdt_rw.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o fdt_strerror.o /home/administrator/git/libfdt/fdt_strerror.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o fdt_wip.o /home/administrator/git/libfdt/fdt_wip.c
    gcc -g -Wall -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o os_support.o /home/administrator/git/tools/os_support.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/administrator/git/include -idirafter /home/administrator/git/include2 -idirafter /home/administrator/git/include -I /home/administrator/git/libfdt -I /home/administrator/git/tools -DTEXT_BASE=0x81080000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -o mkimage mkimage.o crc32.o image.o md5.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o os_support.o
    strip mkimage
    make[1]: Leaving directory `/home/administrator/git/tools'
    make -C examples/standalone all
    make[1]: arm-linux-gcc: Command not found
    make[1]: Entering directory `/home/administrator/git/examples/standalone'
    /bin/sh: arm-linux-gcc: not found
    dirname: missing operand
    Try `dirname --help' for more information.
    /bin/sh: arm-linux-gcc: not found
    dirname: missing operand
    Try `dirname --help' for more information.
    arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x81080000 -I/home/administrator/git/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv5te -march=armv5te -Wall -Wstrict-prototypes -o hello_world.o hello_world.c -c
    make[1]: arm-linux-gcc: Command not found
    make[1]: *** [hello_world.o] Error 127
    make[1]: Leaving directory `/home/administrator/git/examples/standalone'
    make: *** [examples/standalone] Error 2

    before, it also says that i should go to the uboot root directory, i supossed, it was the git
    directory wich was created after i uncompressed the u-boot-dm646x.tar.gz, so... yeah,
    i know that i have a lot of doubts, sorry, if you could help, id really appreciate it

     

  • well, i managed to buil uboot.bin, how, i just set the crooscompiler variable in the file .bashrc in the home directory, and added in this variable, the path of my compiler, in my case were export CROSS_COMPILE=/opt/arm-2009ql/arm-none-gnuebi/bin, its not exactly how i put it, but its pretty similar, in the following link are the steps i used to do that

    http://processors.wiki.ti.com/index.php/DM6467_EVM_Installation#Flashing_UBL_to_NAND

    i was stucked in Building U-Boot, but now i finally created the image, and now im in the step Flashing UBL and U-Boot to NAND using Serial Flasher, because i succesfully created the uboot.bin and davinciUBLais.bin, and alredy have the sfh_DM646x.exe, this was a tool that comed with the board-utilities-dm646x.rar. Ok, so i typed sfh_DM646x.exe -p COM1 -nandflash  -UBLStartAddr 0x20 davinciUBLais.bin u-boot.bin
    in wondows command promt and after it finishes it displays only BOOTME at the end, i closed the prompt and now switched SW3[0-3]:1110, then opened terater, and connected it via UART mode, and the following message displays in the window


    Booting PSP Boot Loader

    Starting NAND Copy

    NAND Boot failed. Starting UART
     BOOTPSP

  • well, i loaded it again, i typed sfh_DM646x.exe -p COM1 -nandflash  -UBLStartAddr 0x20 davinciUBLais.bin u-boot.bin, in the command prompt again, hoping things will go well this time, this time it didnt get me the bootme message in the prompt, in fact, it said that it was succesfully write, but qhen i change to nand boot mode, in tereterm it displays another message, trying to load but never advancing, i got a print of it

    and it stays there, dont know the problem, ill kepp looking for a solution, but if anyone know, my hears are open

  • Do you have Code Composer Studio and emulator to connect to board? If so, I would recommend following instructions below to flash it.
    http://processors.wiki.ti.com/index.php/DM6467_EVM_Installation#Flashing_UBL_and.2For_U-Boot

    Prateek

     

  • thanks pal, for the reply, actually the page you sent me, was the one i was following, and the problems i get were from getting the steps done

    Yes, i have code composer, but cant configure the target to boot from UART mode, the only emulator i know is the USB emulator, and i think thats to work with the JTAG, and i dont have it, in the wiki they says i can connect it tru serial mode, but doenst say how, and i gave up trying, because im not gonna use code composer to work with the board.

    thankfully i finally get to connect to the evm, thanks anyway for th reply, this are the steps i followed to recover uboot

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/t/132557.aspx