Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Alexander Aring
On Mon, Jan 06, 2014 at 06:47:35PM +0100, Cristiano wrote: > On 01/06/2014 06:10 PM, Alexander Aring wrote: > >On Mon, Jan 06, 2014 at 06:00:11PM +0100, Cristiano wrote: > >>On 01/06/2014 05:39 PM, Alexander Aring wrote: > >>Hi, > >> In my kernel configuration I have only the option to build 6low

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Cristiano
On 01/06/2014 06:10 PM, Alexander Aring wrote: > On Mon, Jan 06, 2014 at 06:00:11PM +0100, Cristiano wrote: >> On 01/06/2014 05:39 PM, Alexander Aring wrote: >> Hi, >>In my kernel configuration I have only the option to build 6lowpan >> as a module (and this also builds reassembly as a module).

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Alexander Aring
Hi, another issue is the lot of skb_clones in the code. I tried to remove it but I got some NULL pointer dereferencing afterwards. I need to figure out more how the memory management with skb works. This is another issue, but the current code do this also and I don't wanna touch this right now, w

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Alexander Aring
On Mon, Jan 06, 2014 at 05:20:24PM +0100, Cristiano wrote: > Hi, > The kernel oops can be fixed by removing/commenting the __inline > qualifier in the signature of: > > int /* __init */ lowpan_net_frag_init(void) > Thanks, I will check this. I must confess that I never build it as module. :-)

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Alexander Aring
On Mon, Jan 06, 2014 at 06:00:11PM +0100, Cristiano wrote: > On 01/06/2014 05:39 PM, Alexander Aring wrote: > Hi, > In my kernel configuration I have only the option to build 6lowpan > as a module (and this also builds reassembly as a module). I don't > have an option to compile them in the kerne

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Cristiano
On 01/06/2014 05:39 PM, Alexander Aring wrote: Hi, In my kernel configuration I have only the option to build 6lowpan as a module (and this also builds reassembly as a module). I don't have an option to compile them in the kernel. About testing the reassembly, do you have any suggestion/test c

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Cristiano
Hi, The kernel oops can be fixed by removing/commenting the __inline qualifier in the signature of: int /* __init */ lowpan_net_frag_init(void) in reassembly.c. I'm finally able to complete the steps described in: http://sourceforge.net/apps/trac/linux-zigbee/wiki/GettingStarted-0.2 About

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-06 Thread Cristiano
Hi, I've applied the linux-zigbee patches at: https://github.com/linux-wpan/linux-net-next/commits/6lowpan_pending_patches to the Raspberry Pi kernel 3.10.y and 3.12.y When I try to load the 6lowpan kernel I get this kernel oops: pi@raspberrypi:~$ sudo modprobe 6lowpan [ 48.761157] Unable

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-03 Thread Alexander Aring
Hi, On Sat, Jan 04, 2014 at 01:37:37AM +0100, Cristiano wrote: > Hi Martin, >I'm doing the same think. I think you need to export the symbols from > the file reassembly.c. > Add the following lines below the functions: > > EXPORT_SYMBOL(lowpan_net_frag_init); > > EXPORT_SYMBOL(lowpan_net_f

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-03 Thread Cristiano
Hi Martin, I'm doing the same think. I think you need to export the symbols from the file reassembly.c. Add the following lines below the functions: EXPORT_SYMBOL(lowpan_net_frag_init); EXPORT_SYMBOL(lowpan_net_frag_exit); I also think you need to add the module license to the same file or t

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2014-01-03 Thread Martin Townsend
Hi Alex, I had a problem with your 6lowpan_pending_patches branch when trying to build the Kernel Modules in my environment, here's the log output: | DEBUG: Executing shell function do_compile_kernelmodules | NOTE: make -j 8 modules CC=microblazeel-poky-linux-gcc LD=microblazeel-poky-linux-ld.bf

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2013-12-24 Thread Martin Townsend
Hi, I have my driver working and can ping6 between 2 boards and have my open embedded environment setup. As we are using a PowerLine modem I have left the energy detect and set channel driver functions empty, as far as I can see this should be ok or does anyone know of any impact on the 802.1

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2013-12-05 Thread Martin Townsend
Hi Alex, Many thanks for the info. I'm just battling with my open embedded environment and once I work out how to incorporate your patches from the link you sent into this environment and once I've fixed my 802.15.4 device driver I will definitely let you know how I get on with the changes an

Re: [Linux-zigbee-devel] Latest linux-zigbee sources

2013-12-04 Thread Alexander Aring
Hi Martin, On Wed, Dec 04, 2013 at 02:39:02PM +, Martin Townsend wrote: > Hi, > > I have a 3.10 Kernel from a Xilinx repository that I'm using. I would > like to build with your latest IEEE802154 and 6lowpan code including > Alexander's recent patches. What would be the best way for me to

[Linux-zigbee-devel] Latest linux-zigbee sources

2013-12-04 Thread Martin Townsend
Hi, I have a 3.10 Kernel from a Xilinx repository that I'm using. I would like to build with your latest IEEE802154 and 6lowpan code including Alexander's recent patches. What would be the best way for me to do this? Best Regards, Martin. -