From nobody Mon Oct 24 18:50:11 2022 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 4Mx3zb28hTz4gSS4 for ; Mon, 24 Oct 2022 18:50:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.ne1.yahoo.com (sonic309-21.consmr.mail.ne1.yahoo.com [66.163.184.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4Mx3zZ0gZyz3vby for ; Mon, 24 Oct 2022 18:50:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666637416; bh=yqIM6KaTGnxIDWNUNzq4rtRMJojXU19+OsgzQn0pc6U=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=k2zE8MJ5/VaS8ZBYrh78HnJ4kOpN26m+XQp2GN9mVwNSP+RbcPEbi29y+oLNmOLkRsUKvhi9ga6nT/bmlQbF+qUR3WdP6jRrxecs2HWu/dRwUXIKr9YukcHTD7KEaFHiNqw4vGQlJMTWQmnxkTD9r0osKmjxDwgtNKa/V+27P4YXhmLsRlhdetK4sIVYyGHb2S939ROUxEbmKFErphh8CNe9AInPhQS4UTGgvLPEjucq78a2hHSj360CTvmlpQJMc4W3R8KPgHsDvqukCFVjjYpRog8npo28z/i82sqA2/GDOKaEp4tz2ydnFigOEOce3hsPQwzMzxE6iWOWWbfJEg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666637416; bh=Yi/oYFp3WDWaZNQ3CCzUXs2wdw7Gy9DuMTvfg42bhgk=; h=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6gR2FMvbjIjhnUl0Cm7.JJCV6EPEqr7j9Ori0cgDSGA0.CWlJmsN0NHr6_k SRdoyc2Vx4YHpLkEXDSJygxgdtx8olGHlbxjJoXd.uJqoo1EVrKHTPthSAHdGElarwOS5ll3NBkc jTSX38fGS9GqDXpHBrm8bteDzPGFazKwgMBkq04AFf4CCZ7IWMJstIIUCrNXbDZZU9yFw62qpITI zN9dEiEVM.W7EuSW.GzjXMYW.No9rXkOkuM2dKu6MA64qCGvki2EdkCi6FY4MsJzDjbefNwcCGpN iSdr4mBRDsgINsL6o3FmYnadbxViIzTynbUfsbQKURJpX0PDbkNdytKiV_.6xtfYR2Jh00Vg10z7 JnzxyrXwZXmQpQ0zi0P4gW_sDtxobPMkHlsjEyPiFEcDPT5R5ociMJ0XQugP1JBTYgvw0Z70AvxN flzoM6CYVtkjdvNIhqTNK0mAim_SbslcHRX6hi5L9zl0r5LUYHYPW.MP_371TPWpKA9y_JQ4oDVQ X0fCqA_V7AtomSMlHFnkcmz1KeuzPJy1METuSf2GzKe_n8KOHn4O6DSi53LgBFxNx5Rw8YB3H X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Mon, 24 Oct 2022 18:50:16 +0000 Received: by hermes--production-ne1-c47ffd5f5-cr29n (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3872a0a96049c51b9c659f01347ff504; Mon, 24 Oct 2022 18:50:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: EDK2 on RPi3 was: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it From: Mark Millard In-Reply-To: <20221024174930.GA79381@www.zefox.net> Date: Mon, 24 Oct 2022 11:50:11 -0700 Cc: Klaus K??chemann , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <1560695E-4D99-40A1-8D62-29EAB24C7997@yahoo.com> <20221005160737.GA15227@www.zefox.net> <136B9190-4C73-45FB-8B41-FEEF7C38A253@yahoo.com> <3A76826B-B4E6-4837-915E-C9E1172BEA20@yahoo.com> <20221021175142.GA62386@www.zefox.net> <0697DE1F-C626-4289-894A-4141CDF1B91B@yahoo.com> <71AB9FAC-EB00-48F0-B0DD-0629C2D3C8C0@googlemail.com> <5719632F-8A92-4784-88D8-EAE3F20F2FA3@yahoo.com> <20221024174930.GA79381@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Mx3zZ0gZyz3vby X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=k2zE8MJ5; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 66.163.184.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.184.147:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Oct-24, at 10:49, bob prohaska wrote: > I'd like to thank both of you for the light you've shed on the > boot problems encountered with RPi.=20 >=20 > For the moment I'll go back to my original goal of getting > Pi2's to boot from the JMS-based usb-serial bridges presently > on-hand. Preliminary experiments using a JMS561 bridge and > a Pi2 using the version of bootcode.bin located at > https://github.com/raspberrypi/firmware/raw/master/boot/bootcode.bin > [referring page = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spec= ial-bootcode-bin-only-boot-mode] > seem to be promising under -current. bootcode.bin is only likely to help stages before u-boot.bin starts. If it makes to to u-boot.bin starting, bootcode.bin is then likely irrelevant from then on. In fact bootcoce.bin is what loads the start*.elf that is used. If the start*.elf starts, bootcode.bin is likely irrelevant past that point. [The purpose of bootcode.bin is the special boot mode, more recent versions having more adjustments. There is no special version of bootcode.bin that I'm aware of.] > The interest I expressed in EDK2 appears to have been misguided, > or at least premature. I was hoping it might be a more tractable > replacement for u-boot, but it's equally inscrutable to an amateur. > Worse, only the macciatobin flavor builds under poudriere and > my attempts at a plain "make" build using FLAVOR=3Drpi3 have so far=20 > failed on the same host. Was this based on mina ports before vs. after: QUOTE author Mark Millard 2022-10-21 21:47:14 = +0000 committer Lorenzo Salvadore = 2022-10-21 22:00:03 +0000 commit 819bf69c15605e1e31998c91fb3fd02d5bc9fa0f (patch) tree eb19abc8a6fc47da2072bcd9847e3431c4c9ec93 /sysutils/edk2 parent bf7a619316b5b24fe6a20df07881d7f2bce821d7 (diff) download ports-819bf69c15605e1e31998c91fb3fd02d5bc9fa0f.tar.gz ports-819bf69c15605e1e31998c91fb3fd02d5bc9fa0f.zip sysutils/edk2: Fix build on aarch64 Build on aarch64 was failing with the following error: ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 required by /usr/local/lib/gcc11/libstdc++.so.6 not found Fix by using /usr/local/lib/gcc*/libgcc_s.so.1 instead. While here, also define WWW variable. END QUOTE I'll note that quarterly did not get the update yet. = http://ampere3.nyi.freebsd.org/build.html?mastername=3D131arm64-default&bu= ild=3D5bb856165324 shows sysutils/edk2@rpi4 as having successfully built: =3D>> Building sysutils/edk2 build started at Mon Oct 24 00:09:06 UTC 2022 port directory: /usr/ports/sysutils/edk2 package name: edk2-rpi4-g202202_1 building for: FreeBSD 131arm64-default-job-04 13.1-RELEASE-p2 FreeBSD = 13.1-RELEASE-p2 arm64 maintained by: uboot@FreeBSD.org Makefile ident:=20 Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400063 Jail OSVERSION: 1301000 . . . =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building package for edk2-rpi4-g202202_1 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for edk2-rpi4-g202202_1 build of sysutils/edk2@rpi4 | edk2-rpi4-g202202_1 ended at Mon Oct 24 = 00:16:06 UTC 2022 build time: 00:07:00 (So built under 13.1-RELEASE.) It also shows sysutils/edk2@fvp has having built just fine. @rpi3 and the default build have not started building yet. 4 flavors (bhve, xen, and 2 qemu variants) are amd64 only and so are ignored. (sysutils/uefi-edk2-bhyve-csm is something separate.) =3D=3D=3D Mark Millard marklmi at yahoo.com