Home Forum Developers General discussions Up-to-date list of applications in Switchfin?

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


Gilles
useravatar
User Info

Up-to-date list of applications in Switchfin?

Hello

Is there an up-to-date list of applications that make up the Switchfin distribution?

Thank you.


Administrator has disabled public posting
Gilles
useravatar
User Info

Re: Up-to-date list of applications in Switchfin?

I found that you can (de)select applications through "make menuconfig > Package selection for the target > make > Kernel/Library/Default selection > Customize Application/Library Settings > select options"... but after "make" has ran for a couple of minutes, I get this error:

Code:


[...]
make[2]: Leaving directory `/usr/src/switchfin/build_ip01/uClinux-dist/linux-2.6.x'
for dir in lib user ; do [ ! -d $dir ] || make ARCH=blackfin   -C $dir || exit 1 ; done
make[2]: Entering directory `/usr/src/switchfin/build_ip01/uClinux-dist/lib'
mkdir -p /usr/src/switchfin/build_ip01/uClinux-dist/staging
[ -z "" ] || make -j1  || exit $?
[ -z "" ] || /usr/src/switchfin/build_ip01/uClinux-dist/tools/cross-fix-root
[ -z "" ] || make -j1  || exit $?
[ -z "" ] || /usr/src/switchfin/build_ip01/uClinux-dist/tools/cross-fix-root
[ -z "libssl libg zlib STLport expat lzo ncurses speex sqlite" ] || make -j1 STLport expat libg libssl lzo ncurses speex sqlite zlib || exit $?
make[3]: Entering directory `/usr/src/switchfin/build_ip01/uClinux-dist/lib'
[ ! -d "STLport" ] || ( touch STLport/.sgbuilt_lib && make -C STLport ) || exit $?
make[4]: Entering directory `/usr/src/switchfin/build_ip01/uClinux-dist/lib/STLport'
make -C build/lib -f uclinux-dist.mak install ARCH=a
make[5]: Entering directory `/usr/src/switchfin/build_ip01/uClinux-dist/lib/STLport/build/lib'
bfin-linux-uclibc-g++ -pipe -Wall -g -O2  -mcpu=bf532-0.5 -pthread -fexceptions -fident  -fPIC -O2 -fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE  -I/usr/src/switchfin/build_ip01/uClinux-dist/include/STLport -I/usr/src/switchfin/build_ip01/uClinux-dist/include  -c -o obj/gcc/shared/dll_main.o ../../src/dll_main.cpp
In file included from ../../src/dll_main.cpp:29:
../../src/stlport_prefix.h:20:25: error: stl/_config.h: No such file or directory
../../src/dll_main.cpp:46:17: error: slist: No such file or directory
../../src/dll_main.cpp:48:28: error: stl/_hashtable.h: No such file or directory

Any idea what it could be?

Thank you.


Administrator has disabled public posting
Gilles
useravatar
User Info

Re: Up-to-date list of applications in Switchfin?

Mmm... To investigate, I decided to "rm -Rf /usr/src/switchfin" and compile with the default options, but after a while...

Code:


make[3]: Entering directory `/usr/src/switchfin/build_ip01/uClinux-dist/lib/libcurl'
romfs-inst.sh -d -e CONFIG_FMT_USE_FDPIC_ELF /usr/src/switchfin/build_ip01/uClinux-dist/staging/usr/lib/libcurl.so.4 /usr/lib/libcurl.so.4
cp: cannot stat `/usr/src/switchfin/build_ip01/uClinux-dist/staging/usr/lib/libcurl.so.4': No such file or directory
make[3]: *** [romfs] Error 1

Fact is, /usr/src/switchfin/build_ip01/uClinux-dist/staging/usr/lib/ contains libcurl.so.5 but not libcurl.so.4. How come the source file doesn't contain its own requirements?

Thank you.


Administrator has disabled public posting
admin
useravatar
User Info

Re: Up-to-date list of applications in Switchfin?

Hi Gilles,

The story with curl is funny. We have added patch to fix your issue few months ago. I didn't bother to investigate but few days ago I've noticed that the patch is not in SVN.

Probably we just forgot to commit or commit in a branch. Anyways you issue is fixed now.

Cheers
Dimitar


Administrator has disabled public posting
Gilles
useravatar
User Info

Re: Up-to-date list of applications in Switchfin?

Thanks for the tip. I've been working on other things, but will get back to IP01/Switchfin when I'm done.

In the mean time, if someone has the time to write a basic HOWTO on how to port Linux x86 applications to uClinx Blackfin, I'm still interested smile


Administrator has disabled public posting
Gilles
useravatar
User Info

Re: Up-to-date list of applications in Switchfin?

Hello

Would it be possible to have some script read the SVN server and display a list of applications currently available in Switchfin, without having to download the source in Linux and run "make menuconfig"?

Also, I read that some packages included in the uClinux distribution, on which Switchfin is based, don't actually work. So it'd be useful to also include a column for eg. "Works/Doesn't work/Not tested".

Thank you.


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 203
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked