[U-Boot] Problem with attaching UBI partition

Marek Vasut
2016-02-29T22:55:19Z

On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote:
> Hello Heiko,
>
>> Which U-Boot version? Which board?
>
> This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5
> onboard.
>
>> Where does this leading 0xff come from? There seems a problem with
>> your spi nor flash driver?
>
> Yes, you're right. I have problems with the driver. As I mentioned in
> previous mail when I read the contents from the flash some data is
> corrupted.
>
> How to find out if the problem is because U-Boot has no support for
> my flash (Spansion S25FL512S NOR flash with SPI) or I have not proper
> configured SPI in U-Boot?

I believe there is a problem with caches , which we still didn't
identify. CCing Dinh and Chin, as they were the last ones looking
into this problem.

For now, try doing "dcache off" before using the QSPI NOR.

--
Best regards,
Marek Vasut