From ccebfd376dfe694bce537630a347628257a7ee45 Mon Sep 17 00:00:00 2001 From: Penguin Date: Sun, 26 Nov 2023 10:58:33 -0600 Subject: [PATCH] fix link --- README.md | 58 +++++++++++++++++++++++++++--------------------------- README.org | 2 +- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index cd027a7..eb906b9 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,31 @@ # Table of Contents -1. [Preface](#org9d68638) -2. [Prerequisites](#org3b929ef) - 1. [Using the riscv toolchain provided via crossdev](#orgf423559) - 2. [Using a precompiled toolchain](#org92cf0ed) -3. [Clone & Build Heart Software Services (HSS)](#org2e48d5e) - 1. [Clone HSS](#org853aecd) - 2. [Build HSS](#org621df6b) -4. [Clone & Build u-boot](#orgaff2e88) - 1. [Clone u-boot](#org558a985) - 2. [Download the patches](#org0dafb7b) - 3. [Build u-boot](#org9691c19) -5. [Build the Linux kernel](#org2cc1254) -6. [Generate the HSS payload](#org22c36ce) -7. [Gentoo](#org3f1a215) +1. [Preface](#org1e835ab) +2. [Prerequisites](#org906530a) + 1. [Using the riscv toolchain provided via crossdev](#org81f210c) + 2. [Using a precompiled toolchain](#orgcee506a) +3. [Clone & Build Heart Software Services (HSS)](#orgcf597f6) + 1. [Clone HSS](#org457b83e) + 2. [Build HSS](#org3e3a28d) +4. [Clone & Build u-boot](#orgf0e36bd) + 1. [Clone u-boot](#org8956801) + 2. [Download the patches](#org93d8740) + 3. [Build u-boot](#org6208aac) +5. [Build the Linux kernel](#org9277169) +6. [Generate the HSS payload](#org48e5afc) +7. [Gentoo](#orgdc16ac3) - + # Preface This guide is written in a way that forces the reader to manually perform every step, excluding environment variables via the setup script because I want to be able to change those. If you would like to follow the official guide provided by beagleboard, which is far more streamlined and automated, please see the references at the bottom of this document. - + # Prerequisites @@ -35,17 +35,17 @@ This guide is written in a way that forces the reader to manually perform every mkdir deploy - + ## Using the riscv toolchain provided via crossdev -Crossdev is required for this step. If you don’t have crossdev set up, use [this](https:https://wiki.gentoo.org/wiki/Crossdev) guide to install it. At the time of writing this installs riscv64-unknown-linux-gnu-gcc 13.2.1. This is note worthy because the official guide uses 11.4. If there are issues with this toolchain, use the precompiled toolchain via [these steps](#org92cf0ed). +Crossdev is required for this step. If you don’t have crossdev set up, use [this](https://wiki.gentoo.org/wiki/Crossdev) guide to install it. At the time of writing this installs riscv64-unknown-linux-gnu-gcc 13.2.1. This is note worthy because the official guide uses 11.4. If there are issues with this toolchain, use the precompiled toolchain via [these steps](#orgcee506a). crossdev -t riscv64-unknown-linux-gnu export RISCV64_CC="riscv64-unknown-linux-gnu-" - + ## Using a precompiled toolchain @@ -69,12 +69,12 @@ Export some other misc. environment variables: export CORES=$(getconf _NPROCESSORS_ONLN) - + # Clone & Build Heart Software Services (HSS) - + ## Clone HSS @@ -85,7 +85,7 @@ Export some other misc. environment variables: git clone -b ${HSS_BRANCH} ${HSS_REPO} ./hart-software-services/ --depth=${GIT_DEPTH} - + ## Build HSS @@ -94,12 +94,12 @@ Export some other misc. environment variables: cp -v ./hart-software-services/tools/hss-payload-generator/hss-payload-generator ./deploy/ - + # Clone & Build u-boot - + ## Clone u-boot @@ -110,7 +110,7 @@ Export some other misc. environment variables: git clone -b ${UBOOT_BRANCH} ${UBOOT_REPO} ./u-boot/ --depth=${GIT_DEPTH} - + ## Download the patches @@ -119,7 +119,7 @@ The patches currently exist as part of BeagleV’s `BeagleV-Fire-ubuntu` rep git clone https://git.beagleboard.org/beaglev-fire/BeagleV-Fire-ubuntu.git ./beaglev --depth=${GIT_DEPTH} - + ## WIP Build u-boot @@ -141,17 +141,17 @@ The patches currently exist as part of BeagleV’s `BeagleV-Fire-ubuntu` rep cp -v ./u-boot/u-boot.bin ./deploy/src.bin - + # TODO Build the Linux kernel - + # TODO Generate the HSS payload - + # TODO Gentoo diff --git a/README.org b/README.org index fc78d81..835ec99 100644 --- a/README.org +++ b/README.org @@ -14,7 +14,7 @@ mkdir deploy ** Using the riscv toolchain provided via crossdev -Crossdev is required for this step. If you don't have crossdev set up, use [[https:https://wiki.gentoo.org/wiki/Crossdev][this]] guide to install it. At the time of writing this installs riscv64-unknown-linux-gnu-gcc 13.2.1. This is note worthy because the official guide uses 11.4. If there are issues with this toolchain, use the precompiled toolchain via [[*Using a precompiled toolchain][these steps]]. +Crossdev is required for this step. If you don't have crossdev set up, use [[https://wiki.gentoo.org/wiki/Crossdev][this]] guide to install it. At the time of writing this installs riscv64-unknown-linux-gnu-gcc 13.2.1. This is note worthy because the official guide uses 11.4. If there are issues with this toolchain, use the precompiled toolchain via [[*Using a precompiled toolchain][these steps]]. #+begin_src bash crossdev -t riscv64-unknown-linux-gnu