FreeBSD on Layerscape/QorIQ LX2160X
myfreeweb
greg at unrelenting.technology
Mon May 18 13:45:58 UTC 2020
On May 18, 2020 1:01:53 PM UTC, Dan Kotowski <dan.kotowski at a9development.com> wrote:
>After a solid 16hrs this weekend, I can confirm that the pre-built images do 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 aarch64 image, but that failed to handoff the process properly. Tested with both u-boot and UEFI.
Why would you even try 32-bit?
>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.
What devices does the boot log show? No xhci I guess, how about pci, sdhci?
>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-629865674).
The comment there says silicon rev 2 starts with board rev 1.5, but linux4kix on Twitter said the 1.4 board is rev 2 silicon!
>Unfortunately that's where I ran out of time. I spent most of the time tracing and tweaking SolidRun's build scripts, testing various combinations of firmware builds and boot images, and learning my way through both the u-boot and UEFI implementations.
Please don't waste time on u-boot.
>Barring other simple ideas, my next step is to make buildworld for TARGET=arm64 TARGET_ARCH=aarch64, drop that on an NVMe gumstick, and see if I can get that booted.
You can just dd the memstick to an nvme or sata drive as well.
More information about the freebsd-arm
mailing list