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.

Linux/TMS320DM8148: gpmc & dma

Guru 20755 points
Part Number: TMS320DM8148

Tool/software: Linux

Hello,

When using nand and gpmc in u-boot, how is it that the data is not "waiting in cache instead of being moved all the way to nand device ?

Thank you,

Ran

  • Hi Ranchu,

    Until recently(uboot 2016), uboot did not implement disk cache for block devices. So all the data would be read and written directly. Also CONFIG_BLOCK_CACHE(the one that enabled disk cache) is not coming in the path of NAND access in uboot. It only gets reflected in other file formats like ext4, fat etc. So this is the reason I believe for the observation you have made.