Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2021 00:41:03 -0700
From:      Mark Millard via freebsd-arm <freebsd-arm@freebsd.org>
To:        Dan Kotowski <dan.kotowski@a9development.com>
Cc:        dsl@mcusim.org, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: HoneyComb first-boot notes
Message-ID:  <12A4EDD1-A2AB-4CE3-AB0E-A4B5D6FB4674@yahoo.com>
In-Reply-To: <C4D3B585-63B6-4C2A-B8DA-264073C6E2C2@yahoo.com>
References:  <8A6C415F-A57B-4F2F-861F-052B487166D6.ref@yahoo.com> <8A6C415F-A57B-4F2F-861F-052B487166D6@yahoo.com> <YNGT5hcHOBd6cU4T@x230.ds> <40AE6447-77AF-4D0E-864F-AD52D9F3346F@yahoo.com> <YNGf999RsaTfNhcp@x230.ds> <Rv9QGaKflpIjLPsxUFG3ht12loej__FxMBy7SQ1QzDTk1NLcFjGb4ScQuF32SakZi68wjgPQpIVp2dipMoYteJIAMhSrXbPM6-mRSeL_744=@a9development.com> <C4D3B585-63B6-4C2A-B8DA-264073C6E2C2@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Jun-22, at 02:15, Mark Millard <marklmi at yahoo.com> wrote:

> On 2021-Jun-22, at 01:40, Dan Kotowski <dan.kotowski at =
a9development.com> wrote:
>>=20
>>>>>> I put an existing FreeBSD Optane into a just delivered
>>>>>>=20
>>>>>> HoneyComb, put in the RAM and the matching UEFI/ACPI
>>>>>>=20
>>>>>> image on a microsd card and put the card in the slot.
>>>>>>=20
>>>>>> I plugged in a USB3 Ethernet dongle, like I use on some
>>>>>>=20
>>>>>> other systems. Serial console via its USB port for such.
>>>>>>=20
>>>>>> (Optane instead of video card.) The UEFI/ACPI image was
>>>>>>=20
>>>>>> extracted from:
>>>>>>=20
>>>>>> =
https://solid-run-images.sos-de-fra-1.exo.io/LX2k/lx2160a_uefi/lx2160acex7=
_2000_700_2900_8_5_2_sd_81b4bbe.img.xz
>>>>>>=20
>>>>>> in order to match the RAM and being based on the
>>>>>>=20
>>>>>> most current vintage at:
>>>>>>=20
>>>>>> https://github.com/SolidRun/lx2160a_uefi/
>>>>>>=20
>>>>>> It booted.
>>>>>=20
>>>>> Could you share whole dmesg?
>>>>=20
>>>> I've not done a "boot -v" . The below is actually from a
>>>>=20
>>>> captured serial console output. It is lightly edited. I
>>>>=20
>>>> have omitted nearly all loader output (and before).
>>>=20
>>> Thanks for sharing. Have you seen somewhere in output from UEFI =
(before
>>>=20
>>> the loader) that "DPAA2 Management Complex initialized"?
>>>=20
>>> Regards,
>>>=20
>>> Dmitry
>>=20
>> stable/13 dmesg: =
https://gist.github.com/agrajag9/bf6325d4f3321d8d0ee566fee767e0d3
>>=20
>> current dmesg: =
https://gist.github.com/6d07004fb3c6f0980d5e94627aaba060
>>=20
>> @dmitry - just ignore all the DPAA2 stuff for now. We don't support =
it at all :'(
>=20
> And UEFI/ACPI currently appears to not give anyone anything
> to support (yet).
>=20
>> @mark - I was given a warning about i2c from SR's @jnettlet that it's =
possible to completely brick the system, although maybe they've solved =
that in the more recent SOC revisions?
>=20
> FYI: Jon Nettleton recently reported:
>=20
> QUOTE
> okay I have replicated the the i2c bus issues.  Now I have
> something I can fix
> END QUOTE
>=20
>> The IORT warnings might be related to SMMU. I'll have to dig up my =
notes, I did a ton of work with Greg on this months ago and it seems =
that's been swapped out of brain memory onto cold storage somewhere. =
Possibly here? =
https://gist.github.com/agrajag9/ff3c52c11469dccb70e17a11cb9be2a9
>=20
> FYI: Jon Nettleton reported:
>=20
> QUOTE
> ACPI: IORT: Dropping unhandled type 6 This is ACPI RMR support
> which was just released in March 2020 and only recently updated
> as of 2 months ago.  I assume the other type 1 are the named
> components for the network packet processor.  Those will need
> to be fixed once driver support for the onboard networking is
> added
> END QUOTE
>=20
> (Jon is not always clear about UEFI/ACPI vs. U-Boot vs.
> Linux kernel or whatever combination is involved.)
>=20
>> Feel free to use/critique my KERNCONF: =
https://gist.github.com/agrajag9/e3991573a274e59f58a0b520d2dcd5d2
>=20
> I've never been one to spend effort cutting things from
> the standard kernels. In a couple of cases, in dealing
> with old PowerMac issues, I've forced something to be
> in the kernel to avoid contexts where I could not load
> the same but it was always needed for what I was doing.
>=20
>> Fans: I've had mixed success here. Lots of people went for a full =
watercooling loop with =
https://www.alphacool.com/shop/gpu-water-cooler/amd-gpu/11088/alphacool-hf=
-14-smart-motion-universal-copper-edition?c=3D20587
>>=20
>> I'm just using =
https://www.radianheatsinks.com/product/inm37-5004-25pcu-2-6/ but others =
like http://www.enzotechnology.com/cnb_r1.htm
>>=20
>> Either way, welcome to the party! I've been daily-driving mine as a =
desktop for a few months, although I still can't get drm-kmod's amdgpu =
to load properly - perhaps you can?
>=20
> The PCIe slot has an Optane, not video. Very few of
> the machines I use have video engaged even rarely.
> One FreeBSD machine has a lower end (and low power)
> video card --but I do not use X11 or the like on it
> generally. Similarly for built-in HDMI (when it is
> used at all).
>=20
> The same Optane can be used to boot the MACCHIATObin
> Double Shot, where it was previously in use. I do
> not have access to other aarch64 machines with a
> PCIe slot. These two machines only have one such
> slot.

Some more notes from Jon N. for the EDK2 UEFI/ACPI example
context:

QUOTE
Things got a bit more complicated, after I looked at things some more.
Basically BSD needs to grow I2C support for the LX2160a, which shouldn't
be a big deal since it is mostly compatible with the normal IMX driver.
END QUOTE

and:

QUOTE
However to support devices that don't support the I2C controller I am
writing a UEFI driver that can properly setup the PWM controller for
Auto mode.  This should allow the fan to ramp up and down without any
needed OS support at all.
END QUOTE

He wondered if I knew enough to "check on the i2c controller support for
imx in BSD, it could be a simple fix just by patching in ACPI support".
Unfortunately, that looks to involve way more than I'd be likely to =
figure
out any significant part of anytime soon.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12A4EDD1-A2AB-4CE3-AB0E-A4B5D6FB4674>