public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* compile break on dss2 branch for zoom3
@ 2010-03-11 11:40 Y, Kishore
  2010-03-11 11:43 ` Tomi Valkeinen
  0 siblings, 1 reply; 9+ messages in thread
From: Y, Kishore @ 2010-03-11 11:40 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: linux-omap@vger.kernel.org

Hi Tomi,
	I am unable to compile dss2 tree for zoom3. Commit I am using following commit id

893d461b538e889da350061edaadeb8a9289913c
OMAP: DSS2: quick hack for set mode


Error I see is related to usb:-
drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in this function)
drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is reported only once
drivers/usb/core/hcd.c:1892: error: for each function it appears in.)
make[3]: *** [drivers/usb/core/hcd.o] Error 1
make[2]: *** [drivers/usb/core] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

When I disable usb, build goes through but the board does not bootup with this image. It is stuck at uncompressing linux.


Regards,
Kishore Y

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

* Re: compile break on dss2 branch for zoom3
  2010-03-11 11:40 compile break on dss2 branch for zoom3 Y, Kishore
@ 2010-03-11 11:43 ` Tomi Valkeinen
  2010-03-11 11:48   ` Gadiyar, Anand
  2010-03-11 13:11   ` Felipe Balbi
  0 siblings, 2 replies; 9+ messages in thread
From: Tomi Valkeinen @ 2010-03-11 11:43 UTC (permalink / raw)
  To: ext Y, Kishore; +Cc: linux-omap@vger.kernel.org

On Thu, 2010-03-11 at 12:40 +0100, ext Y, Kishore wrote:
> Hi Tomi,
> 	I am unable to compile dss2 tree for zoom3. Commit I am using following commit id
> 
> 893d461b538e889da350061edaadeb8a9289913c
> OMAP: DSS2: quick hack for set mode
> 
> 
> Error I see is related to usb:-
> drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in this function)
> drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is reported only once
> drivers/usb/core/hcd.c:1892: error: for each function it appears in.)
> make[3]: *** [drivers/usb/core/hcd.o] Error 1
> make[2]: *** [drivers/usb/core] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
> 
> When I disable usb, build goes through but the board does not bootup with this image. It is stuck at uncompressing linux.

Yes, mainstream linux tree seems to be broken. Not much I can do to help
you there. You can try rebasing on top of later mainstrean version,
perhaps it's been fixed there.

 Tomi



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

* RE: compile break on dss2 branch for zoom3
  2010-03-11 11:43 ` Tomi Valkeinen
@ 2010-03-11 11:48   ` Gadiyar, Anand
  2010-03-11 11:52     ` Y, Kishore
  2010-03-11 14:49     ` Aguirre, Sergio
  2010-03-11 13:11   ` Felipe Balbi
  1 sibling, 2 replies; 9+ messages in thread
From: Gadiyar, Anand @ 2010-03-11 11:48 UTC (permalink / raw)
  To: Tomi Valkeinen, Y, Kishore; +Cc: linux-omap@vger.kernel.org

Tomi Valkeinen wrote:
> 
> On Thu, 2010-03-11 at 12:40 +0100, ext Y, Kishore wrote:
> > Hi Tomi,
> >       I am unable to compile dss2 tree for zoom3. Commit I am using following commit id
> >
> > 893d461b538e889da350061edaadeb8a9289913c
> > OMAP: DSS2: quick hack for set mode
> >
> >
> > Error I see is related to usb:-
> > drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> > drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in this function)
> > drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is reported only once
> > drivers/usb/core/hcd.c:1892: error: for each function it appears in.)
> > make[3]: *** [drivers/usb/core/hcd.o] Error 1
> > make[2]: *** [drivers/usb/core] Error 2
> > make[1]: *** [drivers/usb] Error 2
> > make: *** [drivers] Error 2
> >
> > When I disable usb, build goes through but the board does not bootup with this image. It is stuck at uncompressing linux.
> 
> Yes, mainstream linux tree seems to be broken. Not much I can do to help
> you there. You can try rebasing on top of later mainstrean version,
> perhaps it's been fixed there.
> 

I sent this patch [1] to linux-usb to fix this. It's yet to be queued up.
The alternative is to enable CONFIG_PM_RUNTIME in the build.

Regards,
Anand

[1] http://marc.info/?l=linux-usb&m=126675883221098&w=2

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

* RE: compile break on dss2 branch for zoom3
  2010-03-11 11:48   ` Gadiyar, Anand
@ 2010-03-11 11:52     ` Y, Kishore
  2010-03-11 13:29       ` Y, Kishore
  2010-03-11 14:49     ` Aguirre, Sergio
  1 sibling, 1 reply; 9+ messages in thread
From: Y, Kishore @ 2010-03-11 11:52 UTC (permalink / raw)
  To: Gadiyar, Anand, Tomi Valkeinen; +Cc: linux-omap@vger.kernel.org

> -----Original Message-----
> From: Gadiyar, Anand
> Sent: Thursday, March 11, 2010 5:18 PM
> To: Tomi Valkeinen; Y, Kishore
> Cc: linux-omap@vger.kernel.org
> Subject: RE: compile break on dss2 branch for zoom3
> 
> Tomi Valkeinen wrote:
> >
> > On Thu, 2010-03-11 at 12:40 +0100, ext Y, Kishore wrote:
> > > Hi Tomi,
> > >       I am unable to compile dss2 tree for zoom3. Commit I am using
> following commit id
> > >
> > > 893d461b538e889da350061edaadeb8a9289913c
> > > OMAP: DSS2: quick hack for set mode
> > >
> > >
> > > Error I see is related to usb:-
> > > drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> > > drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in
> this function)
> > > drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is
> reported only once
> > > drivers/usb/core/hcd.c:1892: error: for each function it appears in.)
> > > make[3]: *** [drivers/usb/core/hcd.o] Error 1
> > > make[2]: *** [drivers/usb/core] Error 2
> > > make[1]: *** [drivers/usb] Error 2
> > > make: *** [drivers] Error 2
> > >
> > > When I disable usb, build goes through but the board does not bootup
> with this image. It is stuck at uncompressing linux.
> >
> > Yes, mainstream linux tree seems to be broken. Not much I can do to help
> > you there. You can try rebasing on top of later mainstrean version,
> > perhaps it's been fixed there.
> >
> 
> I sent this patch [1] to linux-usb to fix this. It's yet to be queued up.
> The alternative is to enable CONFIG_PM_RUNTIME in the build.
> 
> Regards,
> Anand
> 
> [1] http://marc.info/?l=linux-usb&m=126675883221098&w=2

I will try this out.

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

* Re: compile break on dss2 branch for zoom3
  2010-03-11 11:43 ` Tomi Valkeinen
  2010-03-11 11:48   ` Gadiyar, Anand
@ 2010-03-11 13:11   ` Felipe Balbi
  2010-03-11 22:42     ` Tony Lindgren
  1 sibling, 1 reply; 9+ messages in thread
From: Felipe Balbi @ 2010-03-11 13:11 UTC (permalink / raw)
  To: Valkeinen Tomi (Nokia-D/Helsinki)
  Cc: ext Y, Kishore, linux-omap@vger.kernel.org

On Thu, Mar 11, 2010 at 12:43:00PM +0100, Valkeinen Tomi (Nokia-D/Helsinki) wrote:
>> When I disable usb, build goes through but the board does not bootup with this image. It is stuck at uncompressing linux.
>
>Yes, mainstream linux tree seems to be broken. Not much I can do to help
>you there. You can try rebasing on top of later mainstrean version,
>perhaps it's been fixed there.

you need to enable CONFIG_PM_RUNTIME

-- 
balbi

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

* RE: compile break on dss2 branch for zoom3
  2010-03-11 11:52     ` Y, Kishore
@ 2010-03-11 13:29       ` Y, Kishore
  2010-03-11 14:52         ` Aguirre, Sergio
  0 siblings, 1 reply; 9+ messages in thread
From: Y, Kishore @ 2010-03-11 13:29 UTC (permalink / raw)
  To: Y, Kishore, Gadiyar, Anand, Tomi Valkeinen; +Cc: linux-omap@vger.kernel.org

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Y, Kishore
> Sent: Thursday, March 11, 2010 5:23 PM
> To: Gadiyar, Anand; Tomi Valkeinen
> Cc: linux-omap@vger.kernel.org
> Subject: RE: compile break on dss2 branch for zoom3
> 
> > -----Original Message-----
> > From: Gadiyar, Anand
> > Sent: Thursday, March 11, 2010 5:18 PM
> > To: Tomi Valkeinen; Y, Kishore
> > Cc: linux-omap@vger.kernel.org
> > Subject: RE: compile break on dss2 branch for zoom3
> >
> > Tomi Valkeinen wrote:
> > >
> > > On Thu, 2010-03-11 at 12:40 +0100, ext Y, Kishore wrote:
> > > > Hi Tomi,
> > > >       I am unable to compile dss2 tree for zoom3. Commit I am using
> > following commit id
> > > >
> > > > 893d461b538e889da350061edaadeb8a9289913c
> > > > OMAP: DSS2: quick hack for set mode
> > > >
> > > >
> > > > Error I see is related to usb:-
> > > > drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> > > > drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in
> > this function)
> > > > drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is
> > reported only once
> > > > drivers/usb/core/hcd.c:1892: error: for each function it appears
> in.)
> > > > make[3]: *** [drivers/usb/core/hcd.o] Error 1
> > > > make[2]: *** [drivers/usb/core] Error 2
> > > > make[1]: *** [drivers/usb] Error 2
> > > > make: *** [drivers] Error 2
> > > >
> > > > When I disable usb, build goes through but the board does not bootup
> > with this image. It is stuck at uncompressing linux.
> > >
> > > Yes, mainstream linux tree seems to be broken. Not much I can do to
> help
> > > you there. You can try rebasing on top of later mainstrean version,
> > > perhaps it's been fixed there.
> > >
> >
> > I sent this patch [1] to linux-usb to fix this. It's yet to be queued
> up.
> > The alternative is to enable CONFIG_PM_RUNTIME in the build.
> >
> > Regards,
> > Anand
> >
> > [1] http://marc.info/?l=linux-usb&m=126675883221098&w=2
> 
> I will try this out.
I have tried to use the main line which already has this patch. I am able to compile the code without any issues. But board still does not boot. Am I missing something?

My bootargs:
setenv bootargs console=ttyS3,115200n8 noinitrd root=/dev/nfs rw nfsroot=192.168.223.72:/home/x0114913/fs1_inc2_rc0,nolock,rsize=1024,wsize=1024 rootdelay=0 ip=192.168.223.251 debug

> --
> 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: compile break on dss2 branch for zoom3
  2010-03-11 11:48   ` Gadiyar, Anand
  2010-03-11 11:52     ` Y, Kishore
@ 2010-03-11 14:49     ` Aguirre, Sergio
  1 sibling, 0 replies; 9+ messages in thread
From: Aguirre, Sergio @ 2010-03-11 14:49 UTC (permalink / raw)
  To: Gadiyar, Anand, Tomi Valkeinen, Y, Kishore; +Cc: linux-omap@vger.kernel.org



> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Gadiyar, Anand
> Sent: Thursday, March 11, 2010 5:48 AM
> To: Tomi Valkeinen; Y, Kishore
> Cc: linux-omap@vger.kernel.org
> Subject: RE: compile break on dss2 branch for zoom3
> 
> Tomi Valkeinen wrote:
> >
> > On Thu, 2010-03-11 at 12:40 +0100, ext Y, Kishore wrote:
> > > Hi Tomi,
> > >       I am unable to compile dss2 tree for zoom3. Commit I am using
> following commit id
> > >
> > > 893d461b538e889da350061edaadeb8a9289913c
> > > OMAP: DSS2: quick hack for set mode
> > >
> > >
> > > Error I see is related to usb:-
> > > drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> > > drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in
> this function)
> > > drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is
> reported only once
> > > drivers/usb/core/hcd.c:1892: error: for each function it appears in.)
> > > make[3]: *** [drivers/usb/core/hcd.o] Error 1
> > > make[2]: *** [drivers/usb/core] Error 2
> > > make[1]: *** [drivers/usb] Error 2
> > > make: *** [drivers] Error 2
> > >
> > > When I disable usb, build goes through but the board does not bootup
> with this image. It is stuck at uncompressing linux.
> >
> > Yes, mainstream linux tree seems to be broken. Not much I can do to help
> > you there. You can try rebasing on top of later mainstrean version,
> > perhaps it's been fixed there.
> >
> 
> I sent this patch [1] to linux-usb to fix this. It's yet to be queued up.
> The alternative is to enable CONFIG_PM_RUNTIME in the build.

This fix is in current linux-omap master branch as:

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commitdiff;h=873f7381a049e3814e01d44ba7f12ff13d4653b1

Who's patch is going upstream? Tony's or yours? :)

Regards,
Sergio

> 
> Regards,
> Anand
> 
> [1] http://marc.info/?l=linux-usb&m=126675883221098&w=2
> --
> 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: compile break on dss2 branch for zoom3
  2010-03-11 13:29       ` Y, Kishore
@ 2010-03-11 14:52         ` Aguirre, Sergio
  0 siblings, 0 replies; 9+ messages in thread
From: Aguirre, Sergio @ 2010-03-11 14:52 UTC (permalink / raw)
  To: Y, Kishore, Gadiyar, Anand, Tomi Valkeinen; +Cc: linux-omap@vger.kernel.org



> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Y, Kishore
> Sent: Thursday, March 11, 2010 7:29 AM
> To: Y, Kishore; Gadiyar, Anand; Tomi Valkeinen
> Cc: linux-omap@vger.kernel.org
> Subject: RE: compile break on dss2 branch for zoom3
> 
> > -----Original Message-----
> > From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> > owner@vger.kernel.org] On Behalf Of Y, Kishore
> > Sent: Thursday, March 11, 2010 5:23 PM
> > To: Gadiyar, Anand; Tomi Valkeinen
> > Cc: linux-omap@vger.kernel.org
> > Subject: RE: compile break on dss2 branch for zoom3
> >
> > > -----Original Message-----
> > > From: Gadiyar, Anand
> > > Sent: Thursday, March 11, 2010 5:18 PM
> > > To: Tomi Valkeinen; Y, Kishore
> > > Cc: linux-omap@vger.kernel.org
> > > Subject: RE: compile break on dss2 branch for zoom3
> > >
> > > Tomi Valkeinen wrote:
> > > >
> > > > On Thu, 2010-03-11 at 12:40 +0100, ext Y, Kishore wrote:
> > > > > Hi Tomi,
> > > > >       I am unable to compile dss2 tree for zoom3. Commit I am
> using
> > > following commit id
> > > > >
> > > > > 893d461b538e889da350061edaadeb8a9289913c
> > > > > OMAP: DSS2: quick hack for set mode
> > > > >
> > > > >
> > > > > Error I see is related to usb:-
> > > > > drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> > > > > drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use
> in
> > > this function)
> > > > > drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is
> > > reported only once
> > > > > drivers/usb/core/hcd.c:1892: error: for each function it appears
> > in.)
> > > > > make[3]: *** [drivers/usb/core/hcd.o] Error 1
> > > > > make[2]: *** [drivers/usb/core] Error 2
> > > > > make[1]: *** [drivers/usb] Error 2
> > > > > make: *** [drivers] Error 2
> > > > >
> > > > > When I disable usb, build goes through but the board does not
> bootup
> > > with this image. It is stuck at uncompressing linux.
> > > >
> > > > Yes, mainstream linux tree seems to be broken. Not much I can do to
> > help
> > > > you there. You can try rebasing on top of later mainstrean version,
> > > > perhaps it's been fixed there.
> > > >
> > >
> > > I sent this patch [1] to linux-usb to fix this. It's yet to be queued
> > up.
> > > The alternative is to enable CONFIG_PM_RUNTIME in the build.
> > >
> > > Regards,
> > > Anand
> > >
> > > [1] http://marc.info/?l=linux-usb&m=126675883221098&w=2
> >
> > I will try this out.
> I have tried to use the main line which already has this patch. I am able
> to compile the code without any issues. But board still does not boot. Am
> I missing something?
> 
> My bootargs:
> setenv bootargs console=ttyS3,115200n8 noinitrd root=/dev/nfs rw
> nfsroot=192.168.223.72:/home/x0114913/fs1_inc2_rc0,nolock,rsize=1024,wsize
> =1024 rootdelay=0 ip=192.168.223.251 debug

Can you take this series:

http://marc.info/?l=linux-omap&m=126826639903105&w=2

And test with ttyS0?

Regards,
Sergio

> 
> > --
> > 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

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

* Re: compile break on dss2 branch for zoom3
  2010-03-11 13:11   ` Felipe Balbi
@ 2010-03-11 22:42     ` Tony Lindgren
  0 siblings, 0 replies; 9+ messages in thread
From: Tony Lindgren @ 2010-03-11 22:42 UTC (permalink / raw)
  To: Felipe Balbi
  Cc: Valkeinen Tomi (Nokia-D/Helsinki), ext Y, Kishore,
	linux-omap@vger.kernel.org

* Felipe Balbi <felipe.balbi@nokia.com> [100311 05:09]:
> On Thu, Mar 11, 2010 at 12:43:00PM +0100, Valkeinen Tomi (Nokia-D/Helsinki) wrote:
> >>When I disable usb, build goes through but the board does not bootup with this image. It is stuck at uncompressing linux.
> >
> >Yes, mainstream linux tree seems to be broken. Not much I can do to help
> >you there. You can try rebasing on top of later mainstrean version,
> >perhaps it's been fixed there.
> 
> you need to enable CONFIG_PM_RUNTIME

I have a patch queued up to do that for the related defconfig
files while we wait for the usb patch to get merged. Will post
later today.

Tony

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

end of thread, other threads:[~2010-03-11 22:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 11:40 compile break on dss2 branch for zoom3 Y, Kishore
2010-03-11 11:43 ` Tomi Valkeinen
2010-03-11 11:48   ` Gadiyar, Anand
2010-03-11 11:52     ` Y, Kishore
2010-03-11 13:29       ` Y, Kishore
2010-03-11 14:52         ` Aguirre, Sergio
2010-03-11 14:49     ` Aguirre, Sergio
2010-03-11 13:11   ` Felipe Balbi
2010-03-11 22:42     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox