Re: HoneyComb first-boot notes

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
> On 2021-Jun-22, at 02:20, Dmitry Salychev via freebsd-arm <freebsd-arm at freebsd.org> wrote:
> 
> 
>>>>>> 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/lx2160acex7_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 (before
>>> 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 built from
> lx2160a_uefi:
> 
> https://github.com/SolidRun/edk2-platforms/blob/edk2-stable202102-lx2160acex7/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:  BL2: v2.4(release):v2.0-4462-ge7b392d0a
NOTICE:  BL2: Built : 07:47:06, May 31 2021
NOTICE:  UDIMM KHX2933C17S4/32G  
NOTICE:  DDR4 UDIMM with 2-rank 64-bit bus (x8)

NOTICE:  64 GB DDR4, 64-bit, CL=17, 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  
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk2p1:
|/-\|/FreeBSD/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).

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.