Date: Mon, 18 May 2020 13:01:53 +0000 From: Dan Kotowski <dan.kotowski@a9development.com> To: John-Mark Gurney <jmg@funkthat.com> Cc: myfreeweb <greg@unrelenting.technology>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X Message-ID: <3nsQUg1Gm4VFYfpHVELk6PWaHyYNb3CoyoKnLV55_3VR48tr90bhaseG3sJg007L8czZ4mXUmR_YMQvYVdMbUs1bsoqGtZp5d17FqYT6b-o=@a9development.com> In-Reply-To: <20200516051207.GT4213@funkthat.com> References: <seVuHXPQIJwJasZ3wb2s2t61PcRQY5fyhT6njAvxEJ47Sj02pDtHbh-6EyHOf5M22BZdd27q4wK-zMPfCkJ2FIhFNnhILGxOQPebbQ19-0M=@a9development.com> <72D47662-240E-4851-844A-A4F92F18B3F2@unrelenting.technology> <20200516051207.GT4213@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
After a solid 16hrs this weekend, I can confirm that the pre-built images d= o NOT "just work", at least not with SolidRun's HoneyComb version rev 1.4. The 12.1 arm7 GENERICSD image fails to boot. The included EFI/BOOT/bootarm.= efi fails to load. I dropped in a copy of EFI/BOOT/bootarm64.efi from the a= arch64 image, but that failed to handoff the process properly. Tested with= both u-boot and UEFI. The 12.1 aarch64 memstick installer iamge fails out trying to mount the UFS= partition and drops into the mountroot> shell with error 19. Listing GEOM = managed disk devices returned an empty list. My silicon is rev 1.4 so I have to use the SD slot for the firmware layer, = which is a mild inconvenience because I can't use that slot for an OS iamge= (https://github.com/SolidRun/lx2160a_build/issues/36#issuecomment-62986567= 4). Unfortunately that's where I ran out of time. I spent most of the time trac= ing and tweaking SolidRun's build scripts, testing various combinations of = firmware builds and boot images, and learning my way through both the u-boo= t and UEFI implementations. Barring other simple ideas, my next step is to make buildworld for TARGET= =3Darm64 TARGET_ARCH=3Daarch64, drop that on an NVMe gumstick, and see if I= can get that booted. More in the coming days... Dan Kotowski =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Saturday, May 16, 2020 5:12 AM, John-Mark Gurney <jmg@funkthat.com> wrot= e: > myfreeweb wrote this message on Thu, May 14, 2020 at 15:48 +0000: > > > On May 14, 2020 3:32:13 PM UTC, Dan Kotowski dan.kotowski@a9development= .com wrote: > > > > > I'm wondering if anybody knows of work being done to port FreeBSD to = the Layerscape platforms? > > > I happen to have a SolidRun HoneyComb LX2K workstation, based on NXP'= s Layerscape LX2160A, next to my desk running a custom-multistrapped Debian= Jessie build, but would love to get FreeBSD running instead. I have only m= inimal experience working down in BSD driver/kernel land and no experience = at all with Crochet, but would like to learn. And while I cannot afford to = donate the actual hardware I'm happy to work with others to test builds. > > > > Do not even think about crochet or device trees or any of the embedded = stuff on such a machine!! ;) > > Just use the latest UEFI firmware in ACPI mode to boot generic FreeBSD. > > Looking at their ACPI tables, they do finally have PCIe and USB3 as gen= eric devices, though oddly not SATA: https://github.com/SolidRun/edk2-platf= orms/tree/master-lx2160a/Silicon/NXP/LX2160A/AcpiTables/Dsdt > > If this is the case, then the generic aarch64 images should boot on > it... Not sure what will happen w/ the SATA though... > > -------------------------------------------------------------------------= --------------------------------------------------- > > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3nsQUg1Gm4VFYfpHVELk6PWaHyYNb3CoyoKnLV55_3VR48tr90bhaseG3sJg007L8czZ4mXUmR_YMQvYVdMbUs1bsoqGtZp5d17FqYT6b-o=>