Skip to content

Automated Linux kernel compiler using Docker and Upverter AutoBSP

Notifications You must be signed in to change notification settings

kimd98/Docker-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

  1. Make a shared folder data-jetson on the host computer (only for initial use)

    $ mkdir ~/data-jetson
    
  2. Place the AutoBSP dts file in the shared folder dts subfolder

    $ cp path/to/AutoBSP/devicetree-jetson.dts ~/data-jetson/dts/
    
  3. Build a docker container (Please remember to replace VERSION with the correct board name)

    [option 1] Get a docker image from DockerHub

    $ docker run  -it --rm -v ~/data-jetson:/data -e VERSION=<board> 'gumstix2021lena/docker-builder:jetson 
    

    [option 2] Build locally

    $ git clone -b jetson_nano https://github.com/kimd98/Docker-Builder.git
    $ cd Docker-Builder
    $ docker build -t docker-builder:jetson .
    $ docker run  -it --rm -v ~/data-jetson:/data -e VERSION=<board> docker-builder:jetson
    
    • VERSION: 'tx2', 'xavier_nx' or 'nano'
    • For Jetson TX2 : docker run -it --rm -v ~/data-jetson:/data -e VERSION='tx2' docker-builder:jetson
    • For Jetson Xavier NX: docker run -it --rm -v ~/data-jetson:/data -e VERSION='xavier_nx' docker-builder:jetson
    • For Jetson Nano: docker run -it --rm -v ~/data-jetson:/data -e VERSION='nano' docker-builder:jetson
    • To open an interactive shell, add bin/bash to the end of the run command
  4. Check the dtb subfolder to see the dtb file

    $ ls ~/data-jetson/dtb
    
  5. Check the signed subfolder to see the dtb.encrypt file

    $ ls ~/data-jetson/signed