From owner-freebsd-hackers@freebsd.org Wed Sep 5 18:56:32 2018 Return-Path: Delivered-To: freebsd-hackers@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 2709BFF9FA0 for ; Wed, 5 Sep 2018 18:56:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id AE3218E5EF for ; Wed, 5 Sep 2018 18:56:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x234.google.com with SMTP id p79-v6so11382965itp.3 for ; Wed, 05 Sep 2018 11:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hJ5BjNhw5n0x6Y6I7PEf0VL8dFTzL0zzDvbx1qrTqoI=; b=Zz9MxIW6+xnunU0eoDyh84aWh9L0QsJ4PSs9VrYsZ+LxooZaX31CSnGEDZn8LzdlbO gXIxhMyXOMhhUWTFvDnKT0uVpFQyjn0/N4iJWU9tFGxuqgD1lvOstVfUDcBrsey0kCaw fSeQTW/09ty/fEfYSm4NmmSbyUflz0hZeJVHbd0vjmrg37ldRV60ccnyM2tGh1ZodDTB i4MTqL08em4HtIT9burifSbmxX01O5bsQj8wB/ZfRiqV+wAr6bJlS2G0PZ+X39IAKehE SBOz+3d/4fH760BAoxGZxqUMEE8b5pq6AoHxHofhI1P3xLrDesw5egh8ye+y39iXv8jO 65rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hJ5BjNhw5n0x6Y6I7PEf0VL8dFTzL0zzDvbx1qrTqoI=; b=n6OeFgNTB0Xk6a+EXCAIBvYhLUKdwypX1Dui9Ieh+vTHY0en3Ldx0BGJBB1HQbkVrH qSSyKqoIBjF0LtppdK+26Bc+gUEsB7FcgBVFWwjFXzBkyZuz4w/9jFhPhrHXz5iWYUlh NcddJy4juY4auC6xB4V0Rg1/HZpRnJ05WFLidkiqkInh293CrB8WWNjjxpaYC3nZ7Lm2 MIUj9bq7+62gNOlsn65BVtU5oCyWAJRN594XF0ltWW+6LqVc5IAJ9061JSNjY2w2yfvz 3l1YwBz7RBOto1/SYnS7aEhdbw/FWweqqL0jZtP/XV814SnXgdLYg0qnOXeBPibxkoVK SVWw== X-Gm-Message-State: APzg51DaHQHitKqG2xC9LLb2ueeWaWHGjpzAN8kwxZphRLW6plsaUbHB BRL55aicMlurRsStCyKBVYA+yZLCsFI1AlWiZc2Scw== X-Google-Smtp-Source: ANB0VdbzlO4ZpoDFWqGKAaLnJOnIRNgvfoiVJuQwnAlWdXxOuLT+ZsQkNUV6/N81e7fmJy12Go2tdkrYJDPgUPCAQ0E= X-Received: by 2002:a24:c902:: with SMTP id h2-v6mr1528571itg.75.1536173790867; Wed, 05 Sep 2018 11:56:30 -0700 (PDT) MIME-Version: 1.0 References: <14cd401a-660c-1a3a-8d80-677a42727146@freebsd.org> <0bc33818-641c-07db-194b-66fd1eb30c55@FreeBSD.org> In-Reply-To: From: Warner Losh Date: Wed, 5 Sep 2018 12:56:19 -0600 Message-ID: Subject: Re: Is here way to have 9600+ serial console and see boot0 message? To: Dimitry Andric Cc: Lev Serebryakov , FreeBSD Hackers , Allan Jude Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 18:56:32 -0000 On Wed, Sep 5, 2018, 12:16 PM Dimitry Andric wrote: > On 5 Sep 2018, at 19:22, Lev Serebryakov wrote: > > > > On 05.09.2018 20:19, Allan Jude wrote: > > > >>> I want to have my serial console 115200 (of course), *including* BIOS > >>> redirection (which goes before boot0sio). > >>> > >>> But boot0sio supports only speeds up to 9600 (due to int 14h > limitations). > >>> > >>> Is it possible to solve this clash somehow? > >> > >> /boot/loader reads /boot.config where you can put -S115200 > > I think, /boot/boot reads /boot.config, and it works for me. > > > > My question is somewhat more tricky: I have 115200 BEFORE boot0sio > > (from BIOS) and I have 115200 AFTER boot0sio (from /boot/boot and > > /boot/loader later). And I want to see "F1 / F2" boot selection from > > boot0sio. > > Recompile stand/i386 with BOOT_BOOT0_COMCONSOLE_SPEED=115200, I would > normally say, but apparently stand/i386/boot0 is limited to a maximum > of 9600 baud. This looks like a BIOS int 0x14 limitation. :( > Only way around this I know is to recede boot0sio to go right to the uart... I tried this years ago, but overflowed 512 limits... Warner >