* [Buildroot] ser2net package
@ 2008-08-06 15:29 Leonardo Giordano
2008-08-06 15:52 ` sjhill at realitydiluted.com
2008-08-07 7:37 ` Hinko Kocevar
0 siblings, 2 replies; 10+ messages in thread
From: Leonardo Giordano @ 2008-08-06 15:29 UTC (permalink / raw)
To: buildroot
Hi,
I am trying to access a serial port from network. I found ser2net and
works fine on my desktop linux.
Has anybody written the ser2net.mk? I am having trouble to do it.
Any other suggestion will be appreciated.
Regards,
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-06 15:29 [Buildroot] ser2net package Leonardo Giordano
@ 2008-08-06 15:52 ` sjhill at realitydiluted.com
2008-08-06 18:44 ` Leonardo Giordano
2008-08-07 7:37 ` Hinko Kocevar
1 sibling, 1 reply; 10+ messages in thread
From: sjhill at realitydiluted.com @ 2008-08-06 15:52 UTC (permalink / raw)
To: buildroot
> I am trying to access a serial port from network. I found ser2net and
> works fine on my desktop linux.
> Has anybody written the ser2net.mk? I am having trouble to do it.
> Any other suggestion will be appreciated.
>
I'll do it for $30US. Shall I send you my PayPal email?
-Steve
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-06 15:52 ` sjhill at realitydiluted.com
@ 2008-08-06 18:44 ` Leonardo Giordano
2008-08-07 13:23 ` Bernhard Fischer
0 siblings, 1 reply; 10+ messages in thread
From: Leonardo Giordano @ 2008-08-06 18:44 UTC (permalink / raw)
To: buildroot
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080806/d46e7183/attachment.htm
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-06 15:29 [Buildroot] ser2net package Leonardo Giordano
2008-08-06 15:52 ` sjhill at realitydiluted.com
@ 2008-08-07 7:37 ` Hinko Kocevar
2008-08-07 11:08 ` Leonardo Giordano
1 sibling, 1 reply; 10+ messages in thread
From: Hinko Kocevar @ 2008-08-07 7:37 UTC (permalink / raw)
To: buildroot
Leonardo Giordano wrote:
> Any other suggestion will be appreciated.
>
Have you tried http://buildroot.uclibc.org/buildroot.html#add_software ?
Regards,
Hinko
--
?ETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-07 7:37 ` Hinko Kocevar
@ 2008-08-07 11:08 ` Leonardo Giordano
2008-08-07 11:18 ` Hinko Kocevar
0 siblings, 1 reply; 10+ messages in thread
From: Leonardo Giordano @ 2008-08-07 11:08 UTC (permalink / raw)
To: buildroot
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080807/7b8e84e8/attachment.htm
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-07 11:08 ` Leonardo Giordano
@ 2008-08-07 11:18 ` Hinko Kocevar
2008-08-07 11:44 ` Leonardo Giordano
0 siblings, 1 reply; 10+ messages in thread
From: Hinko Kocevar @ 2008-08-07 11:18 UTC (permalink / raw)
To: buildroot
Leonardo Giordano wrote:
> Yes, but I am having trouble in writing the ser2net.mk file. I mean, I am
> reading the ser2net makefile to write the ser2net.mk.
The ser2net makefile that comes with the package is not that much of an
importance, unless it is not standard. Skimming at the ser2net archive
tells me it is a classic GNU automake compatible source package.
... and what is the problem.. what have you done so far? Can you
share the effort here?
Thanks,
Hinko
--
?ETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-07 11:18 ` Hinko Kocevar
@ 2008-08-07 11:44 ` Leonardo Giordano
2008-08-07 12:06 ` Hinko Kocevar
0 siblings, 1 reply; 10+ messages in thread
From: Leonardo Giordano @ 2008-08-07 11:44 UTC (permalink / raw)
To: buildroot
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080807/17138211/attachment.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ser2net.mk
Url: http://busybox.net/lists/buildroot/attachments/20080807/17138211/attachment.txt
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-07 11:44 ` Leonardo Giordano
@ 2008-08-07 12:06 ` Hinko Kocevar
2008-08-07 12:21 ` Leonardo Giordano
0 siblings, 1 reply; 10+ messages in thread
From: Hinko Kocevar @ 2008-08-07 12:06 UTC (permalink / raw)
To: buildroot
Leonardo Giordano wrote:
> Well, I have not done so much. I am a newbie on this.
> Basically, I copied the "wget" package dir to write the "ser2net" package. Then
> I just made some renames (wget -> ser2net). My ser2net.mk is attached.
great!
> The when executing make, it says:
>
> dataxfer.c:2007: error: 'B230400' undeclared here (not in a function)
> make[1]: *** [dataxfer.o] Error 1
Yes, I see it too on i386 arch. The missing 'B230400' definition should
probably be in termios.h uClibc header. For i386 there is a comment in
/buildroot/build_i386/staging_dir/usr/include/bits/termios.h saying:
#if 0 /* limited on uClibc, keep in sync w/ cfsetspeed.c */
#define B230400 0010003
#define B460800 0010004
#define B500000 0010005
#define B576000 0010006
#define B921600 0010007
#define B1000000 0010010
#define B1152000 0010011
#define B1500000 0010012
#define B2000000 0010013
#define B2500000 0010014
#define B3000000 0010015
#define B3500000 0010016
#define B4000000 0010017
#define __MAX_BAUD B4000000
#else
#define __MAX_BAUD B115200
#endif
On cris arch this is not the case... the package compiles without a glitch!
I don't have a nice fix for this, but completely removing the 2007 line
in dataxfer.c works for me (at least it compiles all the way through),
but I haven't tested it on real hardware.
HTH,
Hinko
--
?ETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-07 12:06 ` Hinko Kocevar
@ 2008-08-07 12:21 ` Leonardo Giordano
0 siblings, 0 replies; 10+ messages in thread
From: Leonardo Giordano @ 2008-08-07 12:21 UTC (permalink / raw)
To: buildroot
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080807/b0300f61/attachment.htm
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] ser2net package
2008-08-06 18:44 ` Leonardo Giordano
@ 2008-08-07 13:23 ` Bernhard Fischer
0 siblings, 0 replies; 10+ messages in thread
From: Bernhard Fischer @ 2008-08-07 13:23 UTC (permalink / raw)
To: buildroot
Leonardo,
On Wed, Aug 06, 2008 at 03:44:51PM -0300, Leonardo Giordano wrote:
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
><html>
><head>
> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> <title></title>
></head>
><body bgcolor="#ffffff" text="#000000">
Please do not send HTML mail.
TIA,
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-08-07 13:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06 15:29 [Buildroot] ser2net package Leonardo Giordano
2008-08-06 15:52 ` sjhill at realitydiluted.com
2008-08-06 18:44 ` Leonardo Giordano
2008-08-07 13:23 ` Bernhard Fischer
2008-08-07 7:37 ` Hinko Kocevar
2008-08-07 11:08 ` Leonardo Giordano
2008-08-07 11:18 ` Hinko Kocevar
2008-08-07 11:44 ` Leonardo Giordano
2008-08-07 12:06 ` Hinko Kocevar
2008-08-07 12:21 ` Leonardo Giordano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox