I got it. This first (internal) release built on EfikaMX is ready.
This full hardware floating point release still includes only core
packages (and some opt too) and it has been started from scratch 'cause
ABI incompatibility.
Here the full work:
http://cruxppc.org/~acrux/arm/2.7-HARD/
crux-armhf-2.7-test0-2G_image.xz (935M)
- it's a full working MMC image of my machine that does use ilenia as
ports manager and overlay supervisor. Thus a 'man ilenia' could help.
It has the serial console and sshd enabled and a static IP
(192.168.0.211).
The 'root' pasword is 'cruxppc' as i've a lot of devel machines from
CRUX PPC project and we use to have the same root password everywhere.
The arm ports tree overlay is located 'as local' in /usr/ports/arm .
arm-ports.tar.bz2 (634K)
- it's an archive with ports from the arm overlay
core.tar.bz2 (95M)
opt.tar.bz2 (20M)
pkg.list (3.0K)
- they're archives with the built packages to install as chroot.
crux-armhf-rootfs-2.7-test0.tar.bz2 (107M)
- it's a clean system like the official way.
linux-2.6.31.14.23-efikamx_20110610.tar.bz2 (63M)
linux-2.6.31.14.23-efikamx.config (57K)
- it's the last kernel from genesi git
uImage (3.3M)
bootkernel-modules.tar.bz2 (1.7M)
- they'are boot kernel and modules/firmware
Known issues:
1) wrong file-5.07's output (like on PowerPC) for some kind of files
type. e.g.
root@efikamx:/mnt/DEVEL# file mio
mio: DOS-executable (
root@efikamx:/mnt/DEVEL# md5sum mio
ba52d7e6f0c41a7bcaf49a216864e34a mio
instead it should be..
acrux@killer:~$ file mio
mio: Linux rev 1.0 ext2 filesystem data
acrux@killer:~$ md5sum mio
ba52d7e6f0c41a7bcaf49a216864e34a mio
2) alsa-utils does build but segfault
cheers,
--nico
--
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/
Hello all,
I would like to propose a meeting this week. I think it could be fine this
Wednesday (2011/07/20) at 19:00 GMT in #crux-arm.
I start the little list with points to discuss and talk about.
1.- 2.7 release:
I would like to finish this task, closing perl cross-compilation problem
and releasing the new relase candidate for the 2.7 version. The test1 relase
is working really well here, but there weren't any reports from other people.
2.- HardFP:
This point is really important for me too. We need to make a plan to see
how to act with this topic. It would be great to perform the needed server
setup to give acrux permission to start working there, and let him put all
his good job in the server, keeping all the work together in one site.
3.- Open for suggestions (may be the installer sepen?)
Feel free to comment this topics and make changes in proposed date if it's
needed.
Waiting your comments, suggestions or opinions.
Best regards, Victor.
---
Learning bit by bit
Victor Martinez | http://lokalix.dyndns.org
Hello,
like I told in the irc channel, I found some problems trying
to build firefox and thunderbird. Both of them looked for
some symbols, _ARM_PCS_VFP or __ARM_PCS, and our toolchain
only defines __ARM_EABI__. With this patch we can give
gcc 4.5.2 these definitions.
The entire discussion and this patch can be found at [1].
<code>
--- gcc-4.5.2.orig//gcc/config/arm/arm.c 2011-07-14 17:25:05.000000000 +0000
+++ gcc-4.5.2//gcc/config/arm/arm.c 2011-07-14 17:31:26.000000000 +0000
@@ -700,7 +700,7 @@ static int after_arm_reorg = 0;
/* The maximum number of insns to be used when loading a constant. */
static int arm_constant_limit = 3;
-static enum arm_pcs arm_pcs_default;
+enum arm_pcs arm_pcs_default;
/* For an explanation of these variables, see final_prescan_insn below. */
int arm_ccfsm_state;
--- gcc-4.5.2/gcc/config/arm/arm.h.orig 2009-12-23 16:36:40.000000000 +0000
+++ gcc-4.5.2/gcc/config/arm/arm.h 2011-07-14 18:37:45.000000000 +0000
@@ -94,7 +94,13 @@
if (arm_arch_iwmmxt) \
builtin_define ("__IWMMXT__"); \
if (TARGET_AAPCS_BASED) \
- builtin_define ("__ARM_EABI__"); \
+ { \
+ if (arm_pcs_default == ARM_PCS_AAPCS_VFP) \
+ builtin_define ("__ARM_PCS_VFP"); \
+ else if (arm_pcs_default == ARM_PCS_AAPCS) \
+ builtin_define ("__ARM_PCS"); \
+ builtin_define ("__ARM_EABI__"); \
+ } \
} while (0)
/* The various ARM cores. */
@@ -1648,6 +1654,9 @@
ARM_PCS_UNKNOWN
};
+/* Default procedure calling standard of current compilation unit. */
+extern enum arm_pcs arm_pcs_default;
+
/* A C type for declaring a variable that is used as the first argument of
`FUNCTION_ARG' and other related values. */
typedef struct
</code>
I hope someone can check this and comment about. I need to rebuild the
entire system and make the test building those ports.
Any comments, suggestions or opinions are welcome.
Regards, Victor.
[1] http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01654.html
---
Learning bit by bit
Victor Martinez | http://lokalix.dyndns.org