Re: [U-Boot] u-boot v2016.09-rc2: cache alignment issues on sunxi-based systems

Hi,
On 10-09-16 22:09, Karsten Merker wrote:
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
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
Affected systems include:
- Olimex A20-OLinuXino-Lime2
- LeMaker BananaPro
- Cubietech Cubieboard2
- Cubietech Cubietruck
Regards, Karsten
participants (1)
-
Hans de Goede