A yocto EC2 Python project
Project description
# YOCTO EC2
A project with some tools that may help embedded linux developers build linux image with Yocto on EC2.
The idea we may select a very cool EC2 with 16 cores and 32 GB RAM, this cost us ~$0.4 an hour for a build. We only run the EC2 once we start building the linux image and stop this once we are done. So, the EC2 does not cost us more than $30-$40 a month. it’s cheaper than you invest super desktop to build the code, plus utility bill and cooler as well.
### THE CURRENT VERSION IS ONLY SUPPORT NXP iMX SOURCE CODE
## Setup
Create EC2 instance:
Type: c5.4xlarge and ESB 120GB
OS: Ubuntu Server 18.04
Note: Use ubuntu user for everything.
Add your ssh public key to the EC2
- Copy your public key
`bash ssh-keygen cat ~/.ssh/id_rsa.pub | pbcopy `
- Paste the key to EC2
`bash vim .ssh/authorized_keys `
## Clone source code and initialize build environment
Clone your code to your EC2
#### For current version, I suggest you to initialize build environment and accept EULA by manual.
## Yocto build
Start EC2, build, copy image and Stop EC2
yocto-ec2 build –instance-id=<instance-id> –project-root=<project-path> –DISTRO=<distro> –MACHINE=<machine> –IMAGE=<image>
`bash pip install yocto-ec2 yocto-ec2 build --instance-id=i-12345678 --project-root=/home/ubuntu/Workspace/iMX6ULEVK/ --DISTRO=fsl-imx-fb --MACHINE=imx6ulevk --IMAGE=core-image-base `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for yoctoEC2-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c9c00762870f54a935236820e591d5618e7efb6de928f45be6ce52d8b0bf71 |
|
MD5 | 576666ace15f66219deea3dcb257bf1f |
|
BLAKE2b-256 | 14d8148ece76c2df82f45c5f1ec482ff114cf6a0362dccce342332a86d51acbc |