rusty-pi icon indicating copy to clipboard operation
rusty-pi copied to clipboard

unknown CPU type: armv6l

Open iamsebastian opened this issue 10 years ago • 2 comments

Hello there,

If I run configure in rust directory, I get the following:

configure: looking for configure programs
configure: found program 'cmp'
configure: found program 'mkdir'
configure: found program 'printf'
configure: found program 'cut'
configure: found program 'head'
configure: found program 'grep'
configure: found program 'xargs'
configure: found program 'cp'
configure: found program 'find'
configure: found program 'uname'
configure: found program 'date'
configure: found program 'tr'
configure: found program 'sed'
configure: found program 'file'
configure: found program 'make'
configure: inspecting environment
configure: error: unknown CPU type: armv6l

But until now, I did not find any information about that problem.

Information about CPU on my raspberry (1, rev b, imho):

processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 2.28
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        : 000d
Serial          : 0000000089ffe808

iamsebastian avatar Oct 07 '15 08:10 iamsebastian

What machine are you running configure on?

On Wednesday, 7 October 2015, Sebastian Blei [email protected] wrote:

Hello there,

If I run configure in rust directory, I get the following:

configure: looking for configure programs configure: found program 'cmp' configure: found program 'mkdir' configure: found program 'printf' configure: found program 'cut' configure: found program 'head' configure: found program 'grep' configure: found program 'xargs' configure: found program 'cp' configure: found program 'find' configure: found program 'uname' configure: found program 'date' configure: found program 'tr' configure: found program 'sed' configure: found program 'file' configure: found program 'make' configure: inspecting environment configure: error: unknown CPU type: armv6l

But until now, I did not find any information about that problem.

Information about CPU on my raspberry (1, rev b, imho):

processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 2.28 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 : 000d Serial : 0000000089ffe808

— Reply to this email directly or view it on GitHub https://github.com/npryce/rusty-pi/issues/5.

npryce avatar Oct 07 '15 16:10 npryce

Oh, just my fault. I tried to configure the cross-compiler on the RPi 1 rev. B, not on my workstation.


Maybe you can help with another problem: If I compile something with: rustc -C linker=arm-linux-gnueabihf-gcc --target=arm-unknown-linux-gnueabihf hello.rs, copy that binary to my RPi1b and trying to execute that binary, after copying finished, I get a segmentation fault at the @RPi1b: [1] 20396 segmentation fault ./hello Any ideas why this is happening?

iamsebastian avatar Oct 08 '15 06:10 iamsebastian