Re: hint.uart.1 in device.hints causes freeze at boot

Marcel Moolenaar <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile,gmane.os.freebsd.embedded
Message-ID <[email protected]>
> On Feb 27, 2016, at 5:54 AM, Lundberg, Johannes <[email protected]> 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 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’t work. I belief FreeBSD would just hang when configured as ACPI, but I’m
foggy on that detail.

Key is that they we’re 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="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 (=44Mhz).

--
Marcel Moolenaar
[email protected] <mailto:[email protected]>
signature.asc (application/pgp-signature, 842 B)
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.