-
Make a shared folder data-jetson on the host computer (only for initial use)
$ mkdir ~/data-jetson
-
Place the AutoBSP dts file in the shared folder dts subfolder
$ cp path/to/AutoBSP/devicetree-jetson.dts ~/data-jetson/dts/
-
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
-
Check the dtb subfolder to see the dtb file
$ ls ~/data-jetson/dtb
-
Check the signed subfolder to see the dtb.encrypt file
$ ls ~/data-jetson/signed
-
Notifications
You must be signed in to change notification settings - Fork 0
kimd98/Docker-Builder
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Automated Linux kernel compiler using Docker and Upverter AutoBSP