From patchwork Thu Nov 22 05:42:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 1785551 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id DE0B43FCAE for ; Thu, 22 Nov 2012 19:04:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753411Ab2KVTEP (ORCPT ); Thu, 22 Nov 2012 14:04:15 -0500 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 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id qAM5gutS023296; Wed, 21 Nov 2012 23:42:56 -0600 Received: from DBDE71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAM5gs42025767; Thu, 22 Nov 2012 11:12:54 +0530 (IST) Received: from dbdp33.itg.ti.com (172.24.170.252) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 14.1.323.3; Thu, 22 Nov 2012 11:12:54 +0530 Received: from [172.24.133.105] (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp33.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAM5gp4G002982; Thu, 22 Nov 2012 11:12:51 +0530 Message-ID: <50ADBB5B.7090401@ti.com> Date: Thu, 22 Nov 2012 11:12:51 +0530 From: Vaibhav Hiremath User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Igor Mazanov CC: Tony Lindgren , Jean Pihet , Nishanth Menon , Subject: Re: AM335x: Beaglebone stops to boot with current git kernel References: <20121121183809.GZ18567@atomide.com> In-Reply-To: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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, 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 > --- 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 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,