[uClibc] Arm MX-1 issue

flobro brow9877 at bellsouth.net
Tue May 25 02:28:30 UTC 2004


(all versions of buildroot (0.9.24,25,26 and snapshot of uClibc) result
in a busybox that does not run unless it is statically linked)


I have been trying to build the "buildroot" and "toolchain" for the Moto
MX-1, and have tried all combinations that the makefile allows
(different version of uClibc, compilers, sanpshots..)

The bottom line is that after the build of buildroot, I see that busybox
will not start after init releases it's memory. 
...
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 192.168.3.129, my address is
192.168.3.203
IP-Config: Complete:
      device=eth0, addr=192.168.3.203, mask=255.255.255.0,
gw=192.168.3.5,
     host=192.168.3.203, domain=softsmiths.org,
nis-domain=ypengineering,
     bootserver=192.168.3.129, rootserver=192.168.3.129,
rootpath=192.168.3.129:
/mnt/hd/imx_ads-3.0/tmp/rootfsdir
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
IrCOMM protocol (Dag Brattli)
Looking up port of RPC 100003/2 on 192.168.3.129
Looking up port of RPC 100005/1 on 192.168.3.129
VFS: Mounted root (nfs filesystem).
Freeing init memory: 76K


And it stops.

I rebuilt busybox as static, and IT WORKS.


I statically linked strace and here is the output when run against the
dynamic busybox..

# ./strace busybox.dyn
execve("/bin/busybox.dyn", ["busybox.dyn"], [/* 16 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0
x40005000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

.....


Now the other weird thing is that the pre-built rootfs available for ARM
on the uClibc also runs without problems (uClibc 0.9.24 dated 12192003).

I have seen some related things in the list, but not on ARM, and the
pre-built works (what config was used). 

What am I messing up?

Thanks

Floyd

 
-- 
flobro <brow9877 at bellsouth.net>




More information about the uClibc mailing list