Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.93 KB

README.md

File metadata and controls

73 lines (52 loc) · 1.93 KB

libretech-buildroot

buildroot optimized for Libre Computer boards with composible components and design practices.

This branch should always be rebase-able on buildroot master. It is not designed as a fork.

All components are organized into composible profiles by arch, board, image layout, and overlay.

Hosted standardized bootloader binaries are produced by libretech-builder-simple.

defconfigs can be considered the functional end of a composition of profiles.

Also see the original buildroot README.

configs

defconfigs are organized into a tree structure based on board under configs.

  • configs
    • librecomputer
      • aml-s905x-cc
        • efi-btrfs_defconfig
make librecomputer/aml-s905x-cc/efi-btrfs_defconfig
make

board

board files are organized into a tree structure based on architecture, board, image generation, composible overlays

  • board
    • librecomputer
      • aml
        • gxl
          • overlay
          • s905x
            • overlay
      • aml-s905x-cc
        • overlay
        • genimage
      • genimage
        • initramfs
          • genimage.cfg
          • genimage.sh
        • efi-btrfs
          • boot.cmd
          • boot.ini
          • genimage.cfg
          • genimage.sh
      • overlay
        • debugfs
        • stress-ng-cpu
      • project

genimage

the genimage directories under board/librecomputer holds image layout profiles to support functions

  • initramfs - basic initramfs system in efi-vfat booted via efi
  • efi-btrfs - basic system with kernel in efi-vfat and rootfs in btrfs booted via efi

overlay

the overlay directories under board/librecomputer holds overlays profiles to support functions

  • debugfs - adds debugfs automount to the image via init script
  • stress-ng-cpu - adds stress-ng cpu stressor to the image via init script

project

the project directory is recommended for storing external submodules or repos for referencing