[time-nuts] FW: More serial ports in NanoBSD
Willy Willemse
Willy.Willemse at telenet.be
Fri Aug 14 15:55:33 UTC 2015
Thank you Mike for your tips but NanoBSD in my situation is a read only system because its stored on a flash card and copied in to RAM during the boot sequence.
I don't see any UART in the boot messages.
This the result of the # dmesg | grep -E "^sio[0-9]" command.
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio0: [FILTER]
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: [FILTER]
These are the only on board available serial communication channels.
Does have anyone else a useful tip?
Thanks.
Willy
-----Oorspronkelijk bericht-----
Van: Mike Cook [mailto:michael.cook at sfr.fr]
Verzonden: donderdag 13 augustus 2015 23:14
Aan: Willy.Willemse at telenet.be
Onderwerp: Fwd: [time-nuts] More serial ports in NanoBSD
little correction. I don’t think you want hint.uart.3.disabled=1 for obvious reasons
> Début du message réexpédié :
>
> De: Mike Cook <michael.cook at sfr.fr>
> Objet: Rép : [time-nuts] More serial ports in NanoBSD
> Date: 13 août 2015 10:46:28 UTC+2
> À: Discussion of precise time and frequency measurement
> <time-nuts at febo.com> Répondre à: Discussion of precise time and
> frequency measurement <time-nuts at febo.com>
>
>
>> Le 12 août 2015 à 22:26, Willy Willemse <Willy.Willemse at telenet.be> a écrit :
>>
>> Hi all,
>>
>>
>>
>> I have a got a NanoBSD image with NTPns from Jason Rabel because I am
>> a complete noob in FreeBSD, I tried to build an image but there were
>> so many pitfalls for me that I asked Jason for a copy of his image.
>>
>>
>>
>> It works fine on my soekris NET4501, but I want also use the time
>> signal from the DCF-77 transmitter not just the oncore signal.
>>
>>
>>
>> Therefore I bought an extra mini-PCI serial card
>> (http://www.benl.ebay.be/itm/320524491709?_trksid=p2057872.m2749.l264
>> 9
>> <http://www.benl.ebay.be/itm/320524491709?_trksid=p2057872.m2749.l264
>> 9&ssPag eName=STRK%3AMEBIDX%3AIT> &ssPageName=STRK%3AMEBIDX%3AIT )
>>
>>
>>
>> But the image doesn't support more than two serial ports. There is a
>> way to add extra serial ports but this means that you have to build a new image.
>
> I find that a restriction on number hard to believe.
> The uart driver supports 16950s. I actually installed and tested an Oxford PCI card in one of my 4801s and was able to use them OK.
> I can’t find my documentation of that test. It was back in 2011. But IIRC…...
> Do your boot messages detect the hardware? You should see multiple
> «uartx » , 0 and 1 are the basic devices. Any others will be your PCI based ports.
> If they are seen, record the PORT and IRQ associated.
> In that case, go look at /boot/device.hints. See if you only uart.0 uart.1 then that may be your issue.
> Add entries for the others.
> ex.
> hint.uart.2.at="isa"
> hint.uart.2.disabled="1"
> hint.uart.2.port="0x3E8"
> hint.uart.2.irq="5"
> hint.uart.3.at="isa"
> hint.uart.3.disabled="1"
> hint.uart.3.port="0x2E8"
> hint.uart.3.irq="9"
>
> reboot
> Now, if you are lucky , when you look in /dev, you should see the tty and cua devices .
>
> Hope that helps.
>
>> And that is what I can't do in this moment. The closest I found from
>> education in this neighborhood is a Linux course which I now follow.
>>
>>
>>
>> My question is, if somebody from the Time-Nuts society have an image
>> laying around which support a third and a fourth serial port?
>>
>>
>>
>> Or even better show me the way to update my existing image with the
>> extra ports.
>>
>>
>>
>> Thanks.
>>
>>
>>
>> Willy
>>
>>
>>
>> ---
>> Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
>> https://www.avast.com/antivirus
>> _______________________________________________
>> time-nuts mailing list -- time-nuts at febo.com To unsubscribe, go to
>> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>> and follow the instructions there.
>
> "Ceux qui sont prêts à abandonner une liberté essentielle pour obtenir une petite et provisoire sécurité, ne méritent ni liberté ni sécurité."
> Benjimin Franklin
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
"Ceux qui sont prêts à abandonner une liberté essentielle pour obtenir une petite et provisoire sécurité, ne méritent ni liberté ni sécurité."
Benjimin Franklin
---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus
More information about the Time-nuts_lists.febo.com
mailing list