[prev in list] [next in list] [prev in thread] [next in thread] 

List:       etux
Subject:    RE: Problem in using BOA in AT91RM9200
From:       "Yu Gong" <ygong () vdcdisplaysystems ! com>
Date:       2005-08-04 12:53:03
Message-ID: CCCB73FDD980184A8520B6628C03B8E30D38B7 () vdc02 ! VDCDOMAIN2
[Download RAW message or body]


I figured out.

-----Original Message-----
From: etux-admin@embeddedtux.org [mailto:etux-admin@embeddedtux.org]On Behalf Of Yu \
                Gong
Sent: Wednesday, August 03, 2005 10:08 AM
To: etux@embeddedtux.org
Subject: SPAM: Problem in using BOA in AT91RM9200



I am new to embedded Linux. I have problem in using BOA in AT91RM9200(ARM9) based \
board. 

After I download boa-0.94.11, I first built and configured it on my Fedora 3 (Intel \
Celeron) either dynamically linked, or static linked, and make the directories as \
required by BOA. BOA works fine on my Fedora 3 machine. Fedora 3's linux kernel \
version is 2.6.9.

Then I cross-compiled and built BOA for AT91RM9200 and create same directories and \
files needed for BOA. In my ARM target's linux command line, I go to /etc/boa and run \
"./boa", and then I run "ps -uroot" and I did not see BOA running. I see other \
processes like "sh" and "ps -uroot" running. So I failed to connect my ARM target \
board by Internet Explorer. If I delete boa.conf from /etc/boa directory, and try to \
run BOA, it will complain no config file. So I should say BOA is partly running. My \
target kernel version is Linux-2.6.11 (I did not use uClinux). I used busybox-1.00 \
and uClibc-0.9.27 to build my ramdisk filesystem. No library is in the filesystem.

To run BOA on my target, I have to make BOA "static linked", otherwise it will be \
"not found". I am using board supplier's reference toolchain and the supplier only \
gives the script to install the toolchain (no document), so I do not really \
understand the whole process and do not understand which library actually being \
linked to BOA when I chose "-static" in LDFLAGS in BOA's Makefile. I noticed in \
Yaghomour's book, he mentioned only choose "-static" in LDFLAGS may cause some \
problems. But I am not sure if my current problem is because of that.

The question: 

1) If I did not choose "-static" in LDFLAGS, BOA will be dynamically linked. Which \
library does BOA dynamically linked to?

2) If I build my BOA dynamically linked, what libraries and where should I copy them \
to the target's file system so that dynamically linked BOA can be running without \
"not found" problem from my ARM9 command line?

3) I tried to link to uClibc because Yaghomour said in the book BOA will be OK. But I \
failed in build BOA. Error message is:

================================================================================= 
/usr/local/arm/lib/gcc/arm-linux/3.4.2/../../../../arm-linux/lib/libc.a(sigaction.o)(.text+0x0): \
In function `sigaction':

> multiple definition of `__libc_sigaction' 
/usr/arm-linux-uclibc/usr/lib/libc.a(sigaction.o)(.text+0x0): 
first defined here 
/usr/local/arm/lib/gcc/arm-linux/3.4.2/../../../../arm-linux/bin/ld: 
Warning: size of symbol `__libc_sigaction' changed from 236 in \
/usr/arm-linux-uclibc/usr/lib/libc.a(sigaction.o) to 540 in

/usr/arm-linux-uclibc/usr/lib/libc.a(sigaction.o ) 
collect2: ld returned 1 exit status 
make: *** [boa] Error 1 
================================================================================= 

How to modify uClibc source and BOA makefile to let BOA successfully link to uClibc? 

4) Anyone has a successful example to run BOA on ARM with arm-linux? Could you share. \


I do need help on this. Thanks in advance. 


["winmail.dat" (application/ms-tnef)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic