New Raspberry1-2B+ Images based on OpenWRT (Update 3.5877)

Compatibility (hardware, devices and OS)
irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2335)

Post by irimi » Tuesday 24 March 2015 23:05

New raspberry image available v2015-03-25, with domoticz r2335 and OpenZWave 1.3.112 - link please see first message.
Successfully tested on RPI B+ (1) with RFXtrx433E USB 433.92MHz Transceiver by RFXCom and Z-Wave Plus USB Stick ZME_UZB1 by Z-Wave.me

Repository updated for old image as well, use opkg update.
Ignore possible OpenZWave downgrade message due to github switch and new OpenZWave version numbering.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2383)

Post by irimi » Tuesday 21 April 2015 22:58

Update to Domoticz v2.2383 (incl. python bindings) & OpenzWave V1.3.144 is avaible via packetmanager.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by irimi » Sunday 31 May 2015 12:34

Update to Domoticz v2.505 & OpenzWave V1.3.293 is avaible via packetmanager.

wizzard72
Posts: 61
Joined: Friday 20 December 2013 8:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by wizzard72 » Tuesday 16 June 2015 19:49

This is a cool project. Does it support the Raspbery Pi 2?

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by irimi » Wednesday 17 June 2015 20:10

wizzard72 wrote:This is a cool project. Does it support the Raspbery Pi 2?
No, RPI 2 is not supported. There are no update plans since openwrt supports RPI 2 only on trunk version.

wizzard72
Posts: 61
Joined: Friday 20 December 2013 8:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by wizzard72 » Wednesday 17 June 2015 21:34

I have build a basic openwrt image for the Raspberry Pi 2. Can you share how you created a package for domoticz and openzwave?

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by irimi » Thursday 18 June 2015 17:15

wizzard72 wrote:I have build a basic openwrt image for the Raspberry Pi 2. Can you share how you created a package for domoticz and openzwave?
This is very easy: just look at openwrt wiki how to add feeds, then add my feed:

Code: Select all

git clone git://git.code.sf.net/p/audiculapi/code audiculapi

wizzard72
Posts: 61
Joined: Friday 20 December 2013 8:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by wizzard72 » Friday 19 June 2015 17:12

irimi wrote:
wizzard72 wrote:I have build a basic openwrt image for the Raspberry Pi 2. Can you share how you created a package for domoticz and openzwave?
This is very easy: just look at openwrt wiki how to add feeds, then add my feed:

Code: Select all

git clone git://git.code.sf.net/p/audiculapi/code audiculapi
It doesn't work. So I used:

Code: Select all

src-git audiculapi http://git.code.sf.net/p/audiculapi/code
When I try to compile, it breaks on compiling openzwave. This is the error:

Code: Select all

Building OpenZWave Version 1.3.-1
Linking Shared Library
arm-openwrt-linux-muslgnueabi-ld: unrecognized option '-Wl,-z,now'
arm-openwrt-linux-muslgnueabi-ld: use the --help option for usage information
Any idea?

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by irimi » Saturday 20 June 2015 10:06

wizzard72 wrote: When I try to compile, it breaks on compiling openzwave. This is the error:

Code: Select all

Building OpenZWave Version 1.3.-1
Linking Shared Library
arm-openwrt-linux-muslgnueabi-ld: unrecognized option '-Wl,-z,now'
arm-openwrt-linux-muslgnueabi-ld: use the --help option for usage information
Any idea?
Did you change the makefile or did you remove the patchfiles ?
I'm expecting this:

Code: Select all

openzwave-1.3.321
Please retry with

Code: Select all

make ./package/feeds/audiculapi/openzwave/{clean,compile} V=s
and the important output is:

Code: Select all

Applying ./patches/011-build_fix.patch using plaintext: 
patching file cpp/build/Makefile
Hunk #2 succeeded at 126 (offset 5 lines).
Hunk #3 succeeded at 138 (offset 5 lines).
But keep in mind all was successfully tested only with breaker branch but not with recent trunk or calmer branch.

wizzard72
Posts: 61
Joined: Friday 20 December 2013 8:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2505)

Post by wizzard72 » Sunday 05 July 2015 15:47

Thanks for the reply!

I think I am one step further. I now get the following error:

Code: Select all

Building tinystr.o
arm-openwrt-linux-muslgnueabi-g++: error: arm: No such file or directory
The strange thing is that if I compile it from the builddir with a normal make, I don't get errors, but when I compile this with "make ./package/feeds/audiculapi/openzwave/{clean,compile} V=s" I got the error above.

I think it's looking in the wrong directory. But I don't know how I can check this.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r2659)

Post by irimi » Sunday 12 July 2015 18:59

Update to r2659 with openzwave v1.3.401 is available via okpg update.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3191)

Post by irimi » Monday 28 September 2015 16:48

Update to r3191 with openzwave v1.3.488 is available via okpg update

kosten
Posts: 2
Joined: Monday 30 May 2016 9:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3191)

Post by kosten » Friday 01 July 2016 11:52

Hi.
I'm trying to publish domoticz in OpenWRT main package repository. Here's may pull request https://github.com/openwrt/packages/pull/2883

The basis of the project I took yours project.

Any suggestions are welcome.

jensc
Posts: 47
Joined: Saturday 12 March 2016 2:49
Target OS: Windows
Domoticz version: 3.5494
Location: Columbia City, Oregon, USA
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3191)

Post by jensc » Friday 12 August 2016 22:37

@irimi

Any issues running your img on my new RPi 3 B+ cards?

jensc
Posts: 47
Joined: Saturday 12 March 2016 2:49
Target OS: Windows
Domoticz version: 3.5494
Location: Columbia City, Oregon, USA
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3191)

Post by jensc » Saturday 13 August 2016 7:14

No luck with the RPi 3 B+. Booting freezes at the initial "color check" screen.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3191)

Post by irimi » Sunday 14 August 2016 13:23

jensc wrote:No luck with the RPi 3 B+. Booting freezes at the initial "color check" screen.
Of course ! Available image is only for older RPI, for recent RPI3 the image has to be rebuild with other settings.
I'll try this.

jensc
Posts: 47
Joined: Saturday 12 March 2016 2:49
Target OS: Windows
Domoticz version: 3.5494
Location: Columbia City, Oregon, USA
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3191)

Post by jensc » Monday 15 August 2016 1:46

If that is possible, I'd like to try it, thanks.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry Image based on OpenWRT (Update r3.5412))

Post by irimi » Thursday 18 August 2016 15:41

Update for RPI 2B/3 is available now. I only have tested Model 2B , this one works fine for me.

jensc
Posts: 47
Joined: Saturday 12 March 2016 2:49
Target OS: Windows
Domoticz version: 3.5494
Location: Columbia City, Oregon, USA
Contact:

Re: New Raspberry1-3 Images based on OpenWRT (Update 3.5412)

Post by jensc » Saturday 20 August 2016 18:45

@irimi

Nope, doesn't boot on Pi 3 B+. Freezes at the color screen with a little color screen square in the upper right corner. Tried three different cards.

irimi
Posts: 38
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: New Raspberry1-3 Images based on OpenWRT (Update 3.5412)

Post by irimi » Tuesday 23 August 2016 19:54

Mmh, according to https://wiki.openwrt.org/toh/raspberry_ ... spberry_pi it seems RPi3 is still unsupported with "OpenWrt's Chaos Calmer" release :( .

For RPI3 recent openwrt's trunk version is required and actually I'm not able to compile OpenZWave due to strange compiler errors on that trunk version, hence no domoticz package possible for RPI3 , too :( .

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests