Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2020 16:12:16 +0000
From:      greg@unrelenting.technology
To:        "Mark Murray" <markm@freebsd.org>
Cc:        "Marcel Flores" <marcel@brickporch.com>, freebsd-arm@freebsd.org
Subject:   Re: Bootable image for Macchatobin Double Shot?
Message-ID:  <c5b816c0d036e1c40f7f1d49fd76e845@unrelenting.technology>
In-Reply-To: <ED8A3428-E14A-44F6-85D9-A9EEABD364A7@FreeBSD.org>
References:  <ED8A3428-E14A-44F6-85D9-A9EEABD364A7@FreeBSD.org> <E2887392-01E4-4ECC-8D0A-4871657D5F8E@FreeBSD.org> <9F7FB8F8-A29C-4F95-B0BB-CFEFEAFDDD5E@FreeBSD.org> <1039B382-2CA4-4F49-9F95-08BD1386A447@FreeBSD.org> <CA07A9C8-267B-4657-B9D1-1F53B62A969B@brickporch.com> <092721df6b1de3e75820acd32ba1b0e7@unrelenting.technology> <e307725bcba79d7c9e0f122ebce26ff1@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
April 25, 2020 6:46 PM, "Mark Murray" <markm@freebsd.org> wrote:=0A=0A>> =
On 25 Apr 2020, at 16:22, greg@unrelenting.technology wrote:=0A>> =0A>> A=
pril 25, 2020 5:51 PM, "Mark Murray" <markm@freebsd.org> wrote:=0A>> =0A>=
> https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-imag=
e.bin=0A>> https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/f=
lash-image2.bin=0A>>> The second has the same binary bits as the one I do=
wnloaded from the link in my original post.=0A>> =0A>> It should work the=
n..=0A>> =0A>> Unless I really screwed something up and *somehow* this is=
 not a good image -=0A>> you can check by running (as root):=0A>> =0A>> /=
usr/sbin/acpidump -t -d -o /dev/null | grep -a -C10 PNP0C02=0A> =0A> # /u=
sr/sbin/acpidump -t -d -o /dev/null | grep -a -C10 PNP0C02=0A> acpidump: =
FACS is corrupt=0A> =0A>> that should find the PCIe controller in the DSD=
T table, its Memory32Fixed resource should=0A>> contain the address 0xE00=
00000, NOT 0xE0008000.=0A> =0A> Not quite there yet :-)=0A> =0A>> What do=
es the pci command in the EFI Shell say? Run `pci 00 00 00 -i` to get inf=
o about a=0A>> particular device,=0A>> e.g. https://gist.github.com/myfre=
eweb/8b09f1c93ee9572aef01513ba9bf756f=0A> =0A> Shell> pci=0A> Seg Bus Dev=
 Func=0A> --- --- --- ----=0A> 00 00 00 00 =3D=3D> Network Controller - E=
thernet controller=0A> Vendor 8086 Device 1521 Prog Interface 0=0A> 00 00=
 00 01 =3D=3D> Network Controller - Ethernet controller=0A> Vendor 8086 D=
evice 1521 Prog Interface 0=0A> ASSERT [PciHostBridgeDxe]=0A> /home/mw/gi=
t/uefi-27/edk2-platforms/Silicon/Marvell/Armada7k8k/Library/Armada7k8kPci=
ExpressLib/PciEx=0A> ressLib.c(78): Address < (0x0 + 1) * 0x00100000=0A> =
=0A> Looks like something went badly wrong there :-(=0A=0AWoah, "/home/mw=
/git/uefi-27" doesn't look like something that should appear in one of my=
 builds..!=0A=0AI guess flash-image2 is a reupload of an old build from t=
he github wiki, and flash-image was my build,=0Abut I might have overwrit=
ten it with a bad one. *facepalm*=0A=0AUploaded a new untested build that=
 should work as=0Ahttps://unrelentingtech.s3.dualstack.eu-west-1.amazonaw=
s.com/flash-image.bin=0A(sha256:8ae81d0cb07b36bd145ae56621e63c48c303641e1=
cf1a574714ca60211d66c66)=0A=0AI really should finally get around to makin=
g this a proper "release", with a setting in the Setup screen=0Athat woul=
d allow toggling the ECAM workaround on and off, and toggling the SPCR Li=
nux workaround.=0ABut first I'd like to switch to upstream TrustedFirmwar=
e, but my builds of it (using clang) don't work..=0A(This is currently us=
ing older Marvell-forked TF-A.)=0A=0A>> Also, have you tried any other PC=
Ie cards?=0A> =0A> Nope - 'fraid not :-(.=0A> =0A> My intention is to use=
 this dual-port NIC until (if?) the on-board NICs are made to work, then =
I'll=0A> use them and then buy a cheapo PCIe video card to make a proper =
console I can use with a KVM=0A> switch. But I need to get the PCI going =
first :-)=0A=0AI've started an attempt at porting the onboard NIC driver =
last summer:=0Ahttps://github.com/myfreeweb/pepevtwo-kmod=0A=0AGot as far=
 as initializing stuff (except DMA) that's initialized before the ports.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5b816c0d036e1c40f7f1d49fd76e845>