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.

dont start uboot on l138

Other Parts Discussed in Thread: OMAP-L138

We designed a board(K1) using Omap-l138.

K1 board and Logic PD EVM board is the same in hardware ,except DDR2  size is diffrent.

UBL and UBoot program run is ok on EVM board. But  UBoot cant start up on K1 board. I have to tested UBL program using ccs3.3.

When running SPIBOOT_copy function in spiboot.c,difference was found .

1\ header structure types

header
 {magicNum          
  entryPonit
  appSize
  ldAddress}

The value of K1 board is {0x00120000    0xF014EA00    0xF014E59F      0xF014E59F}
The value of EVM board is{0xA1ACED00    0xC1080000    0x000262E0      0x C1080000}


2、flash  structure types  hSPIMemInfoaddrWidth and memorySize was changed:

The value of K1 board is  {0x08    0x3F07BB8F}
The value of EVM board is{0x18    0xE59D0000 }

At present I still can't find the reason,Hardware or software problem is? I hope get some suggest !

 

  • If the header information being read out of the SPI flash is wrong, then either the SPI flash contains the wrong contents (was flashed wrong) or the memory that holds those variables is incorrectly configured.  You need to see if you can test the two things independently (i.e. run a test from internal memory to write and then verify the SPI flash, then run a separate test, also from internal memory, to verify the external DDR interface and configuration).  It would be useful to do a quick test in a memory window in CCS and see if you can manually set, clear and change memory locations in external memory in each of the circumstances above.

    Regards, Daniel