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.

Cannot get u-boot prompt from DM8168 Hybrid DVR from UD Works

Hello,
I received the DM8168 Hybrid DVR from UD Works before 1 week and was following the DM8168_DVR_RDK installation guide to get the RDK demo applications running.However, during the updating Flashing U-Boot from U-Boot using Nand boot, I got interrupted, I have configured the boot mode configuration switch (SW1) for NAND boot mode with SW1[10:1] ---> 0000010010 and given TFTP Serverip as 192.168.1.100 and DVR IP Address as using DHCP command which is in a lan connection given automatically ip address as 192.168.2.23.I suspect the network domain is changed using dhcp command but my linux host machine(ubuntu 10.04) and DVR Should be in same Network domain as given in the installation guide.After that i have given "nand scrub" command because i want to program UBIFS image in further steps. Then due to some reason i have closed the U-boot prompt by closing the terminal manually.When i again setup minicom through serial port and nothing is output on the serial port when powered on.I  have checked the serial port and minicom and they are working.I also checked the voltages at SW1 and they are correct. I have checked the waveform using oscilloscope at the input pin (Pin 11) of U29 (RS232 level converter) and found no waveform. So i assume there is no data coming from the Netra controller.Finally i suspect that no boot loader running/ corrupted in the DVR.

Any one please tell me correct solution to this issue as soon as possible and thanks in advance.

Thanks & Regards,

B.S.Sarath.

  • Hi Sarath,

    If NAND flash is corrupted and can not boot from it, you should use one of the other possible boot source to load the u-boot prompt. Then you can flash your NAND chip and boot from NAND.

    The other possible boot sources are JTAG, SD/SDIO card, SPI, NOR, EMAC. For more info refer to the DM816x TRM, chapter 25 ROM Code and below wiki page:

    processors.wiki.ti.com/.../TI81XX_PSP_UBOOT_User_Guide
    processors.wiki.ti.com/.../TI81XX_PSP_UBOOT_User_Guide
    processors.wiki.ti.com/.../TI81XX_PSP_UBOOT_User_Guide

    Regards,
    Pavel
  • Hi,
    I want to know is there any procedure for using SD/SDIO Card as a boot source for DM8168_DVR_RDK without using any EVM's.I also want to know there is any factory reset option.


    Thanks & Regards,
    B.S.Sarath.
  • Hi Sarath,

    For using SD card as a boot option (on EVM, DVR board or custom board) you should use the pre-built MLO and u-boot.bin or create you own with the below set of commands:

    $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
    $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm ti8168_evm_min_sd
    $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm u-boot.ti

    $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
    $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm ti8168_evm_config_sd
    $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm u-boot.ti

    The you should create bootable SD card (if you do not have already one), see the below user guide for example:
    ti-ezsdk_dm816x-evm_5_05_02_00/docs/DM816x_EZ_Software_Developers_Guide.pdf, section 6.7 How to create an SD card

    Then you should place your MLO (build from the ti8168_evm_min_sd) and u-boot.bin (build from the ti8168_evm_config_sd) in the BOOT directory of your SD card. Then configure the sysboot pins for SD boot, plug the SD card and power on the board.

    These instructions are generic. Regarding DVR RDK specific support, please refer to the below e2e post:
    e2e.ti.com/.../224844

    Regards,
    Pavel
  • SARATH BANDARU said:
    I also want to know there is any factory reset option.

    Please provide more details regarding this issue.

    BR
    Pavel

  • Hi,

    I had purchased "Hybrid DVR Digital Video Recorder" device bearing Model No: "DM8168 DVR-UD1" and referring documents "DM8168_DVRRDK_V04.01.00.02" along with it. I reached out to UDWorks on the issue of no u-boot prompt, they informed me that there is no support application for DVR RDK model to create a bootable SD-card. So, please tell me is there any alternative way to run uboot on this device.

    Thanks for help,

    With Regards,
    B.S.Sarath.

  • Sarath,

    I have no view over the DVR RDK, as I stated, DVR RDK is supported though local TI FAE.

    SARATH BANDARU said:
    So, please tell me is there any alternative way to run uboot on this devi

    In general, for DM816x device, we can also boot (run uboot) from CCS JTAG. The DM816x u-boot supports also (we can run uboot from)  EMAC/ethernet, NAND, NOR, SPI, PCIe. The DM816x ROM Code supports also UART boot.

    Regards,
    Pavel

  • Hi Pavel,

                   My issue solved and now uboot prompt is up,at first as i explained my uboot source code is corrupted and had tried to get the uboot prompt by using SD boot mode.But while doing this procedure files in sd card MLO and uboot.bin binaries given by UD works are not working which i dont know but i am trying this repeatedly.When mailed to UD Works finally they sent me tested MLO and uboot.bin files to me then i copied them in sdcard and inserted in the DM8168 DVR board,switched on the power and uboot prompt up.

    Thanks for your support

    Regards,

    Sarath.