What influence about disable or enable CONFIG_CMD_CACHE in yocto?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What influence about disable or enable CONFIG_CMD_CACHE in yocto?

1,990 次查看
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,772 次查看
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,772 次查看
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,772 次查看
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 项奖励
回复