AsusForum.NET -- WL500g

Вернуться   AsusForum.NET -- WL500g > Asus WL-500g > WL-500g/WL-500gx Tutorials
Логин
Пароль
Регистрация FAQ Участники Поиск Свежие сообщения Пометить все разделы как прочитанные
Firmware Wizard Donate

Ответ
 
Опции темы Рейтинг: Рейтинг темы: Голосов - 3, средняя оценка - 2.00. Опции просмотра
  #1  
Старый 29-03-2004, 09:10
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Bluetooth on the WL500g? Yes!

We (Philips Semiconductors) are using the WL500g as test vehicle for our MIPS systems to verify code. During these exercises we ported the Affix Bluetooth stack to the WL500g. The actual code is too big to fit in the current firmware (above 4MB), so you need an external flash disk. Since also a USB Bluetooth dongle is needed, you need a compatible USB hub.

For more information go to:
Affix on WL500g

Please read the limitations:
  • Binaries are statically compiled, so larger than actually needed.
  • A specific libc.so.6 file is needed simply because the WL500g version is too limited
  • PAN interface seems not to be routed through the WL500g. As a BT PAN client it is possible to access the internal webpage of the WL500g. When a tcpdump is made the box claims that “source route failed”. I have no clue yet what is causing this problem.
The last problem is causing me headaches. I haven't found a solution yet.

Last remark, the code is based on affix version 2.1.2 .

Последний раз редактировалось bramfm, 29-03-2004 в 09:20.
Ответить с цитированием
  #1  
Старый 29-03-2004, 09:10
AsusForum bramfm вне форума
Member
 
Регистрация: Nov 2003
Адрес: Netherlands
Сообщения: 89
  #2  
Старый 29-03-2004, 12:27
Oleg Oleg вне форума
Administrator
 
Регистрация: Dec 2003
Адрес: Russian Federation
Сообщения: 7,835
Good work. Just checked this. The code could be easily be stripped to 2.5MB by removing debug info and development libraries/headers. Also, try replacing glibc with uclibc.
Ответить с цитированием
  #3  
Старый 29-03-2004, 13:28
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Good tips,

I will compile a new version with --nodebug enabled.
Ответить с цитированием
  #4  
Старый 29-03-2004, 15:13
Oleg Oleg вне форума
Administrator
 
Регистрация: Dec 2003
Адрес: Russian Federation
Сообщения: 7,835
You should also use
strip --strip-unneeded for kernel modules &
strip --remove-section=.note --remove-section=.comment for libraries/apps
Ответить с цитированием
  #5  
Старый 29-03-2004, 15:59
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Цитата:
Originally posted by Oleg
You should also use
strip --strip-unneeded for kernel modules &
strip --remove-section=.note --remove-section=.comment for libraries/apps
Gee, I didn't know this would save so much space. Thanks Oleg!
Ответить с цитированием
  #6  
Старый 29-03-2004, 17:04
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Цитата:
Originally posted by Oleg
You should also use
strip --strip-unneeded for kernel modules &
strip --remove-section=.note --remove-section=.comment for libraries/apps
I am sorry Oleg, but stripping the kernel modules results in many "unresolved symbols"

Stripping the libs + apps is OK!

Последний раз редактировалось bramfm, 29-03-2004 в 17:07.
Ответить с цитированием
  #7  
Старый 29-03-2004, 23:18
Snigel Snigel вне форума
Member
 
Регистрация: Nov 2003
Сообщения: 66
Wow, soon the wl500g is going to be so nice.
wlan, router, bluetooth, packet shaping

Hope you guys solve the PAN-issue.
Ответить с цитированием
  #8  
Старый 30-03-2004, 10:18
justwords justwords вне форума
Member
 
Регистрация: Nov 2003
Сообщения: 56
AVM (Berlin) has managed to include a mrouter software in its bluefritz dsl bluetooth accesspoint so you can use standard symbian phones like nokia 3650 or Sony Ericsson P900 for browsing the web without using gprs or using a pc as a software router. this would be great to do with the wl-500g as well! mrouter is the software that makes a ppp/ tcp/ip connection with a pc or mac when syncing contacts etc. and can also be used to access internet for browsers and email etc.
Ответить с цитированием
  #9  
Старый 23-04-2004, 11:52
xlephant xlephant вне форума
Member
 
Регистрация: Apr 2004
Адрес: frankfurt
Сообщения: 83
see also:

http://wl500g.info/showthread.php?s=&threadid=314
Ответить с цитированием
  #10  
Старый 19-08-2004, 13:31
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Bluetooth for the WL500g Update

I noticed that the file you can download from my site causes "segmentation errors" with the latest version of Oleg's firmware. Therefore an update can be found on the page. Also, a very pleasant side-effect, libc has been replaced by ulibc in the package making it much smaller (still the wl500g build-in libc is not compatible with affix). In fact the /affix-release/lib directory only has to contain libc.so.6 since the binaries are compiled statically.

Attached you can find the new version.

PS can someone copy this to the wiki pages, I do not understand it how to use it, I am just a simple "ing" .

Код:
It is possible to run Bluetooth on the WL500g! This can be done via 
the USB interface in combination with a USB dongle running the Affix stack.
The following dongles have been tested:

    * MSI
    * 3COM
    * TDK

For enabling Bluetooth on the WL500g the following is needed:

    * a WL500g ;-)
    * Precompiled binary, see attachement
    * A USB flash disk
    * A USB BT dongle
    * A USB Hub (to be able to connect the USB BT & flashdisk simultaneously
       to the WL500g)

Extract the affix-release.zip file and be sure to preserve the paths, it will 
look as follows:
	
	

/affix-release
├───bin
│   └───kernel
│       ├───drivers
│       │   └───affix
│       └───net
│           └───affix
├───etc
│   ├───affix
│   ├───devfs
│   │   └───conf.d
│   ├───modutils
│   └───pcmcia
├───include
│   └───openobex
├───lib
├───share
│   └───aclocal
└───usr
    └───include
        └───affix

	
On the USB disk make a directory for incoming and outgoing Obex file transfer
files:

mkdir /incoming

Be shure to insert a USB BT dongle in the box and start bluetooth services via
telnet (see chupa forum how to enable telnet), by issuing the following 
command:

/mnt/usbfs/affix-release/bin/start_bt

Everything should start up now. Test the affix stack by entering the following
command in a Telnet session:

btctl discovery

Known limitations:

    * Binaries are statically compiled, so larger than actually needed.
    * A specific libc.so.6 file is needed simply because the WL500g version is 
       too limited
    * PAN interface seems not to be routed through the WL500g. As a BT PAN 
       client it is possible to access the internal webpage of the WL500g. When
       a tcpdump is made the box claimes that “source route failed”. I have no
       clue yet what is causing this problem
Вложения
Тип файла: zip affix-release_0.3.zip (953.8 Кбайт, 1843 просмотров)
Ответить с цитированием
  #11  
Старый 19-08-2004, 13:45
Styno Styno вне форума
Moderator & Financial forum supporter :)
 
Регистрация: Apr 2004
Адрес: Netherlands
Сообщения: 1,307
Цитата:
Сообщение от bramfm
PS can someone copy this to the wiki pages, I do not understand it how to use it, I am just a simple "ing" .
Hehe, I've submitted all pages in the Packages (until now) and I'm also a simple "ing". So that should not be a problem.

But I will make a page for you this evening

I have a few questions:
What protocols are supported? Printing, filetransfer, voice, etc..

Can you describe what can be possible with this additional package? Use a mobile phone or PDA for ....? I mean: what is the added value of this package for WL-500g owners?

I am confused...

Последний раз редактировалось Styno, 19-08-2004 в 13:53.
Ответить с цитированием
  #12  
Старый 19-08-2004, 13:49
Oleg Oleg вне форума
Administrator
 
Регистрация: Dec 2003
Адрес: Russian Federation
Сообщения: 7,835
Цитата:
Сообщение от bramfm
I noticed that the file you can download from my site causes "segmentation errors" with the latest version of Oleg's firmware. Therefore an update can be found on the page. Also, a very pleasant side-effect, libc has been replaced by ulibc in the package making it much smaller (still the wl500g build-in libc is not compatible with affix). In fact the /affix-release/lib directory only has to contain libc.so.6 since the binaries are compiled statically.
Try recompiling with dynamically linked uclibc. My latest firmwares contains it's fully, i.e. it's not optimized.
Ответить с цитированием
  #13  
Старый 19-08-2004, 14:00
daffy daffy вне форума
Junior Member
 
Регистрация: Aug 2004
Сообщения: 7
Speaking of Bluetooth -

Why use Affix (http://affix.sourceforge.net/) and not the "official" BlueZ (http://www.bluez.org/) stack?

And, yes, I'd welcome Bluetooth on the router ;-)
Ответить с цитированием
  #14  
Старый 19-08-2004, 14:08
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Цитата:
Сообщение от Styno
Hehe, I've submitted all pages in the Packages (until now) and I'm also a simple "ing". So that should not be a problem.

But I will make a page for you this evening

I have a few questions:
What protocols are supported? Printing, filetransfer, voice, etc..

Can you describe what can be possible with this additional package? Use a mobile phone or PDA for ....? I mean: what is the added value of this package for WL-500g owners?

I am confused...
In fact all profiles supported by affix are included, however the wl500g has no audio so a headset profile is not very usefull.
With the obex file transefer profile you can transfer files from and to your mobile (such as pictures) to an attached USB storage device. I also included a script which sends a message to a bluetooth phone (once a day). The script is called bluejack, and is just included to show the possibilities. You should provide a message in the "incoming" directory (see btsrv.conf file in ./etc)
Also the Pan profile is included, you will get a pan0 ethernet interface so you can use TCP/IP over bluetooth. However I can't get it to do the routing properly so you can browse the internet on your mobile phone via Bluetooth. You can browse the wl500g internal server though.
Ответить с цитированием
  #14  
Старый 19-08-2004, 14:08
AsusForum bramfm вне форума
Member
 
Регистрация: Nov 2003
Адрес: Netherlands
Сообщения: 89
  #15  
Старый 19-08-2004, 14:11
bramfm bramfm вне форума
Financial forum supporters :)
 
Регистрация: Dec 2003
Адрес: Helmond, The Netherlands
Сообщения: 89
Цитата:
Сообщение от daffy
Speaking of Bluetooth -

Why use Affix (http://affix.sourceforge.net/) and not the "official" BlueZ (http://www.bluez.org/) stack?

And, yes, I'd welcome Bluetooth on the router ;-)
To be honest this is a historical thing. When we started to use bluetooth for our ARM based devices we needed the PAN profile. At that time only affix supported the PAN profile. A second reason is that the affix stack compiles much easier for embedded systems.
Ответить с цитированием
Ответ

Опции темы
Опции просмотра Оценка этой теме
Оценка этой теме:

Ваши права в разделе
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
affix bluetooth problem xlephant WL-500g Q&A 10 17-06-2006 03:00
Bluetooth on wlhdd Martin1802 WL-HDD Q&A 1 18-09-2005 17:34
Bluetooth on Wl-500Gx Plesa WL-500g Q&A 2 22-04-2005 17:45
Questions about BlueTooth and Samba molski WL-500g/WL-500gx Tutorials 13 10-10-2004 01:29
Status of bluetooth and QoS || New (possible) Idea?! xlephant WL-500g Custom Development 0 23-04-2004 11:51


Часовой пояс GMT +1, время: 22:21.


Copyright ©2003 - 2008, van Boekel Networks
Вы оценили эту тему: