Skip to main content



      Home
Home » Eclipse Projects » Kura » Will Kura support Raspberry Pi Zero W?
Will Kura support Raspberry Pi Zero W? [message #1758006] Wed, 22 March 2017 13:47 Go to next message
Eclipse UserFriend
Hi guys,

I am thinking about building a cloud-based BLE base station with the just-arrive Raspberry Pi Zero W, but I wonder if Kura will be compatible with the platform?

There are some pre-built Kura for Raspberry 2, 3. However, the Zero W has different architecture.

Do you think I can compile Kura from its source code targeting to the Zero W platform without any problems?

I hope someone can help me!!! Thank you so much!
Re: Will Kura support Raspberry Pi Zero W? [message #1758134 is a reply to message #1758006] Thu, 23 March 2017 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

The main problem you will have is the native libraries, these would need to be compiled for the Pi Zero architecture. Depending on what parts of Kura you need will determine which libraries you would need to compile. The minimum is the UDEV library [1]. These are loaded in the USB bundles, for example [2]. Other than that, everything else is standard OSGi/Java, so it should be fine. We typically distribute "nn" or "no networking" installers, I would recommend starting with those.

[1] https://github.com/eclipse/kura/tree/develop/kura/org.eclipse.kura.linux.usb/src/main/c/udev
[2] https://github.com/eclipse/kura/tree/develop/kura/org.eclipse.kura.linux.usb.armv5sf

Thanks,
--Dave
Re: Will Kura support Raspberry Pi Zero W? [message #1758188 is a reply to message #1758006] Fri, 24 March 2017 08:51 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
adding some details wo what already written by David.

I've successfully installed Kura on my Pi 0 W, using the Pi 3 Debian packages available on the website.
The only thing you have to make sure is to change the primary network interface name in the kura.properties file before the first start of Kura.

Change it to
kura.primary.network.interface=wlan0
then save and start kura.

After a while (3,5 minutes, on my Pi) it will create a network interface with SSID kura_gateway_[MAC_ADDRESS], whose password will be testKEYS.

Also... every time you change the network configuration, expect to loose the connection to the Pi for a bit. Not a big deal, after all.

L.
Re: Will Kura support Raspberry Pi Zero W? [message #1758196 is a reply to message #1758188] Fri, 24 March 2017 10:40 Go to previous message
Eclipse UserFriend
Hi David and Luca,

Thank you very much for your helps! I am confident to buy the Zero W and test it now with Kura Smile

O.C.
Previous Topic:Eclipse Kura Vs Smarthome
Next Topic:Kura GUI (Java swing) issues
Goto Forum:
  


Current Time: Wed Jul 30 19:22:46 EDT 2025

Powered by FUDForum. Page generated in 0.05134 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top