Update Firmware Setup authored by jtkenny's avatar jtkenny
...@@ -24,7 +24,7 @@ The U-Boot program will need to be cross-compiled for the ARM arch from a Ubuntu ...@@ -24,7 +24,7 @@ The U-Boot program will need to be cross-compiled for the ARM arch from a Ubuntu
$ tar -xJf <toolchain binary> -C <destination directory> $ tar -xJf <toolchain binary> -C <destination directory>
``` ```
- Linux(x86_64) Example: `tar -xJf gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz -C /path/to/destination/directory` - Linux(x86_64) Example: `tar -xJf gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz -C /path/to/destination/directory`
3. Confirm the installation using checksum 3. Confirm the installation using checksum (optional)
``` ```
$ md5sum --check gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz.asc gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz: $ md5sum --check gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz.asc gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz:
``` ```
...@@ -32,7 +32,7 @@ $ md5sum --check gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz.asc gcc-arm ...@@ -32,7 +32,7 @@ $ md5sum --check gcc-arm-9.2-2019.12-x86_64-aarch64-linux-gnu.tar.xz.asc gcc-arm
``` ```
$ mkdir install-lnx $ mkdir install-lnx
$ tar x -C install-lnx -f <filename>.tar.xz $ tar x -C install-lnx -f <filename>.tar.xz
$ PATH=`pwd`/install-lnx/aarch64/bin:$PATH $ PATH=`pwd`/install-lnx/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin:$PATH
``` ```
- Unless a setup script is created or an edit is made in your `.bashrc` you will need to add the cross-compiler back to your `$PATH` on every OS boot - Unless a setup script is created or an edit is made in your `.bashrc` you will need to add the cross-compiler back to your `$PATH` on every OS boot
... ...
......