<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi, Luke<br>
<br>
well I'm trying to compile using the comand<br>
<br>
<br>
./build.sh -p <platform><br>
<br>
<br>
<br>
build.sh - Top level build scritps<br>
<blockquote>Valid Options:<br>
-h Show help message<br>
-p <platform> platform, e.g. sun4i, sun4i-lite,
sun4i_crane<br>
-m <module> module<br>
<br>
</blockquote>
the ./build.sh script calls to the adecuate script<br>
<br>
./scripts/build_sun4i.sh<br>
./scripts/build_sun4i-line.sh<br>
./scripts/build_sun4i_crane.sh<br>
<br>
according the "-p" parameter <br>
<br>
By default i was using the -p sun4i_crane <br>
<br>
( I suppose the sun4i_crane option has to compile more modules
than sun4i ... so more probability to get compile errors... )<br>
<br>
I've tried to compile with ./build.sh -p sun4i and directly
with ./scripts/build_sun4i.sh kernel and still it doesn't
compile..<br>
<br>
<br>
<span id="result_box" class="" lang="en"><span class="hps">In fact,
I</span> <span class="hps">downloaded</span> <span
class="hps">agaun the</span> <span class="hps"></span><span
class="hps"></span> kernel <span class="hps">from the
repository </span></span><br>
<br>
<pre><tt>git clone git+ssh://<i></i>git.debian.org/git/arm-netbook/arm-netbook.git -b </tt>allwinner/v2.6.36</pre>
<br>
<span id="result_box" class="" lang="en"><span class="hps">and</span>
<span class="hps">I run </span>your<span class="hps"> same
scripts</span> <span class="hps"></span></span><br>
./scripts/build_sun4i.sh standby <br>
./scripts/build_sun4i.sh kernel <br>
<br>
<br>
without success... It doesn't compile. <br>
<br>
<div id="gt-res-content" class="almost_half_cell">
<div dir="ltr" style=""><span id="result_box" class="" lang="en"><span
class="hps">I suspect the</span> <span class="hps">kernel</span>
<span class="hps">version</span> <span class="hps">in the
repository</span> <span class="hps">is not complete.<br>
<br>
</span></span>
<div id="gt-res-content" class="almost_half_cell">
<div dir="ltr" style=""><span id="result_box" class=""
lang="en"><span class="hps">How</span> <span class="hps">I
can</span> <span class="hps">get the same</span> <span
class="hps">kernel</span> <span class="hps">version</span>
<span class="hps">that you are using</span> <span
class="hps">?</span></span></div>
</div>
<br>
</div>
</div>
<br>
<br>
<br>
El 08/12/11 18:44, Luke Kenneth Casson Leighton escribió:
<blockquote
cite="mid:CAPweEDwSBuRTPFzxAzHVjpi3P39B4QXiQtwzCmdQXczp8bm+hg@mail.gmail.com"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:lkcl@teenymac:~/oe/allwinner/linux-2.6.36$">lkcl@teenymac:~/oe/allwinner/linux-2.6.36$</a>
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 <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a>
Send large attachments to <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a>
</pre>
</blockquote>
</body>
</html>