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.

OMAP-L138 change NOR speed (EMIFA CS2)

Other Parts Discussed in Thread: OMAP-L138, DA8XX

 

Hi everyone,

I got the ZOOM OMAP-L138 EVM DEVELOPMENT KIT and DaVinci-PSP-SDK-03.20.00.06 with Arago distribution developed by TI for OMAP processor. 

I'm currently trying to boot from the parallel NOR flash. I compiled a kernel and build a filesystem for the NOR flash. I flashed into the NOR the original UBL given with the SDK and my own u-boot compiled with the define to boot from the NOR. The board is booting without any problem. 

Now, I would like to boot in less than 5 seconds (I did it in 10 seconds with nfs). On boot, to reduce the data to transfer from the NOR flash to the RAM, I configured the filesystem to be permanent in the NOR flash. Otherwise, I applied most of trick in this wiki:http://wiki.davincidsp.com/index.php?title=All_This_For_1_Second_Boot

There is one thing I'm not able to do from the wiki. I would like to increase the speed of the NOR flash. It's currently very slow, I tried to change the NOR EMIFA CS2 settings but it's not working. In fact, I'm not able to find the file ../u-boot/board/davinci/lowlevel_init.S". The only thing that looks like that is under "../u-boot/cpu/arm926ejs/davinci/lowlevel_init.S" or "../u-boot/cpu/arm926ejs/da8xx/lowlevel_init.S".

I tried to modify both files with the assembly code proposed and no change when reading the kernel from the NOR flash.

--

ACFG2:                  .word 0x01E00010

ACFG2_VAL:              .word 0x3FFE058D

LDR R0, ACFG2

LDR R1, ACFG2_VAL

LDR R2, [R0]

AND R1, R2, R1

STR R1, [R0]

--

In an other hand, I tried to build my own UBL with "AISgen for D800K002" and I set the CS2 Setup in Flash tab with 0x3FFE058D. Same thing the transfer is still very slow.

I searched on many website to find the answer, the solution was always to modify "../u-boot/board/davinci/lowlevel_init.S".

Anyone know how to solve this issue?

Thank you for the support.

Nicolas