Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2020 01:27:43 +0000
From:      Robert Crowston <crowston@protonmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Report: FreeBSD on Rpi4 8 GB model
Message-ID:  <ebiaNlJHm1Wl5_g1vU81rplEo6ymbEdhN0s39EsIgyiJSwOx1sJoXrLVFYMt1uz63lZv4Il0Kv2NhfgJRCKjqUD1dNd5Cc60VrvWsQPVI0M=@protonmail.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
Fixed the JTAG. Turns out the RTCK signal is now apparently required, despi=
te ARM emphatically declaring it isn't. It's not documented anywhere but on=
 the FTDI FT232H it's the blue wire (labelled "GPIOL3" on the circuit diagr=
am), goes to pin 16 on the board.

=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, 6 June 2020 19:15, Robert Crowston via freebsd-arm <freebsd-ar=
m@freebsd.org> wrote:

> What works:
>
> -   FreeBSD SMP (see below)
> -   All 8 GB of memory (less video RAM).
>
>     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 g=
o over the interface)
> -   JTAG debugging (urgh)
>
>     dmesg: https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5534
>
>     You will need the latest u-boot. The one in pkg doesn't work. I compi=
led from head: https://github.com/u-boot/u-boot.git
>
>     For SMP, you need also need to tell u-boot not to clobber over our pr=
ocessor start up function set up by armstub8-gic.bin.
>
>     Edit board/raspberrypi/rpi/Kconfig, set RPI_EFI_NR_SPIN_PAGES to a la=
rger number (I picked 10, probably too big, but it was easier than doing th=
e arithmetic).
>
>     $ CROSS_COMPILE=3Daarch64-none-elf- gmake rpi_4_defconfig
>     $ CROSS_COMPILE=3Daarch64-none-elf- gmake
>
>     Overwrite the u-boot.bin file on your sdcard with the one just built.
>
>     You will also need the latest versions of the pi4 firmware files on y=
our MSDOS partition, bcm2711-rpi-4-b.dtb, fixup4.dat, start4.elf, and the o=
verlays/ directory.
>
>
> 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?ebiaNlJHm1Wl5_g1vU81rplEo6ymbEdhN0s39EsIgyiJSwOx1sJoXrLVFYMt1uz63lZv4Il0Kv2NhfgJRCKjqUD1dNd5Cc60VrvWsQPVI0M=>