Commands for Making Secure Firmware along with bootloader

Prerequisites :

$ sudo apt-get install git

$ sudo apt-get install gitk git-gui


$ git clone https://github.com/Hwurzburg/ardupilot    / / ye wala sbse jyada sahi h


$ cd ardupilot


$ git submodule update -- init --recursive


git clone --recurse-submodules https://github.com/your-github-userid/ardupilot

cd ardupilot


git config --global url."https://".insteadOf git://

Tools/environment_install/install-prereqs-ubuntu.sh -y

. ~/.profile

then LogIn and Log Out  , from main kali Linux to make all changes effective.........


  From here we are starting the real Work


Step 1.) 

git clone https://github.com/ArduPilot/ardupilot.git

                                or 

manually download it, paste it to the location


              1.  create a key-pair for signing       


Step 2.)

$ git checkout -b secure-firmware


Step 3.)

 python3 -m pip install pymonocypher

Tools/scripts/signing/generate_keys.py AYUSH


        2. create a secure Bootloader


Step 4.) 

     $ Tools/scripts/build_bootloaders.py CubeOrange --signing-key=AYUSH_public_key.dat

        // error aa gaya

     Could not find the program ['arm-none-eabi-ar']

(complete log in /home/kalsankrit/Desktop/ArduPilot/ardupilot/build/config.log)  

Comments

Popular posts from this blog

Generating a signed apk from Qt Creator

How make Signed Firmware from official Ardupilot using Cryptography

Drone Jamming & Detecting System :