Benutzer:Rdnzl/FreeBSD: Unterschied zwischen den Versionen

Aus Ethersex_Wiki
Wechseln zu: Navigation, Suche
(known bugs / TODO)
(ethersex auf FreeBSD)
 
Zeile 1: Zeile 1:
 
== ethersex auf FreeBSD ==
 
== ethersex auf FreeBSD ==
  
Nach mehreren Anläufen hab ichs nun endlich hinbekommen :-)
+
Folgende Ports/Packages werden benötigt:
  
esex as of: commit 87fb137b9bd612c23686b7156a35a0238644caca
+
=== System: 8.1-BETA1 FreeBSD ===
 
 
System: 8.1-BETA1 FreeBSD
 
 
 
Folgende Packages hab ich installiert:
 
  
 
<pre>
 
<pre>
Zeile 34: Zeile 30:
 
perl-5.10.1_1      Practical Extraction and Report Language
 
perl-5.10.1_1      Practical Extraction and Report Language
 
python26-2.6.5      An interpreted object-oriented programming language
 
python26-2.6.5      An interpreted object-oriented programming language
 +
</pre>
 +
 +
Inzwischen ist auch avr-libc 1.7 in den Ports
 +
 +
=== System: FreeBSD 8.2-STABLE #3: Mon Feb 28 02:12:46 CET 2011 ===
 +
 +
<pre>
 +
avr-binutils-2.20_1 GNU binutils for Atmel AVR 8-bit RISC cross-development
 +
avr-gcc-4.3.4_2    FSF GCC 4.x for Atmel AVR 8-bit RISC cross-development
 +
avr-libc-1.7.0_1,1  A C and math library for the Atmel AVR controller family
 +
avrdude-5.10        Program for programming the on-chip memory of Atmel AVR CPU
 +
bash-4.1.9          The GNU Project's Bourne Again SHell
 +
ca_root_nss-3.12.9  The root certificate bundle from the Mozilla Project
 +
curl-7.21.3        Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
 +
expat-2.0.1_1      XML 1.0 parser written in C
 +
gawk-3.1.8          The GNU version of Awk
 +
gettext-0.18.1.1    GNU gettext package
 +
git-1.7.4.1        Distributed source code management tool
 +
gmake-3.81_4        GNU version of 'make' utility
 +
gmp-5.0.1          A free library for arbitrary precision arithmetic
 +
gsed-4.2.1_2        The GNU stream editor
 +
libiconv-1.13.1_1  A character set conversion library
 +
m4-1.4.15,1        GNU m4
 +
mpfr-3.0.0          A library for multiple-precision floating-point computation
 +
ncurses-5.7        Library for terminal-independent, full-screen output
 +
p5-Error-0.17016    Perl module to provide Error/exception support for perl: Er
 +
p5-Net-SMTP-SSL-1.01_1 An SMTP client supporting SSL
 +
perl-5.10.1_3      Practical Extraction and Report Language
 +
python26-2.6.6      An interpreted object-oriented programming language
 
</pre>
 
</pre>
  
Zeile 40: Zeile 65:
 
Nun gilt es nur noch zu beachten dass man 'gmake' im ethersex-Verzeichnis aus bash aufrufen muss, unter (t)csh gehts nicht.
 
Nun gilt es nur noch zu beachten dass man 'gmake' im ethersex-Verzeichnis aus bash aufrufen muss, unter (t)csh gehts nicht.
  
<s>Hier meine diffs, moeglicherweise schaut mal einer der DEVs drüber und committed das: [[Media:Freebsd_git_diff.txt]]</s>
+
Das Ganze funktioniert hier für ein Standard 'gmake menuconfig' incl. 'scripts/add-hardware ..' - ich hab nicht alle möglichen config-Varianten getestet und in scripts/* mag es durchaus noch Stellen geben die unter FreeBSD so nicht passen.
<br>Patchen muss man nichts, hier wurde das eingepflegt: http://github.com/ethersex/ethersex/commit/5e7d2374c3be5eebe6f71efa8f4d5cafbb566df8
 
  
Das Ganze funktioniert hier für ein Standard 'gmake menuconfig' incl. 'scripts/add-hardware ..' - ich hab nicht alle möglichen config-Varianten getestet und in scripts/* mag es durchaus noch Stellen geben die unter FreeBSD so nicht passen.
+
=== TODO ===
  
==== TODO ====
 
 
Was momentan sicher nicht geht:
 
Was momentan sicher nicht geht:
  
"Search configuration Option" in menuconfig, "Help"-Buttons in menuconfig (alles sehr bash-lastig und noch keine Idee wie das anders aufgerufen werden könnte)
+
* "Search configuration Option" in menuconfig, "Help"-Buttons in menuconfig  
 +
* Bei AVRs mit zwei UART wird nur eine erkannt, scripts/usart-config.sh setzt GNU tools voraus (festgestellt auf 1284p).

Aktuelle Version vom 1. März 2011, 16:29 Uhr

ethersex auf FreeBSD

Folgende Ports/Packages werden benötigt:

System: 8.1-BETA1 FreeBSD

avr-binutils-2.20_1 GNU binutils for Atmel AVR 8-bit RISC cross-development
avr-gcc-4.3.4_1     FSF GCC 4.x for Atmel AVR 8-bit RISC cross-development
avr-libc-1.6.8_2,1  A C and math library for the Atmel AVR controller family
avrdude-5.10        Program for programming the on-chip memory of Atmel AVR CPU
bash-4.1.5_2        The GNU Project's Bourne Again SHell
ca_root_nss-3.12.4  The root certificate bundle from the Mozilla Project
curl-7.20.0         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsps-2.1           Create patchset information from CVS
expat-2.0.1_1       XML 1.0 parser written in C
gawk-3.1.7_1        The GNU version of Awk
gettext-0.18        GNU gettext package
git-1.7.1           Distributed source code management tool
gmake-3.81_4        GNU version of 'make' utility
gmp-5.0.1           A free library for arbitrary precision arithmetic
gsed-4.2.1          The GNU stream editor
libevent-1.4.13     Provides an API to execute callback functions on certain ev
libiconv-1.13.1_1   A character set conversion library
m4-1.4.14_1,1       GNU m4
mpfr-2.4.2_1        A library for multiple-precision floating-point computation
ncurses-5.7         Library for terminal-independent, full-screen output
p5-Error-0.17016    Perl module to provide Error/exception support for perl: Er
p5-Net-SMTP-SSL-1.01 An SMTP client supporting SSL
perl-5.10.1_1       Practical Extraction and Report Language
python26-2.6.5      An interpreted object-oriented programming language

Inzwischen ist auch avr-libc 1.7 in den Ports

System: FreeBSD 8.2-STABLE #3: Mon Feb 28 02:12:46 CET 2011

avr-binutils-2.20_1 GNU binutils for Atmel AVR 8-bit RISC cross-development
avr-gcc-4.3.4_2     FSF GCC 4.x for Atmel AVR 8-bit RISC cross-development
avr-libc-1.7.0_1,1  A C and math library for the Atmel AVR controller family
avrdude-5.10        Program for programming the on-chip memory of Atmel AVR CPU
bash-4.1.9          The GNU Project's Bourne Again SHell
ca_root_nss-3.12.9  The root certificate bundle from the Mozilla Project
curl-7.21.3         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
expat-2.0.1_1       XML 1.0 parser written in C
gawk-3.1.8          The GNU version of Awk
gettext-0.18.1.1    GNU gettext package
git-1.7.4.1         Distributed source code management tool
gmake-3.81_4        GNU version of 'make' utility
gmp-5.0.1           A free library for arbitrary precision arithmetic
gsed-4.2.1_2        The GNU stream editor
libiconv-1.13.1_1   A character set conversion library
m4-1.4.15,1         GNU m4
mpfr-3.0.0          A library for multiple-precision floating-point computation
ncurses-5.7         Library for terminal-independent, full-screen output
p5-Error-0.17016    Perl module to provide Error/exception support for perl: Er
p5-Net-SMTP-SSL-1.01_1 An SMTP client supporting SSL
perl-5.10.1_3       Practical Extraction and Report Language
python26-2.6.6      An interpreted object-oriented programming language

Am besten als erstes git installieren, danach avr-libc, das zieht schon einiges als dependencies mit sich.

Nun gilt es nur noch zu beachten dass man 'gmake' im ethersex-Verzeichnis aus bash aufrufen muss, unter (t)csh gehts nicht.

Das Ganze funktioniert hier für ein Standard 'gmake menuconfig' incl. 'scripts/add-hardware ..' - ich hab nicht alle möglichen config-Varianten getestet und in scripts/* mag es durchaus noch Stellen geben die unter FreeBSD so nicht passen.

TODO

Was momentan sicher nicht geht:

  • "Search configuration Option" in menuconfig, "Help"-Buttons in menuconfig
  • Bei AVRs mit zwei UART wird nur eine erkannt, scripts/usart-config.sh setzt GNU tools voraus (festgestellt auf 1284p).