From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francesco Dolcini Date: Wed, 14 Dec 2016 12:31:22 +0100 Subject: [U-Boot] [BUG report] imx6: CACHE Misaligned operation Message-ID: <20161214113122.GA21915@dev1> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear all, I am trying current U-Boot master on solidrun microsom i.MX6 and I get a CACHE error when accessing SD device: U-Boot SPL 2017.01-rc1-00066-ge5209e3-dirty (Dec 14 2016 - 10:55:06) Trying to boot from MMC1** First descriptor is NOT a primary desc on 0:1 ** U-Boot 2017.01-rc1-00066-ge5209e3-dirty (Dec 14 2016 - 10:55:06 +0100) CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 57C Reset cause: POR Board: MX6 Cubox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 CACHE: Misaligned operation at range [8ffbaf6c, 8ffbb76c] CACHE: Misaligned operation at range [8ffbaf6c, 8ffbb76c] ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x8ffbaf6c ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x8ffbb76c CACHE: Misaligned operation at range [8ffbaf6c, 8ffbb76c] CACHE: Misaligned operation at range [8ffbaf6c, 8ffbb76c] ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x8ffbaf6c ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x8ffbb76c ** First descriptor is NOT a primary desc on 0:1 ** *** Warning - bad CRC, using default environment No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC Error: FEC address not set. Hit any key to stop autoboot: 0 => version U-Boot 2017.01-rc1-00066-ge5209e3-dirty (Dec 14 2016 - 10:55:06 +0100) arm-linux-gnueabihf-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412 GNU ld (Linaro_Binutils-2016.05) 2.25.0 Linaro 2016_02 U-Boot version is 53e8ca22538c2cec691fe74098684a359302688c with 54e4fcfa3c749a789192e83740a53234182f4ca3 reverted. I have tried building also with gcc 4.8 without any improvement. I have not verified if SD is working correctly. I am using mx6cuboxi_defconfig without any modification. U-Boot v2016.03 is not showing the problem. For the sake of completeness the board is a solidrun SOM i4Pro Rev-1.5 on a HummingBoard2 Edge Rev-1.2 Thanks, Francesco