[Arm-netbook] SATA - ATAS

joem joem at martindale-electric.co.uk
Mon Sep 9 15:12:22 BST 2013


> >> > 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.




More information about the arm-netbook mailing list