Hi!

2012/10/5 Alexander Smirnov <alex.bluesman.smir...@gmail.com>:
> please smoke this one: http://code.google.com/p/linux-wsn/wiki/Mainline

Good news: this work on Toradex Colibri PXA320 (not only on Atmel
at86rf231 Radio Extender plugged to at91sam9g20ek board). Use atmel
RZ600 kit connected to Toradex Colibri Evaluation board.

Bad news: channel not setiing up:

colibri src # modprobe at86rf230
colibri src # ./iz add wpan-phy0 wpan0 cafebabedeadbeaf
Registered new device ('wpan0') on phy wpan-phy0
colibri src # ifconfig wpan0 up
colibri src # ifconfig wpan0
wpan0     Link encap:UNSPEC  HWaddr
CA-FE-BA-BE-DE-AD-BE-AF-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING NOARP  MTU:127  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

colibri src # ./iz list
wpan0 (3)
    link: IEEE 802.15.4 MAC interface
    phy wpan-phy0
    hw ca:fe:ba:be:de:ad:be:af pan 0xffff short 0xffff
colibri src # ./iz listphy
wpan-phy0  IEEE 802.15.4 PHY object
    page: 0  channel: n/a
    channels on page 0: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

colibri src #

I have not ip utility in my rootfs for "$ ip link set wpan0 address
ca:fe:ca:fe:ca:fe:ca:fe", but this code do something.


colibri src # ./izcoordinator -i wpan0 -s 1 -p 777 -c 11 -l lease
Opt: i (69)
Opt: s (73)
Opt: p (70)
Opt: c (63)
Opt: l (6c)
Opt: � (ff)
colibri src # ./iz list
wpan0 (3)
    link: IEEE 802.15.4 MAC interface
    phy wpan-phy0
    hw ca:fe:ba:be:de:ad:be:af pan 0xffff short 0xffff
colibri src # ./iz listphy
wpan-phy0  IEEE 802.15.4 PHY object
    page: 0  channel: n/a
    channels on page 0: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

colibri src #

No PANID, no channell :-( In dmesg:

colibri src # dmesg -c
[...]
at86rf230 spi1.1: Detected at86rf231 chip version 2
at86rf230 spi1.1: Status: 06
at86rf230 spi1.1: Status: 09
colibri src #

Userspace tools from git repo:

colibri src # ./iz --version
iz 0.3
Copyright (C) 2008, 2009 by Siemens AG
License GPLv2 GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Dmitry Eremin-Solenikov, Sergey Lapin and Maxim Osipov
colibri src # ./izcoordinator --version
Opt:  (1)
izcoordinator 0.3
Copyright (C) 2008, 2009 by Siemens AG
License GPLv2 GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Dmitry Eremin-Solenikov, Sergey Lapin and Maxim Osipov
colibri src #

Use gentoo-armv5tel stage:

colibri src # gcc --version
gcc (Gentoo 4.5.3-r2 p1.5, pie-0.4.7) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

colibri src # as --version
GNU assembler (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of
`armv5tel-softfloat-linux-gnueabi'.
colibri src #

-- 
Best,
Alex A. Mihaylov
AKA MinimumLaw

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to