* ICH SPI write seems broken
@ 2020-05-28 9:26 Bin Meng
2020-05-28 13:26 ` Simon Glass
0 siblings, 1 reply; 2+ messages in thread
From: Bin Meng @ 2020-05-28 9:26 UTC (permalink / raw)
To: u-boot
Hi Simon,
When testing, I see "saveenv" does not work on Intel minnowmax. Do you
have any ideas?
U-Boot 2020.07-rc3-00034-g0fd5234 (May 28 2020 - 15:34:45 +0800)
CPU: Intel(R) Atom(TM) CPU E3825 @ 1.33GHz
DRAM: 2 GiB
MMC: pci_mmc: 0, pci_mmc: 1, pci_mmc: 2
Loading Environment from SPI Flash... SF: Detected n25q064a with page
size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
Video: 1280x1024x32
Model: Intel Minnowboard Max
Net:
Warning: eth_rtl8169 using MAC address from ROM
eth0: eth_rtl8169
Hit any key to stop autoboot: 0
=>
=> saveenv
Saving Environment to SPI Flash... SF: Detected n25q064a with page
size 256 Bytes, erase size 4 KiB, total 8 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
=> reset
resetting ...
U-Boot 2020.07-rc3-00034-g0fd5234 (May 28 2020 - 15:34:45 +0800)
CPU: Intel(R) Atom(TM) CPU E3825 @ 1.33GHz
DRAM: 2 GiB
MMC: pci_mmc: 0, pci_mmc: 1, pci_mmc: 2
Loading Environment from SPI Flash... SF: Detected n25q064a with page
size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
Video: 1280x1024x32
Model: Intel Minnowboard Max
Net:
Warning: eth_rtl8169 using MAC address from ROM
eth0: eth_rtl8169
Hit any key to stop autoboot: 0
=>
Regards,
Bin
^ permalink raw reply [flat|nested] 2+ messages in thread
* ICH SPI write seems broken
2020-05-28 9:26 ICH SPI write seems broken Bin Meng
@ 2020-05-28 13:26 ` Simon Glass
0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2020-05-28 13:26 UTC (permalink / raw)
To: u-boot
Hi Bin,
On Thu, 28 May 2020 at 03:26, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Hi Simon,
>
> When testing, I see "saveenv" does not work on Intel minnowmax. Do you
> have any ideas?
>
> U-Boot 2020.07-rc3-00034-g0fd5234 (May 28 2020 - 15:34:45 +0800)
>
> CPU: Intel(R) Atom(TM) CPU E3825 @ 1.33GHz
> DRAM: 2 GiB
> MMC: pci_mmc: 0, pci_mmc: 1, pci_mmc: 2
> Loading Environment from SPI Flash... SF: Detected n25q064a with page
> size 256 Bytes, erase size 4 KiB, total 8 MiB
> *** Warning - bad CRC, using default environment
>
> Video: 1280x1024x32
> Model: Intel Minnowboard Max
> Net:
> Warning: eth_rtl8169 using MAC address from ROM
> eth0: eth_rtl8169
> Hit any key to stop autoboot: 0
> =>
> => saveenv
> Saving Environment to SPI Flash... SF: Detected n25q064a with page
> size 256 Bytes, erase size 4 KiB, total 8 MiB
> Erasing SPI flash...Writing to SPI flash...done
> OK
> => reset
> resetting ...
>
>
> U-Boot 2020.07-rc3-00034-g0fd5234 (May 28 2020 - 15:34:45 +0800)
>
> CPU: Intel(R) Atom(TM) CPU E3825 @ 1.33GHz
> DRAM: 2 GiB
> MMC: pci_mmc: 0, pci_mmc: 1, pci_mmc: 2
> Loading Environment from SPI Flash... SF: Detected n25q064a with page
> size 256 Bytes, erase size 4 KiB, total 8 MiB
> *** Warning - bad CRC, using default environment
>
> Video: 1280x1024x32
> Model: Intel Minnowboard Max
> Net:
> Warning: eth_rtl8169 using MAC address from ROM
> eth0: eth_rtl8169
> Hit any key to stop autoboot: 0
> =>
Hi Bin.
You can use 'sf test' as well. That fails for me at present.
I did notice that a while back but then forgot about it. I'm not yet
running tests automatically on boards (although my lab is coming
along) and I don't think there even is a test for persistent
environment.
If I recall, the problem started with the conversion to spi_mem. But
at least for me, the MRC writing works.
Regards.
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-28 13:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 9:26 ICH SPI write seems broken Bin Meng
2020-05-28 13:26 ` Simon Glass
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.