Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2022 18:24:07 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Klaus K??chemann <maciphone2@googlemail.com>, freebsd-arm@freebsd.org
Subject:   Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it
Message-ID:  <62F8D709-BBC3-41C4-B1A9-939B2001BA52@yahoo.com>
In-Reply-To: <20221004001857.GA7109@www.zefox.net>
References:  <ABFDD634-5CB6-4DAE-B4DE-629CE7E4FE06@yahoo.com> <20221001193033.GA98348@www.zefox.net> <46226720-D867-4AD3-9559-A4365FAC28C4@yahoo.com> <6DB88FC9-629C-43E6-9673-32640FC547F7@yahoo.com> <20221002182049.GA2255@www.zefox.net> <5FFDAA6A-AD8C-4E40-A2EB-4082E5086679@googlemail.com> <38DFEB91-AC60-4FD1-8088-95B0A06C5E5D@yahoo.com> <EEC43DA1-6B68-4FDD-A68A-A3055E86E407@googlemail.com> <20221003004624.GA3381@www.zefox.net> <B32F06DD-DFAF-4CB7-A973-7C07846F6E8E@yahoo.com> <20221004001857.GA7109@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Oct-3, at 17:18, bob prohaska <fbsd@www.zefox.net> wrote:

> On Sun, Oct 02, 2022 at 07:30:57PM -0700, Mark Millard wrote:
>> On 2022-Oct-2, at 17:46, bob prohaska <fbsd@www.zefox.net> wrote:
>>=20
>>>=20
>>> The more troublesome bridge contains a JMS577 chip, the less =
troublesome JMS576.
>>=20
>> I'm confused. The logs I have show 0x0583 (earlier) and 0x577 =
(later).
>> I'm not aware of a 0x0576 example in the set at all.
>>=20
>> (The JMS??? naming and the 0x0??? product ID's normally match for
>> the ??? part.)
>>=20
> On close inspection the enclosure recognized as  0x152d:0x583=20
> contains the JMS576 chip. That's the better-behaved one.

Is the JMS576 labeling actually on the chip? (Can you even
see the labeling on the chip?) Or is the JMS576 labeling
more like overall product marketing labeling?

0x0583 vs. 0x0576 leaves open the possibility of a bad
firmware revision in the part?

> The enclosure recognized as 0x152d:0x0577 contains a JMS577 chip,
> that's the worse-behaved unit.=20
>=20
> It looks like the first two EC-UASP enclosures purchased (which both=20=

> work fine on RPi4's) report 152d:1561. They are clearly different,=20
> with crystal cans on the circuit boards. =20

So there are 4 EC-UASP enclosures overall? Could you be so lucky
as to have (oldest EC-UASP's used on oldest RPi* family):

Both 0x152d:0x1561 work with the RPi3B's
and:
0x152d:0x0583 and 0x152d:0x0577 work with the RPi4B's?

(I'm not sure what all combinations have been tried.)

> The two units we're fiddling with presently came much later, under=20
> the same product description. =20

Ahh.

>> I'll note that I've reverted my active environment back to
>> its normal content. I've not figured out a way to get
>> reasonable evidence, given the combinations we have observed.
>=20
> Understood.=20
>=20
>> I'll note that RPi3 EDK2 UEFI is not an option as far as I
>> know. I've never had it work for two things that I checked
>> up front:
>>=20
>=20
> I take it that EDK2 is a tool for _writing_ bootloaders,
> not a bootloader itself; is that correct?=20

The team(s) that make EDK2 support the RPi3*'s and
RPi4*'s publish releases when they update EDK2. I
actively use a RPi4* EDK2 (UEFI/ACPI) on some=20
FreeBSD RPi4B's. (Other RPi4B's have the FreeBSD
U-Boot context instead.) But my usage context is
limited so what is supported via ACPI vs. not is
not significant for me. I also have patches involved
for this usage.

There is the FreeBSD port sysutils/edk2 with FLAVOR's
for rpi3 and rpi4 (and more). These do not track the
specific commits that those teams published based on,
using more recent materials generally.

Currently, building sysutils/edk2 is broken. My
submittal to make it build again has not been applied:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266404

I've no clue if the RPi3* EDK2 UEFI/DeviceTree problems
are just in FreeBSD or not. The EDK2 build supposedly
works with various Linux's when DeviceTree is selected
instead of ACPI. (The RPi3* UEFI/ACPI is Microsoft
specific, not standard --so not appropriate for *BSD or
Linux variants. Device Tree needs to be used.)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62F8D709-BBC3-41C4-B1A9-939B2001BA52>