|
ARMv7 support
守正
分类: 嵌入式
2010-09-06 21:20:22
发件人:Chris
日期:Fri, 18 Jun 2010
06:16:50 -0700 (PDT)
当地时间:2010年6月18日(星期五)
上午9时16分
主题:ARMv7
support | | | | | Hi All, as much as i know is ARMv7 and hardware floating point supported by My assumption is, that Android always uses the shared lib that is
A similar problem accours when i compile and run the hello-neon
Does anyone know a solution for that problems? I'm running the code on a "Freescale i.MX51 Evaluation Kit with Thank's for every response and help... 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Divkis
日期:Sun, 20 Jun 2010
07:20:22 -0700 (PDT)
当地时间:2010年6月20日(星期日)
上午10时20分
主题:Re: ARMv7
support | | | | | Hi Chris, though I have not tried using NDKr-4 but since I needed to generate ARMv7 compiled code, I have used adhock mechanism for passing the compiler the options to build the code with ARMv7 specific instructions. Thus the following comments may or may not help you.
> If i add the line
"APP_ABI := That could be because with the flag above the compiler
could be > armeabi-v7a" to the "Application.mk" file the applications crashes. generating code for hard floating point ABI. From what I am aware the whole system and the APPs should be generated using hard floating ABI. Mix and match with hard floating point ABI wouldn't work. You need to post the exact build command that is being issued by the Hope that helps, 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:David Turner
日期:Sun, 20 Jun 2010
07:53:40 -0700
当地时间:2010年6月20日(星期日)
上午10时53分
主题:Re: ARMv7
support | | | | | It really looks like that the PackageManager
thinks your board/build only To properly support ARMv7 NDK executables, you will need two lines in your
TARGET_CPU_ABI : = armeabi-v7a The first one tells the system that armeabi-v7a is your main system ABI
Both lines are necessary if you later want the Market to list packages
By default, only "armeabi" is assumed, which is why only the "armeabi"
On Fri, Jun 18, 2010 at 6:16
AM, Chris > Hi All, > as much as i know is ARMv7 and hardware floating point supported by
> My assumption is, that Android always uses the shared lib that is
> A similar problem accours when i compile and run the hello-neon > Does anyone know a solution for that problems? > I'm running the code on a "Freescale i.MX51 Evaluation Kit with > Thank's for every response and help... > -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Piotr Buła
日期:Mon, 21 Jun 2010
06:01:43 -0700 (PDT)
当地时间:2010年6月21日(星期一)
上午9时01分
主题:Re: ARMv7
support | | | | | I have the exact same problem
with my Motorola Milestone. I know that it's arm7 and supports VFP and NEON. However, the 'hello-neon' sample app behaves exactly like Chris described. I also tried removing armeabi from Application.mk, but that only resulted in application not launching (with Resource not found or some such errors in the logs). So it looks like Milestone totally ignores armeabi-v7a. Is that normal? And more importantly, is there a way around this problem? Thanks, On Jun 20, 4:53 pm, David Turner > It really looks like
that the PackageManager thinks your board/build only > supports armeabi, > and not armeabi-v7a. > To properly support ARMv7 NDK executables, you will need two lines in
your > TARGET_CPU_ABI : = armeabi-v7a > The first one tells the system that armeabi-v7a is your main system ABI
> Both lines are necessary if you later want the Market to list packages
> By default, only "armeabi" is assumed, which is why only the "armeabi"
> On Fri, Jun 18, 2010 at 6:16 AM, Chris > > as much as i know is ARMv7 and hardware floating point supported by
> > My assumption is, that Android always uses the shared lib that is
> > A similar problem accours when i compile and run the hello-neon
> > Does anyone know a solution for that problems? > > I'm running the code on a "Freescale i.MX51 Evaluation Kit with
> > Thank's for every response and help... > > -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Christian Kuen
日期:Mon, 28 Jun 2010
08:47:34 +0200
当地时间:2010年6月28日(星期一)
上午2时47分
主题:Re: ARMv7
support | | | | | Hi David, thank's for your quick response. I asked Freescale who is the manufacturer
thank's again for your help... 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Christian Kuen
日期:Mon, 28 Jun 2010
09:28:21 +0200
当地时间:2010年6月28日(星期一)
上午3时28分
主题:Re: ARMv7
support | | | | | Hi David, the board I use does not support ARMv7 and hardware VFP because of the
Is this because Dalvik does not use ARMv7 code and hardware FPU? Do you think, changing the BoardConfig.mk would improve the Java perfomance?
thank's for your answers 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:fadden
日期:Mon, 28 Jun 2010
12:47:25 -0700 (PDT)
当地时间:2010年6月28日(星期一)
下午3时47分
主题:Re: ARMv7
support | | | | | On Jun 28, 12:28 am, Christian
Kuen
> Is this because Dalvik
does not use ARMv7 code and hardware FPU? The VM is built for a
specific target. If you build it for armv7-a, it will use ARMv7-A and VFP instructions. If you build it for ARMv5TE, it'll use the software implementation. There is no run-time detection. 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Olivier Guilyardi
日期:Fri, 09 Jul 2010
20:57:45 +0200
当地时间:2010年7月9日(星期五)
下午2时57分
主题:Re: ARMv7
support | | | | | On 06/21/2010 03:01 PM, Piotr
Buła wrote:
> I have the exact same
problem with my Motorola Milestone. I know that I have the same problem here on a Motorola Milestone running
Android 2.1-update1. > it's arm7 and supports VFP and NEON. However, the 'hello-neon' sample > app behaves exactly like Chris described. I also tried removing > armeabi from Application.mk, but that only resulted in application not > launching (with Resource not found or some such errors in the logs). > So it looks like Milestone totally ignores armeabi-v7a. Is that > normal? > And more importantly, is there a way around this problem?
I'm compiling for both ABIs with this in Application.mk: I can see that the armeabi-v7a libs are built, and that my apk is now double
But, when installing the app, I get this in logcat: D/PackageManager( 1278): Caching shared lib lib/armeabi/libsndfile.so D/PackageManager( 1278): Caching shared lib
lib/armeabi/libavcodec-resample.so Which seems to mean that the armeabi-v7a libs are ignored, and anyway it
doesn't Is this a problem with the way Motorola built Android? Would it work on, say, a Nexus One or an HTC Desire? -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:David Turner
日期:Fri, 9 Jul 2010
12:08:12 -0700
当地时间:2010年7月9日(星期五)
下午3时08分
主题:Re: ARMv7
support | | | | | On Fri, Jul 9, 2010 at 11:57 AM, Olivier
Guilyardi > On 06/21/2010 03:01 PM,
Piotr Buła wrote: > > I have the exact same problem with my Motorola Milestone. I know that > > it's arm7 and supports VFP and NEON. However, the 'hello-neon' sample > > app behaves exactly like Chris described. I also tried removing > > armeabi from Application.mk, but that only resulted in application not > > launching (with Resource not found or some such errors in the logs). > > So it looks like Milestone totally ignores armeabi-v7a. Is that > > normal? > > And more importantly, is there a way around this problem? > I have the same problem here on a Motorola Milestone running Android
> I'm compiling for both ABIs with this in Application.mk: > I can see that the armeabi-v7a libs are built, and that my apk is now
> But, when installing the app, I get this in logcat: > D/PackageManager( 1278): Caching shared lib lib/armeabi/libsndfile.so
> D/PackageManager( 1278): Caching shared lib > Which seems to mean that the armeabi-v7a libs are ignored, and anyway it
> Is this a problem with the way Motorola built Android? > Yes, and we already informed Motorola about that, afaik > Yes for the Nexus One, I don't know about the HTC Desire. > -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Olivier Guilyardi
日期:Fri, 09 Jul 2010
21:21:56 +0200
当地时间:2010年7月9日(星期五)
下午3时21分
主题:Re: ARMv7
support | | | | | On 07/09/2010 09:08 PM, David
Turner wrote:
> On Fri, Jul 9, 2010 at 11:57 AM, Olivier Guilyardi
> Which seems to
mean that the armeabi-v7a libs are ignored, and I see, but all in all it means that very few of my users will
benefit of this > anyway it doesn't > run faster. > Is this a problem with the way Motorola built Android? > Yes, and we already informed Motorola about that, afaik > Would it work on, say, a Nexus One or an HTC Desire? > Yes for the Nexus One, I don't know about the HTC Desire.
currently. And since it's about audio codecs, it's a bit critical. And I can't even test it right now, since I don't have a Nexus One or so. I guess fixed-point is still the way... Thanks -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Olivier Guilyardi
日期:Sat, 10 Jul 2010
02:45:01 +0200
当地时间:2010年7月9日(星期五)
下午8时45分
主题:Re: ARMv7
support | | | | | On 07/09/2010 09:21 PM, Olivier
Guilyardi wrote:
> On 07/09/2010 09:08 PM,
David Turner wrote: Alright, I
changed my code to fixed point, and am using the following ARM asm: >> On Fri, Jul 9, 2010 at 11:57 AM, Olivier Guilyardi > [...] >> Which seems to mean that the armeabi-v7a libs are ignored, and
>> Is this a problem with the way Motorola built Android? >> Yes, and we already informed Motorola about that, afaik >> Would it work on, say, a Nexus One or an HTC Desire? >> Yes for the Nexus One, I don't know about the HTC Desire. > I see, but all in all it means that very few of my users will benefit of
this > I guess fixed-point is still the way... It states "arm7 and later" but I'm unsure if that means ARMv7.. And these asm routines appear to work on the following devices: Do you think that this is safe for ARMv5, in an armeabi lib? -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:fadden
日期:Mon, 12 Jul 2010
15:31:53 -0700 (PDT)
当地时间:2010年7月12日(星期一)
下午6时31分
主题:Re: ARMv7
support | | | | | On Jul 9, 5:45 pm, Olivier
Guilyardi
> Alright, I changed my
code to fixed point, and am using the following ARM asm: All the stuff in there looks pretty basic. I think they meant
arm7, > It states "arm7 and later" but I'm unsure if that means ARMv7..
which means it'll run on basically any ARM CPU that isn't totally obsolete. 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Olivier Guilyardi
日期:Tue, 13 Jul 2010
11:21:38 +0200
当地时间:2010年7月13日(星期二)
上午5时21分
主题:Re: ARMv7
support | | | | | On 07/13/2010 12:31 AM, fadden
wrote:
> On Jul 9, 5:45 pm,
Olivier Guilyardi Thanks for confirming this. These asm
routines provide 1.5x speed improvement, >> Alright, I changed my code to fixed point, and am using the following ARM asm: >> It states "arm7 and later" but I'm unsure if that means ARMv7.. > All the stuff in there looks pretty basic. I think they meant arm7,
which is very appreciable in my case. -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Tristan Miller
日期:Tue, 13 Jul 2010
17:38:44 -0400
当地时间:2010年7月13日(星期二)
下午5时38分
主题:Re: ARMv7
support | | | | | Yeah. It means arm7 the processor, not the
ISA. I remember using Tremor on Tristan Miller On Jul 13, 2010 5:21 AM, "Olivier Guilyardi" On 07/13/2010 12:31 AM, fadden wrote: > On Jul 9, 5:45 pm,
Olivier Guilyardi Thanks for
confirming this. These asm routines provide 1.5x speed improvement, which is very appreciable in my case. -- -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Olivier Guilyardi
日期:Thu, 15 Jul 2010
01:11:41 +0200
当地时间:2010年7月14日(星期三)
下午7时11分
主题:Re: ARMv7
support | | | | | Okay, thanks. By the way, have you ever used the Rockbox version of Tremor? Is this really
faster? Olivier On 07/13/2010 11:38 PM, Tristan Miller wrote: > Yeah. It means arm7
the processor, not the ISA. I remember using > Tremor on hacked original iPods which are just simple little ARM7TDMIs. > It'll be safe to use on any Android ARM device. > Tristan Miller >> On Jul 13, 2010 5:21 AM, "Olivier Guilyardi" >> On 07/13/2010 12:31 AM, fadden wrote: >> Thanks for confirming this. These asm routines provide 1.5x speed
>> -- >> -- > -- 您需要先才能发帖。
要发帖子,您需要先。
请先在页上更新您的昵称,然后再进行发帖。
您没有发帖的权限。 |
发件人:Tristan Miller
日期:Fri, 16 Jul 2010
01:50:29 -0400
当地时间:2010年7月16日(星期五)
上午1时50分
主题:Re: ARMv7
support | | | | | No, I haven't used it, but I believe their
performance claims. They have Tristan Miller On Jul 14, 2010 7:11 PM, "Olivier Guilyardi" Okay, thanks. By the way, have you ever used the Rockbox version of Tremor? Is this really
Olivier On 07/13/2010 11:38 PM, Tristan Miller wrote:
> Yeah. It means arm7
the processor, not the ISA. I... -- >> >> On 07/13/2010 12:31 AM, fadden wrote: >> Thanks for confirming this. These asm routines provide 1.5x speed
You received this message because you are subscribed to the Google Groups "android-ndk" group. To post to this group, send email to android-ndk@googlegroups.com. |