From owner-freebsd-arm@freebsd.org Sun Dec 1 21:32:19 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E803D1BA170 for ; Sun, 1 Dec 2019 21:32:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47R1fp5pxwz4Jf3 for ; Sun, 1 Dec 2019 21:32:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: FTyKVjoVM1kSt7OVnLvFpujqixodJQmzdnRHQ6PFAdie_bMxhTQNKDXN7kS3m_o C8I8KHCGdMPDVJAa7I6S2Tt5Xkh5UQuhTgPU0Wn1G6lwg.OnQLWGq0Y0rJqlqatGpKlX0P4Gf.gY EQDt46iIOiXPYVD0fRB.4iM7Gmv7676HAhB_F5ncxm2OmYfz3jgrAAZ_LW3TLZ3_Y_1JRLkH8mfy trbELIIvlV1iH3.JNZr2oOSmXkz.IE1Z45WoMgCGZ3Ks0QdEoYXbLcXwMusFrzPIDaJ.3ZMchV9r t7.b5_YVNJftw_0_JTxZeCwq1HFCcSHl_stU6ekTOkE5T0noxmyWBK4QtcEkmlGEWtSpkPQOUIGO X2MRkJAwUFGtffdAHR.RbrLmDwliBd9aV7_UfU4Vw0X8MVyL_vTqAMoqbf.88h5eSNoxmVoj3Vpw gEXRIz71IdE.0JamckET8_Sh2sfPLsVsUPSXqAlcoOqiIwsJ37Ual_GrSJXXAbvRaIIk9RwIHY0B KbzfEgyoqTuW.Ane8oOf32Ebf5_yhIeUsB56hT1Mb95WxZgB4GEDlln1.UV.7yzH_YW7k6c4o2hs QKEpkx8Ew3BbIVWkZ9dRDW4Fw4fg.Bee9Wu2nIthaTdEyArMDDGfeX1YS5T96IZGUMLMJzoNi_cX V6IP18uScBBEMzKY8ArFXdvvRhBq3U4rL1UM1SdbCoWUaAnERM.roIbmP8mymvf3uQWVJfWjFBHx Gv_vsAnpg9S4EowY2He5IRPav5eTY8RtpZwg5i0lbYEkSnSk3elzl2vJYp6knEqt._Nt7TYhiR2v .2iFanJZCmHJ368s6fUeqyFQy9sbcLAgmGAX8ZODU9QY9fUQdJ3_EoKxaEK30c.GV__aJHvMVa1c 6d4ex0GTgJMW9YdMSqN5_g0MK1SMCpPa3MeNfNjhHdqrgPtI0bUzjZGFtkez2UqBPjzDD_6wpCKT MsKysXKQqr7A4v_XuLgGeY5xfcJlVUfBGSgEu9nNOuizg_MYF6HT2HmlQnr05iXy7.eahlUoTSqN _2sT_MjS_PXQx90zRWhTGyrFi0KAVzRIpH5F5y_OKRWFSpFdGDMN_KETULkR7T8YIHa3MlLahaYG upKHWDKHQeKTxx92QHT88sbeAe4Ga7Yf1G.YZuHTe687NLDA2PqjWIG5EQ2K6kzhoYu2YYawfHm6 dKNWX0uLBhsmkrd40xQen8L78PM_PZbRHdEk9bFmeG.W_hYIXxFmwyFr9vog07GiT4X6EA1uXv9z Vu8p4MOU7n46q5q5MnRV_QPhdQhQSSIjRMWrLfpSwfZN7X.SixPt0TCL_dDJyFcRrRXQtBiFTOyQ TRHKjiPLbWewUPZmg.FZLg4RFsQRuUZiuk1bKC.QtfbmJcONE8KiiegehNAztUpJfoC1fKUKTOcz hzWgk.CMvMcSk2LV7f4m9hqK2_sKuixSR7KhbIA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sun, 1 Dec 2019 21:32:17 +0000 Received: by smtp414.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 9a8ac8273d317c16ca4bca17652b6f82; Sun, 01 Dec 2019 21:32:13 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: Problems booting a MACCHIATObin Double Shot Rev 1.3 with head -r335027 From: Mark Millard In-Reply-To: <8B89ADF5-FA8B-4EB9-B2CC-CFBF017A8BD7@yahoo.com> Date: Sun, 1 Dec 2019 13:32:10 -0800 Cc: Robert Crowston , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <366042EF-094B-4E7D-9582-256C5379DA20@yahoo.com> References: <32A4EC20-53AA-4985-BD93-34DA5FC270E8@yahoo.com> <8B89ADF5-FA8B-4EB9-B2CC-CFBF017A8BD7@yahoo.com> To: Greg V X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47R1fp5pxwz4Jf3 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.54 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (4.04), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.70), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.079,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.04)[0.043,0]; RCVD_IN_DNSWL_NONE(0.00)[206.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[protonmail.com] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2019 21:32:20 -0000 On 2019-Dec-1, at 12:45, Mark Millard wrote: > [Mixing materials from 2 emails that came in.] >=20 > On 2019-Dec-1, at 12:18, greg at unrelenting.technology wrote: >=20 >> December 1, 2019 10:46 PM, "Mark Millard via freebsd-arm" = wrote: >>=20 >>> Note that edk2 is for UEFI. It is configurable for if it hands over >>> a dtb vs. ACPI information. Trying ACPI just got a report of the >>> dtb being missing. So I continued with the dtb option. >>=20 >> dtb missing is *correct* with ACPI :) >=20 > Yep. But: >=20 > A) The older FreeBSD got as far as did using dtb, not ACPI. > (Not that I'd tried ACPI then.) So my best evidence of > progress was with dtb. > B) It looked like FreeBSD materials were reporting an error > and possibly stopping because of it. >=20 > Not being familiar with what to expect beyond what I was > seeing, I went with dtb after that message showed up. >=20 >>>> You can also enable verbose boot, which might show a tiny little = more detail before the hang, but >>>> since we don't get to ----, I am not optimistic. >>=20 >> Yep, not getting ---- pretty much always means the serial = console is not configured correctly. >=20 >=20 > On 2019-Dec-1, at 12:16, greg at unrelenting.technology wrote: >=20 >> Have you tried connecting a GPU and monitor instead? :) >=20 > No GPU around to plug in. (No original intent to use a GPU > either.) >=20 >> Have you tried ACPI instead of DTB? (in setup, Device Manager - O/S = Hardware Description) >=20 > Yep. It did not work either. See above. >=20 >> Actually on Marcin's builds the serial console might not work with = that >> because the SPCR table there is intentionally wrong to support Linux, = but the links >> below should be my builds, you can try ACPI with them (they also = remove a >> PCIe hack for supporting "~legacy" devices to make other devices >> like the Radeon RX 480 work). >=20 >=20 > Thanks. That gives me another direction to try. >=20 > What is the distinction between the two .bin files? > Should I try both even if the first I try works? Is > there something of interest to be learned? With changing to ACPI with flash-image2.bin mostly worked and did boot to multi-user (dtb failed the same old way): # uname -apKU FreeBSD FBSDmacch 13.0-CURRENT FreeBSD 13.0-CURRENT #14 r355027M: Sat = Nov 23 03:58:57 PST 2019 = markmi@FBSDFHUGE:/usr/obj/cortexA72_clang/arm64.aarch64/usr/src/arm64.aarc= h64/sys/GENERIC-NODBG arm64 aarch64 1300061 1300061 But the console output for the boot has a large hole in it: . . . Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! !!!! LOTS OF STUFF MISSING HERE. !!!! Setting hostuuid: 7c431ce3-c871-11e8-974a-e0fff70020ed. Setting hostid: 0x22ac6547. Starting file system checks: /dev/ada0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0p2: clean, 189820987 free (59587 frags, 23720175 blocks, 0.0% = fragmentation) Mounting local filesystems:. . . . I do not know what to do to get, say, the slower speed EtherNet going, or if I can. But the serial console seems to be working fine once it starts going. FYI: Making no adjustments (such as to ACPI) failed in two different ways, one per .bin: dd if=3D/root/flash-image.bin bs=3D512 seek=3D1 of=3D/dev/da3 conv=3Dsync produced a uSD card that resulted in: ASSERT_EFI_ERROR (Status =3D Device Error) ASSERT [PciHostBridgeDxe] = /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/REL= EASE_CLANG38/AARCH64/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDx= e/DEBUG/AutoGen.c(436): !EFI_ERROR (Status) dd if=3D/root/flash-image2.bin bs=3D512 seek=3D1 of=3D/dev/da3 conv=3Dsync= produced a uSD card that resulted in: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0xbe7e4018. (stopping at the same place/way as my original report, at least for what is visible on the serial console). Thanks! =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)