<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 6:02 PM, joem <span dir="ltr"><<a href="mailto:joem@martindale-electric.co.uk" target="_blank">joem@martindale-electric.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On Mon, 2013-09-09 at 17:46 +0200, Arokux X wrote:<br>
><br>
<br>
><br>
> > >> > From <a href="http://rhombus-tech.net/allwinner/a20/boot/" target="_blank">http://rhombus-tech.net/allwinner/a20/boot/</a><br>
> > >> > When I run<br>
> > >> ><br>
> > >> > make -j3 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-<br>
> > >> > KDIR=~/src/a10/linux-sunxi/ -C<br>
> arch/arm/mach-sun7i/pm/standby all<br>
> > >><br>
> > >> the KDIR environment variable is a standard linux kernel<br>
> environment<br>
> > >> variable, which says "my (K)ernal (DIR)ectory is<br>
> ~/src/....". so,<br>
> > >> obviously, you have to adjust that for your setup.<br>
> > ><br>
> > ><br>
> > > That is what got me confused - is the kernel sources sub<br>
> directory not<br>
> > > in the linux directory already?<br>
> ><br>
> > there *is* no quotes subdirectory - it *is* the kernel<br>
> sources.<br>
> ><br>
> > > If its not in there, what am I<br>
> > > downloading when I do git clone<br>
> <a href="http://git.hands.com/linux.git" target="_blank">http://git.hands.com/linux.git</a> ?<br>
> ><br>
> > linux kernel sources. there is only linux kernel sources.<br>
><br>
><br>
><br>
> Hmmmm.... going in circles - the instructions read:<br>
><br>
> git clone <a href="http://git.hands.com/linux.git" target="_blank">http://git.hands.com/linux.git</a><br>
> cd linux <----- so you are in the linux kernel sources<br>
> directory<br>
> git checkout -b lkcl-3.3-a20<br>
> make -j3 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-<br>
> KDIR=~/src/a10/linux-sunxi/ -C arch/arm/mach-sun7i/pm/standby<br>
> all<br>
><br>
><br>
> At no stage in instruction at<br>
> <a href="http://rhombus-tech.net/allwinner/a20/boot/" target="_blank">http://rhombus-tech.net/allwinner/a20/boot/</a><br>
> does it say where to download and set up<br>
> linux-sunxi. Where is linux-sunxi directory? Why set KDIR<br>
> again to<br>
> something somewhere else like linux-sunxi<br>
> if you are in the linux kernel directory already?<br>
><br>
> That be why I am confused and going in circles.<br>
><br>
> I think you need to adjust KDIR so it points to your linux directory.<br>
<br>
<br>
</div></div>Ah!<br>
<br>
I'm running Ubuntu 12.04.3<br>
So should I point it at kernel sources for Ubuntu 12.04.3<br>
or should I do git clone git://<a href="http://github.com/linux-sunxi/linux-sunxi.git" target="_blank">github.com/linux-sunxi/linux-sunxi.git</a><br>
and then point it at linux-sunxi directory?<br><div class=""><div class="h5"></div></div></blockquote><div>Wait wait wait! You did git clone <a href="http://git.hands.com/linux.git" target="_blank">http://git.hands.com/linux.git</a>, now you have linux directory somewhere. Point KDIR to this directory.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">
<br>
_______________________________________________<br>
arm-netbook mailing list <a href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
<a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
Send large attachments to <a href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
</div></div></blockquote></div><br></div></div>