From a6f025906b75f8f527eef01d426048fe900540b9 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 15 Apr 2022 16:40:27 -0700 Subject: New Mac Toolchain Instructions --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5fe9794..4b65d28 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Jobbed ## Build Information + + - Cross Compiler: GCC ARM Cross Compiler arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]. + ### Building (Debian, WSL) - Clone the repository. - Ensure you have the `gcc-arm-none-eabi` cross compiler installed `# apt install gcc-arm-none-eabi`. @@ -9,22 +12,16 @@ - On WSL you may also need to run `# apt install build-essential git` to get `make` and `git` - For faster building, it is recommended to run `make clean;make -f Unix.mk -j4`, where 4 can be adjusted to the amount of parallel jobs that the system can perform -### Building MacOS with Cross Compiler from Homebrew - - Clone the repository - - Ensure you have the `gcc-arm-embedded` formulae installed `$ brew install gcc-arm-embedded`. - - From the root of the directory, i.e. in `Jobbed`, execute `make -f Unix.mk` - - The built image is found in `build/kernel7.img` and can be copied to the root of the Raspberry Pi SD card's first parition - -### Building MacOS with Cross Compiler from ARM's website +### Building on MacOS - Clone the repository - - Ensure you have the `gcc-arm-embedded` installed from the website, 10-3 2021 July - - From the root of the directory, i.e. in `Jobbed`, execute `make -f Mac.mk` + - From the root of the directory, i.e. in `Jobbed`, execute `make -f Mac.mk init` to install the toolchain + - Then execute `make -f Mac.mk` to build the Raspberry Pi Image - The built image is found in `build/kernel7.img` and can be copied to the root of the Raspberry Pi SD card's first parition ### Building (Google Colab) - `!git clone https://github.com/TerminalCursor/Jobbed.git` - - `!apt install gcc-arm-none-eabi` - - `!cd Jobbed; make -f Unix.mk` + - `!cd Jobbed; make -f Colab.mk init` + - `!cd Jobbed; make -f Colab.mk` - The built image is found in `Jobbed/build/kernel7.img` and can be copied to the root of the Raspberry Pi SD card's first parition - Currently, it appears that the Ubuntu Distribution's cross compiler is not properly assembling the binaries. This issue is being looked into -- cgit v1.2.1