Date: Sat, 6 Jun 2020 20:41:20 +0200 From: =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com> To: Robert Crowston <crowston@protonmail.com>, freebsd-arm@freebsd.org Subject: Re: Report: FreeBSD on Rpi4 8 GB model Message-ID: <BCA87371-9EDC-40AB-B28A-382894BD8A6B@googlemail.com> In-Reply-To: <kb9ZDoXeXjZQGaI_pHItcwGDLz9nl5FzAe-_mxkI1N9MAFSkDpvFbwt-JUy-YmoOg-3C9bFyiNYgUoGvAnJZvsxbbGVHP4ZlUC84EgCd6A0=@protonmail.com> References: <kb9ZDoXeXjZQGaI_pHItcwGDLz9nl5FzAe-_mxkI1N9MAFSkDpvFbwt-JUy-YmoOg-3C9bFyiNYgUoGvAnJZvsxbbGVHP4ZlUC84EgCd6A0=@protonmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Robert, can I or can you transfer your information into the wiki? My 8GB model was not bootable under UEFI. I didn't know that u-boot had a current patch. Could you provide a u-boot binary and/or your modified armstub8-gic.bin = for the wiki? I could upload that to a server and make it available for download . Do you know whether sysutils/u-boot.xx- port(not pkg) could be targeted = to 2020.07=20 to fix any issue with u-boot? Afaik u-boot 2020.07 has new patches for genet and pcie(!)=E2=80=A6 do = you know details about that? > Am 06.06.2020 um 20:15 schrieb Robert Crowston via freebsd-arm = <freebsd-arm@freebsd.org>: >=20 > What works: > - FreeBSD SMP (see below) > - All 8 GB of memory (less video RAM). >=20 > What does not work on the 8 GB model (but does work on the 4 GB = model): > - xhci (with my driver, there has been a change in the way the = firmware is loaded) > - ethernet (genet0 is detected fine, appears to be up, but no packets = go over the interface) > - JTAG debugging (urgh) >=20 > dmesg: https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5534 >=20 > You will need the latest u-boot. The one in pkg doesn't work. I = compiled from head: https://github.com/u-boot/u-boot.git >=20 > For SMP, you need also need to tell u-boot not to clobber over our = processor start up function set up by armstub8-gic.bin. >=20 > Edit board/raspberrypi/rpi/Kconfig, set RPI_EFI_NR_SPIN_PAGES to a = larger number (I picked 10, probably too big, but it was easier than = doing the arithmetic). >=20 > $ CROSS_COMPILE=3Daarch64-none-elf- gmake rpi_4_defconfig > $ CROSS_COMPILE=3Daarch64-none-elf- gmake >=20 > Overwrite the u-boot.bin file on your sdcard with the one just built. >=20 > You will also need the latest versions of the pi4 firmware files on = your MSDOS partition, bcm2711-rpi-4-b.dtb, fixup4.dat, start4.elf, and = the overlays/ directory. >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCA87371-9EDC-40AB-B28A-382894BD8A6B>