From owner-freebsd-arm@freebsd.org Wed Mar 8 16:27:53 2017 Return-Path: Delivered-To: freebsd-arm@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 0C7E0D035FF for ; Wed, 8 Mar 2017 16:27:53 +0000 (UTC) (envelope-from nacho@lascartasdelavida.com) Received: from fuu.naqiao.hk (static-ip-217-148-66-202.rev.dyxnet.com [202.66.148.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "server.lascartasdelavida.com", Issuer "server.lascartasdelavida.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B0A091D16 for ; Wed, 8 Mar 2017 16:27:51 +0000 (UTC) (envelope-from nacho@lascartasdelavida.com) Received: from fuu.naqiao.hk (localhost [127.0.0.1]) by fuu.naqiao.hk (8.15.2/8.15.2) with ESMTPS id v28GRkFe085227 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 8 Mar 2017 16:27:48 GMT (envelope-from nacho@lascartasdelavida.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lascartasdelavida.com; s=fuu; t=1488990468; bh=uwDdXOmbkK5VvJvoT16OfB3apC6OZ5kWP+FamrPZNlU=; h=Date:From:To:Subject:Reply-To; b=Kx7ARZ8zWpRcVJ4QEvX9j9rdf7RX28wBE4VorNYknVwHvTnzy2E6ITHAfvMxG4WVf osJBXDVh/GNW25hCiqXl9H+/3I81M9Ye+fEUVzj/9zy3/4JmqPeRadw52QgplKTggi zhCem6Zl4iGuBnD855blhvYbPApfBl04f189tuZ8wI5t01nD2UTeURY00G388i10Xd 9d0Gz6pJWPZrjt5mVDmPfByCESJ9N3mgd0j898Bhdjx/2mWrG2PYIGA5yHpUtx+BEY EScJQ3O/6MSCUov5ekm+k99jZ6bL6JKRuTSDlX9B6Th3ZVErr8gd92alShMyXtfmBt Fwo6LcFxyR8/w== Received: (from correo@localhost) by fuu.naqiao.hk (8.15.2/8.15.2/Submit) id v28GRklU085226 for freebsd-arm@freebsd.org; Wed, 8 Mar 2017 16:27:46 GMT (envelope-from nacho@lascartasdelavida.com) Date: Wed, 8 Mar 2017 16:27:46 +0000 From: Nacho Vidal To: freebsd-arm@freebsd.org Subject: no virtual/VGA console in Olimex A20 micro Message-ID: <20170308162746.GB78591@lascartasdelavida.com> Reply-To: Nacho Vidal MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline X-PGP-Key: http://lascartasdelavida.com/nacho_pubkey.txt User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 16:27:53 -0000 --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm configuring an Olimex A20 micro with FreeBSD 11 r306420, it's the offic= ial image for the CubieBoard2 where I just changed the CB2 DTB for that of the A20micro compiled from kernel sources. Basically it boots fine, USB and ethernet seem to work and I can access it = by serial console and ssh; the problem is that I can't get virtual terminals o= n the VGA monitor, also the usb keyboard doesn't work, it doesn't even light the = Caps Lock key, however USB works because I connect to internet with a usb 3g mod= em. So I have the doubt if maybe there is no support at all for VGA output in t= his board, or if I should load any module, use some option some place or recomp= ile the kernel with some specific driver support. When booting it says: VT: init without driver. and: kbd0 at kbdmux0 (I guess this is the serial console keyboard?) When doing conscontrol, it says: Configured: ttyu0 Available: ttyu0,ttyv0 Muting: off Then " sysctl kern.console=3Dttyv0" returns: kern.console: ttyu0,/ttyu0,ttyv0, -> ttyv0,ttyu0,/ttyu0,ttyv0, And after that conscontrol returns: Configured: ttyv0,ttyu0 Available: ttyu0,ttyv0 Muting: off But no output in the VGA monitor and the usb keyboard doesn't work either. Then if I set kern.console=3Dttyv0 in /etc/sysctl.conf it hangs in the boot process just here: Starting file system checks: u It shows that "u" for 5 seconds or so and then reboot and does the same aga= in and again. I tried to enable ttyv[1-7] in /dev/ttys, but after booting it just says: getty[581]: open /dev/ttyv1: No such file or directory I was trying to set up X with the scfb driver, but it seems the driver is n= ot in the kernel, and I don't see a module for it, it should be "sc.ko" isn't it? If I could just get a 80x25 text console in the VGA monitor it would be gre= at, I guess it shouldn't be so difficult, isn't it? Thank you very much for your help: Nacho --=20 PGP signed email:=20 http://lascartasdelavida.com/chinese_horoscope/contact_signature.php --lCAWRPmW1mITcIfM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE6Uqgj8gnBJpt0lG6nN9rlZyn+TUFAljAMPkACgkQnN9rlZyn +TVFLw/9Hh6o6J0IqN0He9qnYJEiLkTk/UKc6WIudZHh+JOaS/Qng395+yr180P8 0tWdk3rkcD5Bw7B3B/Nz98PIxi+ho9SkAvs2T1lKwAlZaIFIGql3JqMTB1jEFuLG zMOf0UKLJFHkVvvc7ZseRydL3zyW2UP4jJsJ5I6wSUTzG173zp+ea5rfFk3FIJwB 4YinqrfxyMS1GjoGzMjTIC5rwo3Vw9kBU77tmRK+8rk/OS5ppjX0jRrblg8EqIe5 IuzzjKsO3y/BiLPwKQKW6hKbIidnSW2sCGsG+xEenfWqDzjLF6BFLFhTPD6Kd/kT EYC2Pz22wyDbATG75I7Q0rk8PYiqbvNlzfmy11G9Kq50SDiUpoi6FPND9WGFr39z 8OVrYCBOwZXTrUYqAxr3Yym5+Kki5g5MnXRklBeKJvG8I9NxSpnEr4hNxXLR0XK+ 0CSTA0086IccCszLaLPsackrWFmL8CyKtIF5cgHSGLOUom29etAQkNl70C3uy6uL Mvog5lm/0OSsHSIL5uYa3lPFhrpKjr7Be9dIduqAWwtFga4FerrAj23RvhMhGmWT oIIsF9eEFF1VJ6CrZDLSboC1gb/1hjP8Gs4sRnGezZKPCTcKSzVr6o60eHq4199u WdmBtS7fxW2rPAJ2rM7uqW8vk7GmGKJjgLF3c8B/KSwOJBFYRhk= =ljDk -----END PGP SIGNATURE----- --lCAWRPmW1mITcIfM--