[Arm-netbook] SATA - ATAS

Arokux X arokux at gmail.com
Mon Sep 9 17:05:07 BST 2013


On Mon, Sep 9, 2013 at 6:02 PM, joem <joem at martindale-electric.co.uk> wrote:

> On Mon, 2013-09-09 at 17:46 +0200, Arokux X wrote:
> >
>
> >
> >         > >> > From http://rhombus-tech.net/allwinner/a20/boot/
> >         > >> > When I run
> >         > >> >
> >         > >> > make -j3 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
> >         > >> > KDIR=~/src/a10/linux-sunxi/ -C
> >         arch/arm/mach-sun7i/pm/standby all
> >         > >>
> >         > >>  the KDIR environment variable is a standard linux kernel
> >         environment
> >         > >> variable, which says "my (K)ernal (DIR)ectory is
> >         ~/src/....".  so,
> >         > >> obviously, you have to adjust that for your setup.
> >         > >
> >         > >
> >         > > That is what got me confused - is the kernel sources sub
> >         directory not
> >         > > in the linux directory already?
> >         >
> >         >  there *is* no quotes subdirectory - it *is* the kernel
> >         sources.
> >         >
> >         > > If its not in there, what am I
> >         > > downloading when I do git clone
> >         http://git.hands.com/linux.git ?
> >         >
> >         >  linux kernel sources.  there is only linux kernel sources.
> >
> >
> >
> >         Hmmmm.... going in circles - the instructions read:
> >
> >         git clone http://git.hands.com/linux.git
> >         cd linux   <----- so you are in the linux kernel sources
> >         directory
> >         git checkout -b lkcl-3.3-a20
> >         make -j3 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
> >         KDIR=~/src/a10/linux-sunxi/ -C arch/arm/mach-sun7i/pm/standby
> >         all
> >
> >
> >         At no stage in instruction at
> >         http://rhombus-tech.net/allwinner/a20/boot/
> >         does it say where to download and set up
> >         linux-sunxi. Where is linux-sunxi directory? Why set KDIR
> >         again to
> >         something somewhere else like linux-sunxi
> >         if you are in the linux kernel directory already?
> >
> >         That be why I am confused and going in circles.
> >
> > I think you need to adjust KDIR so it points to your linux directory.
>
>
> Ah!
>
> I'm running Ubuntu 12.04.3
> So should I point it at kernel sources for Ubuntu 12.04.3
> or should I do git clone git://github.com/linux-sunxi/linux-sunxi.git
> and then point it at linux-sunxi directory?
>
Wait wait wait! You did git clone http://git.hands.com/linux.git, now you
have linux directory somewhere. Point KDIR to this  directory.


>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20130909/35e58832/attachment.html>


More information about the arm-netbook mailing list