From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B11A6CD37B1 for ; Sat, 16 Sep 2023 02:29:56 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.96) (envelope-from ) id 1qhL35-0001kq-1w; Fri, 15 Sep 2023 22:28:43 -0400 Received: from out-21.mta0.migadu.com ([2001:41d0:1004:224b::15]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qWrMs-0003oH-1g for kernelnewbies@kernelnewbies.org; Fri, 18 Aug 2023 00:45:52 -0400 Date: Fri, 18 Aug 2023 14:41:08 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1692333936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AqEuvMUt2iX6Thy2whkDMydqr25IsjJ4JATm7CmA4rU=; b=FWDCnVztAe35jNcI9/V0DTer5UMDmXgJLpJJyK0ysq9k3R8rIw3y/TYyy06ahetPQrvu1p J76WxJoLSdz/1G5EtRIJMlkMxG2BrE+5Ybxwuir53+cU+iwuPU3A7ogMwQbHZOxH+rvz5x afxTk20VjrdBm7btuPhs2efF6bZLdL6jKMRwo5TNEWZiiVezJ5M0KGGQjSissuDzriTNR/ 7fMZhZ3Sd1OV+yMPj6PCRGpEdhfo1IqOP2VL/a0fnK1QZutBAKKdSwvtxfUmRks8ms4bjN dC4MN9HNdQ3uu8DWqVqQiJnxTVYqz4bLOjGx7j/pO+/N2sMydKjtk6Jj1pPB8g== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: Fawad Lateef Subject: Re: Question regarding Linux-6.3.5 and Sunxi A20 NAND/NFC support Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Mailman-Approved-At: Fri, 15 Sep 2023 22:28:37 -0400 Cc: kernelnewbies , boris.brezillon@collabora.com, Linux Kernel Mailing List , Linux sunXi X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, Aug 17, 2023 at 10:21:35PM +0100, Fawad Lateef wrote: > Hi John, > > Thanks for your help. I found the reason for my issue. I defined the > pinctrl information under the "soc" next to "nfc" entry in > sunxi-a20.dtsi which was messing it up. > > I moved them inside the "pio" dtsi block and NAND is detected now. Congratulations! > Though almost all blocks are reported as bad-blocks. I am thinking > that it's happening as I don't have partition information defined in > DTS. Do you think that this is the reason for bad-blocks reporting? I don't have much knowledge here but you might want to confirm the contents of your bad block table is being read and has correct values. This might help: https://linux-sunxi.org/Mainline_NAND_Howto > Regards, > > Fawad Lateef John. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies