From owner-freebsd-mobile@freebsd.org Sat Feb 27 17:22:25 2016 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58169AB74C9; Sat, 27 Feb 2016 17:22:25 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EDB7C21; Sat, 27 Feb 2016 17:22:24 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from [10.1.254.16] (cerberus.brkt.com [208.185.168.138]) (authenticated bits=0) by mail.xcllnt.net (8.15.2/8.15.2) with ESMTPSA id u1RHMDdb096060 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Feb 2016 09:22:14 -0800 (PST) (envelope-from marcel@xcllnt.net) Subject: Re: hint.uart.1 in device.hints causes freeze at boot Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_9E6F39E8-57EA-477A-B2C2-5CCD43F3F53C"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.6b2 From: Marcel Moolenaar In-Reply-To: Date: Sat, 27 Feb 2016 09:22:07 -0800 Cc: Ian Smith , Warner Losh , "freebsd-mobile@freebsd.org" , "freebsd-embedded@freebsd.org" Message-Id: <00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3@xcllnt.net> References: <4E9118B0-FC9F-444F-B277-3E5BAE75C723@xcllnt.net> <20160227172039.F26318@sola.nimnet.asn.au> To: "Lundberg, Johannes" X-Mailer: Apple Mail (2.3112) X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 17:22:25 -0000 --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 = 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 --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--