Re: [PATCH v3 2/2] nvmem: brcm_nvram: use bcm47xx buffered data

From: Arınç ÜNAL
Date: Wed Feb 08 2023 - 05:30:49 EST


On 8.02.2023 13:25, Rafał Miłecki wrote:
On 7.02.2023 09:42, Willem-Jan de Hoog wrote:
From: Willem-Jan de Hoog <wdehoog@xxxxxxxxxxxxxx>

The bcm47xx module has a copy of the NVRAM data in ram. When available, use
this one instead of reading from io memory since it causes mtd/ubi to fail.

This doesn't explain anything. Why do we need that? If anything we
should rather get rid of that NVRAM firmware driver. It was needed
before we had all NVMEM stuff in place. Finally how can reading
iomem break mtd/ubi?!

Did you take a look at the bootlog on this post on the thread, I've mentioned your user handle a few times but received no response on the forum.

https://forum.openwrt.org/t/asus-rt-ac88u-hw-a6-broken-in-22-03-3/147882/6?u=arinc9

Arınç