koreader / koxtoolchain

Build script for various toolchains used by KOReader
59 stars 22 forks source link

add cervantes target (for bq/fnac devices) #7

Closed pazos closed 6 years ago

pazos commented 6 years ago

Targets: BQ/Fnac devices & generic arm7v-a linux

GLIBC: 2.12 (compatible w/ Debian Wheezy) KERNEL:2.6 (compatible w/ older devices: 2012-2013) EABI: softfloat

this is an arm7v-a board without simd/neon support. (= cortex a8 w/ vfpv3)

The rest of cpu features are the same than (modern) kobos/kindles (AFAIK): pinging @NiLuJe (again :p) to confirm on some modern kindle.

Processor   : ARMv7 Processor rev 10 (v7l)
Features    : swp half thumb fastmult vfp edsp vfpv3 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part    : 0xc09
CPU revision    : 10
NiLuJe commented 6 years ago

Ha, I was going to ask you for a cpuinfo in the other issue, thanks ;).

I'll double-check when I have access to a device, but that indeed looks like it's missing NEON instructions (which is valid for the A8 or the A9, I can't remember which).

NiLuJe commented 6 years ago

In which case, yeah, you probably want CT_ARCH_FPU="vfpv3";).

pazos commented 6 years ago

yeah. both cortex a7 and a8 share the same arm architecture (arm7v-a), but in a7 vfpv3 is mandatory and simd optional. In cortex a8 simd is mandatory too. Didn't read much about a9.

Will update

NiLuJe commented 6 years ago

For ref:.

Processor       : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 166.57
Features        : swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc08
CPU revision    : 5

Hardware        : Freescale MX50 Reference Design Platform
Revision        : 50011
Serial          : 0000000000000000

on an A8 with NEON support (because it's mandatory there, IIRC).

And yours is indeed an A9 without, as is mysteriously authorized ;).