Enhancing Workflow Efficiency in Yocto Project: A Build Tool for Fetch Error Detection and Fixing

Main Article Content

Huseyin Karacali
https://orcid.org/0000-0002-1433-4285
Nevzat Donum
https://orcid.org/0000-0002-8293-8267
Efecan Cebel
https://orcid.org/0000-0002-2027-0257

Abstract

Yocto Project is conceived as an initiative to provide developers with a flexible and efficient environment for preparing customized embedded Linux distributions. However, while bestowing upon developers the flexibility to create bespoke embedded Linux distributions, this project introduces various challenges. These challenges transcend mere technical proficiency, influencing critical barriers that impact the successful completion of the project. These difficulties encompass the steep learning curve of the Yocto Project, the intricacies of complex configuration files, and the management of dependencies. Developers are compelled to navigate through these intricacies within the project, concurrently encountering fetch errors arising from the continuous evolution of external sources. These fetch errors not only disrupt the flow of the project but also exhibit sensitivity to alterations in access to external resources and network-related issues. Consequently, developers find themselves expending time and effort in grappling with these challenges. The fetching process within the Yocto Project plays a pivotal role in the creation of bespoke distributions, retrieving essential external source code crucial for the development process. Fetch errors can stem from various sources, including alterations in upstream repositories and network issues, potentially hindering the progression of the project if not promptly resolved. However, the unpredictable nature of fetch errors necessitates a comprehensive solution for a seamless workflow. In this context, as a solution to these challenges, an innovative tool has been developed within the scope of this project. This tool aims to automatically detect and resolve fetch errors encountered during the preparation of custom embedded Linux distributions with the Yocto Project. The tool proficiently detects real-time internet interruptions during fetch processes and automatically initiates reattempt procedures in case of transient outages. This feature ensures the continuous progression of the project. Additionally, the tool scrutinizes complex recipe errors within the Yocto Project, automatically rectifying issues encountered during fetch operations. This streamlined approach expedites error resolution without necessitating manual intervention from developers. The tool systematically analyzes the health of URLs employed in fetch processes, identifying potential errors in the utilized URLs. Furthermore, it evaluates internet connectivity issues arising during fetch operations within the Yocto Project. By detecting various scenarios such as DNS problems, connection timeouts, and packet loss, the tool provides developers with comprehensive reports, enabling swift diagnosis of internet connectivity issues. As a result, this tool successfully overcomes the existing challenges in resolving fetch errors within the Yocto Project. Furthermore, the tool can be extended to automatically correct not only fetch errors but also general Yocto errors. These enhancements contribute to the tool providing a more effective and versatile solution. In addition, incorporating CI/CD integration into the tool can significantly improve the quality of work. CI/CD enables automated testing and deployment of code changes, ensuring software reliability and optimizing deployment processes.

Downloads

Download data is not yet available.

Article Details

How to Cite
Karacali, H., Donum, N., & Cebel, E. (2024). Enhancing Workflow Efficiency in Yocto Project: A Build Tool for Fetch Error Detection and Fixing. The European Journal of Research and Development, 4(2), 49–76. https://doi.org/10.56038/ejrnd.v4i2.430
Section
Articles

References

The Yocto Project, “Technical Overview - The Yocto Project,” The Yocto Project, Nov. 09, 2023. https://www.yoctoproject.org/development/technical-overview/

“2 Yocto Project Terms — The Yocto Project ® 4.3.999 documentation.” https://docs.yoctoproject.org/ref-manual/terms.html

“BitBake Documentation — The Yocto Project ® 4.3.999 documentation.” https://docs.yoctoproject.org/bitbake.html

J. Martindale, “What is a CPU? here’s everything you need to know,” Digital Trends, https://www.digitaltrends.com/computing/what-is-a-cpu.

“Central Processing Unit,” Central Processing Unit - an overview | ScienceDirect Topics, https://www.sciencedirect.com/topics/engineering/central-processing-unit.

“I.MX 8 Family applications processor: ARM cortex-A53/A72/M4,” i.MX 8 Family Applications Processor | Arm Cortex-A53/A72/M4 | NXP Semiconductors, https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-applications-processors/i-mx-8-family-arm-cortex-a53-cortex-a72-virtualization-vision-3d-graphics-4k-video:i.MX8.

A. Klinger, “Embedded linux – kernel, Aufbau, toolchain,” Embedded Software Engineering - Fachwissen, https://www.embedded-software-engineering.de/embedded-linux-kernel-aufbau-toolchain-a-99d15279522f4d1fcd8b2d852a8f771b/.

“OpenEmbedded-Core - openembedded.org.” https://www.openembedded.org/wiki/OpenEmbedded-Core

“1 Overview — Bitbake dev documentation.” https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#introduction

“The Architecture of Open Source Applications (Volume 2)The Yocto Project.” https://aosabook.org/en/v2/yocto.html

“3 Understanding and Creating Layers — The Yocto Project ® dev documentation.” https://docs.yoctoproject.org/dev/dev-manual/layers.html

“QT Creator Manual.” https://doc.qt.io/qtcreator/

“Writing Code | QT Creator Manual.” https://doc.qt.io/qtcreator/creator-editor-functions.html

“IDE Overview | QT Creator Manual.” https://doc.qt.io/qtcreator/creator-overview.html

“PyQt - Python Wiki.” https://wiki.python.org/moin/PyQt.

A. Gonzalez, Embedded Linux projects using Yocto Project Cookbook. 2015.

D. Huong, “Development of Linux Distribution using Yocto Project,” Theseus, 2022. https://urn.fi/URN:NBN:fi:amk-202204296507

“2 Introducing the Yocto Project — The Yocto Project ® 4.3.999 documentation.” https://docs.yoctoproject.org/overview-manual/yp-intro.html

Admin, “Yocto Build System - Sirin Software,” Sirin Software, Jan. 16, 2024. https://sirinsoftware.com/blog/yocto-build-system

“Learning embedded Linux using the Yocto project.” https://subscription.packtpub.com/book/iot-and-hardware/9781784397395/6/ch06lvl1sec42/hob-and-toaster

“Toaster User Manual.” https://docs.yoctoproject.org/2.1/toaster-manual/toaster-manual.html

Most read articles by the same author(s)