{ "info": { "author": "Thanh Truong", "author_email": "thanh.truong@smisy.io", "bugtrack_url": null, "classifiers": [], "description": "# YOCTO EC2\n\nA project with some tools that may help embedded linux developers build linux image with Yocto on EC2.\n\nThe 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.\n\n![](https://lh3.googleusercontent.com/m-zRp4JaYeeZuNh1SOQhn8lvYHwt8VTb5TuDTUmC1A1dPxHnTBC9d7o_8gfsr0cv_VwhVdj3csTdpSXRe9ja8LTczSNzR_7P7sukSwHGPHOMmB1UWQUfd7g-RocsxsUWQTJRU_q7tKU=w482-h766-no)\n\n### THE CURRENT VERSION IS ONLY SUPPORT NXP iMX SOURCE CODE\n\n## Setup AWS\n\n1. Create EC2 instance:\n\n - Type: c5.4xlarge and ESB 120GB\n - OS: Ubuntu Server 18.04\n\n Note: Use ubuntu user for everything.\n\n2. Add your ssh public key to the EC2\n\n - Copy your public key\n ```bash\n ssh-keygen\n cat ~/.ssh/id_rsa.pub | pbcopy\n ```\n - Paste the key to EC2\n ```bash\n vim .ssh/authorized_keys\n ```\n\n## Clone source code and initialize build environment\n\nClone your code to your EC2\n\n## Installation\n\n```bash\npip install yoctoEC2\n```\n\n#### For current version, I suggest you to initialize build environment and accept EULA by manual.\n\n## Yocto build\n\nYou may want to modify build script `build.sh` with your project parameters.\n\nStart EC2, build, copy image and Stop EC2\n\n`yocto-ec2 build --instance-id= --project-root= --DISTRO= --MACHINE= --IMAGE=`\n\n\n```bash\nyocto-ec2 build --instance-id=i-12345678 --project-root=/home/ubuntu/Workspace/iMX6ULEVK/ --script-path=./build.sh --sdcard-image=/home/ubuntu/Workspace/iMX6ULEVK/build/tmp/deploy/images/imx6ulevk/core-image-base-imx6ulevk.sdcard.bz2\n```\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ttruongatl/yocto-ec2-utils", "keywords": "yoctoEC2 build tools development", "license": "", "maintainer": "", "maintainer_email": "", "name": "yoctoEC2", "package_url": "https://pypi.org/project/yoctoEC2/", "platform": "", "project_url": "https://pypi.org/project/yoctoEC2/", "project_urls": { "Bug Reports": "https://github.com/ttruongatl/yocto-ec2-utils/issues", "Homepage": "https://github.com/ttruongatl/yocto-ec2-utils", "Source": "https://github.com/ttruongatl/yocto-ec2-utils/" }, "release_url": "https://pypi.org/project/yoctoEC2/0.2.1/", "requires_dist": [ "Click (~=7.0)", "fabric (~=2.4.0)", "boto3 (~=1.9.188)" ], "requires_python": "", "summary": "A yocto EC2 Python project", "version": "0.2.1" }, "last_serial": 5541433, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "576666ace15f66219deea3dcb257bf1f", "sha256": "69c9c00762870f54a935236820e591d5618e7efb6de928f45be6ce52d8b0bf71" }, "downloads": -1, "filename": "yoctoEC2-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "576666ace15f66219deea3dcb257bf1f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3868, "upload_time": "2019-07-16T01:18:14", "url": "https://files.pythonhosted.org/packages/14/d8/148ece76c2df82f45c5f1ec482ff114cf6a0362dccce342332a86d51acbc/yoctoEC2-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d57fa46b5706006e2fd3ca2a68b15a7d", "sha256": "dcda6eea210979c2b26da4dc08e0d408cf707edc65285f9412746ba3c1d495f4" }, "downloads": -1, "filename": "yoctoEC2-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d57fa46b5706006e2fd3ca2a68b15a7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3458, "upload_time": "2019-07-16T01:18:16", "url": "https://files.pythonhosted.org/packages/0c/c7/03151477851fb78c5115c5e54a77f3c63cf67cd5aaaf16e5f5e6870bfdc5/yoctoEC2-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "138e16aecb874ee6feff9c9efc185497", "sha256": "739e57d6b2927e5e32c3f89463b84482fdb7aed03aebbcc0cfd3c94377767ae2" }, "downloads": -1, "filename": "yoctoEC2-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "138e16aecb874ee6feff9c9efc185497", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4071, "upload_time": "2019-07-16T15:34:09", "url": "https://files.pythonhosted.org/packages/4b/3b/a4d9bdf64448196d3468be2e8af576b10ec855d6ba6dc43f08288561ad2e/yoctoEC2-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a097d4dfcd3f4fe4bbd0ea49e344727e", "sha256": "c08982933cf391c2f1ab95655926086d41db6548f23d5bb84cf5a19f630020dc" }, "downloads": -1, "filename": "yoctoEC2-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a097d4dfcd3f4fe4bbd0ea49e344727e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3740, "upload_time": "2019-07-16T15:34:11", "url": "https://files.pythonhosted.org/packages/5e/59/b3a83c70dfe8dc414f4dd422344ec3129f19d17351a227aa5b75878e70af/yoctoEC2-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d586074cfb81ddca73976188554c2784", "sha256": "ae93bc2b0ca82e41fd56f047ceb8b8fbe1e05e747879c6975a19bed6923e29ef" }, "downloads": -1, "filename": "yoctoEC2-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d586074cfb81ddca73976188554c2784", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4117, "upload_time": "2019-07-16T16:07:29", "url": "https://files.pythonhosted.org/packages/b6/4a/1ed1d0bdd0f3ce44a6d183120cedc75d6034afd584d5d053b8581a742ce5/yoctoEC2-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "35f52d6a147832cc4a9887fee1d2ce48", "sha256": "70efb7ace769812bcfd7901e22d1311029bb5dd7eb920b579803112e4ccec780" }, "downloads": -1, "filename": "yoctoEC2-0.2.1.tar.gz", "has_sig": false, "md5_digest": "35f52d6a147832cc4a9887fee1d2ce48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3760, "upload_time": "2019-07-16T16:07:30", "url": "https://files.pythonhosted.org/packages/53/96/66b2e2d499211951cd607ba4457748180b114c04eb2672596690369a9963/yoctoEC2-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d586074cfb81ddca73976188554c2784", "sha256": "ae93bc2b0ca82e41fd56f047ceb8b8fbe1e05e747879c6975a19bed6923e29ef" }, "downloads": -1, "filename": "yoctoEC2-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d586074cfb81ddca73976188554c2784", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4117, "upload_time": "2019-07-16T16:07:29", "url": "https://files.pythonhosted.org/packages/b6/4a/1ed1d0bdd0f3ce44a6d183120cedc75d6034afd584d5d053b8581a742ce5/yoctoEC2-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "35f52d6a147832cc4a9887fee1d2ce48", "sha256": "70efb7ace769812bcfd7901e22d1311029bb5dd7eb920b579803112e4ccec780" }, "downloads": -1, "filename": "yoctoEC2-0.2.1.tar.gz", "has_sig": false, "md5_digest": "35f52d6a147832cc4a9887fee1d2ce48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3760, "upload_time": "2019-07-16T16:07:30", "url": "https://files.pythonhosted.org/packages/53/96/66b2e2d499211951cd607ba4457748180b114c04eb2672596690369a9963/yoctoEC2-0.2.1.tar.gz" } ] }