What influence about disable or enable CONFIG_CMD_CACHE in yocto?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What influence about disable or enable CONFIG_CMD_CACHE in yocto?

1,991件の閲覧回数
charleshuang
Senior Contributor II

Hi freescale

We need to boot form SATA. The CONFIG_SYS_DCACHE_OFF will be enable in include/configs/mx6qsabre_common.h file.

Then the CONFIG_CMD_CACHE is not enable.


What influence about disable or enable CONFIG_CMD_CACHE in yocto?

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,773件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi charles

seems CONFIG_CMD_CACHE commands to enable cache.

Without it (without caches) performance will be slower.

Best regards

igor

0 件の賞賛
返信

1,773件の閲覧回数
clayderhuang
Contributor I

Hi igorpadykov

About  "Without it (without caches) performance will be slower."     and   "#define CONFIG_SYS_DCACHE_OFF /* remove when sata driver support cache */"

If we want to remove the "CONFIG_SYS_DCACHE_OFF" config, we need to add sata driver support cache.

How to do about "sata driver support cache" ?   Do you have example code ?

0 件の賞賛
返信

1,773件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi clayder

for "sata driver support cache" one needs to have cache support in

Uboot/Linux too.

It is not possible to use "sata driver support cache" without enabling

cache support in Uboot/Linux.

Best regards

igor

0 件の賞賛
返信