[ELDK] bridge-utils on ELDK 4.1
Suresh Bhaskaran
Suresh.Bhaskaran at magnumsemi.com
Sat Aug 9 01:59:35 CEST 2008
Thanks for your thorough response, Wolfgang.
I also noticed that on a couple of host systems, by doing a "ldd brctl",
that it depended on:
ldd -v /usr/sbin/brctl
/usr/lib/libsysfs.so.1
/lib/tls/libc.so.6
/lib/ld-linux.so.2
And I noticed that the rootfs that I'm using (over NFS) does not have
these files.
Do you happen to know what packages I need to install in order for these
files to show up on /lib, /usr/lib and /lib/tls on the rootfs?
I am dealing with a working embedded system that has migrated from ELDK
3.x to ELDK 4.1, and is, perhaps, in some state in-between. It is being
used by others in our user community, though, so the subset of
functionality needed so far in this kernel + rootfs-over-NFS
configuration is working.
I just need to get the brctl utility working on it.
Thanks!
Suresh Bhaskaran
-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de]
Sent: Friday, August 08, 2008 4:05 PM
To: Suresh Bhaskaran
Cc: eldk at lists.denx.de
Subject: Re: [ELDK] bridge-utils on ELDK 4.1
In message
<FB2A2D2F36FC264282887DD51732C0200145C933 at magmsg03.ad.magnumsemi.com>
you wrote:
>
> I need to urgently get the following bridge-utils command
If it's urgent, you may want to consider to hire an expert.
The free community help you can get here has no guarantee of being
fast.
> The bridge-utils are not included as part of the ELDK 4.1 toolchain.
...
> 1. copied over "brctl" to <rootfs_dir>/usr/sbin from a Debian
> bridge-utils package compiled for MIPS (Big Endian)
You must not expect that this will actually work. Your Deb=ian box
will be built with a different set of system libraries etc., so you
must assume thjat the binaries cannot be exchanged between Debian and
ELDK - at least you have absolutley no waranty for error-free
operation.
> 1. But when I tried
>
> a. "brctl addbr <bridge>", it gave me an error message:
> b. "add bridge failed: package not installed"
...
> 1. Linux 2.6.18 kernel on my MIPS (big-endian) target
You mentioned this was with ELDK 4.1 - why are you using that old
kernel then? ELDK 4.1 comes with Linux 2.6.19.2 ...
> 1. How can I get the "brctl" from bridge-utils working on my
> configuration? I need it rather urgently.
To be safe, I recommend to rebuild the tools from the sources. If
cross-building becomes a problem, try building on the native system
(using the NFS root environment).
> 3. Or (!) will I have to recompile my kernel?
This is pretty likely, too.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It's when they say 2 + 2 = 5 that I begin to argue." - Eric Pepke
More information about the eldk
mailing list