Skip to content

Scripts

bell07 edited this page Feb 12, 2020 · 3 revisions

Buildscripts

build_coreboot.sh (Outdated)

Cross-compile the coreboot.rom. The script is outdated and incomplete. Since the dependency to the Atmosphere devlopment toolchain required, I given the script up. Use the coreboot.rom provided by @GavinDarkglider instead, stored in "distfiles" folder.

build_release.sh

Use latest arm64 gentoo stage3 and reinstall all packages using this binhost. Store Release files to the out/ folder

  • Download stage3 from http://distfiles.gentoo.org/experimental/arm64/
  • Unpack stage3 to out/release folder
  • Enable overlays using app-portage/nintendo-switch-overlay package
  • Configure Portage to switch_binhost:nintendo_switch_binhost/17.0_desktop_base profile from switch_binhost_overlay
  • Rebuild toolchain, then rebuild the whole system including software preselection in app-portage/nintendo-switch-release-meta ebuild. The binary packages are used to rebuild the system. No recompiling, just replace the generic packages from stage3 by the precompiled binhost packages.
  • Configure the system using do_release_setup.sh script
  • Create release packages using /update_release.sh noupdate

do_release_setup.sh

update_buildhost.sh

update_release.sh

distfiles

overlays

switch_overlay

switch_binhost_overlay

tools

system_chroot

check-binhost-stamps.sh

check-overlay-profile.sh

version-junkie-update.sh

copy_kernel_to_switch.sh

qemu-chroot.sh