2011-03-29 13:51:07 +03:00
|
|
|
1. Build the kernel
|
|
|
|
|
|
|
|
git clone git://projects.qi-hardware.com/qi-kernel.git
|
|
|
|
...
|
|
|
|
... enable CONFIG_IEEE802154, CONFIG_MAC802154,
|
2011-07-08 08:27:53 +03:00
|
|
|
... CONFIG_IEEE802154_DRIVERS, CONFIG_IEEE802154_AT86RF230,
|
|
|
|
... CONFIG_SPI, CONFIG_SPI_ATUSB, ...
|
|
|
|
...
|
|
|
|
... enable CONFIG_TUN for dirtpan
|
|
|
|
...
|
|
|
|
... future: also enable IPv6
|
2011-03-29 13:51:07 +03:00
|
|
|
...
|
|
|
|
|
|
|
|
2. Set up the user space
|
|
|
|
|
|
|
|
# iproute - probably already installed
|
2011-10-25 09:50:44 +03:00
|
|
|
aptitude install libnl1
|
2011-03-29 13:51:07 +03:00
|
|
|
mkdir -p /usr/local/var/run
|
|
|
|
|
|
|
|
3. Build the user space tools of the linux-zigbee project
|
|
|
|
|
2011-10-25 09:50:44 +03:00
|
|
|
aptitude install libnl-dev
|
2011-07-01 18:18:34 +03:00
|
|
|
git clone git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee
|
|
|
|
cd linux-zigbee
|
|
|
|
./autogen.sh
|
2011-03-29 13:51:07 +03:00
|
|
|
make
|
|
|
|
make install
|