From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vaibhav Hiremath Subject: Re: AM335x: Beaglebone stops to boot with current git kernel Date: Thu, 22 Nov 2012 11:12:51 +0530 Message-ID: <50ADBB5B.7090401@ti.com> References: <20121121183809.GZ18567@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:50610 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349Ab2KVTEK (ORCPT ); Thu, 22 Nov 2012 14:04:10 -0500 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Igor Mazanov Cc: Tony Lindgren , Jean Pihet , Nishanth Menon , linux-omap@vger.kernel.org On 11/22/2012 1:30 AM, Igor Mazanov wrote: > On Wed, Nov 21, 2012 at 9:38 PM, Tony Lindgren wrote: >> * Jean Pihet [121114 08:43]: >>> On Wed, Nov 14, 2012 at 4:28 PM, Igor Mazanov wrote: >>>> >>>> Beaglebone boot process is broken with the current git kernel. I use >>>> omap2plus_defconfig for tests. >>>> >>>> It looks like the boot process stops due to the last changes in the AM33xx >>>> clock sysbsystem. A following patch resolves this issue: >> ... >> >>> The patch should change the name of the hwmod entry as well, can you >>> fold this change in the current patch? >> >> Any news on updating this? > > The current kernel boots, but after a switching to CCF doesn't work > the debugss - it's just disabled in the current hwmod code. So, it > looks like we can't use JTAG to connect to the running kernel. > just resumed from vacation... JTAG clock will get disabled because, CONFIG_OMAP_RESET_CLOCKS will disable unused clocks, so as debugss clock. There is another thread started by Joel on the similar issue, http://www.mail-archive.com/linux-omap@vger.kernel.org/msg80863.html Something below should be done for debugss on AM33xx, diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c index 17e3de5..60e0b53 100644 --- a/arch/arm/mach-omap2/clock33xx_data.c +++ b/arch/arm/mach-omap2/clock33xx_data.c @@ -584,6 +584,9 @@ static struct clk debugss_ick = { .clkdm_name = "l3_aon_clkdm", .parent = &dpll_core_m4_ck, .ops = &clkops_omap2_dflt, +#ifdef CONFIG_DEBUG_KERNEL + .flags = ENABLE_ON_INIT, +#endif .enable_reg = AM33XX_CM_WKUP_DEBUGSS_CLKCTRL, .enable_bit = AM33XX_MODULEMODE_SWCTRL, .recalc = &followparent_recalc, Thanks, Vaibhav > Regards, > Igor. > >> Regards, >> >> Tony > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >