/crossdev-stages

Build Gentoo stages leveraging crossdev

Primary LanguageShellGNU General Public License v2.0GPL-2.0

crossdev-stages

Build Gentoo stages leveraging crossdev

Status

  • Build and assemble packages to a stage1 catalyst can leverage
  • Update a compatible stage3 image
  • Build opensbi + u-boot images and linux kernel + modules
  • Assemble bootable images

Platforms

  • riscv64 (OrangePi RV2)

Dependencies

# Needed to build all the stages
emerge crossdev merge-usr git
# Needed to build the bootloader and kernel
emerge u-boot-tools dtc dracut busybox
# Needed to investigate the image
emerge bubblewrap
# Needed to assemble the whole image
emerge genimage xz-utils

For the newcomers

crossdev requires a minimum amount of setup:

emerge app-eselect/eselect-repository
eselect repository create crossdev

Limitations

  • Some packages are cross-compilation unfriendly and rely on runtime checks (e.g. git iconv checks)