Index: README.md =================================================================== diff -u -r4bd6efc7c22e186a20e86b49f4806c418949c937 -r78390814305d396afd3dcc456b14eeb21f68a7b9 --- README.md (.../README.md) (revision 4bd6efc7c22e186a20e86b49f4806c418949c937) +++ README.md (.../README.md) (revision 78390814305d396afd3dcc456b14eeb21f68a7b9) @@ -1,59 +1,115 @@ -Digi Embedded Yocto (DEY) manifest -================================== +Diality's Embedded Leahi Yocto (ELY) distribution manifest +========================================================== +This manifest is based on the Digi Embedded Yocto (DEY) manifest +[Digi's Embedded modules](https://www.digi.com/products/embedded-systems). -This repository contains the manifest files for the Digi Embedded Yocto -distribution for [Digi's Embedded modules](https://www.digi.com/products/embedded-systems). +This repository contains the manifest file tailored for Diality's Embedded Leahi Yocto (ELY) distribution. -Installing Digi Embedded Yocto ------------------------------- +Installing Diality's Embedded Leahi Yocto (ELY) +----------------------------------------------- -To download Digi Embedded Yocto, you need the repo tool. +1. Login to the Diality's build server. +``` +ssh bruce@192.168.10.161 +``` +and enter password to login. -Follow these steps to install Digi Embedded Yocto: +2. Download repo to a directory within your path and add execution permissions. -1. Download repo to a directory within your path and add execution permissions. - ``` $ sudo curl -o /usr/local/bin/repo http://commondatastorage.googleapis.com/git-repo-downloads/repo $ sudo chmod a+x /usr/local/bin/repo ``` -2. Create an installation folder with user write permissions; for example, /usr/local/dey-4.0. Navigate to that folder: +3. Create an installation folder and navigate to that folder: +``` +mkdir ~/leahi-distro +cd ~/leahi-distro +``` +4. Use repo to download ELY. ``` -$ sudo install -o -g -d /usr/local/dey-4.0 -$ cd /usr/local/dey-4.0 +repo init -u git@bitbucket.org:diality-cloud/leahi-distro-manifest.git +repo sync -j8 --no-repo-verify ``` -Note: You can get your primary user and group using the id command. +**For More information** see [Digi Embedded Yocto](https://github.com/digi-embedded/meta-digi). -3. Use repo to download Digi Embedded Yocto. +Setup Diality's Embedded Leahi Yocto (ELY) +------------------------------------------ +1. Create ELY project +``` +cd ~/leahi-distro/ +mkdir ccimx8mm +cd ccimx8mm +source ../mkproject.sh -p ccimx8mm-dvk +``` +2. Set the build to user qt5 instead of qt6 ``` -$ repo init -u https://github.com/digi-embedded/dey-manifest.git -b kirkstone -$ repo sync -j8 --no-repo-verify +nano conf/bblayer.conf ``` -More information about [Digi Embedded Yocto](https://github.com/digi-embedded/meta-digi). +modify the following line: +``` + /home/bruce/leahi-distro/sources/meta-qt6 \ +to + /home/bruce/leahi-distro/sources/meta-qt5 \ +``` +save (ctrl+s) and exit (ctrl+x) -License -------- -Copyright 2022, Digi International Inc. +3. Set the build environment +``` +source ./dey-setup-environment +``` -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Build Diality's Embedded Leahi Yocto (ELY) +------------------------------------------ +``` +screen time bitbake dey-image-qt +``` +1. *screen* command -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +Since the build is going to be on the server on the network, and any disconnection will lose the bitbake progress output. +To retrieve the lost connection use screen command to get back the running bitbake progress output. +1.1. list the active screen terminal +if the screen is attahced +``` +$ screen -ls +There is a screen on: + 5249.pts-0.dvm-linux03 (09/21/2024 08:48:20 PM) (Attached) +1 Socket in /run/screen/S-bruce. +``` -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +if the screen session is not attached +``` +$ screen -ls +There is a screen on: + 5249.pts-0.dvm-linux03 (09/21/2024 08:48:21 PM) (Detached) +1 Socket in /run/screen/S-bruce. +``` + +1.2. attach to a lost connection +``` +$ screen -r 5249 +``` +then you should see the output you have lost. + +2. *time* command + +The time command will let you know that how long the process took. + +Update Diality's Embedded Leahi Yocto (ELY) +------------------------------------------- +On any changes has been made to the manifest tun the following to get the ELY update. +``` +repo init +repo sync -j8 +``` +Creat Update Package for Diality's Embedded Leahi Yocto (ELY) +------------------------------------------------------------- +to build an update package run the following +``` +time bitbake dey-image-qt-swu -c cleansstate && time bitbake dey-image-qt-swu +``` +