[Arm-netbook] Allwinners A10 2.6.36 complete kernel uploaded

Juan Carlos Mendez jcmendez at locatel.biz
Fri Dec 16 15:09:09 GMT 2011


Well,

     I just uploaded all the kernel changes to the repository.


To compile

    ./build.sh  -p sun4i

or

    ./build.sh -p sun4i_crane    ( this opstions is recommended  for 
android systems )


  the ./build.sh  script   calls  "./scripts/build_sun4i.sh  kernel"     
and  "./scripts/build_sun4i.sh modules" itsself

  also sets the default .config  usign  the files

     ./arch/arm/configs/sun4i_defconfig
     ./arch/arm/configs/sun4i_crane_defconfig

according with de platform (-p ) parameter


At this moment, don't use the "make menuconfig" command... it's a bit 
faulty yet and reset the config to default at compilation time

So if you want  to add aditional modules  edit   the .config  file directly


By default, it's configured to compile  using  the  CodeSourcery 
toolchain    (arm-none-linux-gnueabi-)  with the programs accesibles in 
the PATH variagle
(currently i'm using    Sourcery G++ Lite 2010.09-50  version)

But you can exports   the   CROSS_COMPILE  enviroment variable to point  
to your toolchain tools...

        ( i.e   export  
CROSS_COMPILE=~/svn/android-src/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- 
)

or you can edit   the   ./scripts/build_sun4i.sh   to change it


When the compilation finish   the kernel and modules willl be in the   
"./output/"  directory


Also I  added a patch file in the "./patch" dir to get this  kernel 
version from a vanilla linux kernel 2.6.36 version

To patch simple   runs

     ./linux-2.6.36$    xz  {path_to_patch_file}   |   patch -p1
     ./linux-2.6.36$   chmod +x build.sh scripts/build_sun4i*

and follow the above steps.... to compile


Enjoy you and happy compiling everyone.


jky.
















More information about the arm-netbook mailing list