Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (39 loc) · 1.56 KB

Building.md

File metadata and controls

49 lines (39 loc) · 1.56 KB

Building

Step 1:

First of you need the sourcecode to compile a UEFI Image.
Clone the Repo by using:

git clone https://github.com/Robotix22/Mu-Tegra.git --recursive
cd Mu-Tegra

Step 2:

After Cloning the repo we can now continue on Setting up the Environment.
First we need to install the needed Packages:

./setup_env.sh -p <Package Manager> [-v]

Step 3:

So now we are able to begin the real UEFI build:

./build_uefi.sh -d <Codename> [-r <Build Mode>]

When then Build is done you will find a .bin File in the root of the repo.

Troubleshooting:

Python Requirements:

  1. You may encounter an issue That the recuired package is not satisfied or something, If your Python Version is lower than 3.10 install Python 3.10 or newer
  2. After installing Python 3.10 Linux won't automaticly chose Python 3.10 as default, To set it as default use these commands:
    sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
    sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
    
  3. Now check the Python Version:
    python3 --version
    
    You should get this output:
    Python 3.10.*
    

Git Unknown Switch

  1. If you have an old Version of git you may come across this Issue, So you need to install the latest version of git.
  2. I prefer using apt to update git but if it tells you it is already newest version you should follow this Guide