All of lore.kernel.org
 help / color / mirror / Atom feed
* AM3517evm
@ 2012-03-09 17:22 George C. Huntington, III
  2012-03-12 13:55 ` AM3517evm Yegor Yefremov
  0 siblings, 1 reply; 9+ messages in thread
From: George C. Huntington, III @ 2012-03-09 17:22 UTC (permalink / raw)
  To: linux-omap

I would like to make the newer kernel (3.x) work with the AM3517EVM.
I have a 2.6.32 and a 2.6.33 that run well on the board, but the
recent kernels have kernel panics before even running init.  where
should I start?  is there a better place to pursue this?
--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-09 17:22 AM3517evm George C. Huntington, III
@ 2012-03-12 13:55 ` Yegor Yefremov
  2012-03-15 15:43   ` AM3517evm Mark A. Greer
  0 siblings, 1 reply; 9+ messages in thread
From: Yegor Yefremov @ 2012-03-12 13:55 UTC (permalink / raw)
  To: George C. Huntington, III; +Cc: linux-omap, mporter

Am 09.03.2012 18:22, schrieb George C. Huntington, III:
> I would like to make the newer kernel (3.x) work with the AM3517EVM.
> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
> recent kernels have kernel panics before even running init.  where
> should I start?  is there a better place to pursue this?

Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary

I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
                       
Or have you tried the one from kernel.org directly?
                         
Best regards,
Yegor

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-12 13:55 ` AM3517evm Yegor Yefremov
@ 2012-03-15 15:43   ` Mark A. Greer
  2012-03-15 15:52     ` AM3517evm Yegor Yefremov
  0 siblings, 1 reply; 9+ messages in thread
From: Mark A. Greer @ 2012-03-15 15:43 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: George C. Huntington, III, linux-omap, mporter

On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
> > I would like to make the newer kernel (3.x) work with the AM3517EVM.
> > I have a 2.6.32 and a 2.6.33 that run well on the board, but the
> > recent kernels have kernel panics before even running init.  where
> > should I start?  is there a better place to pursue this?
> 
> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
> 
> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
> 
> Starting kernel ...
> 
> Uncompressing Linux... done, booting the kernel.

This looks like you have your console device set to ttyS2 instead of ttyO2.

Which branch of that repository did you use?

Mark
--

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-15 15:43   ` AM3517evm Mark A. Greer
@ 2012-03-15 15:52     ` Yegor Yefremov
  2012-03-15 16:42       ` AM3517evm Mark A. Greer
  0 siblings, 1 reply; 9+ messages in thread
From: Yegor Yefremov @ 2012-03-15 15:52 UTC (permalink / raw)
  To: Mark A. Greer; +Cc: George C. Huntington, III, linux-omap, mporter

Am 15.03.2012 16:43, schrieb Mark A. Greer:
> On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
>> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
>>> I would like to make the newer kernel (3.x) work with the AM3517EVM.
>>> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
>>> recent kernels have kernel panics before even running init.  where
>>> should I start?  is there a better place to pursue this?
>> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
>>
>> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
>>
>> Starting kernel ...
>>
>> Uncompressing Linux... done, booting the kernel.
> This looks like you have your console device set to ttyS2 instead of ttyO2.
>
> Which branch of that repository did you use?

My kernel params: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" and I force them, so bootloader has nothing to say.

I'm using master branch.

Yegor

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-15 15:52     ` AM3517evm Yegor Yefremov
@ 2012-03-15 16:42       ` Mark A. Greer
  2012-03-15 16:52         ` AM3517evm Mark A. Greer
  0 siblings, 1 reply; 9+ messages in thread
From: Mark A. Greer @ 2012-03-15 16:42 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: George C. Huntington, III, linux-omap, mporter

On Thu, Mar 15, 2012 at 04:52:40PM +0100, Yegor Yefremov wrote:
> Am 15.03.2012 16:43, schrieb Mark A. Greer:
> > On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
> >> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
> >>> I would like to make the newer kernel (3.x) work with the AM3517EVM.
> >>> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
> >>> recent kernels have kernel panics before even running init.  where
> >>> should I start?  is there a better place to pursue this?
> >> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
> >>
> >> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
> >>
> >> Starting kernel ...
> >>
> >> Uncompressing Linux... done, booting the kernel.
> > This looks like you have your console device set to ttyS2 instead of ttyO2.
> >
> > Which branch of that repository did you use?
> 
> My kernel params: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" and I force them, so bootloader has nothing to say.
> 
> I'm using master branch.

I just booted the latest master branch (b8fe178) with the hack below.
(Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw
rootfstype=ext3 rootwait)

Note that it is a ***HACK*** and should only be used temporarily.

Also note that I've been working on fixing up some of the am35x issues
including PM related ones that I'm in the middle of right now.  If all goes
to plan, the am35x code will work better in the community in the
not-too-distant future.

Mark
--

diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 027a537..5d1952b 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -397,7 +397,7 @@ static void omap3_pm_idle(void)
 {
        local_fiq_disable();
 
-       if (omap_irq_pending())
+       if (omap_irq_pending() || !omap3_has_io_wakeup())
                goto out;
 
        trace_power_start(POWER_CSTATE, 1, smp_processor_id());


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-15 16:42       ` AM3517evm Mark A. Greer
@ 2012-03-15 16:52         ` Mark A. Greer
  2012-03-29 14:59           ` AM3517evm Yegor Yefremov
  0 siblings, 1 reply; 9+ messages in thread
From: Mark A. Greer @ 2012-03-15 16:52 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: George C. Huntington, III, linux-omap, mporter

On Thu, Mar 15, 2012 at 09:42:21AM -0700, Mark A. Greer wrote:
> On Thu, Mar 15, 2012 at 04:52:40PM +0100, Yegor Yefremov wrote:
> > Am 15.03.2012 16:43, schrieb Mark A. Greer:
> > > On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
> > >> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
> > >>> I would like to make the newer kernel (3.x) work with the AM3517EVM.
> > >>> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
> > >>> recent kernels have kernel panics before even running init.  where
> > >>> should I start?  is there a better place to pursue this?
> > >> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
> > >>
> > >> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
> > >>
> > >> Starting kernel ...
> > >>
> > >> Uncompressing Linux... done, booting the kernel.
> > > This looks like you have your console device set to ttyS2 instead of ttyO2.
> > >
> > > Which branch of that repository did you use?
> > 
> > My kernel params: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" and I force them, so bootloader has nothing to say.
> > 
> > I'm using master branch.
> 
> I just booted the latest master branch (b8fe178) with the hack below.
> (Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw
> rootfstype=ext3 rootwait)

I meant to add that I booted an am3517evm.

Mark
--

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-15 16:52         ` AM3517evm Mark A. Greer
@ 2012-03-29 14:59           ` Yegor Yefremov
  2012-03-30  9:44             ` AM3517evm Yegor Yefremov
  0 siblings, 1 reply; 9+ messages in thread
From: Yegor Yefremov @ 2012-03-29 14:59 UTC (permalink / raw)
  To: Mark A. Greer; +Cc: George C. Huntington, III, linux-omap, mporter

Am 15.03.2012 17:52, schrieb Mark A. Greer:
> On Thu, Mar 15, 2012 at 09:42:21AM -0700, Mark A. Greer wrote:
>> On Thu, Mar 15, 2012 at 04:52:40PM +0100, Yegor Yefremov wrote:
>>> Am 15.03.2012 16:43, schrieb Mark A. Greer:
>>>> On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
>>>>> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
>>>>>> I would like to make the newer kernel (3.x) work with the AM3517EVM.
>>>>>> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
>>>>>> recent kernels have kernel panics before even running init.  where
>>>>>> should I start?  is there a better place to pursue this?
>>>>> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
>>>>>
>>>>> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
>>>>>
>>>>> Starting kernel ...
>>>>>
>>>>> Uncompressing Linux... done, booting the kernel.
>>>> This looks like you have your console device set to ttyS2 instead of ttyO2.
>>>>
>>>> Which branch of that repository did you use?
>>> My kernel params: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" and I force them, so bootloader has nothing to say.
>>>
>>> I'm using master branch.
>> I just booted the latest master branch (b8fe178) with the hack below.
>> (Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw
>> rootfstype=ext3 rootwait)
> I meant to add that I booted an am3517evm.

Is frame buffer working? I can boot with the latest linux-omap version, but as soon as I enable omapfb, kernel freezes before making any output to the serial console. Have I missed some DSS/DPI patches?

Best regards,
Yegor

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-29 14:59           ` AM3517evm Yegor Yefremov
@ 2012-03-30  9:44             ` Yegor Yefremov
  2012-03-30 17:09               ` AM3517evm Mark A. Greer
  0 siblings, 1 reply; 9+ messages in thread
From: Yegor Yefremov @ 2012-03-30  9:44 UTC (permalink / raw)
  To: yegor_sub1; +Cc: Mark A. Greer, George C. Huntington, III, linux-omap, mporter

Am 29.03.2012 16:59, schrieb Yegor Yefremov:
> Am 15.03.2012 17:52, schrieb Mark A. Greer:
>> On Thu, Mar 15, 2012 at 09:42:21AM -0700, Mark A. Greer wrote:
>>> On Thu, Mar 15, 2012 at 04:52:40PM +0100, Yegor Yefremov wrote:
>>>> Am 15.03.2012 16:43, schrieb Mark A. Greer:
>>>>> On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
>>>>>> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
>>>>>>> I would like to make the newer kernel (3.x) work with the AM3517EVM.
>>>>>>> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
>>>>>>> recent kernels have kernel panics before even running init.  where
>>>>>>> should I start?  is there a better place to pursue this?
>>>>>> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
>>>>>>
>>>>>> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
>>>>>>
>>>>>> Starting kernel ...
>>>>>>
>>>>>> Uncompressing Linux... done, booting the kernel.
>>>>> This looks like you have your console device set to ttyS2 instead of ttyO2.
>>>>>
>>>>> Which branch of that repository did you use?
>>>> My kernel params: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" and I force them, so bootloader has nothing to say.
>>>>
>>>> I'm using master branch.
>>> I just booted the latest master branch (b8fe178) with the hack below.
>>> (Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw
>>> rootfstype=ext3 rootwait)
>> I meant to add that I booted an am3517evm.
> 
> Is frame buffer working? I can boot with the latest linux-omap version, but as soon as I enable omapfb, kernel freezes before making any output to the serial console. Have I missed some DSS/DPI patches?

After some research I found out that only the master branch is broken. At least rc7 is O.K.:

git checkout v3.3-rc7

master freezes:

git checkout origin/master 

According to commit log (http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=commitdiff;h=b8fe1781ec8bed5e086691a827a6ee11facec2aa), there is nothing suspicious. 

How can I see the real difference between v3.3-rc7 and master branch? Is this command sufficient?

git diff v3.3-rc7..origin/master

Yegor

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: AM3517evm
  2012-03-30  9:44             ` AM3517evm Yegor Yefremov
@ 2012-03-30 17:09               ` Mark A. Greer
  0 siblings, 0 replies; 9+ messages in thread
From: Mark A. Greer @ 2012-03-30 17:09 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: George C. Huntington, III, linux-omap, mporter

On Fri, Mar 30, 2012 at 11:44:09AM +0200, Yegor Yefremov wrote:
> Am 29.03.2012 16:59, schrieb Yegor Yefremov:
> > Am 15.03.2012 17:52, schrieb Mark A. Greer:
> >> On Thu, Mar 15, 2012 at 09:42:21AM -0700, Mark A. Greer wrote:
> >>> On Thu, Mar 15, 2012 at 04:52:40PM +0100, Yegor Yefremov wrote:
> >>>> Am 15.03.2012 16:43, schrieb Mark A. Greer:
> >>>>> On Mon, Mar 12, 2012 at 02:55:02PM +0100, Yegor Yefremov wrote:
> >>>>>> Am 09.03.2012 18:22, schrieb George C. Huntington, III:
> >>>>>>> I would like to make the newer kernel (3.x) work with the AM3517EVM.
> >>>>>>> I have a 2.6.32 and a 2.6.33 that run well on the board, but the
> >>>>>>> recent kernels have kernel panics before even running init.  where
> >>>>>>> should I start?  is there a better place to pursue this?
> >>>>>> Have you tried this one? http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
> >>>>>>
> >>>>>> I have this one booting one month ago, but I checked out the kernel today and it hangs somewhere:
> >>>>>>
> >>>>>> Starting kernel ...
> >>>>>>
> >>>>>> Uncompressing Linux... done, booting the kernel.
> >>>>> This looks like you have your console device set to ttyS2 instead of ttyO2.
> >>>>>
> >>>>> Which branch of that repository did you use?
> >>>> My kernel params: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" and I force them, so bootloader has nothing to say.
> >>>>
> >>>> I'm using master branch.
> >>> I just booted the latest master branch (b8fe178) with the hack below.
> >>> (Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw
> >>> rootfstype=ext3 rootwait)
> >> I meant to add that I booted an am3517evm.
> > 
> > Is frame buffer working? I can boot with the latest linux-omap version, but as soon as I enable omapfb, kernel freezes before making any output to the serial console. Have I missed some DSS/DPI patches?

[Sorry for the delay.  I didn't notice your email until now.]

> 
> After some research I found out that only the master branch is broken. At least rc7 is O.K.:
> 
> git checkout v3.3-rc7
> 
> master freezes:
> 
> git checkout origin/master 

I'm not sure what you're trying to say here.

> According to commit log (http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=commitdiff;h=b8fe1781ec8bed5e086691a827a6ee11facec2aa), there is nothing suspicious. 

Its not necessarily that commit.  It could be any commit between v3.3-rc7 and the current one (including the current one).

> How can I see the real difference between v3.3-rc7 and master branch? Is this command sufficient?
> 
> git diff v3.3-rc7..origin/master

Yes, that will show the actual diff.

Another way to view it would be to use gitk or qgit (or ...) to see
the commits that have been applied since v3.3-rc7.

Mark
--

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-03-30 17:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-09 17:22 AM3517evm George C. Huntington, III
2012-03-12 13:55 ` AM3517evm Yegor Yefremov
2012-03-15 15:43   ` AM3517evm Mark A. Greer
2012-03-15 15:52     ` AM3517evm Yegor Yefremov
2012-03-15 16:42       ` AM3517evm Mark A. Greer
2012-03-15 16:52         ` AM3517evm Mark A. Greer
2012-03-29 14:59           ` AM3517evm Yegor Yefremov
2012-03-30  9:44             ` AM3517evm Yegor Yefremov
2012-03-30 17:09               ` AM3517evm Mark A. Greer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.