Hello,everyone!
I have bought the Arndale Octa board and LCD module,and now i haved
downloaded the Linaro-android source code successfully.
Next , i want to make the LCD module work,but i find that the 3.12-rc2
kernel read the hardware information from the device-tree file , it's very
different to Android 4.2.2 (Kernel 3.4.x),so I don't know how to do it?
Could anyone help me??or provide me some advice.
Thanks very much!
jefby
FYI
---------- Forwarded message ----------
From: Olivier Martin
Date: 10 March 2014 20:57
Subject: [Linaro-uefi] Tianocore now supports Android FastBoot
Dear all,
Android FastBoot support has been added to Tianocore into SVN 15317
(2014-03-05).
Android Fastboot is a protocol to update the flash and/or boot
filesystem on Android devices from a host over USB. The fastboot
utility is part of the Android SDK.
This support is architecture independent.
An abstraction layer has been added to allow devices that do not have
USB client support to use another transport mechanism (eg: TCP).
We actually have support internally for this TCP transport layer we
are planning to send upstream soon (after the internal review has been
completed). These patches are available on request.
The support has been validated on ARM Versatile Express using USB (and
ethernet).
A tutorial is available here:
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EmbeddedPkg…
Regards,
Olivier
Hello,about the Linaro-android for arndale-octa board, I have some
questions:
1. Does it make the 7-inch LCD work?
I flashed the mmc,and connect the LCD,but it can't work.And i
download the source code,but can't find anything about this.So if i want to
port it,how to do??
2. About the HDMI.
Maybe it also can't work now.
3. About the Power Manager and shell
When i use the serial debug window,wait for 2 minutes ,the window
will show some information about PowerManager ,and i enter the keyboard,it
has no any responds.
4. About the Device tree.
I have downloaded the source code from insignal's git repository,and
i find the Touchscreen driver about it,but in its kernel source,
it uses the old interface,instead of the devicetree,so if i want to port
the touchscreen driver,how to edit the devicetree and make it work well??
Thanks very much!!
jefby
2014-03-10 20:00 GMT+08:00 <linaro-android-request(a)lists.linaro.org>:
> Send linaro-android mailing list submissions to
> linaro-android(a)lists.linaro.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.linaro.org/mailman/listinfo/linaro-android
> or, via email, send a message with subject or body 'help' to
> linaro-android-request(a)lists.linaro.org
>
> You can reach the person managing the list at
> linaro-android-owner(a)lists.linaro.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linaro-android digest..."
>
>
> Today's Topics:
>
> 1. Re: linaro-android Digest, Vol 28, Issue 9 (jefby)
> 2. Re: linaro-android Digest, Vol 28, Issue 9 (Botao Sun)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 10 Mar 2014 11:01:37 +0800
> From: jefby <jef199006(a)gmail.com>
> To: Vishal Bhoj <vishal.bhoj(a)linaro.org>,
> linaro-android(a)lists.linaro.org
> Subject: Re: linaro-android Digest, Vol 28, Issue 9
> Message-ID:
> <CAB7h7Q6gbQ_dU81yCtye0CFsv=
> t8Z7rBFfkX4T3WyOgyWbAn5g(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello, the linaro-android git repository is ok now?? why i use command $
> repo sync ,it tells like that:
>
> fatal: remote error: access denied or repository not exported:
> /platform/manifest.git
> fatal: remote error: access denied or repository not exported:
> /platform/manifest.git
> fatal: cannot obtain manifest git://
> android.git.linaro.org/platform/manifest.git
>
> Thanks very much!
>
>
> jefby
>
>
>
>
> 2014-03-07 23:32 GMT+08:00 jefby <jef199006(a)gmail.com>:
>
> >
> > 2014-03-07 23:20 GMT+08:00 Vishal Bhoj <vishal.bhoj(a)linaro.org>:
> >
> > Hi,Vishal:
> >
> > Thanks for your help! i can't open this link now.
> >
> >
> >
> > jefby
> >
> >
> >
>
Hello,every one!
I'm using the my shell download the arndale-octa linaro-android source ,and
it occurs some error:
fatal : unable to connect to android.git.linaro.org :
android.git.linaro.org[0:54.235.170.12]: errno=Connection timed out
and My shell is like that:
export MANIFEST_REPO=git://android.git.linaro.org/platform/manifest.git
export MANIFEST_BRANCH=linaro_android_4.4.2
repo init -u ${MANIFEST_REPO} -b ${MANIFEST_BRANCH} -m ${MANIFEST_FILENAME}
-g "common,arndale_octa"
and i use it download the source code 2014/3/3,why does not it work now??
Anyone can help me?
Thanks very much!
jefby
2014-03-07 20:00 GMT+08:00 <linaro-android-request(a)lists.linaro.org>:
> Send linaro-android mailing list submissions to
> linaro-android(a)lists.linaro.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.linaro.org/mailman/listinfo/linaro-android
> or, via email, send a message with subject or body 'help' to
> linaro-android-request(a)lists.linaro.org
>
> You can reach the person managing the list at
> linaro-android-owner(a)lists.linaro.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linaro-android digest..."
>
>
> Today's Topics:
>
> 1. Re: Is it possible to switch branches from Linaro 14.01
> release to Linaro 14.02 release (Axel Lin)
> 2. Re: Is it possible to switch branches from Linaro 14.01
> release to Linaro 14.02 release (Amit Pundir)
> 3. Re: Is it possible to switch branches from Linaro 14.01
> release to Linaro 14.02 release (Axel Lin)
> 4. Re: Is it possible to switch branches from Linaro 14.01
> release to Linaro 14.02 release (Axel Lin)
> 5. Missing gpio-keys.kl on my pandaboard (Axel Lin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 7 Mar 2014 09:34:45 +0800
> From: Axel Lin <axel.lin(a)ingics.com>
> To: Amit Pundir <amit.pundir(a)linaro.org>
> Cc: linaro-android <linaro-android(a)lists.linaro.org>
> Subject: Re: Is it possible to switch branches from Linaro 14.01
> release to Linaro 14.02 release
> Message-ID:
> <CAFRkauC4z8d=BgKVpsihGFsRNdu_FeU=
> OJ3KYLeXkV0Drqp5-Q(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 2014-03-04 11:42 GMT+08:00 Amit Pundir <amit.pundir(a)linaro.org>:
> >
> > On 3 March 2014 18:27, Axel Lin <axel.lin(a)ingics.com> wrote:
> >>
> >> Hi,
> >> I'm using Linaro 14.01 release and Linaro14.02 just released now.
> >> I have cloned the android source code for Linaro 14.01 release.
> >> Is it possible to switch branches to Linaro14.02 release in the same
> repo
> >> trees?
> >
> >
> > Yes, just checkout linaro-android-14.02-release branch while doing repo
> init
> > for your target platform (in the same directory where you have your 14.01
> > release sources) and do a repo sync. It will start cloning the sources on
> > top of your existing 14.01 release sources.
>
>
> Hi Amit,
>
> I use below command to download and build 14.01 release.
> $ ./linaro_android_build_cmds.sh -m pinned-manifest-ann.xml
>
> But now I got below errors when try to switch to 14.02-release.
> Did I miss something?
>
> $ ./repo init -b linaro-android-14.02-release
> Traceback (most recent call last):
> File "/home/axel/linaro/android/.repo/repo/main.py", line 408, in
> <module>
> _Main(sys.argv[1:])
> File "/home/axel/linaro/android/.repo/repo/main.py", line 384, in _Main
> result = repo._Run(argv) or 0
> File "/home/axel/linaro/android/.repo/repo/main.py", line 143, in _Run
> result = cmd.Execute(copts, cargs)
> File "/home/axel/linaro/android/.repo/repo/subcmds/init.py", line
> 390, in Execute
> self._SyncManifest(opt)
> File "/home/axel/linaro/android/.repo/repo/subcmds/init.py", line
> 236, in _SyncManifest
> m.MetaBranchSwitch(opt.manifest_branch)
> File "/home/axel/linaro/android/.repo/repo/project.py", line 2534,
> in MetaBranchSwitch
> self.Sync_LocalHalf(syncbuf)
> File "/home/axel/linaro/android/.repo/repo/project.py", line 1158,
> in Sync_LocalHalf
> lost = self._revlist(not_rev(revid), HEAD)
> File "/home/axel/linaro/android/.repo/repo/project.py", line 2178, in
> _revlist
> return self.work_git.rev_list(*a, **kw)
> File "/home/axel/linaro/android/.repo/repo/project.py", line 2335, in
> rev_list
> p.stderr))
> error.GitError: manifests rev-list
> ('^478de5b427049b3e9b4b19616f3df5bba719bf15', 'HEAD', '--'): fatal:
> bad revision 'HEAD'
>
>
> Thanks,
> Axel
>
> >
> > Regards,
> > Amit Pundir
> >
> >>
> >>
> >> Thanks,
> >> Axel
> >>
> >>
> >>
> >> _______________________________________________
> >> linaro-android mailing list
> >> linaro-android(a)lists.linaro.org
> >> http://lists.linaro.org/mailman/listinfo/linaro-android
> >
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 7 Mar 2014 09:57:39 +0800
> From: Amit Pundir <amit.pundir(a)linaro.org>
> To: Axel Lin <axel.lin(a)ingics.com>
> Cc: linaro-android <linaro-android(a)lists.linaro.org>
> Subject: Re: Is it possible to switch branches from Linaro 14.01
> release to Linaro 14.02 release
> Message-ID:
> <
> CAMi1Hd1vBZDtre_fMNTd7RKM5Xxh7otVBgAnP_ckAo-YN6RKdA(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 7 March 2014 09:34, Axel Lin <axel.lin(a)ingics.com> wrote:
>
> > 2014-03-04 11:42 GMT+08:00 Amit Pundir <amit.pundir(a)linaro.org>:
> > >
> > > On 3 March 2014 18:27, Axel Lin <axel.lin(a)ingics.com> wrote:
> > >>
> > >> Hi,
> > >> I'm using Linaro 14.01 release and Linaro14.02 just released now.
> > >> I have cloned the android source code for Linaro 14.01 release.
> > >> Is it possible to switch branches to Linaro14.02 release in the same
> > repo
> > >> trees?
> > >
> > >
> > > Yes, just checkout linaro-android-14.02-release branch while doing repo
> > init
> > > for your target platform (in the same directory where you have your
> 14.01
> > > release sources) and do a repo sync. It will start cloning the sources
> on
> > > top of your existing 14.01 release sources.
> >
> >
> > Hi Amit,
> >
> > I use below command to download and build 14.01 release.
> > $ ./linaro_android_build_cmds.sh -m pinned-manifest-ann.xml
> >
> > But now I got below errors when try to switch to 14.02-release.
> > Did I miss something?
> >
> > $ ./repo init -b linaro-android-14.02-release
> >
>
> Do "./repo init -u git://android.git.linaro.org/platform/manifest.git -b
> linaro-android-14.02-release -m MANIFEST_FILE" where MANIFEST_FILE is the
> manifest file for your target board (e.g. panda-linaro.xml) and then do
> "./repo sync".
>
> Regards,
> Amit Pundir
>
> Traceback (most recent call last):
> > File "/home/axel/linaro/android/.repo/repo/main.py", line 408, in
> > <module>
> > _Main(sys.argv[1:])
> > File "/home/axel/linaro/android/.repo/repo/main.py", line 384, in _Main
> > result = repo._Run(argv) or 0
> > File "/home/axel/linaro/android/.repo/repo/main.py", line 143, in _Run
> > result = cmd.Execute(copts, cargs)
> > File "/home/axel/linaro/android/.repo/repo/subcmds/init.py", line
> > 390, in Execute
> > self._SyncManifest(opt)
> > File "/home/axel/linaro/android/.repo/repo/subcmds/init.py", line
> > 236, in _SyncManifest
> > m.MetaBranchSwitch(opt.manifest_branch)
> > File "/home/axel/linaro/android/.repo/repo/project.py", line 2534,
> > in MetaBranchSwitch
> > self.Sync_LocalHalf(syncbuf)
> > File "/home/axel/linaro/android/.repo/repo/project.py", line 1158,
> > in Sync_LocalHalf
> > lost = self._revlist(not_rev(revid), HEAD)
> > File "/home/axel/linaro/android/.repo/repo/project.py", line 2178, in
> > _revlist
> > return self.work_git.rev_list(*a, **kw)
> > File "/home/axel/linaro/android/.repo/repo/project.py", line 2335, in
> > rev_list
> > p.stderr))
> > error.GitError: manifests rev-list
> > ('^478de5b427049b3e9b4b19616f3df5bba719bf15', 'HEAD', '--'): fatal:
> > bad revision 'HEAD'
> >
> >
> > Thanks,
> > Axel
> >
> > >
> > > Regards,
> > > Amit Pundir
> > >
> > >>
> > >>
> > >> Thanks,
> > >> Axel
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> linaro-android mailing list
> > >> linaro-android(a)lists.linaro.org
> > >> http://lists.linaro.org/mailman/listinfo/linaro-android
> > >
> > >
> >
>
Hi,
I'm using "lunch pandaboard-eng" to build image for my pandaboard.
I have added some entries to device/ti/panda/gpio-keys.kl for my develop board.
I expect the build system will install it to system/usr/keylayout/gpio-keys.kl.
However, I found that gpio-keys.kl is not installed in system/usr/keylayout on
my develop board. It seems every file list in PRODUCT_COPY_FILES are coped to
the device except the gpio-keys.kl file.
Any idea to make the build system to add gpio-keys.kl to the device.
BTW, I'm confused about the device/ti/panda and device/linaro/pandaboard
folders. It seems my build uses device/ti/panda.
What is device/linaro/pandaboard for?
Thanks,
Axel
Hi,
I'm using Linaro 14.01 release and Linaro14.02 just released now.
I have cloned the android source code for Linaro 14.01 release.
Is it possible to switch branches to Linaro14.02 release in the same repo trees?
Thanks,
Axel
Hello,my name is jefby. I am very interested in porting Arndale octa board
to Android 4.4.2 ,and now i have downloaded the linaro source for arndale
octa, i follow bellow ,but occurs some error:
create my shell (linaro-comiple.sh),its content is listed below:
export USE_CCACHE=1
export CCACHE_DIR=./.ccache
prebuilts/misc/linux-x86/ccache/ccache -M 30G
#clear the before results
make clobber
#make TARGET_PRODUCT=full_arndale_octa
TARGET_TOOLS_PREFIX=/work/arndale-octa-linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2014.02_linux/bin/arm-linux-gnueabihf-
boottarball systemtarball userdatatarball -j16
source build/envsetup.sh
echo "set environment"
make TARGET_PRODUCT=full_arndale_octa
TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-eabi-
boottarball systemtarball userdatatarball -j16
source this shell , error:
system/core/include/utils/TypeHelpers.h:282:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(bool)
^
system/core/include/utils/TypeHelpers.h:283:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(int8_t)
^
system/core/include/utils/TypeHelpers.h:284:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(uint8_t)
^
system/core/include/utils/TypeHelpers.h:285:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(int16_t)
^
system/core/include/utils/TypeHelpers.h:286:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(uint16_t)
^
system/core/include/utils/TypeHelpers.h:287:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(int32_t)
^
system/core/include/utils/TypeHelpers.h:288:1: error: template
specialization with C linkage
ANDROID_INT32_HASH(uint32_t)
^
system/core/include/utils/TypeHelpers.h:289:1: error: template
specialization with C linkage
ANDROID_INT64_HASH(int64_t)
^
system/core/include/utils/TypeHelpers.h:290:1: error: template
specialization with C linkage
ANDROID_INT64_HASH(uint64_t)
^
system/core/include/utils/TypeHelpers.h:291:1: error: template
specialization with C linkage
ANDROID_REINTERPRET_HASH(float, uint32_t)
^
system/core/include/utils/TypeHelpers.h:292:1: error: template
specialization with C linkage
ANDROID_REINTERPRET_HASH(double, uint64_t)
^
system/core/include/utils/TypeHelpers.h:294:1: error: template with C
linkage
template <typename T> inline hash_t hash_type(T* const & value) {
^
In file included from frameworks/native/include/binder/Parcel.h:22:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/RefBase.h:173:1: error: template with C linkage
template <class T>
^
system/core/include/utils/RefBase.h:208:1: error: template with C linkage
template <typename T>
^
In file included from frameworks/native/include/binder/Parcel.h:22:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/RefBase.h:298:1: error: template with C linkage
template <typename T>
^
system/core/include/utils/RefBase.h:306:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:313:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:320:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:329:1: error: template with C linkage
template<typename T> template<typename U>
^
system/core/include/utils/RefBase.h:336:1: error: template with C linkage
template<typename T> template<typename U>
^
system/core/include/utils/RefBase.h:346:1: error: template with C linkage
template<typename T> template<typename U>
^
system/core/include/utils/RefBase.h:355:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:361:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:372:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:384:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:396:1: error: template with C linkage
template<typename T> template<typename U>
^
system/core/include/utils/RefBase.h:407:1: error: template with C linkage
template<typename T> template<typename U>
^
system/core/include/utils/RefBase.h:419:1: error: template with C linkage
template<typename T> template<typename U>
^
system/core/include/utils/RefBase.h:431:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:440:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:450:1: error: template with C linkage
template<typename T>
^
system/core/include/utils/RefBase.h:459:1: error: template with C linkage
template <typename T>
^
system/core/include/utils/RefBase.h:476:5: error: template with C linkage
template<typename TYPE> static inline
^
system/core/include/utils/RefBase.h:495:5: error: template with C linkage
template<typename TYPE> static inline
^
In file included from frameworks/native/include/binder/Parcel.h:22:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/RefBase.h:521:1: error: template with C linkage
template<typename TYPE> inline
^
system/core/include/utils/RefBase.h:526:1: error: template with C linkage
template<typename TYPE> inline
^
system/core/include/utils/RefBase.h:531:1: error: template with C linkage
template<typename TYPE> inline
^
system/core/include/utils/RefBase.h:536:1: error: template with C linkage
template<typename TYPE> inline
^
In file included from frameworks/native/include/binder/Parcel.h:23:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/String16.h:127:1: error: template specialization
with C linkage
ANDROID_TRIVIAL_MOVE_TRAIT(String16)
^
In file included from frameworks/native/include/binder/Parcel.h:24:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/Vector.h:33:1: error: template with C linkage
template <typename TYPE>
^
system/core/include/utils/Vector.h:42:1: error: template with C linkage
template <class TYPE>
^
system/core/include/utils/Vector.h:212:1: error: template with C linkage
template<typename T> struct trait_trivial_move<Vector<T> > { enum { value
= true }; };
^
system/core/include/utils/Vector.h:218:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:228:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:233:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:238:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:243:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:249:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:255:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:261:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:267:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:272:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:278:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:286:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:291:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:296:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:301:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:306:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:311:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:316:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:321:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:326:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:331:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:336:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:341:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:346:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:351:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:356:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:361:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:366:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:371:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:376:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:381:1: error: template with C linkage
template<class TYPE> inline
^
system/core/include/utils/Vector.h:388:1: error: template with C linkage
template<class TYPE>
^
system/core/include/utils/Vector.h:393:1: error: template with C linkage
template<class TYPE>
^
system/core/include/utils/Vector.h:398:1: error: template with C linkage
template<class TYPE>
^
system/core/include/utils/Vector.h:403:1: error: template with C linkage
template<class TYPE>
^
system/core/include/utils/Vector.h:408:1: error: template with C linkage
template<class TYPE>
^
system/core/include/utils/Vector.h:413:1: error: template with C linkage
template<class TYPE>
^
In file included from system/core/include/utils/Flattenable.h:24:0,
from frameworks/native/include/binder/Parcel.h:25,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/Debug.h:27:1: error: template with C linkage
template<bool> struct CompileTimeAssert;
^
system/core/include/utils/Debug.h:28:1: error: template specialization with
C linkage
template<> struct CompileTimeAssert<true> {};
^
In file included from system/core/include/utils/Flattenable.h:24:0,
from frameworks/native/include/binder/Parcel.h:25,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/Debug.h:38:1: error: template with C linkage
template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse;
^
system/core/include/utils/Debug.h:39:1: error: template with C linkage
template<typename LHS, typename RHS>
^
system/core/include/utils/Debug.h:41:1: error: template with C linkage
template<typename LHS, typename RHS>
^
In file included from frameworks/native/include/binder/Parcel.h:25:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/Flattenable.h:31:5: error: template with C linkage
template<int N>
^
system/core/include/utils/Flattenable.h:37:5: error: template with C linkage
template<int N>
^
system/core/include/utils/Flattenable.h:45:5: error: template with C linkage
template<int N>
^
system/core/include/utils/Flattenable.h:61:5: error: template with C linkage
template<typename T>
^
system/core/include/utils/Flattenable.h:68:5: error: template with C linkage
template<typename T>
^
In file included from frameworks/native/include/binder/Parcel.h:25:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/Flattenable.h:82:1: error: template with C linkage
template <typename T>
^
In file included from frameworks/native/include/binder/Parcel.h:25:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/Flattenable.h:108:1: error: template with C
linkage
template<typename T>
^
system/core/include/utils/Flattenable.h:112:1: error: template with C
linkage
template<typename T>
^
system/core/include/utils/Flattenable.h:116:1: error: template with C
linkage
template<typename T>
^
system/core/include/utils/Flattenable.h:121:1: error: template with C
linkage
template<typename T>
^
system/core/include/utils/Flattenable.h:133:1: error: template with C
linkage
template <typename T>
^
system/core/include/utils/Flattenable.h:150:1: error: template with C
linkage
template <typename T>
^
system/core/include/utils/Flattenable.h:154:1: error: template with C
linkage
template <typename T>
^
system/core/include/utils/Flattenable.h:158:1: error: template with C
linkage
template <typename T>
^
system/core/include/utils/Flattenable.h:162:1: error: template with C
linkage
template <typename T>
^
system/core/include/utils/Flattenable.h:173:1: error: template with C
linkage
template <typename T>
^
In file included from
frameworks/native/include/batteryservice/BatteryService.h:20:0,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
frameworks/native/include/binder/Parcel.h:30:1: error: template with C
linkage
template <typename T> class Flattenable;
^
frameworks/native/include/binder/Parcel.h:31:1: error: template with C
linkage
template <typename T> class LightFlattenable;
^
In file included from
frameworks/native/include/batteryservice/BatteryService.h:20:0,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
frameworks/native/include/binder/Parcel.h:106:5: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:109:5: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:163:5: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:166:5: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:225:5: error: template with C
linkage
template<class T>
^
frameworks/native/include/binder/Parcel.h:228:5: error: template with C
linkage
template<class T> T readAligned() const;
^
frameworks/native/include/binder/Parcel.h:230:5: error: template with C
linkage
template<class T>
^
frameworks/native/include/binder/Parcel.h:277:5: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:316:1: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:322:1: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:340:1: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:346:1: error: template with C
linkage
template<typename T>
^
frameworks/native/include/binder/Parcel.h:386:71: error: declaration of C
function 'void android::flatten_binder(const
android::sp<android::ProcessState>&, const android::wp<android::IBinder>&,
android::flat_binder_object*)' conflicts with
const wp<IBinder>& binder, flat_binder_object* out);
^
frameworks/native/include/binder/Parcel.h:383:6: error: previous
declaration 'void android::flatten_binder(const
android::sp<android::ProcessState>&, const android::sp<android::IBinder>&,
android::flat_binder_object*)' here
void flatten_binder(const sp<ProcessState>& proc,
^
frameworks/native/include/binder/Parcel.h:390:75: error: declaration of C
function 'android::status_t android::unflatten_binder(const
android::sp<android::ProcessState>&, const android::flat_binder_object&,
android::wp<android::IBinder>*)' conflicts with
const flat_binder_object& flat, wp<IBinder>*
out);
^
frameworks/native/include/binder/Parcel.h:387:10: error: previous
declaration 'android::status_t android::unflatten_binder(const
android::sp<android::ProcessState>&, const android::flat_binder_object&,
android::sp<android::IBinder>*)' here
status_t unflatten_binder(const sp<ProcessState>& proc,
^
In file included from
frameworks/native/include/batteryservice/BatteryService.h:22:0,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/String8.h:234:1: error: template specialization
with C linkage
ANDROID_TRIVIAL_MOVE_TRAIT(String8)
^
system/core/include/utils/String8.h: In function 'int
android::compare_type(const android::String8&, const android::String8&)':
system/core/include/utils/String8.h:239:63: error: declaration of C
function 'int android::compare_type(const android::String8&, const
android::String8&)' conflicts with
inline int compare_type(const String8& lhs, const String8& rhs)
^
In file included from frameworks/native/include/binder/Parcel.h:23:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/String16.h:132:12: error: previous declaration
'int android::compare_type(const android::String16&, const
android::String16&)' here
inline int compare_type(const String16& lhs, const String16& rhs)
^
In file included from
frameworks/native/include/batteryservice/BatteryService.h:22:0,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/String8.h: In function 'int
android::strictly_order_type(const android::String8&, const
android::String8&)':
system/core/include/utils/String8.h:244:70: error: declaration of C
function 'int android::strictly_order_type(const android::String8&, const
android::String8&)' conflicts with
inline int strictly_order_type(const String8& lhs, const String8& rhs)
^
In file included from frameworks/native/include/binder/Parcel.h:23:0,
from
frameworks/native/include/batteryservice/BatteryService.h:20,
from system/core/healthd/healthd.h:20,
from system/core/healthd/healthd_board_default.cpp:17:
system/core/include/utils/String16.h:137:12: error: previous declaration
'int android::strictly_order_type(const android::String16&, const
android::String16&)' here
inline int strictly_order_type(const String16& lhs, const String16& rhs)
^
system/core/healthd/healthd_board_default.cpp: At global scope:
system/core/healthd/healthd_board_default.cpp:19:6: warning: unused
parameter 'config' [-Wunused-parameter]
void healthd_board_init(struct healthd_config *config)
host C: libz <= external/zlib/src/uncompr.c
^
system/core/healthd/healthd_board_default.cpp:25:5: warning: unused
parameter 'props' [-Wunused-parameter]
int healthd_board_battery_update(struct android::BatteryProperties *props)
^
host C: libz <= external/zlib/src/zutil.c
target Generated: libvpx <=
out/target/product/arndale_octa/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.intermediate
target Generated: libvpx <=
out/target/product/arndale_octa/obj/STATIC_LIBRARIES/libvpx_intermediates/vpx_scale/vpx_scale_asm_offsets.intermediate
target thumb C: cpuidle_killer <= external/pm-qa/cpuidle/cpuidle_killer.c
make: ***
[out/target/product/arndale_octa/obj/STATIC_LIBRARIES/libhealthd.default_intermediates/healthd_board_default.o]
错误 1
make: *** 正在等待未完成的任务....
target thumb C: cpuburn <= external/pm-qa/utils/cpuburn.c
target thumb C: cpucycle <= external/pm-qa/utils/cpucycle.c
target thumb C: heat_cpu <= external/pm-qa/utils/heat_cpu.c
target thumb C: nanosleep <= external/pm-qa/utils/nanosleep.c
target thumb C: bc <= external/tools_for_pm-qa/bc/main.c
target thumb C: bc <= external/tools_for_pm-qa/bc/bc.c
external/pm-qa/utils/cpucycle.c: In function 'sigalarm':
external/pm-qa/utils/cpucycle.c:40:19: warning: unused parameter 'sig'
[-Wunused-parameter]
void sigalarm(int sig)
^
external/pm-qa/cpuidle/cpuidle_killer.c: In function 'adjtimex':
external/pm-qa/cpuidle/cpuidle_killer.c:15:2: warning: implicit declaration
of function 'syscall' [-Wimplicit-function-declaration]
return syscall(__NR_adjtimex, buf);
^
external/pm-qa/cpuidle/cpuidle_killer.c: In function 'sighandler':
external/pm-qa/cpuidle/cpuidle_killer.c:29:21: warning: unused parameter
'sig' [-Wunused-parameter]
void sighandler(int sig)
^
external/pm-qa/cpuidle/cpuidle_killer.c: In function 'timeout':
external/pm-qa/cpuidle/cpuidle_killer.c:34:18: warning: unused parameter
'sig' [-Wunused-parameter]
void timeout(int sig)
^
external/pm-qa/cpuidle/cpuidle_killer.c: In function 'tick_me':
external/pm-qa/cpuidle/cpuidle_killer.c:45:9: warning: missing initializer
for field 'it_interval' of 'struct itimerval' [-Wmissing-field-initializers]
struct itimerval t = { };
^
In file included from bionic/libc/include/sys/time.h:33:0,
from bionic/libc/include/sys/select.h:32,
from bionic/libc/include/unistd.h:34,
from external/pm-qa/cpuidle/cpuidle_killer.c:4:
bionic/libc/kernel/common/linux/time.h:59:17: note: 'it_interval' declared
here
struct timeval it_interval;
^
external/pm-qa/cpuidle/cpuidle_killer.c: In function 'main':
external/pm-qa/cpuidle/cpuidle_killer.c:103:14: warning: unused parameter
'argc' [-Wunused-parameter]
int main(int argc, char *argv[])
^
external/pm-qa/cpuidle/cpuidle_killer.c:103:26: warning: unused parameter
'argv' [-Wunused-parameter]
int main(int argc, char *argv[])
^
external/tools_for_pm-qa/bc/main.c: In function 'use_quit':
external/tools_for_pm-qa/bc/main.c:352:10: warning: unused parameter 'sig'
[-Wunused-parameter]
int sig;
^
And I want to know its my command is correct or arm-linux-gcc has some
error ? Could you show me the correct method for compiling linaro-android
source.
Thanks very much!
jefby
hi everyone,this's first time I met android. Hardware is Pandaboard ES Rev B1, Host PC is Ubuntu 12.04 LTS x86_64, kernel is 3.2.0-59-generic. I downloaded all files of the release android 14.02 for Pandaboard, tried to build the source code via "linaro_android_build_cmds.sh -t pinned_manifest.xml", this took me a whole night and no error reported, but after building process ended, I cannot find any tarball. did I miss anything?RegardsFrank