Jack,
Thanks for the help. I can generate the pwc.ko file now. Apparently the
CROSS_COMPILER part of the make command is important.
Jason
On Thu, Feb 14, 2008 at 6:11 AM, Jack Noble <jack.h.noble@...>
wrote:
> Hi Jason,
>
> The only ko file generated, and the only one you need, is "pwc.ko". If
> this file isn't being generated, then here's what I did to the 't'.
> Trying to duplicate this procedure is a good place to start.
>
> In /.../gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum do
> # make menuconfig ARCH=arm
> Enable Device Drivers--->Multimedia devices--->Video for Linux
> Enable Device Drivers--->Multimedia devices--->Video Capture
> Adapters--->V4L USB Devices--->USB Philips Cameras
> Exit the menu and save changes
> Then in the /.../gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum
> directory do
> # make ARCH=arm
>
> CROSS_COMPILE=/.../gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-
> This should successfully build the kernel and compile pwc. pwc.ko should
> pop up in the pwc directory. Afterwards, if you are trying to build the
> full gumstix file system image, you should only have to do
> # make
> in the gumstix-buildroot directory -- you don't need the ARCH=arm
> parameter.
>
> If this procedure doesn't work, let me know and we may have to look at
> things more thoroughly.
>
> Jack
>
>
> > Date: Thu, 14 Feb 2008 00:36:45 -0800 From: "Jason Gordon"
> > <jgordon20@...> Subject: Re: [Gumstix-users] Video4Linux To:
> > "General mailing list for gumstix users."
> > <gumstix-users@...> Message-ID:
> > <55d1bb920802140036s16cf088bs5acd3c30dbbf5e2@...>
> > Content-Type: text/plain; charset="iso-8859-1" Hi Jack, I tried using
> > revision 1533 of buildroot and that got me past the problem of
> > compiling the .c files in the gumstix-buildroot/build_arm_nofpu/linux-
> > 2.6.21gum/drivers/media/video/pwc directory. The .o files get created
> > in the pwc directory after I do "make ARCH=arm" in the
> > gumstix-buildroot directory, but I don't see any .ko files in the pwc
> > directory. Do you know why the .ko files aren't being generated?
> > Thanks, Jason On Wed, Feb 13, 2008 at 11:48 AM, Jason Gordon
> > <jgordon20@...> wrote:
> >> > Hi Jack,
> >> >
> >> > Thanks for the response. Yes, I tried using the latest version of
> >> > buildroot (1585). I will try again using a different version of
> buildroot
> >> > to see if that works for me. Does anyone know why the latest version
> has a
> >> > problem with this procedure?
> >> >
> >> > Thanks,
> >> > Jason
> >> >
> >> >
> >> > On 2/13/08, Jack Noble <jack.h.noble@...> wrote:
> >>
> >>> > >
> >>> > > Hi Jason,
> >>> > >
> >>> > > Are you using the buildroot? I compiled V4L and pwc about a week
> or two
> >>> > > ago, but I couldn't get it to work using the latest buildroot.
> When I
> >>> > > reverted to 1533 everything worked smoothly. As you said
> previously, I
> >>> > > just did "make menuconfig ARCH=arm" in the linux-2.6.21gumdirectory,
> >>> > > enabled V4L and pwc. Then I did "make ARCH=arm
> >>> > > CROSS_COMPILE=/.../staging_dir/bin/arm-linux-" in the
> linux-2.6.21gum
> >>> > > directory to build the linux kernel and generate the ko files --
> >>> > > although I am unsure whether the cross_compile bit is necessary.
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>>
> >>>> > > > Date: Tue, 12 Feb 2008 21:17:08 -0800
> >>>> > > > From: "Jason Gordon" <jgordon20@...>
> >>>> > > > Subject: [Gumstix-users] Video4Linux
> >>>> > > > To: "General mailing list for gumstix users."
> >>>> > > > <gumstix-users@...>
> >>>> > > > Message-ID:
> >>>> > > > <
> 55d1bb920802122117h5c0701d1hb76a71a568ec4cd3@...>
> >>>> > > > Content-Type: text/plain; charset="iso-8859-1"
> >>>> > > >
> >>>> > > > Hi,
> >>>> > > >
> >>>> > > > I'm trying to setup video4linux on my verdex as described in
> >>>> > > > http://docwiki.gumstix.org/Video4linux, but am having some
> >>>>
> >>> > > problems. The
> >>>
> >>>> > > > first problem is there is no
> >>>> > > >
> >>>> > > > --> Multimedia devices --> Video Capture Adapters --> V4L USB
> Devices
> >>>> > > > --> GSPCA (Generic Software Package for Camera Adaptors)
> >>>> > > >
> >>>> > > > option after doing "make ARCH=arm menuconfig" in the
> >>>> > > > gumstix-buildroot/build_arm_no_fpu/linux-2.6.21gum directory.
> I tried
> >>>> > > > enabling the USB Philips Cameras option (as well as some other
> >>>>
> >>> > > options)
> >>>
> >>>> > > > instead but no *.ko file was built after I went back to the
> >>>> > > > gumstix-buildroot directory and did "make ARCH=arm". The
> bottom line
> >>>>
> >>> > > is I
> >>>
> >>>> > > > can't seem to generate any *.ko files in the
> >>>> > > > linux-2.6.21gum/drivers/media/video/pwc
> >>>> > > > directory as explained on the wiki no matter what I enable
> after doing
> >>>>
> >>> > > "make
> >>>
> >>>> > > > ARCH=arm menuconfig" in the linux-2.6.21gum directory. Has
> anyone
> >>>>
> >>> > > else run
> >>>
> >>>> > > > into this problem? Could someone please tell me what I am
> missing
> >>>>
> >>> > > here?
> >>>
> >>>> > > >
> >>>> > > > Thanks,
> >>>> > > > Jason
> >>>>
> >>> > >
> >>> > >
> >>> > >
> >>> > > --
> >>> > >
> >>> > > ____________________________________________________
> >>> > >
> >>> > > Jack H. Noble
> >>> > > Vanderbilt University
> >>> > > Dept. of Electrical Engineering and Computer Science
> >>> > > Nashville, TN
> >>> > > ____________________________________________________
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> -------------------------------------------------------------------------
> >>> > > This SF.net email is sponsored by: Microsoft
> >>> > > Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>> > > _______________________________________________
> >>> > > gumstix-users mailing list
> >>> > > gumstix-users@...
> >>> > > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >>> > >
> >>>
> >> >
> >> >
> >>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
|