From owner-freebsd-arm@freebsd.org Thu Oct 25 15:25:22 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 0DF8B107B155 for ; Thu, 25 Oct 2018 15:25:22 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 7FD4889467 for ; Thu, 25 Oct 2018 15:25:21 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1540480151; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=WFETv8BcEc3uAERKb0rMDEKbZtuNFxi9O1shFQ4suXdPRJtFULcDgVmlya3BMoXf8dsGRzn1/0Ikb v8+RruKL2AafkwhB0wU0e9DT++3ZP7hc6frA0MrWucYI8u7cj2daJwStFM2JAj/3nT2I1LVqlroj6O j6VmZsXEpaFqcjeEgXCbbjj+zqsHw+QL2sgBOcf9f138lBqDPXTJx9sqJf9gLGXU92HdVVTPBDOBFP l76WLDGNIk5foB0SgOHygNXb3v8dNUW8i4v31hPeWWHqgQWOLtTDfR4N4+6cj1k7wuzARfIvz+ZeLz so32qQBSSg03J2CFe54QhVywXbbaGIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=nEBmGJVVlEr1ND6jBWFv79jCb9xGkObbTozK5rb7MEc=; b=Q9ERZWeUkY73XLVdKCrAHgHbE27ltIEhPsTcUqqpXUouc8LIDoi4YKRFVkNgqtXlhYRJtAGl7QSRJ XKGiH+XtUFWOWi3b8gfHA8I12JVnBxpbzhDKEHmIMtsqMWIJ/Du6YgNaslCpFG4XKZ2UoptFcMRbNr ShXeZ4OIzW6K+JndL14LIg5CvHopNlLCmWSNuLSyRE6bDjR9hu/KvPr6EtIPN26c/B5GtraI/x5Sou KNoNegYG3uyMDu0/5v4aAZ3KdUMODeevMfSjhVYvHh7Jz0Hfy4R0eixz7aiLMvZiPUiS1/xOv9yX6J HdQejwEjvZFZBsEglR7Nd0GrWkI6org== ARC-Authentication-Results: i=1; outbound1.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=nEBmGJVVlEr1ND6jBWFv79jCb9xGkObbTozK5rb7MEc=; b=UXukQVGhFe/szOA9603BAnsXyJujkm7vFJTLig1LHS1Xed9a6t7k9BW5cRpQQqgyMnsnis0a47gOd nZmzlPJhgRLMbm9b49t3jm4QSPhChB8GCB5jhtz1GxIUosKhJpzP9rSJEcepW3vn+j7zGNVwVB/vjc imsObKzq9LoRTJQYBBy9rU2OyV4eSxj8ThKl4MECwzpx6gfIQ9RJ2X1xJjPr0WkaedOCGrXMRid3Cd +NK7OsHZdCyyTf+5CQpM4cyXU6hC4nBx2oxEleC0AWXojkgzPfpGoGe36ZPX2Q+l69QDNvXiQgQNHY LSVXO9y/hZmnqgnhJeKe8QL10ePrnZQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: eadd2c41-d867-11e8-a93b-310333596487 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id eadd2c41-d867-11e8-a93b-310333596487; Thu, 25 Oct 2018 15:09:07 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w9PF961v052762; Thu, 25 Oct 2018 09:09:06 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1540480146.22340.79.camel@freebsd.org> Subject: Re: boot loader serial console speed to 9600 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Thu, 25 Oct 2018 09:09:06 -0600 In-Reply-To: References: Content-Type: text/plain; charset="iso-8859-13" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 15:25:22 -0000 On Thu, 2018-10-25 at 17:07 +0300, Stefan Parvu wrote: > Hi, > > Under RBPI3B+ FreeBSD 12 ALPHA8, I see the serial console is set to > 115200. Is this correct ? > Shouldn't this be set to 9600 ? How can I change the serial console > speed to 9600 under loader.conf ?  > > Currently my loader.conf looks like this: > > autoboot_delay=0 > hw.usb.template=3 > umodem_load="YES" > # Multiple console (serial+efi gop) enabled. > boot_multicons="YES" > boot_serial="YES" > # Disable the beastie menu and color > beastie_disable="YES" > loader_color="NO" > mac_portacl_load=´YES" > > I tried:  > > comconsole_speed="9600" > console=´comconsole" > > no go. somehow it does stay set to 115200. Why is that ?  > > Thanks, > Stefan The ability to change serial console speed from loader(8) only works with x86 BIOS calls (and maybe UEFI, not sure). In general, when uboot is involved, loader will use whatever serial speed was set up by uboot. Why do you want to set the console to such a slow speed? It actually pisses me off that the standard is as slow as 115200 in the 21st century; modern uart chips have no problem running at speeds in the 1- 12mbps range. -- Ian