From nobody Sun Oct 17 09:04:22 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BED5D17FB198 for ; Sun, 17 Oct 2021 09:04:31 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [IPv6:2a02:21e0:16e0:fe::101:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HXDbM4DGbz3MtZ for ; Sun, 17 Oct 2021 09:04:31 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de (mail.cicely.de [IPv6:2a02:21e0:16e0:20fe:0:0:101:c]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id 19H94PAD013695 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Sun, 17 Oct 2021 11:04:28 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1634461468; bh=IHefhpwoo9SGHXEkcbskFtTnV2bL0t0UhnAkL/rZZtM=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=fzoofUI+cNcRKq9vs2/e7cpnTm34OhIAKak3A1IBJrOmnZzLwXJr4s8x5NvJhVT1O 3BbqMZsI5x4EYsGeKa8A9TADO9eOE5fR3uHY9fOXqwsoIGsYvWOX6juj6aJyU5+iNh L0/tBRcduH+jYMTY3QFumrD8fQ6VADwyj8OLKOpE= Received: from cicely7.cicely.de (c7-old.cicely.de [IPv6:2a02:21e0:16e0:20fe:0:0:101:d]) by mail.cicely.de (8.16.1/8.16.1) with ESMTPS id 19H94O5U049024 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 17 Oct 2021 11:04:24 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.16.1/8.16.1) with ESMTP id 19H94Olg056362; Sun, 17 Oct 2021 11:04:24 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.16.1/8.16.1/Submit) id 19H94MRX056361; Sun, 17 Oct 2021 11:04:22 +0200 (CEST) (envelope-from ticso) Date: Sun, 17 Oct 2021 11:04:22 +0200 From: Bernd Walter To: Carl Johnson Cc: freebsd-arm@freebsd.org Subject: Re: X11 on Pi 4 Message-ID: Reply-To: ticso@cicely.de References: <86r1ckbr2v.fsf@bay.localnet> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86r1ckbr2v.fsf@bay.localnet> X-Operating-System: FreeBSD cicely7.cicely.de 13.0-RELEASE-p3 amd64 X-Spam-Status: No, score=-1.5 required=4.5 tests=BAYES_00=-1.9,KHOP_HELO_FCRDNS=0.398,SPF_HELO_NONE=0.001,SPF_NONE=0.001 autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on spamd.cicely.de X-Rspamd-Queue-Id: 4HXDbM4DGbz3MtZ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, Oct 16, 2021 at 02:24:56PM -0700, Carl Johnson wrote: > Bernd Walter writes: > > > On Sat, Oct 16, 2021 at 09:51:54PM +0200, Bernd Walter wrote: > >> I'm trying to get X11 runing on the Pi4. > >> So far I don't get a signal on the screen. > >> I'd tried both HDMI ports. > >> FreeBSD mentions: > >> VT(efifb): resolution 592x448 > >> ... > >> fb0: on simplebus0 > >> fb0: keeping existing fb bpp of 32 > >> fbd0 on fb0 > >> WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0. > >> VT: Replacing driver "efifb" with new "fb". > >> fb0: 592x448(592x448@0,0) 32bpp > >> fb0: fbswap: 1, pitch 2368, base 0x3eaf5000, screen_size 1060864 > > > > Ok, there was hdmi_safe=1, now I see the resultion. > > However, the screen still has no signal. > > > >> Is there some kind of initialisation missing from u-boot? > >> I noticed that raspbian on the Pi4 also leave the screen disabled > >> until X starts. > >> Unfortunately starting X on FreeBSD doesn't change anything. > > I don't know if this is your problem, but FreeBSD doesn't seem to > initialize HDMI unless it connects to a monitor at boot. That means > that you have to have a monitor plugged in when it boots up, and the > monitor has to be turned on. If you boot up without a monitor plugged > in, then I don't know any way to turn the HDMI output on, other than > rebooting. I had it connected (tried both ports) and powered. On the Pi3B it works fine with the same display. Will try some other displays soon and do some more tests with raspbian. As I wrote, with raspbian the display also didn't show anything until X got up. -- B.Walter https://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.