Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2016 12:55:53 -0800
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        freebsd-arm@freebsd.org
Subject:   SMP support for Raspberry Pi 3
Message-ID:  <69A40241-CD89-4AFA-BA35-32EEB2663FDE@bluezbox.com>

next in thread | raw e-mail | index | archive | help
Hello,

SMP support for Raspberry Pi 3 is in usable state now. I didn=E2=80=99t =
run
any load tests, only checked that all four cores are started on boot.

Short instruction:

- Build GENERIC arm64 kernel for your image, not GENERIC-UP
- Copy https://people.freebsd.org/~gonzo/arm/rpi3-smp/u-boot.bin and
    https://people.freebsd.org/~gonzo/arm/rpi3-smp/armstub8.bin to FAT
    partition on SD card.
- Edit config.txt: change value of device_tree_address parameter:
    device_tree_address=3D0x4000
- Reboot device. It should boot with all four cores enabled and reboot
    should work too.

More detailed description of what all these binaries/changes contain
is in these two posts:

https://kernelnomicon.org/?p=3D714
https://kernelnomicon.org/?p=3D718

Please note that FreeBSD/arm64 has been broken by clang 3.9.0 import
and you will have to update aarch64-binutils to the 2.27_5 to get
it booting. Details: https://reviews.freebsd.org/D8622

--=20
gonzo





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69A40241-CD89-4AFA-BA35-32EEB2663FDE>