From owner-freebsd-arm@freebsd.org Mon Aug 27 23:22:17 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 376A110990A1 for ; Mon, 27 Aug 2018 23:22:17 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D801B8820A for ; Mon, 27 Aug 2018 23:22:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 73C5E25DB6 for ; Mon, 27 Aug 2018 23:22:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f178.google.com with SMTP id 203-v6so510615ljj.13 for ; Mon, 27 Aug 2018 16:22:16 -0700 (PDT) X-Gm-Message-State: APzg51CpDftfgYPWIHZUlix8zIVRabV2hgiK/4vEzAuUfJcqtGMY7fZ1 OqhJZ/hSImuylawzoPQ/EmHEG/LsIBntWr9570k= X-Google-Smtp-Source: ANB0Vda3tkxAz7o8AstcHLlEEKzyL3RhycXxrrV7ygajVk1qsghSs8YQ1B4T4XS/a5D0E/OIh9P0e8wlIqEsPMX1fKo= X-Received: by 2002:a2e:2e02:: with SMTP id u2-v6mr10258189lju.77.1535412134936; Mon, 27 Aug 2018 16:22:14 -0700 (PDT) MIME-Version: 1.0 References: <3C3F2C68-81C2-40F0-8DA0-95D1C55C9938@obsigna.com> In-Reply-To: <3C3F2C68-81C2-40F0-8DA0-95D1C55C9938@obsigna.com> From: Kyle Evans Date: Mon, 27 Aug 2018 18:22:03 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Serial console of 12.0-ALPHA3 fiddles with the terminal colors To: "Dr. Rolf Jansen" Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 23:22:17 -0000 On Mon, Aug 27, 2018 at 6:09 PM Dr. Rolf Jansen wrote: > > Hello, > > I updated my BeagleBone Black to 12.0-ALPHA3, and now, when booting, the = serial console behaves differently (I use cu from a Mac Terminal via a FDTI= /USB adapter). > > When it comes to "Loading kernel...", the terminal color is inverted, ins= tead of maintaining the usual black on white, all over the sudden everythin= g is displayed in white on black. And more seriously, the logging before lo= ading the kernel, is deleted, which means I cannot see the diagnostics of t= he u-boot loader. > > Is there any setting, to prevent the serial console manipulates color and= content of a terminal session? > Hi, You want loader_color in your loader.conf(5), which should (hopefully) disable all color while still being usable. We force the color scheme to white on black if colors are displayed because we can't necessarily sample or Q/A our color choice on all possible configurations. I'll double check on the screen clearing... I don't recall adding any extra clears except for password prompts and (re-)drawing the menu. Thanks, Kyle Evans