Giter Site home page Giter Site logo

zellx3 / cadstar-ti-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from texasinstruments/ti-docker-images

0.0 0.0 0.0 38 KB

CADStar TI Docker image to build sdk

Home Page: https://github.com/TexasInstruments/ti-docker-images/pkgs/container/ubuntu-distro

License: Other

Dockerfile 100.00%

cadstar-ti-docker's Introduction

ti-docker-images

This repository provides a ubuntu 22.04 based docker image with all the packages that are required for Yocto Builds. The docker image can also be used to Install & Build via Top Level Makefile from sources for TI Arm based microprocessors

Pre-Requisites

First you need to install and setup docker. Docker is a software container platform that you need to install on the build host. Depending on your build host, you might have to install different software to support Docker containers. Go to the Docker installation page and read about the platform requirements in Supported Platforms your build host needs to run containers.

If you are unfamiliar with Docker and the container concept, you can learn more here - https://docs.docker.com/get-started/.

Once you have the setup ready, you should be able to launch Docker or the Docker Toolbox and have a terminal shell on your development host.

Steps to Run Yocto Kirkstone based builds inside a Container

1. Pull the Docker Image & Start a Container

# On Host
host# export WORK_DIR=<path-to-your-host-where-you-want-to-start-yocto-build>
host# docker run --privileged -it -v ${WORK_DIR}:/home/tisdk -v /dev:/dev -v /media/:/media/ -w /home/tisdk ghcr.io/texasinstruments/ubuntu-distro:latest
 
# Inside Container Now
tisdk@9b297a000db9~$ 
tisdk@9b297a000db9:~$ pwd
/home/tisdk

๐Ÿ“ If working behind a proxy, ensure to setup the network proxy

2. Start Yocto Kirkstone based build

tisdk@9b297a000db9:~$ pwd
/home/tisdk

# Provide necessary permissions to write in /home/tisdk to user tisdk
tisdk@9b297a000db9:~$ sudo chown -R tisdk /home/tisdk
 
# Clone oe-layersetup
tisdk@9b297a000db9:~$ git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
tisdk@9b297a000db9:~$ cd tisdk
tisdk@9b297a000db9:~$ ./oe-layertool-setup.sh -f configs/processor-sdk/<oe-config-file>
tisdk@9b297a000db9:~$ cd build  
tisdk@9b297a000db9:~$ . conf/setenv
 
# To build <target> image
tisdk@9b297a000db9:~$ MACHINE=<machine> bitbake -k <target>

# To build tisdk-default-image image for AM62x
tisdk@9b297a000db9:~$ MACHINE=am62xx-evm bitbake -k tisdk-default-image

Refer Build Options under Processor SDK Build Reference for machine & target options.

Your target wic image will be generated in deploy-ti directory. Refer Create SD Card to flash this image on the SD-Card.

Steps to Run SDK Installer inside Container

Under PROCESSOR-SDK-LINUX, TI provides Linux Installer for sources, pre-built binaries and file system images generated using Yocto build environment (Eg : PROCESSOR-SDK-LINUX-AM62X)

1. Pull the Docker Image & Start a Container

# On Host
host# export WORK_DIR=<path-on-your-host-where-you-want-install-the-installer>
host# docker run --privileged -it -v ${WORK_DIR}:/home/tisdk -v /dev:/dev -v /media/:/media/ -w /home/tisdk ghcr.io/texasinstruments/ubuntu-distro:latest
 
# Inside Container Now
tisdk@9b297a000db9~$ 
tisdk@9b297a000db9:~$ pwd
/home/tisdk

๐Ÿ“ If working behind a proxy, ensure to setup the network proxy

2. Download & Install the SDK Installer

tisdk@9b297a000db9:~$ pwd
/home/tisdk

# Provide necessary permissions to write in /home/tisdk to user tisdk
tisdk@9b297a000db9:~$ sudo chown -R tisdk /home/tisdk

# Download & Install SDK Installer 
tisdk@9b297a000db9:~$ wget <link-to-sdk-installer-from-ti.com>
tisdk@9b297a000db9:~$ chmod +x ti-processor-sdk-linux-<machine>-<version>-Linux-x86-Install.bin
tisdk@9b297a000db9:~$ ./ti-processor-sdk-linux-<machine>-<version>-Linux-x86-Install.bin --prefix . --mode unattended 
 
# Eg: To Download & Install AM62x 9.1 SDK Installer 
tisdk@9b297a000db9:~$ wget https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-PvdSyIiioq/09.01.00.08/ti-processor-sdk-linux-am62xx-evm-09.01.00.08-Linux-x86-Install.bin
tisdk@9b297a000db9:~$ chmod +x ti-processor-sdk-linux-am62xx-evm-09.01.00.08-Linux-x86-Install.bin
tisdk@9b297a000db9:~$ ./ti-processor-sdk-linux-am62xx-evm-09.01.00.08-Linux-x86-Install.bin --prefix . --mode unattended 

After the installation is complete, you can now tryout various SDK features such as,

cadstar-ti-docker's People

Contributors

cshilwant avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.