[Arm-netbook] SATA - ATAS

joem joem at martindale-electric.co.uk
Mon Sep 9 17:02:27 BST 2013


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?





More information about the arm-netbook mailing list