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.

DM8168 ubi_128_dm816x file system

Dear Pavel,

I have loaded the file system of ubi_128_DM816X_UD_DVR in udworks board. Whether i can load the same file system or different? can you mail me for that?

Regards
Balaji

  • Pavel,

    Loaded kernel image into flash. System is hanging after power on it.

    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-2.6.37
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2543292 Bytes = 2.4 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.



    Regards
    Balaji
  • Balaji,

    Balaji Govindarajan said:
    I have loaded the file system of ubi_128_DM816X_UD_DVR in udworks board. Whether i can load the same file system or different?

    Is this NAND based fllesystem? Do you load this filesystem into NAND flash?

    BR
    Pavel

  • Dear Pavel,

    Yes, NAND based filesystem.

    I am using Micron 512MB Flash.

    I found error that

    NAND write: device 0 offset 0x580000, size 0x26cefc
    Attempt to write non page aligned data 2543356 bytes written: ERROR

    SLN_AVC $mw.b 0x81000000 0xFF 0x300000;tftp 0x81000000 uImage;nand erase 0x00580000 0x440000;nand write 0x81000000 0x00580000 ${filesize}
    Using DaVinci EMAC device
    TFTP from server 192.168.1.15; our IP address is 192.168.1.180
    Filename 'uImage'.
    Load address: 0x81000000
    Loading: T #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##########################################
    done
    Bytes transferred = 2543356 (26cefc hex)

    NAND erase: device 0 offset 0x580000, size 0x440000
    Erasing at 0x9a0000 -- 100% complete.
    OK

    NAND write: device 0 offset 0x580000, size 0x26cefc
    Attempt to write non page aligned data
    2543356 bytes written: ERROR

    Regards
    Balaji
  • Balaji,

    Balaji Govindarajan said:
    SLN_AVC $mw.b 0x81000000 0xFF 0x300000;tftp 0x81000000 uImage;nand erase 0x00580000 0x440000;nand write 0x81000000 0x00580000 ${filesize}

    It seems to me you are flashing the linux kernel (uImage) with these set of commands, not the filesystem, could you comment on that point?

    Balaji Govindarajan said:
    Attempt to write non page aligned data

    See the below e2e threads which has info regarding this error and how to fix:

    BR
    Pavel

  • Dear Pavel,

        I have given region for 128k boundary.

          mw.b 0x81000000 0xFF 0x300000;tftp 0x81000000 uImage;nand erase 0x00500000 0x440000;nand write.e 0x81000000 0x00500000 ${filesize}

    still i am getting same error message.

    NAND write: device 0 offset 0x500000, size 0x26cefc

    Attempt to write non page aligned data
    2543356 bytes written: ERROR

      Regards

      Balaji

  • Balaji Govindarajan said:
    mw.b 0x81000000 0xFF 0x300000;tftp 0x81000000 uImage;nand erase 0x00500000 0x440000;nand write.e 0x81000000 0x00500000 ${filesize}

    It seems to me you are flashing the linux kernel (uImage) with these set of commands, not the filesystem, could you comment on that point???

  • Pavel,

    Yes, now, i am not using the file system.

    Regards
    Balaji
  • Balaji,

    Regarding flashing linux kernel to NAND, check you are aligned with the below steps:

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

    TI8168_EVM# mw.b 0x81000000 0xFF 0x440000
    TI8168_EVM# tftp 0x81000000 <kernel_image>
    TI8168_EVM# nand erase 0x00280000 0x00440000 <=== Erasing the whole partition before flashing the image
    TI8168_EVM# nand write 0x81000000 0x00280000 <image_size> (example, 0x200000)

    Also compare your NAND layout with the EVM layout:

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

    You can also flash linux kernel from user space (with MTD tools), not only from u-boot. See the below wiki page for more info:

    processors.wiki.ti.com/.../TI81XX_PSP_NAND_Driver_User_Guide

    BR
    Pavel
  • Dear pavel,

    i got the following information after enter printenv. Is anything to be done except following these cmds?

    bootdelay=3
    baudrate=115200
    autoload=no
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=90:59:af:58:d1:66
    ethact=DaVinci EMAC
    bootcmd=bootm 0x81000000
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (Aug 06 2015 - 12:53:05)
    filesize=26CEFC
    fileaddr=81000000
    ipaddr=192.168.1.180
    serverip=192.168.1.15


    Regards
    Balaji
  • Balaji,

    Balaji Govindarajan said:
    i got the following information after enter printenv. Is anything to be done except following these cmds?

    I do not see/understand what is the connection between your default boot arguments and flashing linux kernel in NAND? Can you provide more details on that? What makes you think your default boot arguments are the problem to flash your linux kernel in NAND properly?


    BR
    Pavel

  • Dear Pavel,

    I got the following messages after enter printenv on udworks board. I am not getting bootargs on custom board. can you mail me how to set it?

    bootargs=mem=256M console=ttyO2,115200n8 noinitrd rw ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs ip=off vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    bootcmd=nand read 0x81000000 0x280000 0x300000; logo on 0x81000000 0xA0000000 0x81600000 40 60; nand read 0x81000000 0x00580000 0x300000; bootm 0x81000000
    bootdelay=1
    baudrate=115200
    eth1addr=xx:xx:xx:xx:xx:xx
    autoload=no
    gatewayip=192.168.1.1
    netmask=255.255.255.0
    ntpserverip=192.168.1.231
    timeoffset=32400
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=44:aa:27:00:05:08
    hwver=00:8a
    ethact=DaVinci EMAC
    ver=U-Boot 2010.06 (Aug 07 2014 - 17:08:04)
    ipaddr=192.168.1.180
    serverip=192.168.1.15

    regards
    Balaji
  • Balaji,

    To set boot environments, you need first to enter into the u-boot prompt (SLN_AVC $ or TI8168_EVM#). Then use the setenv bootargs, setenv bootcmd, etc

    See examples below:

    TI8168_EVM#setenv bootargs 'console=ttyO2,115200n8 noinitrd ip=off mem=256M rw ubi.mtd=7,2048 rootfstype=ubifs
    root=ubi0:rootfs init=/init'

    TI8168_EVM# setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait'
    TI8168_EVM# setenv bootcmd 'mmc rescan 0; fatload mmc 0 0x81000000 uImage; bootm 0x81000000'

    TI8168_EVM# setenv autoload no
    TI8168_EVM# setenv bootfile uImage

    TI8168_EVM# setenv serverip <tftp server in your network>
    TI8168_EVM# setenv ipaddr <your static ip>

    TI8168_EVM# setenv bootargs 'console=ttyO2,115200n8 mem=256M earlyprintk root=/dev/ram rw initrd=0x82000000,32MB'

    TI8168_EVM# setenv bootcmd 'nand read 0x81000000 0x280000 0x170000;nand read 0x82000000 0x6C0000 0x320000;bootm 0x81000000'

    TI8168_EVM# setenv bootcmd 'dhcp;run addip;${bootcmd}'

    TI8168_EVM# setenv ethaddr <unique-MAC-address>

    When you are ready with the settings, you can save these settings with the below command:

    TI8168_EVM# saveenv

    BR
    Pavel
  • Dear pavel,


    i am getting same error message after settings above commands.

    Regards
    Balaji
  • Did you check your custom board NAND layout? Is it the same as the TI EVM NAND layout?

    BR
    Pavel
  • Dear Pavel,

    I have to check it hardware or software.

    Regards
    Balaji
  • Balaji,

    Check the NAND layout, and also compare the NAND flash chip in your custom board, TI EVM and udworks board (capacity, page size, etc)

    BR
    Pavel
  • Dear Pavel,

    Page size is same and ud works used as 128Mb, custom boards used as 512MB and ti evm has 256 Mb. Always i am getting error message in nand_write_skip_bad function and inside that error message displaying. (attempt to write non page aligned data). i don't know why it is going to jffs2. can you mail me in detail about that?

    s = strchr(cmd, '.');
    if (!s || !strcmp(s, ".jffs2") ||
    !strcmp(s, ".e") || !strcmp(s, ".i")) {
    if (read)
    ret = nand_read_skip_bad(nand, off, &size,
    (u_char *)addr);
    else
    ret = nand_write_skip_bad(nand, off, &size,
    (u_char *)addr);
    Regards
    Balaji
  • Pavel,

    Need to do anything on the board or software to make it work?

    Regards
    Balaji
  • Dear Pavel,

    I have loaded UBIFS (file system) into flash. Can i load the same file system or jffs2? How to create jffs2 file system ? can you give me with an example?

    Regards
    Balaji
  • Dear Pavel,

    I have loaded the uImage of UD-Works to Flash and power off. After power on, still system is hanging on

    U-Boot 2010.06 (Aug 07 2014 - 17:08:04)

    TI8168-GP rev 2.1

    HDVICP clk : 600MHz
    L3 Fast clk : 549MHz
    HDVPSS clk : 274MHz
    Ducati M3 clk : 274MHz
    DSP clk : 1000MHz
    ARM clk : 1200MHz
    DDR clk : 796MHz

    I2C: ready
    DRAM: 2 GiB
    NAND: HW ECC BCH8 Selected
    256 MiB
    MMC: OMAP SD/MMC: 0
    Net: Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot: 0

    NAND read: device 0 offset 0x280000, size 0x300000
    3145728 bytes read: OK
    VPDMA Firmware Version = 0x4d0001b2

    NAND read: device 0 offset 0x580000, size 0x300000
    3145728 bytes read: OK
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-2.6.37
    Created: 2014-08-07 8:17:33 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2709436 Bytes = 2.6 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ... // Hanging


    Regards
    Balaji
  • Balaji,

    UBIFS is recommended over JFFS2. See the below e2e thread:
    e2e.ti.com/.../1413920

    In DM816x TI EVM we have Micron MT29F2G16AADWP:D NAND flash chip. Do you know what NAND flash chip is used in your custom board and in udworks board?

    BR
    Pavel
  • Dear Pavel,

    In udworks boards used samsung k9f2g08U0C (128 MB) and custom board used as MT29F8G08ABABAWP(512 MB)


    Regards
    Balaji
  • Balaji,

    Balaji Govindarajan said:
    and custom board used as MT29F8G08ABABAWP(512 MB)

    See the below e2e threads which discuss this NAND flash chip usage:

    BR
    Pavel

  • Pavel,

    I am getting following statements after enter nand info.

    Device 0: NAND 512MiB 3,3V 8-bit, sector size 128 KiB

    Regards
    Balaji
  • Pavel,

    I have loaded custom board kernel image into flash of udworks. It is working. can you resolve this problem?

    Regards
    Balaji
  • Balaji,

    So now you can load u-boot from custom board NAND, but can not load uImage from custom board NAND, is that the problem?

    BR
    Pavel
  • Dear Pavel,

    Yes, i can load the uboot on custom board NAND but cannot load uImage.

    Regards
    Balaji
  • Balaji,

    Can you provide me full console log output when you load u-boot? Provide me also your boot arguments.

    BR
    Pavel
  • Dear Pavel,

    Kindly look into following console messages

    U-Boot 2010.06 (Aug 06 2015 - 12:53:05)

    TI8168-GP rev 2.1

    ARM clk: 987MHz
    DDR clk: 796MHz

    I2C: ready
    DRAM: 512 MiB
    NAND: HW ECC BCH8 Selected
    512 MiB
    Net: Detected MACID:90:59:af:58:d1:66
    Ethernet PHY: GENERIC @ 0x00
    DaVinci EMAC
    Hit any key to stop autoboot: 0
    SLN_AVC $
    SLN_AVC $printenv
    bootdelay=3
    baudrate=115200
    autoload=no
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=90:59:af:58:d1:66
    ethact=DaVinci EMAC
    ipaddr=192.168.1.180
    serverip=192.168.1.15
    bootcmd=bootm 0x81000000
    bootargs=mem=256M console=ttyO2,115200n8 noinitrd rw ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs ip=off vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=512M
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (Aug 06 2015 - 12:53:05)

    Environment size: 636/8188 bytes
    SLN_AVC $bootm
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-2.6.37
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2543292 Bytes = 2.4 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.


    Regards
    Balaji
  • Balaji,

    Balaji Govindarajan said:
    NAND: HW ECC BCH8 Selected
    512 MiB

    u-boot reports 512MiB NAND size, but you are having 1GB/8Gb NAND.

    Balaji Govindarajan said:
    bootcmd=bootm 0x81000000

    Balaji Govindarajan said:
    SLN_AVC $bootm
    ## Booting kernel from Legacy Image at 81000000 ...

    I suspect you are not transferring the uImage from NAND to DDR3/0x81000000 before loading the image from 0x81000000. Refer to the below e2e post for more info:

    The bootcmd there is:

    TI8168_EVM#setenv bootcmd 'nand read.i 0x81000000 280000 500000; bootm 0x81000000'

    After you set and save the bootcmd, you should use TI8168_EVM#boot instead of TI8168_EVM#bootm 0x81000000

    BR
    Pavel

  • Dear Pavel,

    I did the same what you have mentioned.

    Regards
    Balaji
  • Pavel,

    Still same problem is occuring

    Regards
    Balaji
  • Balaji,

    Can you provide full boot up log, from the very beginning to the hang.

    BR
    Pavel
  • Dear Pavel,

    Loading kernel image to NAND Flash.

    SLN_AVC $mw.b 0x81000000 0xFF 0x300000;tftp 0x81000000 uImage_DM816X_UD_DVR;nand erase 0x00580000 0x440000;nand write 0x81000000 0x00580000 ${filesize}
    Using DaVinci EMAC device
    TFTP from server 192.168.1.15; our IP address is 192.168.1.180
    Filename 'uImage_DM816X_UD_DVR'.
    Load address: 0x81000000
    Loading: T #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##########################################
    done
    Bytes transferred = 2543356 (26cefc hex)

    NAND erase: device 0 offset 0x580000, size 0x440000
    Erasing at 0x9a0000 -- 100% complete.
    OK

    NAND write: device 0 offset 0x580000, size 0x26cefc
    Attempt to write non page aligned data
    2543356 bytes written: ERROR

    I got following display after power off and power on

    U-Boot 2010.06 (Aug 06 2015 - 12:53:05)

    TI8168-GP rev 2.1

    ARM clk: 987MHz
    DDR clk: 796MHz

    I2C: ready
    DRAM: 512 MiB
    NAND: HW ECC BCH8 Selected
    512 MiB
    Net: Detected MACID:90:59:af:58:d1:66
    Ethernet PHY: GENERIC @ 0x00
    DaVinci EMAC
    Hit any key to stop autoboot: 0

    NAND read: device 0 offset 0x280000, size 0x300000
    3145728 bytes read: OK

    NAND read: device 0 offset 0x580000, size 0x300000
    3145728 bytes read: OK
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!

    Regards
    Balaji
  • Balaji,

    From the log you sent, it seems to be the problem might be in the uImage file you are trying to write in flash (uImage_DM816X_UD_DVR). Does this uImage_DM816X_UD_DVR works fine for udworks board? Can you attach it here, I can test it on my side?

    BR
    Pavel
  • Balaji,

    When I download and extract uImage.rar, I have as a result empty uImage folder. There is no uImage_DM816X_UD_DVR file inside the uImage folder. Can you try again?

    BR
    Pavel

  • Balaji,

    When I download and extract 0876.uImage.rar, I have as a result empty 0876.uImage folder. There is no uImage_DM816X_UD_DVR file inside the 0876.uImage folder.

    Can you try to drag and drop uImage_DM816X_UD_DVR file directly? Do not put uImage in folder and archive the folder.

    BR
    Pavel
  • 0310.uImage.7zPavel,

             I am not attaching the file.  It is showing error messages if drag and drop uimage on forum. Now, i did archive in 7 zip.

    Regards

    Balaji

  • Balaji,

    uImage.7z is fine at my side. I am able to flash it to NAND and boot it. See the below flow at try at your side. If fail provide me full console log, do not just state that it is not working.

    TI8168_EVM#mw.b 0x81000000 0xFF 0x440000

    TI8168_EVM#tftp 0x81000000 uImage

    Using DaVinci EMAC device

    TFTP from server 172.20.1.195; our IP address is 172.20.2.44

    Filename 'uImage'.

    Load address: 0x81000000

    Loading: #################################################################

    #################################################################

    #################################################################

    #################################################################

    #################################################################

    #################################################################

    #################################################################

    ##########################################

    done

    Bytes transferred = 2543356 (26cefc hex)

    TI8168_EVM#nand erase 0x00280000 0x00440000

    NAND erase: device 0 offset 0x280000, size 0x440000

    Erasing at 0x6a0000 -- 100% complete.

    OK

    TI8168_EVM#nand write 0x81000000 0x00280000 0x270000

    NAND write: device 0 offset 0x280000, size 0x270000

    2555904 bytes written: OK

    TI8168_EVM#setenv bootargs 'console=ttyO2,115200n8 noinitrd ip=off mem=256M rw ubi.mtd=7,2048 rootfstype=ubifs root=ubi0:rootfs init=/init'

    TI8168_EVM#nand read.i 0x81000000 0x280000 0x270000

    NAND read: device 0 offset 0x280000, size 0x270000

    2555904 bytes read: OK

    TI8168_EVM#bootm 0x81000000

    ## Booting kernel from Legacy Image at 81000000 ...

      Image Name:   Linux-2.6.37

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    2543292 Bytes = 2.4 MiB

      Load Address: 80008000

      Entry Point:  80008000

      Verifying Checksum ... OK

      Loading Kernel Image ... OK

    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    Linux version 2.6.37 (root@avc-sln-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #2 Thu Aug 6 15:51:15 IST 2015

  • Dear Pavel,

             I have followed the same as you have mentioned in previous post. I am not getting anything After this statement "Uncompressing Linux... done, booting the kernel" .  Can you mail me any other issues will cause this problem because we are using single bank DDR3(512MB)?

    U-Boot 2010.06 (Aug 06 2015 - 12:53:05)

    TI8168-GP rev 2.1

    ARM clk: 987MHz

    DDR clk: 796MHz

    I2C:   ready

    DRAM:  512 MiB

    NAND:  HW ECC BCH8 Selected

    512 MiB

    Net:   Detected MACID:90:59:af:58:d1:66

    Ethernet PHY: GENERIC @ 0x00

    DaVinci EMAC

    Hit any key to stop autoboot:  0

    SLN_AVC $

    SLN_AVC $mw.b 0x81000000 0xFF 0x440000

    SLN_AVC $tftp 0x81000000 uImage_DM816X_UD_DVR;

    Using DaVinci EMAC device

    TFTP from server 192.168.1.15; our IP address is 192.168.1.180

    Filename 'uImage_DM816X_UD_DVR'.

    Load address: 0x81000000

    Loading: T #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            ##########################################

    done

    Bytes transferred = 2543356 (26cefc hex)

    SLN_AVC $nand erase 0x00280000 0x00440000

    NAND erase: device 0 offset 0x280000, size 0x440000

    Erasing at 0x6a0000 -- 100% complete.

    OK

    SLN_AVC $nand write 0x81000000 0x00280000 0x270000

    NAND write: device 0 offset 0x280000, size 0x270000

    2555904 bytes written: OK

    SLN_AVC $setenv bootargs 'console=ttyO2,115200n8 noinitrd ip=off mem=256M rw ubi.mtd=7,2048 rootfstype=ubifs root=ubi0:rootfs init=/init'

    SLN_AVC $nand read.i 0x81000000 0x280000 0x270000

    NAND read: device 0 offset 0x280000, size 0x270000

    2555904 bytes read: OK

    SLN_AVC $bootm 0x81000000

    ## Booting kernel from Legacy Image at 81000000 ...

      Image Name:   Linux-2.6.37

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    2543292 Bytes = 2.4 MiB

      Load Address: 80008000

      Entry Point:  80008000

      Verifying Checksum ... OK

      Loading Kernel Image ... OK

    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    Regards

    Balaji

  • Balaji,

    Balaji Govindarajan said:
    Can you mail me any other issues will cause this problem because we are using single bank DDR3(512MB)?

    See if you are aligned with the below e2e thread:

    Balaji Govindarajan said:
    Uncompressing Linux... done, booting the kernel

    See if the below pointers will help:

  • Dear Pavel,

    I have changed the frequency of 400 MHz. Still custom board is hanging after this line Uncompressing Linux... done, booting the kernel..
    Is there anything to be changed in software or hardware?

    Regards
    Balaji
  • Dear Pavel,

    Can you mail me how to enable kernel level debugging (printk) function?

    Regards
    Balaji
  • In kernel configuration (make menuconfig):

    Kernel hacking -> Kernel debugging -> Kernel low-level debugging functions

    Put printk() and see where it hangs. You can also use CCS with a breakpoint and step by step technique to see where it hangs.

    BR
    Pavel
  • Are you using UART2 (same as DM816x TI EVM) for console?

    BR
    Pavel
  • Dear Pavel,

    Yes, i am using same as DM816x TI EVM.

    Regards
    Balaji
  • Pavel,

    decompress_kernel is calling from /arch/arm/boot/compressed/head.s
    /*

    * Debugging stuff
    *
    * Note that these macros must not contain any code which is not
    * 100% relocatable. Any attempt to do so will result in a crash.
    * Please select one of the following when turning on debugging.

    */

    I do not modify in above assembly language file. Is there anything to be changed in this file ?

    Regards
    Balaji
  • Balaji,

    Can you try to load the kernel from 0x80009000 instead of 0x81000000? is there any difference?

    mw.b 0x80009000 0xFF 0x440000
    tftp 0x80009000 uImage_DM816X_UD_DVR
    nand write 0x80009000 0x00280000 0x270000
    bootm 0x80009000