From nobody Wed Jun 23 10:53:12 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 8B1A111D930E for ; Wed, 23 Jun 2021 10:53:23 +0000 (UTC) (envelope-from dsl@mcusim.org) Received: from mcusim.org (mcusim.org [176.58.93.53]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G90VV4Bjhz4TFQ for ; Wed, 23 Jun 2021 10:53:22 +0000 (UTC) (envelope-from dsl@mcusim.org) Received: from x230.ds (unknown [83.28.233.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mcusim.org (Postfix) with ESMTPSA id 24FA685AA9; Wed, 23 Jun 2021 12:53:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mcusim.org; s=default; t=1624445594; bh=YSTCYcoyR2HiHBbSAqzFgkq1o2TVUTmHeQz7qY5z528=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=J/Sx9kEaC50cNLKpNjh+7BAJOH0vqV8vlnB9SxVtTadHV3kh4jgWXhaubMCq2GXWy d2YGWTjIZccrg+P+EFXLr+RQLNd9lEAGEaLwCFnnrgoyh9pHuKbazOiqfTdoYYyjN0 z8Q0AyBljFs49Nc/cmr0umzoGAxCguP6hBCFsAzM= Date: Wed, 23 Jun 2021 12:53:12 +0200 To: Mark Millard Cc: freebsd-arm Subject: Re: HoneyComb first-boot notes Message-ID: References: <8A6C415F-A57B-4F2F-861F-052B487166D6.ref@yahoo.com> <8A6C415F-A57B-4F2F-861F-052B487166D6@yahoo.com> <40AE6447-77AF-4D0E-864F-AD52D9F3346F@yahoo.com> <0DF376DC-C4A5-494C-BAA5-782516596CF0@yahoo.com> 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 Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Rspamd-Queue-Id: 4G90VV4Bjhz4TFQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mcusim.org header.s=default header.b=J/Sx9kEa; dmarc=pass (policy=reject) header.from=mcusim.org; spf=pass (mx1.freebsd.org: domain of dsl@mcusim.org designates 176.58.93.53 as permitted sender) smtp.mailfrom=dsl@mcusim.org X-Spamd-Result: default: False [-3.81 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[mcusim.org:s=default]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[176.58.93.53:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[mcusim.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[mcusim.org,reject]; NEURAL_HAM_SHORT(-0.81)[-0.809]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[176.58.93.53:from]; ASN(0.00)[asn:36236, ipnet:176.58.93.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; RECEIVED_SPAMHAUS_PBL(0.00)[83.28.233.182:received] Reply-To: dsl@mcusim.org From: Dmitry Salychev via freebsd-arm X-Original-From: Dmitry Salychev X-ThisMailContainsUnwantedMimeParts: N > >>>>>> I put an existing FreeBSD Optane into a just delivered > >>>>>> HoneyComb, put in the RAM and the matching UEFI/ACPI > >>>>>> image on a microsd card and put the card in the slot. > >>>>>> I plugged in a USB3 Ethernet dongle, like I use on some > >>>>>> other systems. Serial console via its USB port for such. > >>>>>> (Optane instead of video card.) The UEFI/ACPI image was > >>>>>> extracted from: > >>>>>> > >>>>>> https://solid-run-images.sos-de-fra-1.exo.io/LX2k/lx2160a_uefi/lx2= 160acex7_2000_700_2900_8_5_2_sd_81b4bbe.img.xz > >>>>>> > >>>>>> in order to match the RAM and being based on the > >>>>>> most current vintage at: > >>>>>> > >>>>>> https://github.com/SolidRun/lx2160a_uefi/ > >>>>>> > >>>>>> It booted. > >>>>> > >>>>> Could you share whole dmesg? > >>>> > >>>> I've not done a "boot -v" . The below is actually from a > >>>> captured serial console output. It is lightly edited. I > >>>> have omitted nearly all loader output (and before). > >>>> > >>> > >>> Thanks for sharing. Have you seen somewhere in output from UEFI (befo= re > >>> the loader) that "DPAA2 Management Complex initialized"? > >> > >> The text "DPAA2" does not occur in the captured output > >> at all. However, that is my understanding of the expected > >> status. > > > > That's strange because DPAA2 firmware should be included into UEFI buil= t from > > lx2160a_uefi: > > > > https://github.com/SolidRun/edk2-platforms/blob/edk2-stable202102-lx216= 0acex7/Platform/SolidRun/LX2160aCex7/LX2160aCex7.fdf#L252 > > > > I assumed that there might be any output that firmware has been loaded = correctly > > at least. > > The edk2 build is not a debug build and, before putting up > the menu, only outputs (I stripped some escape sequences): > > > NOTICE: UDIMM KHX2933C17S4/32G > NOTICE: DDR4 UDIMM with 2-rank 64-bit bus (x8) > > NOTICE: 64 GB DDR4, 64-bit, CL=3D17, ECC off, 256B, CS0+CS1 > NOTICE: BL2: Booting BL31 > NOTICE: BL31: v2.4(release):v2.0-4462-ge7b392d0a > NOTICE: BL31: Built : 07:47:10, May 31 2021 > NOTICE: Welcome to lx2160acex7 BL31 Phase > > UEFI firmware built at 07:44:26 on May 31 2021. version: > 202102 > SOC: LX2160ACE Rev2.0 (0x87360020) > UEFI firmware (version 202102 built at 07:44:28 on May 31 2021) > Tianocore/EDK2 firmware version 202102 > Press ESCAPE for boot options .... > > After the menu things start with basically: > > Consoles: serial port > |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-= =08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08 Reading loader env vars from /efi/freebsd/l= oader.env > Setting currdev to disk2p1: > |=08/=08-=08\=08|=08/=08FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > Image base: 0xedc89000 > EFI version: 2.70 > EFI Firmware: EDK II (rev 0.00) > Console: comconsole (0) > Load Path: \EFI\BOOT\BOOTAA64.EFI > . . . > > One might be able to make inferences from the content > of some potential menu displays. Otherwise, I expect > that a debug build would be required to see DPAA2 > references. > > I do not expect one can validly infer much from the > lack of "DPAA2" text in my boot sequence (with any > capitalization vs. lower case status). > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > Could you share an output of "acpidump -d"? Regards, Dmitry