Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 04:11:03 +0300
From:      Arto Pekkanen <isoa@kapsi.fi>
To:        Ed Maste <emaste@freebsd.org>
Cc:        "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Re: Testing the new i915 driver
Message-ID:  <56244327.1090407@kapsi.fi>
In-Reply-To: <CAPyFy2Aua1BBoLtwsyRVpVeTRqYimhf5OZpXzGcZCksVyjOXuA@mail.gmail.com>
References:  <5615A42C.3080908@FreeBSD.org> <CAPyFy2D=N=TdoQHn=rTd9ThXdxvLCWS2BcN-HTfw9vb4y9SDag@mail.gmail.com> <24fa3cba31bb8ef5594bde422bce5d09@kapsi.fi> <CAPyFy2CBugHY=-4TCpwA7tzCEYRovOe0G-7Er1BHLqEUXk2ZGw@mail.gmail.com> <ff530f0dfdfc0be1c1c66931ce8c6c2f@kapsi.fi> <CAPyFy2Aua1BBoLtwsyRVpVeTRqYimhf5OZpXzGcZCksVyjOXuA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I did 'lspci -lbcev' and found an unattached device that had the word UAR=
T in the specs. The io-range of the device started at 0x50b0.

So I put in my /boot/loader.conf
console=3D"comconsole"
comconsole_port=3D"0x50b0"
hw.uart.console=3D"io:0x50b0,br:115200"

just like you instructed and, yeah, I got SOL working! Really cool. Now I=
 can capture console output with amtterm even if system won't even boot.

Thank you a lot for the instructions! :)

On 13.10.2015 23:36, Ed Maste wrote:
> On 13 October 2015 at 15:55, Arto Pekkanen <isoa@kapsi.fi> wrote:
>>
>> Ah, so AMT is some firmware (SMM) resident program that provides acces=
s to
>> boot console?
>>
>> I do have a Thinkpad T430 so it probably includes the AMT feature, I g=
otta
>> check the documentation and see if I can get it working.
>=20
> Yeah, I'm not sure of the exact details of the implementation, but
> when it's enabled it captures TCP port 16994 and amtterm on another
> machine connects to the serial port AMT provides (e.g. /dev/ttyu2).
>=20
> To use it I set the following in loader.conf:
> comconsole_port=3D"0x50b0"
> hw.uart.console=3D"io:0x50b0,br:115200"
>=20
> It was a bit awkward to configure -- here are some notes on the steps
> I had to take:
>=20
> - F1 at boot to enter X220 bios and enable AMT
> - Ctrl+P at boot to enter AMT configuration
> - Default password is 'admin'
> - New password has annoying requirements for case/numbers/punctuation
> - I could not get DHCP to work; I assigned a static address separate
> from the one used by the OS
> - I couldn't get it to work until I enabled legacy redirection
>=20


--DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iF4EAREIAAYFAlYkQyoACgkQTBivhqtJa27cqgD9E+GLtw+MmN+wmPtdBQCU433t
wddj3/sIt/eMxhGEOvEA/jdC16l7KZm80HV6HwsU0ByqPldYG8mCxMI53+4YIfYe
=Ut2w
-----END PGP SIGNATURE-----

--DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD--



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