[U-Boot] [PATCH v7 21/21] sf: Add SPI NOR protection mechanism

Fabio Estevam festevam at gmail.com
Wed Nov 11 10:43:42 CET 2015


On Wed, Nov 11, 2015 at 12:56 AM, Simon Glass <sjg at chromium.org> wrote:

> It crashes reading the environment:
>
> U-Boot 2015.10-00544-gcad0499 (Nov 10 2015 - 17:06:00 -0700)
>
> CPU:   Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
> DRAM:  2.7 GiB
> SF: Detected W25Q64CV with page size 256 Bytes, erase size 4 KiB, total 8 MiB
> *** Warning - bad CRC, using default environment
>
> Video: 1280x1024x16
> Model: Google Link
> SF: Detected W25Q64CV with page size 256 Bytes, erase size 4 KiB, total 8 MiB
> Invalid Opcode (Undefined Opcode)
> EIP: 0010:[<00000058>] EFLAGS: 00010283
> Original EIP :[<52fbb058>]

In this patch we only assign the lock ops if the flash is of ST Micro
type, so not sure why it affects Winbound flash as well.

Jagan, would you have some ideas, please?

Thanks


More information about the U-Boot mailing list