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.

dvsdk4.0.2 uImage can not run on my TIDM368 board

u-boot cmd:

tftpboot 0x80700000 uImage;tftpboot 0x82000000 cramfsImage_dm368;bootm 0x80700000

................................

done

Bytes transferred = 15265792 (e8f000 hex)

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

   Image Name:   Linux-2.6.32.17-davinci1

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    2148020 Bytes =  2 MB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

Starting kernel ...

Then my TIDM368 board is dead. Could anybody give me some guide? Thanks a lot.

  • Hi Tan Rick,

    Could you provide the bootargs and complete log for better understanding?

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

  • AnilKumar,

    Thank you.

    bootargs=mem=160M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,16M ip=dhcp eth=00:D0:23:0F:FF:35

    I found the problem, my network camera is using DM368 + ov2715. it is different with MACH_TYPE_DAVINCI_DM365_EVM which is used by DVSdk4.0.2

    I must port my own arch/arm/mach-davinci/board-dm368-ipnc.c to DVSDK 4.0.2.

    BTW, my SDK is using linux 2.6.18. how to port? no more log you wanted.

  • Hi Tan Rick,

    Use "earlyprintk" to boot args for getting the prints while booting. Make sure that earlyprintk is enabled in your kernel configuration (before build).

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

  • I enabled linux kernel low-level debug function and other switch in linux kernel hacking. Then I do make linux to get arch/arm/boot/uImage.

    And I modified the bootargs , add earlyprintk=ttyS0 as follows:

    DM36x initialization passed!
    TI UBL Version: 1.50
    Booting Catalog Boot Loader
    BootMode = NAND
    Starting NAND Copy...
    Valid magicnum, 0xA1ACED66, found in block 0x00000008.
       DONE
    Jumping to entry point at 0x81080000.

     DM368_IPNC_UBL_1.0.0

    U-Boot 1.3.4 (Dec 16 2010 - 21:38:22) DM368-IPNC-1.0.0

    I2C:   ready
    DRAM:  128 MB
    NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
    128 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock :- 432MHz
    DDR Clock :- 340MHz
    Ethernet PHY: GENERIC @ 0x01
    Hit any key to stop autoboot:  0
    DM368 IPNC :>
    DM368 IPNC :>
    DM368 IPNC :>setenv bootargs 'mem=160M console=ttyS1,115200n8 earlyprintk=ttyS0 root=/dev/ram0 rw initrd=0x82000000,16M ip=dhcp eth=00:0C:0C:A0:05:C1'
    DM368 IPNC :>savenv
    Unknown command 'savenv' - try 'help'
    DM368 IPNC :>saveenv
    Saving Environment to NAND...
    Erasing Nand...
    Erasing at 0x240000 -- 100% complete.
    Writing to Nand... done
    DM368 IPNC :>tftpboot 0x80700000 uImage;tftpboot 0x82000000 cramfsImage_dm368;bootm 0x80700000
    TFTP from server 172.18.6.2; our IP address is 172.18.6.96
    Filename 'uImage'.
    Load address: 0x80700000
    Loading: T
    Abort
    DM368 IPNC :>setenv ipaddr 192.168.90.09;setenv serverip 192.168.90.90
    DM368 IPNC :>saveenv
    Saving Environment to NAND...
    Erasing Nand...
    Erasing at 0x240000 -- 100% complete.
    Writing to Nand... done
    DM368 IPNC :>tftpboot 0x80700000 uImage;tftpboot 0x82000000 cramfsImage_dm368;bootm 0x80700000
    TFTP from server 192.168.90.90; our IP address is 192.168.90.9
    Filename 'uImage'.
    Load address: 0x80700000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #####################
    done
    Bytes transferred = 2436392 (252d28 hex)
    TFTP from server 192.168.90.90; our IP address is 192.168.90.9
    Filename 'cramfsImage_dm368'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #########################################################
    done
    Bytes transferred = 15265792 (e8f000 hex)
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.32.17-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2436328 Bytes =  2.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    -------------------->>>still dead here!!!!!!!!!! no more information print