here is the complete procedure that i used to solve the problem. note that this can happen to not be the minimal number of steps. Step 7 is important even if you're not working with the camera but somehow you want to use kernel 2.6.34 with a 2.6.39 image. i hope it is clear. if not just post your questions and i'll try to answer. regards, gonçalo

1)
$ git clone git://gitorious.org/gumstix-oe/mainline.git org.openembedded.dev
$ cd org.openembedded.dev
$ git checkout --track -b xyz origin/overo-2011.03

2)
In conf/machine/overo.conf edit the line:
SERIAL_CONSOLE = "115200 ttyS2"

3)
$ bitbake -c menuconfig linux-omap3-caspapx
        > left out stuff that I don't need
        > in my case I needed SPI support and so disabled all touchscreen and LCD display stuff because from what i've read they use the same pins
        > added mt9v032 in the kernel, not as a module
$ cp ~/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-caspapx-2.6.34-r101/git/.config ~/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-caspapx/overo/defconfig
$ bitbake -c clean linux-omap3-caspapx
$ bitbake linux-omap3-caspapx

4)
$ bitbake omap3-console-image
        > in my case i added some features in the recipe. in particular ffmpeg and mplayer.

5)
Load de microSD card

6)
Boot board. It takes some time. It fails to boot.

7)
Put the microSD card back in the development machine and in /etc/inittab of the root filesystem
Edit the line:
S:2345:respawn:/sbin/getty 115200 ttyO2
to:
S:2345:respawn:/sbin/getty 115200 ttyS2

8)
Boot board. You're ready to go. Try for instance
$ mplayer tv:// -tv driver=v4l2:device=/dev/video0 -vo jpeg
if you added mplayer to the image

On Thu, Jul 14, 2011 at 9:53 PM, Neil MacMunn <neil@gumstix.com> wrote:
I pushed a fix for the boot splash issue earlier today. The Caspa kernel
should build now.

As Marius suggested, if you want to use the Caspa kernel with the latest
rootfs you'll have to change the console to ttyS2. You can change this
line in overo-oe/org.openembedded.dev/conf/machine/overo.conf

 SERIAL_CONSOLE = "115200 ttyS2"

and then rebuild the affected packages, or just use the rootfs here

 http://cumulus.gumstix.org/images/angstrom/misc/caspapx/

-
Neil



On 11-07-14 09:39 AM, Marius Adaskevicius wrote:
> I'm not exactly familiar with any of this, but it seems that the image
> expects newer kernel. What I believe the issue here is the (in)famous
> console switch from ttyS2 in 2.6.34 kernel to ttyO2 in >=2.6.36 kernels.
> The change in /etc/inittab from "S:2345:respawn:/sbin/getty 115200
> ttyO2" to "S:2345:respawn:/sbin/getty 115200 ttyS2" should make it boot
> (or rather open the terminal) again. Hope that helps.
>
> Regards,
> Marius.
>
>
> On 2011.07.14, at 12:53, Gonçalo Bernardo wrote:
>
>> ok, here go my attempts' descriptions:
>>
>> 1) bitbake linux-omap3-caspapx from the overo-2011.03 branch
>>
>> Error: No such file or directory:
>> '/home/gonber/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-caspapx-2.6.34/overo/./${BOOT_SPLASH}'
>> I commented out the BOOT_SPLASH in the recipe and rerun bitbake. it worked
>>
>> 2) bitbake omap3-console-image from overo-2011.03 branch
>>
>> 3) Put everything on the microSD, including replacing the contents of
>> /boot by the uImage generated for linux-omap3-caspapx.
>>
>> Boot stopped with: "INIT: Id "S" respawning too fast: disabled for 5
>> minutes"
>>
>> Now I can think of 2 possibilities:
>>
>> a) BOOT_SPLASH is needed
>>
>> b) omap3-console-image expects 2.6.39 and doesn't work with 2.6.34.
>>
>> Do you have any suggestions?
>>
>> Tks in adv,
>> gonçalo
>>
>>
>> On Wed, Jul 13, 2011 at 5:39 PM, Neil MacMunn <neil@gumstix.com
>> <mailto:neil@gumstix.com>> wrote:
>>
>>     Take a look at recipes/linux/linux-omap3-caspapx_2.6.34.bb
>>     <http://linux-omap3-caspapx_2.6.34.bb/>
>>
>>     This recipe came from the Overo branch.
>>
>>     -
>>     Neil
>>
>>
>>     On 11-07-13 12:08 AM, Gonçalo Bernardo wrote:
>>     > Hey,
>>     >
>>     > @Neil,
>>     > What do you mean by copying? Which files did you replace?
>>     > From where did you download that kernel?
>>     >
>>     > Thanks,
>>     > gonçalo
>>     >
>>     > On Wed, Jul 13, 2011 at 3:15 AM, JamesAng <angweiyang@gmail.com
>>     <mailto:angweiyang@gmail.com>
>>     > <mailto:angweiyang@gmail.com <mailto:angweiyang@gmail.com>>> wrote:
>>     >
>>     >
>>     >
>>     > enmach wrote:
>>     > >
>>     > > Hi,
>>     > >
>>     > > I copied the 2.6.34 kernel with Caspa driver into
>>     overo-2011.03. The
>>     > > MT9V032 driver found in later kernels is a complete rewrite and,
>>     > last I
>>     > > checked, does not yet work with Caspa.
>>     > >
>>     > > -
>>     > > Neil
>>     > >
>>     >
>>     > Hi Neil,
>>     >
>>     > Do you know what is the baseline of later kernel upstream that can
>>     > work with
>>     > the new driver?
>>     >
>>     > What I foresee is that we are moving towards a 2.6.39 or later
>>     > kernel in the
>>     > new overo-2011.03 branch but no driver to support the sensor.
>>     > Falling back
>>     > to 2.6.34 and its driver is a damper (~~)
>>     >
>>     > Is Overo's/Steve's kernel tracking that from TI's or from
>>     Linus's like I
>>     > mentioned earlier? or...?
>>     >
>>     > Thks in adv.
>>     >
>>     > James.
>>     >
>>     > --
>>     > View this message in context:
>>     >
>>     http://old.nabble.com/Caspa-%28mt9v032%29-camera-kernel-support-tp32032932p32050454.html
>>     > Sent from the Gumstix mailing list archive at Nabble.com
>>     <http://Nabble.com>.
>>     >
>>     >
>>     >
>>     ------------------------------------------------------------------------------
>>     > AppSumo Presents a FREE Video for the SourceForge Community by Eric
>>     > Ries, the creator of the Lean Startup Methodology on "Lean Startup
>>     > Secrets Revealed." This video shows you how to validate your ideas,
>>     > optimize your ideas and identify your business strategy.
>>     > http://p.sf.net/sfu/appsumosfdev2dev
>>     > _______________________________________________
>>     > gumstix-users mailing list
>>     > gumstix-users@lists.sourceforge.net
>>     <mailto:gumstix-users@lists.sourceforge.net>
>>     > <mailto:gumstix-users@lists.sourceforge.net
>>     <mailto:gumstix-users@lists.sourceforge.net>>
>>     > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>     >
>>     >
>>     >
>>     >
>>     > --
>>     > .::Gonber::.
>>     >
>>     >
>>     >
>>     >
>>     ------------------------------------------------------------------------------
>>     > AppSumo Presents a FREE Video for the SourceForge Community by Eric
>>     > Ries, the creator of the Lean Startup Methodology on "Lean Startup
>>     > Secrets Revealed." This video shows you how to validate your ideas,
>>     > optimize your ideas and identify your business strategy.
>>     > http://p.sf.net/sfu/appsumosfdev2dev
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > gumstix-users mailing list
>>     > gumstix-users@lists.sourceforge.net
>>     <mailto:gumstix-users@lists.sourceforge.net>
>>     > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>>     ------------------------------------------------------------------------------
>>     AppSumo Presents a FREE Video for the SourceForge Community by Eric
>>     Ries, the creator of the Lean Startup Methodology on "Lean Startup
>>     Secrets Revealed." This video shows you how to validate your ideas,
>>     optimize your ideas and identify your business strategy.
>>     http://p.sf.net/sfu/appsumosfdev2dev
>>     _______________________________________________
>>     gumstix-users mailing list
>>     gumstix-users@lists.sourceforge.net
>>     <mailto:gumstix-users@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>>
>>
>> --
>> .::Gonber::.
>> ------------------------------------------------------------------------------
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev_______________________________________________
>> gumstix-users mailing list
>> gumstix-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
>
>
>
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
.::Gonber::.