[OpenWrt-Devel] [PATCH] ath79: fix NAND driver compilation for kernel 5.4

Enrico Mioso mrkiko.rs at gmail.com
Mon Mar 23 13:05:17 EDT 2020


Hello!!
A little bit off-topic question: I encountered an issue due to a patch causing issues on ramips:
<commit>

... so my Zbtlink ZBT-WG3526 (32M) behaved like SPI flash was damaged. After reverting the patch, anything was OK and the device is still running fine.
So, my question is: are there chances of damaing the flash chip when running on those situations where bugs happen?
and, what if things like those would happen in NAND flash devices? What if, for example, we mark as bad a block that wasn't bad after all?

thanks!!

Enrico

On Mon, 23 Mar 2020, Michal Cieslakiewicz wrote:

> Date: Mon, 23 Mar 2020 17:20:42
> From: Michal Cieslakiewicz <michal.cieslakiewicz at wp.pl>
> To: David Bauer <mail at david-bauer.net>
> Cc: openwrt-devel at lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] [PATCH] ath79: fix NAND driver compilation for
>     kernel 5.4
> 
> On Sun, 22 Mar 2020 20:01:57 +0100
> David Bauer <mail at david-bauer.net> wrote:
>
>> Hi Michal
>>
>>
>> I'm not that deep into the mtd-concat hack (expecially on NAND
>> flash). We might also run into issues when migrating to the new NAND
>> interface. If you you've found a fix for this, it would be great to
>> have it up for discussion on ML or GitHub. Especially as this is more
>> or less target independant and not directly associated with the ath79
>> driver.
>>
>> Best wishes
>> David
>>
>
> Hello David,
>
> Yes, I'm going to have a deeper look at mtdconcat driver and try to
> modify its behaviour to be consistent with what is now required by
> mtdcore. Concat is a virtual device, address translation layer mainly,
> so understanding how it works should not require any deep flash hacking
> knowledge.
>
> Cheers
> Michal
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>

Enrico Mioso
Personal Phone Number: +39 3807096934
Tox ID is:
7C593F402A3C8632D87AB4B948D492294C39A6A614464ECF843CA3429FB023284180472C7475

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list