From: Leonard S. <lsa...@co...> - 2005-12-10 00:04:38
|
Hi folks, I believe it's possible to recover 100 kibytes of onboard flash by un-replicating the bluetooth shared object library. The first hint of the replication is a complaint by ldconfig that the library was not symlinked. # cd /usr/lib # ls -lsa libbluetooth* 51 -rwxr-xr-x 1 root root 52456 Mar 4 2005 libbluetooth.so 51 -rwxr-xr-x 1 root root 52456 Mar 4 2005 libbluetooth.so.1 51 -rwxr-xr-x 1 root root 52456 Mar 4 2005 libbluetooth.so.1.0.10 # rm libbluetooth.so libbluetooth.so.1 # ln -s libbluetooth.so.1.0.15 libbluetooth.so.1 # ln -s libbluetooth.so.1.0.15 libbluetooth.so # ls -lsa libbluetooth* 0 lrwxrwxrwx 1 root root 22 Dec 31 19:02 libbluetooth.so -> libbluetooth.so.1.0.10 0 lrwxrwxrwx 1 root root 22 Dec 31 19:02 libbluetooth.so.1 -> libbluetooth.so.1.0.10 51 -rwxr-xr-x 1 root root 52456 Mar 4 2005 libbluetooth.so.1.0.10 After making this change, I have successfully logged into the gumstix from my workstation through the bluetooth link, as well as running a few hcitool queries and l2ping tests. This is not a *thorough* test, but the successful execution of these small tests shows that libbluetooth.so* doesn't have some unique requirement of being thrice-replicated to function. The replication exists in the buildroot that I downloaded and built (after fixing the umn.dl.sourceforge.net openobex download problem) today. I will attempt to find out how to rectify this little wastefulness in the original build scripts and makefiles, and generate a set of diffs. Len |