piccolo-dev / android_device_bq_piccolo

Android device configuration for the bq Aquaris M5
19 stars 8 forks source link

64bit? #7

Closed piwats closed 9 years ago

piwats commented 9 years ago

Qualcomm 615 is a 64 bit cpu, armv8, isn't it?

So why does BoardConfig.mk (bq?) insists on using armv7?

# Architecture
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_VARIANT := cortex-a53

TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
piwats commented 9 years ago

Examples of 64bit BoardConfig.mk for the 615:

https://github.com/sonyxperiadev/device-sony-kanuti/blob/master/BoardConfig.mk https://github.com/Silentlys/android_device_zte_N939St/blob/master/BoardConfig.mk

Kra1o5 commented 9 years ago

I know how to compile 64 bits but we cant do it.

We have blobs for 32 bits not for 64 bits.

Greetings

stucki commented 9 years ago

Check this folder for proprietary files that are not available in source and exist only for 32bit platforms: https://github.com/piccolo-dev/proprietary_vendor_bq/tree/cm-12.1-test/piccolo/proprietary

This means, we depend on BQ for this.

On the other hand, you won't gain anything by switching a 2GB / 3GB RAM device to 64bit.

piwats commented 9 years ago

ah, o.k. I understand, bq itself is the limiting factor here...

It is not a question about the memory access.

ARMv8 has some simd improvements, as well as some instructions added (i.e. crypto), should be a bit faster, too.

Is it possible to take the blobs from the repo for the zte n939St (does the sony repo help? They actually have instructions how to build AOSP, the repo seems to be for the m4 aqua), at least, it is the same platform as piccolo?

Kra1o5 commented 9 years ago

Not, we have specific blobs (like Camera).

piwats commented 9 years ago

Any contacts to bq?

piwats commented 9 years ago

Also, there ist this 615 based device officially supported by cyanogenmod:

https://github.com/cyanogenmod/android_device_yu_tomato

IMX214 is the same camera as on nexus 6/ oneplus 2, seems there is some src in cyanogenmod for it.

Kra1o5 commented 9 years ago

Is more difficult than this, IMX214 have different EEPROM and differents configs.

stucki commented 8 years ago

This issue was moved to bq-dev/android_device_bq_piccolo#7