Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2016 16:11:02 -0800
From:      "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Ian Smith <smithi@nimnet.asn.au>, Warner Losh <imp@bsdimp.com>,  "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>,  "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Re: hint.uart.1 in device.hints causes freeze at boot
Message-ID:  <CAASDrVmajULrZeLZkp63iSP_5gWRK68zt7hoqQ%2BtNJcepNxbKQ@mail.gmail.com>
In-Reply-To: <00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3@xcllnt.net>
References:  <CAASDrV=utCCDpAtN9jVEOOK=FbHiK7skJ6VkXptUZxX=9SAaBw@mail.gmail.com> <4E9118B0-FC9F-444F-B277-3E5BAE75C723@xcllnt.net> <CANCZdfpv_Ju34qqzo01mBj_c4F3YO9VdTJvCGWEDt1SUnu2M5A@mail.gmail.com> <20160227172039.F26318@sola.nimnet.asn.au> <CAASDrVmTxf1T9RngEAfW-ycibe_-hkbG3RNad07maFCWAYbasw@mail.gmail.com> <00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Marcel

Switching to PCI does not help the halting boot, only disabling UART1 does.

I'm working with UART0 (in PCI mode with Adafruit cable) to get serial
console output but all I get is garbage (question marks with filled
elliptic background) from BIOS. When kernel is loaded output stops.

Where did you get this info?
hw.uart.console=3D"mm:0xd0810000,br:115200,rs:2,xo:44236800

The only info I can find is that this address is for the sound chip(?)..

Even though HDMI is working out of the box it would be nice to also have
serial console for when you don't wanna carry around a big monitor...


On Sat, Feb 27, 2016 at 9:22 AM, Marcel Moolenaar <marcel@xcllnt.net> wrote=
:

>
> On Feb 27, 2016, at 5:54 AM, Lundberg, Johannes <
> johannes@brilliantservice.co.jp> wrote:
>
> >though I've no clue why or how that should cause a boot failure?
>
> Verbose logging don't give any clues either.. It just stops.
>
>
> On the Atom SoC I have, you can configure the UARTs as PCI or ACPI device=
s.
> They work as PCI devices but required better support for memory mapped lo=
w-
> level consoles in x86. If configured as ACPI (supposedly compatible), the=
y
> just
> don=E2=80=99t work. I belief FreeBSD would just hang when configured as A=
CPI, but
> I=E2=80=99m
> foggy on that detail.
>
> Key is that they we=E2=80=99re trimmed-down UARTs (3-wire functionality) =
and thus
> weird
> beasts...
>
> Johannes: If your BIOS has the same capability, try switching. PCI mode i=
s
> well
> supported in FreeBSD, though requires something like the following in you=
r
> loader.conf:
>
> hw.uart.console=3D"mm:0xd0810000,br:115200,rs:2,xo:44236800
>
> This tells the uart(4) driver that the device is memory mapped (at I/O
> address 0xd0810000, uses 32-bit register access and has a non-standard
> clock input of 44236800 (=3D44Mhz).
>
> --
> Marcel Moolenaar
> marcel@xcllnt.net
>
>

--=20
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
=E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=EF=
=BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=
=AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3=81=97=
=E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7=98=E5=
=8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA=E3=82=
=8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3=81=BE=
=E3=81=99=E3=80=82
=E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4=96=E3=
=81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F=E5=A0=
=B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE=
=E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81=AE=E3=
=83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80=E5=88=
=87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81
=E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81=AE=E4=
=BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF=E8=A8=
=98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3=81=84=
=E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82=8C=E3=
=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3=E3=81=
=97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVmajULrZeLZkp63iSP_5gWRK68zt7hoqQ%2BtNJcepNxbKQ>