Forum KNX francophone / English KNX forum

Version complète : Paquets pour OpenWRT
Vous consultez actuellement la version basse qualité d’un document. Voir la version complète avec le bon formatage.
Bonjour,

Je voudrais migrer la linknxwebbox sous OpenWRT, système que j'utilise sur une autre carte ALIX qui me sert de routeur, et que j'envisage de déployer sur d'autres cartes ALIX pour d'autres applis ; je trouve cette distro très bien faite, et se marie très bien avec ces cartes (c'est chouette de stacker les jolis boîtiers !).

Pour construire les paquets à partir des sources, avec le SDK, il faut les Makefile buildroot. Je suis reparti de ce qu'il y a sur le wiki de linknx :

http://ouaye.net/linknx/OpenWRT-Kamikaze-r7908/build/

Est-ce qu'il y a des choses plus récentes quelque part ? Par exemple, je ne vois pas trace de la librairie mysql-client, ni de log4cpp, ou de lua...

Comme je n'ai jamais fait ce genre de cross-compilation, tout aide est la bienvenue. Par exemple, j'aimerais utiliser des paquets plus récents, mais comme il y a des patchs, ça ne va pas être simple !

Merci d'avance.

PS : la cible sera donc backfire 10.03.1 x86_generic
Mmm, chuis bête, lua ou mysqlclient sont fournis dans la distro... Manquera peut-être que log4cpp.
(13/03/2013, 14:34:21)fma38 a écrit : [ -> ]Comme je n'ai jamais fait ce genre de cross-compilation, tout aide est la bienvenue. Par exemple, j'aimerais utiliser des paquets plus récents, mais comme il y a des patchs, ça ne va pas être simple !
Perhaps my dowload files may help you:
some feed files: http://www.truniger.ch/openwrt/eibd-feed.tar.gz
recent source files: http://www.truniger.ch/openwrt/eibd-dl.tar.gz

Regards, Othmar
Thanks! This may help me to update the files I already have.

But right now, I have a problem with the SDK: it seems to be broken, and can't compile anything. Someone told me he had to compile the SDK from scratch Sad
Othmar, I found the problem with the SDK, and was able to compile eibd and linkx! Many thanks for your feeds...

I have a question: the pthsem lib bundled with OpenWRT seems to be the good one. In your feed, you have a patch, but no Makefile for this lib. So, what does it realy patch?

Do you have a good experience with OpenWRT? I also plan to package knxweb2, mak a service to start/stop eibd/linknx, and, more complicated, write some luci configs to be able to configure linknx from luci gui...
(18/03/2013, 08:17:14)fma38 a écrit : [ -> ]I have a question: the pthsem lib bundled with OpenWRT seems to be the good one. In your feed, you have a patch, but no Makefile for this lib. So, what does it realy patch?
You are right, the bundled pthsem is fine when using the firmware. But the patch together with the original Makefile is needed when crosscompiling backfire from SVN on a system with kernel 3.x like my Ubuntu.
(18/03/2013, 08:17:14)fma38 a écrit : [ -> ]Do you have a good experience with OpenWRT?
I maintain and test the packages just for fun. It runs fine so far but no real longtime production experience as my eibd/linknx runs on Ubuntu.

Regards, Othmar
May I bother you with questions? I'm new to OpenWRT cross-compilation...