[fedora-arm] F18 on mirabox

Jochen De Smet jochen.arm at leahnim.org
Wed Mar 27 00:48:49 UTC 2013


I'm trying to get F18 running on the globalscale mirabox.

It comes preloaded with Debian Squeeze.  As a first step I've tried 
downloading the generic
rootfs from the 
https://fedoraproject.org/wiki/Architectures/ARM/F18/Remixes page; I've
tried both the arm and armhfp versions, and even tried an armv5 kirkwood 
rootfs.

All of them behave the same. I unpack the rootfs into /mnt/f18, and then 
try to chroot into
it.  The first two or three times I try it, it comes back with either 
"Illegal instruction" or
"Segmentation fault", but after a few times I successfully get into the 
chroot.  Then for pretty
much every command inside it's the same thing.  First few times it runs 
it fails with one of
the two errors above, then it starts working and appears to keep working 
for an indeterminate
amount of time.

I've tried to start rebuilding rpms from source in the chroot but things 
never work long enough
to get anything built.

I've also (and this part is probably off-topic) tried building rpms from 
the debian environment,
and that's failing because gcc gives an error when explicitly compiling 
for armv7:

$ gcc -c ui.c -march=armv7
ui.c:1: error: target CPU does not support ARM mode

Additionally, I've tried building gcc 4.8.0 from source, and that errors 
out with:

../.././gcc/config/arm/neon.md: In function 'const char* 
output_1551(rtx_def**, rtx)':
../.././gcc/config/arm/neon.md:3953:1: internal compiler error: Illegal 
instruction
    [(set_attr "neon_type" "neon_shift_2")]
  ^

../.././gcc/config/arm/neon.md:3953:1: internal compiler error: 
Segmentation fault


  cpuinfo below:

# cat /proc/cpuinfo
Processor       : Marvell PJ4Bv7 Processor?? rev 1 (v7l)
BogoMIPS        : 1199.30
Features        : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x1
CPU part        : 0x581
CPU revision    : 1

Hardware        : Marvell Armada-370
Revision        : 0000
Serial          : 0000000000000000


Looking for any help on how to debug or how to proceed.

J.






More information about the arm mailing list