Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Vaibhav Hiremath <hvaibhav@ti.com>
To: Igor Mazanov <i.mazanov@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>,
	Jean Pihet <jean.pihet@newoldbits.com>,
	Nishanth Menon <nm@ti.com>,
	linux-omap@vger.kernel.org
Subject: Re: AM335x: Beaglebone stops to boot with current git kernel
Date: Thu, 22 Nov 2012 11:12:51 +0530	[thread overview]
Message-ID: <50ADBB5B.7090401@ti.com> (raw)
In-Reply-To: <CAK0ocyD25pRcQthN90inWy-95Yaa-B94rw724_uS5Y7FRA4qjQ@mail.gmail.com>



On 11/22/2012 1:30 AM, Igor Mazanov wrote:
> On Wed, Nov 21, 2012 at 9:38 PM, Tony Lindgren <tony@atomide.com> wrote:
>> * Jean Pihet <jean.pihet@newoldbits.com> [121114 08:43]:
>>> On Wed, Nov 14, 2012 at 4:28 PM, Igor Mazanov <i.mazanov@gmail.com> 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
> 

  reply	other threads:[~2012-11-22 19:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14 15:28 AM335x: Beaglebone stops to boot with current git kernel Igor Mazanov
2012-11-14 16:41 ` Jean Pihet
2012-11-14 16:54   ` Nishanth Menon
2012-11-14 17:51   ` Tony Lindgren
2012-11-15 14:47     ` Jean Pihet
2012-11-15 16:27       ` Tony Lindgren
2012-11-21 18:38   ` Tony Lindgren
2012-11-21 20:00     ` Igor Mazanov
2012-11-22  5:42       ` Vaibhav Hiremath [this message]
2012-11-22 12:16         ` Igor Mazanov
2012-11-22 14:47           ` Hiremath, Vaibhav
2012-11-22 14:49           ` Hiremath, Vaibhav
2012-11-22 16:40             ` Igor Mazanov
2012-11-22 20:56               ` Joel A Fernandes
2012-11-23  6:04                 ` Hiremath, Vaibhav
2012-12-03 18:19                   ` Kevin Hilman
2012-12-04  4:01                     ` Hiremath, Vaibhav
2012-12-04  4:11                       ` Joel A Fernandes
2012-12-04 21:39                       ` Kevin Hilman
2012-11-23  6:08               ` Hiremath, Vaibhav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50ADBB5B.7090401@ti.com \
    --to=hvaibhav@ti.com \
    --cc=i.mazanov@gmail.com \
    --cc=jean.pihet@newoldbits.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox