Skip to contentSkip to conversation

u-boot v2016.09-rc2: cache alignment issues on sunxi-based systems

U-Boot Hans de Goede 1 participant 1 message Sep 11, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 16 lines · Karsten Merker

Hello,

I have run tests of u-boot v2016.09-rc2 and current u-boot git head (as of commit 9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a) on various Allwinner A20-based systems and when netbooting a kernel, I get the following warning/error:

"CACHE: Misaligned operation at range [43300000,4450e2f0]"

Everything seems to work normally despite the message, though. Looking through the u-boot list archives I have found

http://lists.denx.de/pipermail/u-boot/2016-August/264405.html

and

Quoted 8 lines

http://lists.denx.de/pipermail/u-boot/2016-August/262669.html

which could be related to the issue, but I know too little about cache handling to really understand what is going on there.

The warning/error message is printed only when netbooting; booting from MMC and USB doesn't show the message, so this could possibly indicate an issue with the stmmac driver.

Yes looks like a stmmac driver issue indeed, specifically it seems to not be aligning the size/end of a dma flush request.

Regards,

Hans

Quoted 10 lines

Affected systems include:
- Olimex A20-OLinuXino-Lime2
- LeMaker BananaPro
- Cubietech Cubieboard2
- Cubietech Cubietruck

Regards,
Karsten