LSP210Installation

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Contents

Flash Utilities - Source

      This is required if anybody wants to make changes to the UBL and re compile the CCS projects . The version used for development was 4.5.0


Flash Utilities - Installation

      newer version of the CODEGEN tools. Please do the following as shown in the diagram. Make sure you point to the latest CODEGEN tools.

</center>

CCS-CODEGEN.jpg

Compiling Software

      tar ball found in the board_utilties folder of the PSP package.
      just like any other CCS project.
      make distclean
      make davinci_dm365_evm_config
      make 


Structure of DM36x Trunk

</center> DM36x-trunk.jpg </center>

Flash Utilities


DM36x CCS Projects

</center>

DM365-projects.jpg

NAND Programmer - features

      of a page is 2048 bytes of data + 64 bytes of OOB instead of being broken into chunks of
      512 bytes of data + 16 bytes of OOB
      has been flashed previously with binaries from LSP 2.10 release 08 and before. 


NAND Eraser - features

      layout or if the Bad Block table has been written with incorrect information we want some mechanism to erase the
      entire NAND.
      This requires 2= Chip selects. On the DM355 and DM365 these chip selects are at =0x02000000 and 0x02004000.
      Thus the address space of the first chip starts at 0x02000000 and the second chip starts at 0x02004000


UBL - Source


U-Boot 1.3.4

U-Boot NAND features

      is handled as one chunk of 2048 bytes of data + 64 bytes of OOB or 4096 bytes of data + 128 bytes
      of OOB, instead of being broken into chunks of 512 bytes of data + 16 bytes of OOB.
      CFG_DAVINCI_STD_NAND_LAYOUT enabled.


U-Boot features Continued

      with a page size of 2K and a 2GB SLC NAND from SAMSUNG with a page size of 4K.


DM365 – Boot Overview


Flashing the DM365 EVM

</center>

DM365-boot.jpg

Flashing - Continued

      will ask for an input where user is asked to input the location where the NAND is connected. Input
      '0x02000000'. This will erase the lower half of the NAND. To erase the upper half execute the program again
      and input '0x02004000'. NANDs comes in various flavours. We can have a 2GB NAND where it is internally 
    1. devices of 1 Gb each and there are others where internally the NAND is actually 1 device of 2GB. In the latter case
      we do not have to execute the program twice.
  
      4K is used.
      Give UBL_DM36x_NAND.bin along with the entire path where the binary is located.
      along with the entire patch where the binary is located.
      and the load address. Both these should be 0x81080000.


Flashing - Continued


Booting Linux from NAND

      the kernel and filesystem will differ depending on block size.


U-Boot commands

      setenv serverip <address>
     setenv bootfile uImage-dm365
      dhcp
      nand erase 0x400000 0x200000
      nand write 0x80700000 0x400000 0x200000
      tftp 0x82000000 ramdisk.gz
      nand erase 0xC00000 0x300000
      nand write 0x82000000 0xC00000 0x300000
      setenv bootcmd 'nand read 0x82000000 0xC00000 0x300000; nboot 0x80700000 0 0x400000; bootm'
      setenv bootargs 'mem=116M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,4M ip=dhcp'
Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox