On 03/18/2013 04:45 AM, João Paulo Bodanese wrote:
> I am trying to set up the demo that Alan presented at Linux Conference
> Europe 2012.
> I have already installed the 3.7-rc2 Linux kernel in the BeagleBone
> with all the patches that its     described in his website.

Hi João,

At this point you're best off doing something slightly different than
that, which I'll describe.

Grab the BeagleBone 3.8 kernel, which already has Tony's patches in it:
    https://github.com/beagleboard/kernel/tree/3.8

Apply these patches to it:
    http://www.signal11.us/~alan/patches/patches-joao.tar.gz
    (btw, those were sent to next-next just a minute ago)

Also apply this one:
    http://www.signal11.us/~alan/patches/bone-dt-cape-override.diff

Install the linux-zigbee userspace tools from source:
1. extract libnl (I'm using 3.2.7) and linux-zigbee userspace tools (use
the ones from git) side-by-side.

2. Build libnl with:
    ./configure --prefix=$PWD/../out --host=arm-linux
    make

3. Build linux-zigbee userspace tools with:
    LDFLAGS=-L$PWD/../out/lib ./configure \
          --prefix=$PWD/../out --host=arm-linux
    make

4. Output files will be in out/ . Copy these to your BeagleBone.

Connect your mrf24j40ma to SPI1 (CS0), and connect the INT pin to
GPIO1_29 (see my DT file, patch 0001).

Once the Bone is running, load the DT for the MRF24J40:
    echo BB-BONE-MRF24J40 >/sys/devices/bone_capemgr.7/slots

Then run this setup script:
    http://www.signal11.us/~alan/patches/setup

I'll get this stuff up on the website soon, as it's a popular question.
Or if you have time (all you need is a souceforge account)....

> My question is how to install the linux-zigbee userspace tools in the
> BeagleBone node? Is there a recipe to install it in the Angstron?

Not that I know of. Feel free to find out for sure and let us know.

Alan.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to