<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 6:38 PM, Paul Fox <span dir="ltr"><<a href="mailto:pgf@laptop.org" target="_blank">pgf@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">ajay wrote:<br>
> On Tue, Jun 11, 2013 at 6:25 PM, Paul Fox <<a href="mailto:pgf@laptop.org">pgf@laptop.org</a>> wrote:<br>
><br>
> > ajay wrote:<br>
> > > Hi James.<br>
> > > Thanks a ton for the reply !!!!<br>
> > ><br>
> > > Here are the steps I followed on my x86-based Dell laptop::<br>
> > ><br>
> > > a)<br>
> > > "cd ~"<br>
> > ><br>
> > ><br>
> > > b)<br>
> > > "git clone git://<a href="http://dev.laptop.org/olpc-kernel" target="_blank">dev.laptop.org/olpc-kernel</a>"<br>
> > ><br>
> > ><br>
> > > c)<br>
> > > "cd olpc-kernel"<br>
> > ><br>
> ><br>
> > you left out:<br>
> > cp arch/x86/configs/xo_1.5_defconfig .config<br>
> > make oldconfig<br>
> ><br>
><br>
> Ohh ok..<br>
<br>
</div>oops. you're probably still on master. there's another missing step:<br>
git checkout x86-3.3<br></blockquote><div><br></div><div>That did it !!!<br></div><div>( <br> Also, sorry and thanks to James, since the "branch" was the first thing he asked<br>).<br><br></div><div>I could compile the kernel by replacing the config-file, and also managed to break it after haphazardly editing "drivers/media/video/ov7670.c" :)<br>
<br></div><div>Thanks again James and Paul !!!<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
paul<br>
<div><div class="h5"><br>
><br>
> Currently, I do not see any such file as arch/x86/configs/xo_1.5_defconfig<br>
> :-\<br>
> Doing "ls -l arch/x86/configs gives me" ::<br>
><br>
> [ajay@localhost olpc-kernel]$ ls -l arch/x86/configs/<br>
> total 16<br>
> -rw-rw-r--. 1 ajay ajay 7511 Jun 9 05:37 i386_defconfig<br>
> -rw-rw-r--. 1 ajay ajay 7528 Jun 9 05:37 x86_64_defconfig<br>
><br>
><br>
> Paul,<br>
><br>
> a)<br>
> Are there some additional steps to generate the config file for XO-1.5?<br>
><br>
> b)<br>
> Secondly, is the "marvell" module generatable only on the XO-1.5? As far as<br>
> I know, the OmniVersion sensor works since the earliest series of laptops?<br>
><br>
><br>
><br>
> > paul<br>
> ><br>
> > ><br>
> > > d)<br>
> > > "make"<br>
> > ><br>
> > ><br>
> > > e)<br>
> > > Wait many minutes (if not hours).<br>
> > > Everything runs to completion.<br>
> > ><br>
> > ><br>
> > > f)<br>
> > > Haphazardly edit "drivers/media/video/ov7670.c".<br>
> > ><br>
> > ><br>
> > > g)<br>
> > > Now, run "make" again.<br>
> > ><br>
> > > Because of the haphazard editing of the file in step f), the build<br>
> > should<br>
> > > break.<br>
> > > However, it doesn't, and it runs to completion as before.<br>
> > ><br>
> > ><br>
> > > h)<br>
> > > At any time, there is no object file (.o) or kernel-object (.ko) file<br>
> > > whatsoever in the directory "drivers/media/video/marvell-ccic".<br>
> > ><br>
> > ><br>
> > > i)<br>
> > > Because of observation of step h), and the fact that "ov7670.h" is used<br>
> > in<br>
> > > the file "drivers/media/video/marvell-ccic/mcam-core.c",<br>
> > > I doubt if the "marvell" module is being compiled at all.<br>
> > ><br>
> > ><br>
> > > j)<br>
> > > Moreover, the "I2C VS SMBus" has stemmed into my imagination, looking at<br>
> > > the file "drivers/media/video/Kconfig" :)<br>
> > ><br>
> > ><br>
> > > Note that following the steps f) and g) after haphazardly editing a<br>
> > > different file like "drivers/media/video/tvaudio.c" DOES break the<br>
> > build.<br>
> > > That means that I am at least following the right ways to break the<br>
> > build :P<br>
> > ><br>
> > ><br>
> > > James,<br>
> > > please let me know if you require any more info.<br>
> > ><br>
> > > Thanks again for the help !!<br>
> > ><br>
> > ><br>
> > > On Tue, Jun 11, 2013 at 4:05 PM, James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>><br>
> > wrote:<br>
> > ><br>
> > > > G'day Ajay,<br>
> > > ><br>
> > > > I've never heard of such a restriction. Can you tell us the name of<br>
> > > > the branch you compiled, and what method you used? Perhaps share the<br>
> > > > output?<br>
> > > ><br>
> > > > --<br>
> > > > James Cameron<br>
> > > > <a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Regards,<br>
> > ><br>
> > > Ajay Garg<br>
> > > Dextrose Developer<br>
> > > Activity Central: <a href="http://activitycentral.com" target="_blank">http://activitycentral.com</a><br>
> > > part 2 text/plain 129<br>
> > > _______________________________________________<br>
> > > Devel mailing list<br>
> > > <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
> > > <a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
> ><br>
> > =---------------------<br>
> > paul fox, <a href="mailto:pgf@laptop.org">pgf@laptop.org</a><br>
> > _______________________________________________<br>
> > Devel mailing list<br>
> > <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
> > <a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
><br>
> Ajay Garg<br>
> Dextrose Developer<br>
> Activity Central: <a href="http://activitycentral.com" target="_blank">http://activitycentral.com</a><br>
<br>
</div></div>=---------------------<br>
paul fox, <a href="mailto:pgf@laptop.org">pgf@laptop.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Activity Central: </span><a href="http://activitycentral.com/" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">http://activitycentral.com</a>
</div></div>