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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF603C433EF for ; Sat, 25 Sep 2021 14:55:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9C5E610EA for ; Sat, 25 Sep 2021 14:55:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343833AbhIYO5G (ORCPT ); Sat, 25 Sep 2021 10:57:06 -0400 Received: from 49-237-179-185.static.tentacle.fi ([185.179.237.49]:55056 "EHLO bitmer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234173AbhIYO5G (ORCPT ); Sat, 25 Sep 2021 10:57:06 -0400 Received: from 88-114-184-142.elisa-laajakaista.fi ([88.114.184.142] helo=[192.168.1.42]) by bitmer.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mU95J-00047V-Oa; Sat, 25 Sep 2021 17:55:25 +0300 Subject: Re: Regression with e428e250fde6 on BeagleBoard Rev C2 To: Tony Lindgren Cc: linux-omap@vger.kernel.org, Laurent Pinchart , "H. Nikolaus Schaller" , Andreas Kemnade References: <3f6924a7-1934-b94e-2441-4781fe737f32@bitmer.com> <5de5382b-9f11-c99b-5b9b-c90ae023e10b@bitmer.com> <638e4599-ab1d-ee88-6974-17463ce42f5c@bitmer.com> <93196bcd-836d-2432-9d1c-458904ba4f41@bitmer.com> From: Jarkko Nikula Message-ID: <18a27933-e412-c1ed-a744-62cfbcd6a81b@bitmer.com> Date: Sat, 25 Sep 2021 17:55:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On 9/24/21 10:02 AM, Tony Lindgren wrote: > * Jarkko Nikula [210923 18:04]: >> On 9/23/21 8:41 AM, Tony Lindgren wrote: >>> * Jarkko Nikula [210922 17:22]: >>>> Better luck with this one but looks like idling cause "undefined >>>> instruction" crash. Cache/memory etc corruption perhaps? Serial console >>>> log attached. >>> >>> Hmm. If you comment out the twl power node, does the omap3-beagle-ab4.dtb >>> boot normally for you? It should behave the same as current mainline then >>> with the omap3isp issue. >>> >> Commenting the twl_power node out or removing the twl section leads to >> immediately rebooting kernel: > > Below is an updated patch to move the timer quirks to omap3-beagle-ab4.dtb > with no twl changes. > Sigh, I found the reason for immediately rebooting kernel from bash history: "rm arch/arm/boot/zImage" followed by "cat arch/arm/boot/dts/omap3-beagle-ab4.dtb >>arch/arm/boot/zImage; ma LOADADDR=0x80008000 uImage", i.e. forgot to build the zImage between. (alias ma='nice make -j `getconf _NPROCESSORS_ONLN` ARCH=arm CROSS_COMPILE="ccache arm-linux-gnueabihf-"') So yes, with your latest patch omap3-beagle-ab4.dtb behaves as unpatched omap3-beagle.dtb (boots but timer issues when omap3_isp not loaded). Jarkko