Hi group!
I'm trying to get chromedriver to run on a Raspberry Pi B+ (ARMv6 arch) with Raspbian OS.
I'm trying to cross-compile the project to that arch from my ubuntu x64. However I don't seem to be passing the correct flags (or I'm doing something else wrong) as I manage to compile the binary but I get an "Illegal instruction" error when executing it on the RPi.
I'm following this guide here:
https://code.google.com/p/chromium/wiki/LinuxChromiumArm
but just trying to build chromedriver only (i.e.: ninja -C out/Release chromedriver). So, basically the steps I'm following are:
1. Install all the dependencies specified in the guide
2. export GYP_CROSSCOMPILE=1
2. Try different values for GYP_DEFINES
3. Run: gclient sync
4. ninja -C out/Release chromedriver
5. execute the compiled binary on the RaspberryPi
I've tried several values for GYP_DEFINES with no luck, like these:
GYP_DEFINES="target_arch=arm disable_nacl=1 linux_use_tcmalloc=0 armv6=1 arm_thumb=0 use_libjpeg_turbo=0 arm_float_abi=hard"
GYP_DEFINES="OS=linux target_arch=arm arm_version=6 arm_float_abi=hard"
GYP_DEFINES="target_arch=arm arm_float_abi=hard"
These are the CPU details on the RaspberryPi:
pi@raspberrypi ~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 0010
Serial : 000000003ce5d9f7
Can anyone help me?
Thanks!!!!
Seba.