40_Build for embedded systems - normalform/freebsd_setup GitHub Wiki

Raspberry PI-3 64bit

#cd /usr/src/release
#sudo time -l sh release.sh -c arm64/RPI3.conf

Stages

Build world

  • world build started
  • Rebuilding the temporary build tree
  • stage 1.1: legacy release compatibility shims
  • stage 1.2: bootstrap tools
  • stage 2.1: cleaning up the object tree
  • stage 2.2: rebuilding the object tree
  • stage 2.3: build tools
  • stage 3: cross tools
  • stage 3.1: recording compiler metadata
  • stage 4.1: building includes
  • stage 4.2: building libraries
  • stage 4.3: building everything
  • stage 5.1: building lib32 shim libraries
  • World build completed

Build kernel

  • Kernel build for GENERIC started
  • stage 1: configuring the kernel
  • stage 2.1: cleaning up the object tree
  • stage 2.2: rebuilding the object tree
  • stage 2.3: build tools
  • stage 3.1: building everything
  • Kernel build for GENERIC completed

Install kernel

  • Installing kernel GENERIC
  • kldxref /boot/kernel