ArchLinux ARM ARMv8 Generic instruction
You will need two partition on SD card: one for Horizon OS(p1) and another for Linux(p2).
use your favorite partitioning tool to make two partition on card. (you have to set size approprietary)
Format your SD card's first partition with vfat and second one with ext4
Download this GNOME rootfs image [https://0w0.st/gnome__rootfs.tar.bz2]
and untar it using bsdtar -xpf ArchLinuxARM-aarch64-latest.tar.gz -C mountpoint
Use NX-FWExtract to extract Broadcom FW blob from your Switch system image
and copy it into /lib/firmware/brcm
of your sd card Linux rootfs
Run this scripts in order. You may have to handle your platform-specific errors. YMMV.
Run this
sudo ./docker_run.sh
Run this scripts in order. It should be run WITHOUT any errors
./clone.sh
./toolchain.sh
./build.sh
./u-boot-scr.sh
./artifact.sh
Run this
exit
Mount rootfs on SD card and put your modules located in docker-artifact/modules
into /lib/modules/
First, put your switch into RCM mode and run following command
./load-docker.sh
After you boot into Linux on Switch, you should run sudo depmod
to generate module dependency
Run this command
./get_precompiled_blob.sh
This will check signature of tarball and extract artifacts into docker-result
directory
First, put your switch into RCM mode and run following command
./load-docker.sh