Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2016 09:22:07 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
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:  <00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3@xcllnt.net>
In-Reply-To: <CAASDrVmTxf1T9RngEAfW-ycibe_-hkbG3RNad07maFCWAYbasw@mail.gmail.com>
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>

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

--Apple-Mail=_9E6F39E8-57EA-477A-B2C2-5CCD43F3F53C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Feb 27, 2016, at 5:54 AM, Lundberg, Johannes =
<johannes@brilliantservice.co.jp> wrote:
>=20
> >though I've no clue why or how that should cause a boot failure?
>=20
> 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 =
devices.
They work as PCI devices but required better support for memory mapped =
low-
level consoles in x86. If configured as ACPI (supposedly compatible), =
they just
don=E2=80=99t work. I belief FreeBSD would just hang when configured as =
ACPI, 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 =
is well
supported in FreeBSD, though requires something like the following in =
your
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 <mailto:marcel@xcllnt.net>


--Apple-Mail=_9E6F39E8-57EA-477A-B2C2-5CCD43F3F53C
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW0ds/AAoJEIda8t8f0tjjSmgP/A9jiCDkcwM6YZWkmV6FE7T3
VJ/Hs9G73ixjJWzRdDv+YsYeT+NtYmP5dJVD28cgWsLww78RrTgoAFLBTyF8dM7k
UsZbB56IJYXdbGZ1lBYYgRkMg31nWSTNrCdYGx12amV3TfrHGJlQ7pOdXaYW1tW1
WAqUjOXgJ7xkQVOBt+FpPxLF9gTMVkzSWlTysNywqErYIpBuQKa3Dqu7MU16pk3l
DWMChuFuiiwzSsTyH4mcjZuTfWBTdbRUA52OmA7j3RkSQ8YmIfqAD1KzLJTzprW2
SYY7MQXKNWfxjRg+ot3LguOqsgpBgiN/ZkeNoYDjdj8pVzS7YWd2rVc8p+LsGNHk
UyuYkkG7gLR5qVgRpndf86BJr6bng6C61qxqexEAcD3PT/TScuBxn2CXg34mm5FX
H6DeAYnTcN3iM2Mpoln8df5SzqNQZB02IOoQ7UKsHJNyl/4IkRlm7AsqqMeeO0Pe
xuoJ4xOY/zGlFM4hvdsRAs/TkTmieMvwD9aOwrHVd8KAwtfnJH+pzcxkn3T+cp2G
XYQusBrLcyqQk50rM3NXomJxxfbbfxY5hTe9xhg/SrzRqDJ4NTaQtU54Mg55+TIf
uv7rSdpcrxbWP4ltYGJFOE+aczLK0hcR5Gi47R4lg1kkgNkzUJriUkkEIFI24KVO
zYllFu0PlwlNRup9DzJ2
=tRNR
-----END PGP SIGNATURE-----

--Apple-Mail=_9E6F39E8-57EA-477A-B2C2-5CCD43F3F53C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3>