From owner-freebsd-arm@freebsd.org Tue Aug 7 12:00:06 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 99920105B111 for ; Tue, 7 Aug 2018 12:00:06 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 374878BDD4 for ; Tue, 7 Aug 2018 12:00:06 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1533643204; bh=oWZWAOIMQflfKE1137z5AvaVOGandA46zeArlyECCIE=; h=Subject:From:To:Cc:References:Date:In-Reply-To; b=0SZX0M9/allq4zQKo3oZpyurpW+f5Nojl4KyrEPntxfVQm1ySYCwIgMZ+NwyezJ8Y 2KPI1w4NeeBpYrEznUhYfxjQY4iwH48p6Q/M4vIS/NxnFxIqhm+ZODT7y6eQ+MaMoa /mcSVTxZ7uhw5VBsqORI2Z0TdjDIbcyV1s/Y3gi4= Subject: Re: usb-only rpi 3b+ (+UART foo) From: Per olof Ljungmark To: John Kennedy Cc: freebsd-arm@freebsd.org, Emmanuel Vadot References: <20180806042122.GD30738@phouka1.phouka.net> <0a6af236-84cc-66fb-c2fc-4e1976cbb1f7@nethead.se> <20180806151903.GF30738@phouka1.phouka.net> <4da80506-ba05-86c5-b9ff-c76e106426a2@nethead.se> <20180806220905.GG30738@phouka1.phouka.net> <1c54c480-53ac-a88a-b6fb-8ae7072b19b9@nethead.se> Message-ID: <767d4c31-e86a-442e-11a9-a12b80911ea0@nethead.se> Date: Tue, 7 Aug 2018 14:00:02 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1c54c480-53ac-a88a-b6fb-8ae7072b19b9@nethead.se> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Tue, 07 Aug 2018 12:00:06 -0000 On 8/7/18 10:42 AM, Per olof Ljungmark wrote: > On 8/7/18 12:09 AM, John Kennedy wrote: >> On Mon, Aug 06, 2018 at 05:54:19PM +0200, Per olof Ljungmark wrote: >>> Stops after loading kernel: >>> >>> Booting [/boot/kernel/kernel] >>> Using DTB privided by EFI at 0x7ff8000. >>> EFI frambuffer information: >>> addr, size 0x3e330000, 0x8ca000 >>> dimensions 1920 x 1200 >>> stride 1920 >>> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >>> >>> and then nothing >>> >>> Happens for me with all stock images after July 19. >> >> I just burned the FreeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20180802-r337160.img >> to an SD card and booted it up. >> >> The framebuffer information for my system is different (screen resolution? >> 1024 x 904 I think). After that, it clears the screen and goes into the >> kernel boot output that gets captured into /var/log/messages. >> > > Aha. > > So , I can confirm r337160 *does* boot, but with the following > differences from the July 19 snapshot: > > - There is no output on the big HDMI connector after the above message > - Booting only finishes if I do *not* attach the HDMI connector > - There are no active LED's at the ethernet connector, but it actually > works and finishes the boot *if* HDMI is disconnected > > This is regardless of commenting out or not: > > # Multiple console (serial+efi gop) enabled. > # boot_multicons="YES" > # boot_serial="YES" > > dmesg at successful boot shows display set to 656x416, so is 1920 x 1200 > the problem then? Wish I had another less capable monitor sitting here. > > Aug 7 08:26:26 generic kernel: fb0: on > simplebus0 > Aug 7 08:26:26 generic kernel: fbd0 on fb0 > Aug 7 08:26:26 generic kernel: VT: Replacing driver "efifb" with new "fb". > Aug 7 08:26:26 generic kernel: random: harvesting attach, 8 bytes (4 > bits) from fbd0 > Aug 7 08:26:26 generic kernel: fb0: 656x416(656x416@0,0) 24bpp > Aug 7 08:26:26 generic kernel: fb0: fbswap: 1, pitch 1968, base > 0x3eb33000, screen_size 818688 > Aug 7 08:26:26 generic kernel: random: harvesting attach, 8 bytes (4 > bits) from fb0 Now I remembered that we have an older TV with HD (1024x768) resolution and I can indeed report the the rpi3+ boots at that resolution makes it point even more to a resolution problem.