[Arm-netbook] allwinner a10 linux-2.6.36 kernel compile

Juan Carlos Mendez jcmendez at locatel.biz
Fri Dec 9 11:46:21 GMT 2011


Hi, Luke

well I'm trying to compile using the comand


./build.sh -p <platform>



build.sh - Top level build scritps

    Valid Options:
       -h  Show help message
       -p <platform> platform, e.g. sun4i, sun4i-lite, sun4i_crane
       -m <module> module

  the ./build.sh  script calls   to the adecuate script

   ./scripts/build_sun4i.sh
   ./scripts/build_sun4i-line.sh
   ./scripts/build_sun4i_crane.sh

according the "-p" parameter

By default i was using  the  -p sun4i_crane

( I suppose the sun4i_crane option  has to compile more modules than  
sun4i ... so more probability to get compile errors... )

I've tried to compile with   ./build.sh -p sun4i    and directly   with  
   ./scripts/build_sun4i.sh  kernel    and  still it doesn't compile..


In fact, I downloaded agaun the kernel from  the repository

git clone git+ssh:////git.debian.org/git/arm-netbook/arm-netbook.git -ballwinner/v2.6.36


and I run yoursame scripts
    ./scripts/build_sun4i.sh  standby
    ./scripts/build_sun4i.sh  kernel


without success... It doesn't compile.

I suspect the kernel version in the repository is not complete.

How I can get the same kernel version that you are using ?




El 08/12/11 18:44, Luke Kenneth Casson Leighton escribió:
> ok, i just tried compiling and it worked... sort-of.
>
> i used the build/build_sun4i.sh script - just... ran it.
>
> three things required "assistance":
>
> 1) the CROSS_COMPILE env variable i had to modify:
> export CROSS_COMPILE=arm-linux-gnueabi-
>
> 2) ./build/build_sun4i.sh modules failed because a subdirectory didn't
> exist, that was fixed with:
>   mkdir -p /home/lkcl/oe/allwinner/linux-2.6.36/output/lib/modules/2.6.36-android/
>
>
> 3) Nanomodules-c047-7 doesn't exist, i modified it to nano-c047.12 which does:
>      make -C modules/wifi/nano-c047.12 LICHEE_MOD_DIR=${LICHEE_MOD_DIR}
> KERNEL_DIR=${LICHEE_KDIR} \
>
>
>   ls output/lib/modules/2.6.36-android/example.ko  mali.ko  nano_if.ko
> nano_ksdio.ko  x_mac.axf
> lkcl at teenymac:~/oe/allwinner/linux-2.6.36$
>
>
> ahh... wait.... 1sec, yes, phil was right: standby.code is missing...
> i've seen the source code for it though... but ah whoops it's missing
> from allwinner's linux-2.6.36 so it must be in the android 2.6.36
> kernel source and beh? hands.com is down!  and git.debian.org appears
> to be unresponsive - all very disruptive *sigh*.
>
> more later once i've worked out what's going on...
>
> l.
>
> _______________________________________________
> 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/20111209/bdc1a189/attachment.html 


More information about the arm-netbook mailing list