r/embeddedlinux • • Sep 19 '26

💬 discussion 💬 Finding reliable embedded firmware partners is still harder than it should be

7 Upvotes

Finding solid embedded firmware partners is still harder than it should be. The combination of deep low-level expertise, disciplined processes, and the ability to collaborate closely with hardware and higher-level software teams is not common.

Many teams can write firmware that works on the target hardware in a lab environment. Fewer can produce code that remains maintainable, well-documented, and testable years later when the original developers have moved on and the product has evolved. Documentation discipline, test coverage, and clear interfaces often separate the reliable partners from the ones that create long-term technical debt.

Integration is another frequent pain point. Firmware rarely lives in isolation. The teams that understand both the hardware constraints and the expectations of the application layer tend to reduce a lot of back-and-forth later in the project. Those who treat firmware as a black box often leave the rest of the system team struggling to adapt.

For people who have worked with external firmware partners, what has mattered most in your experience, pure technical depth, process maturity, communication style, or something else?


r/embeddedlinux • • Mar 18 '26

article AI agents keep declaring "driver working" when it's not, here's what fixed it

0 Upvotes

AI agent tested my IMU driver by SSH-ing in, running lsmod, reading sysfs, and saying "working."

Meanwhile DMA was corrupting every third sample. The fault was right there in dmesg, but the agent only read the last 30 lines and happened to land in a clean window.

After 6 months of using AI agents on Yocto drivers, two things made the difference:

  1. Write a spec.md first -- acceptance criteria like "1kHz sampling within 1%", "100% CRC pass after 10K DMA transfers." Without this, the agent stops at "module loaded? OK."

  2. Return test results as JSON -- instead of multiple SSH calls, one pytest + labgrid wrapper that deploys, tests, and returns structured results. 4 seconds, one round-trip.

That DMA bug? Caught on the first run. Agent added dma_sync_single_for_cpu() and re-ran. 3 minutes from bug to fix.

Limits are real though. Concurrency bugs, physical hardware faults, register/interrupt code still need human eyes.

Full write-up with code: https://edgelog.dev/blog/embedded-linux-dev-flow-ai-agents/


r/embeddedlinux • • Aug 07 '26

My PyQt5 app worked on Ubuntu but broke on Yocto because I wasn't treating it as a Python package

0 Upvotes

I've been building a PyQt5 automotive dashboard (speedometer) for a Raspberry Pi 5 running a custom Yocto image. Everything worked perfectly on my Ubuntu machine, but once I packaged it and deployed it to Yocto, things started breaking.

The first issue was imports.

During development I had:

from fuel_tmp import Fuel_Temp

Since I was running directly from the project directory, Python found the module without any issues.

After installation, however, the application lived under:

site-packages/
└── speedometer/
    ├── dashboard.py
    ├── fuel_tmp.py
    └── icons/

The fix was to use package imports instead:

from speedometer.fuel_tmp import Fuel_Temp

or

from .fuel_tmp import Fuel_Temp

The second issue was even more interesting. None of my dashboard icons were showing up.

I was loading them like this:

QPixmap("icons/abs.png")

This worked during development because my current working directory happened to be the project root. Once installed, there was no icons/ directory relative to where the application was launched.

The first step was making sure the icons were actually packaged:

[tool.setuptools.package-data]
speedometer = [
    "*.ui",
    "icons/*.png"
]

Then I loaded them using package resources instead of relative paths:

from importlib.resources import files

icon = files("speedometer").joinpath("icons", "abs.png")

After that, the icons loaded correctly on both Ubuntu and my Yocto image.


r/embeddedlinux • • May 03 '20

Arm compiler

0 Upvotes

Can someone help me about the arm compiler and linker ?

How are those different from normal gcc?

A web link to such article will be helpful .


r/embeddedlinux • • Mar 09 '25

Embedded Linux

5 Upvotes

What is Embedded Linux? What is linux ? is there difference any of both? can some have study material could you please share with me, i will start learning.


r/embeddedlinux • • Jul 28 '24

Seeking an Embedded software position

1 Upvotes

Hi, I hope you guys are doing well. I'm currently seeking a junior position as an Embedded sofrware engineer. I hold a B.Sc. in Electrical Engineering and I have experience in C/C++ programming, micro-controllers, and peripherals. I have also worked with Python, Bash, AVR, ARM,Esp8266, PCB, Embedded Linux, RTOS, and have basic knowledge in AUTOSAR. My hands-on projects include an IoT-based smart home system, an Advanced Driver Assistance System (ADAS) utilizing Firmware Over The Air (FOTA), and various other embedded systems projects. I'm currently based in Egypt and i'm open for both remore and onsite roles, i'd really appreciate your help landing a position. Here's my linkedin: https://www.linkedin.com/in/eslam-rizk-6a029a145 Thank you all.


r/embeddedlinux • • Apr 29 '22

I am entering electronics engineering and I am a beginner at maths

2 Upvotes

Hi

I am entering electronics engineering degree at centennial college.

There are maths classes in the course but I am very beginner at math.

(I wanted to post curriculum but this school website is suddenly down...)

I only know the basics of mathematics I should say about high school 9th grade(in American standard?)

For catching up and preparing for the class, how much should I learn in advance?

Is the mathematics in the course only do the basic concepts?

calculus? Trigonometry? Algebra?

I am trying to watch Khan academy for this, which course should I take?


r/embeddedlinux • • Jan 30 '23

Awful Linux Kernel API

3 Upvotes

Guys, I began to learn linux kernel development and Linux API seems quite weird to me.(not API but rather its implementation that hard to understand).

Example:

#define wait_event_interruptible(wq_head, condition) \

({ \

`int __ret = 0;								\`

`might_sleep();								\`

`if (!(condition))							\`

	`__ret = __wait_event_interruptible(wq_head, condition);		\`

`__ret;									\`

})

this piece of code above is from <linux/wait.h>. It is actually define with several times nested defines inside.

My complaints about it:

  1. It seems like function but is actually define

  2. condition as second parameter is C expression - not any of C types. It is confusing because define looks like function but takes not C type as parameter.

  3. It is hard to figure out how it work because of several times nested defines. It means implementation is located in .h and .c files simultaneously!!! WHY??? Any reasons for it? It is tasteless design, isn't it?

  4. WHY once again? You put entire lines of code in defines(variables declaration, other function calls, conditions behind my back in my own module)!!! Did you see for example FreeRTOS API - nice and convenient for using. Linux API is nightmare to understand.

I'm only at beginning of my path, don't bully me for any reason)) I'm trying to write examples from book about linux device driver development. Or maybe it is common practice do not use all these defines in code of kernel modules and just call functions from .c files directly?


r/embeddedlinux • • May 12 '24

help me choose a career path, please!

0 Upvotes

TL;DR: Should I pursue network engineering as a job and develop embedded systems in my free time, or work as an embedded systems developer and explore network engineering on my own? I plan to eventually transition into a cybersecurity role focused on pentesting or application security.

Hello Reddit community,

I'm about a year away from earning my bachelor’s degree in Computer Science, and I'm currently weighing my career options—possibly even considering more than just the two I'm about to discuss. I'd love to get your insights and advice.

My passion lies in cybersecurity. In my spare time, I've been diving into reverse engineering and binary exploitation. While I find it fascinating, I'm still a beginner and not yet skilled enough to secure a job in this area. I aim to build a strong foundation of skills through my career choices. Importantly, I have very strong coding fundamentals, which I believe will help me adapt and excel in any technical role. Eventually, I want to pivot to cybersecurity, but I believe in gaining a solid grasp of the fundamentals first.

I'm considering two main paths: becoming an embedded systems developer or a network engineer. There are other roles like DevOps that interest me, but they also require networking knowledge.

So, my question is: would it be more practical to work as an embedded systems developer while learning about network engineering in my free time, or the other way around? I'm dedicated to continuous learning in various CS and IT topics—not just for the career benefits but to amass the broadest and deepest knowledge possible to make a strong entry into cybersecurity.

For example, while I could set up a comprehensive home lab for network engineering, it might not fully replicate real-world conditions. On the other hand, working on embedded systems at home with the right equipment might not be too different from professional settings, except that professional settings might involve tasks that are less interesting or beneficial to me.

I'm also exploring OS development, which seems just as feasible to pursue at home as at a job, provided the equipment is adequate.

I appreciate your guidance and insights on which path might offer the best learning opportunities for a future in cybersecurity.


r/embeddedlinux • • May 11 '24

Embedded Systems new graduate

0 Upvotes

Hi, I have recently graduated from Embedded Systems Development graduate certificate at Conestoga College. Back in Inda I studied Bachelor's in Electronics and Communication Engineering. Also have worked in a software company for an year.I am interested in both the embedded hardware and software, also I am searching for jobs in Firmware. So, What should be my next step, what certification should I take? in the field of Embedded Systems. Please someone help me. What are the opportunities in Canada.


r/embeddedlinux • • May 01 '24

How to create Shared folder in linux

0 Upvotes

Hello guys, I created a shared folder using

sudo mkdir /usr/local/share/projects

and created a group called heroes and add users batman, kanishk(user who create the shared folder ) using the commands.

sudo addgroup heroes

sudo usermod -aG heroes batman

sudo usermod -aG heroes kanishk

getent group heroes

heroes:x:1002:batman,kanishk

Now i set the project folder owership to the group heroes which contain users( kanishk,batman).

sudo chown :heroes /usr/local/share/projects

And also changed permission of folder for group to write by the command.

sudo chmod 775 /usr/local/share/projects

The problem is i can read and write the folder from the user batman but i can only read from the user kanishk.

The output shows the permission denied

But the ownership of folder have for both user from group heroes.

So whats the problem . Whether i missed something. I also used

sudo chmod g+s /usr/local/share/projects


r/embeddedlinux • • Dec 08 '21

How to achieve 4K@30fps recording in NVIDIA Jetson platforms

Thumbnail
e-consystems.com
2 Upvotes

r/embeddedlinux • • Jul 27 '21

How do I install tkinter with buildroot

1 Upvotes

Please help me. I can't figure out how to install this thing. Buildroot doesn't install it with Python. I can't apt install python3-tk. It isn't on pip. What the fuck am I supposed to do. Is it even possible? I can't find anything online about this. Please someone help me.


r/embeddedlinux • • May 01 '26

What can go wrong in an OTA system like this? (A/B + rollback design) ?

1 Upvotes

1. Architecture & Implementation

  • Partitioning via Buildroot: Architected a strict A/B partition layout to completely isolate the Kernel and RootFS. Decoupled user storage (/data, /user) to guarantee data persistence across updates. Selectively applied specialized filesystems (e.g., ext4, squashfs, ubifs) optimized for specific read/write characteristics and system security requirements.

  • Custom U-Boot & Flash Memory Mapping: Recalculated memory maps and offsets to allocate a dedicated, isolated flash sector for the U-Boot Environment. This ensures U-Boot accurately locates OTA variables while completely eliminating the risk of accidental overwrites by the Kernel or RootFS.

  • Userspace IPC & C++ OTA Daemon: Integrated fw_printenv/fw_setenv utilities for secure userspace interaction with the Flash Environment. Developed a robust C++ OTA Manager daemon to handle the deterministic state machine, providing clean APIs for higher-level applications (Web/App) to easily orchestrate the update process.

  • Firmware Packager: Automated payload generation to abstract complexity from the Web/App layers (exposing only a single compressed archive). The toolchain automatically embeds metadata, versioning, and cryptographic signatures, allowing the device to rigorously verify firmware integrity prior to installation.

2. Validation & Resilience

The system is engineered for high availability and autonomous recovery under the most extreme edge cases:

  • Scenario 1 – OTA Rollback (Logic Error / App Crash): If the update completes and the Kernel boots, but the primary application enters a crash-loop, the service monitor automatically detects the failure state and transparently triggers a rollback to the previous working partition.

  • Scenario 2 – System Fallback (Physical Error / Data Corruption): If the active partition degrades over time (e.g., bad blocks or corrupt data) resulting in a boot failure, the Hardware Watchdog or U-Boot intervenes to automatically fall back to the redundant standby partition.

  • Scenario 3 – Power-Loss Tolerance: Fully mitigates sudden power failures during firmware downloads or while writing to the offline flash partition. The architecture guarantees the device will never be bricked, ensuring it always safely boots back into the intact active partition.


r/embeddedlinux • • Dec 12 '20

Why we need a build system such as Make?

4 Upvotes

Now, we have many IDE that can automatically handle the process that builds from a list of .c/.cpp files to an executable file. In that process, IDE also automatically generates the Makefile. But like I can see, in many projects, we need to write a Makefile from scratch, or using Cmake to build. Why don't only use an IDE for simple?


r/embeddedlinux • • May 23 '26

Available for Freelance Work | Embedded C • Linux • System Programming

5 Upvotes

Hi everyone!!

I’m available for freelance work in low-level systems development and embedded software.

My background includes:
• Embedded systems & FreeRTOS
• Linux kernel / system-level development
• C programming
• System debugging and performance optimization
• ARM/x86 low-level development
• Virtualization concepts and system integration

I can help with:
• Embedded software development
• System programming projects
• Debugging and optimization
• Linux-based development tasks
• Low-level C development

If anyone has relevant projects or opportunities, feel free to DM me. Happy to collaborate 😄

Thank you!


r/embeddedlinux • • Nov 25 '22

I wrote a long piece comparing Yocto and Ubuntu Core for embedded Linux - what are your thoughts?

5 Upvotes

r/embeddedlinux • • Nov 15 '25

How do i contribute to Linux device tree ?

0 Upvotes

I want to contribute to Linux kernel. I recently learned that there is something called as device tree and device tree bindings. Which is just connection details and documentation in some special format. Is there any scope for contributing? Or these modifications are not accepted in general?


r/embeddedlinux • • May 14 '26

Is 8–10 LPA possible as a fresher in Embedded Systems/VLSI?

0 Upvotes

r/embeddedlinux • • Dec 06 '21

How OEM cameras enhance the performance of spectrophotometers

Thumbnail
e-consystems.com
2 Upvotes

r/embeddedlinux • • Apr 16 '14

In-depth, hands-on review of Linksys WRT1900AC Wi-Fi router

Thumbnail
pcworld.com
2 Upvotes

r/embeddedlinux • • Oct 11 '25

what do I search for a job in embedded linux?

4 Upvotes

I mean the literal search term on the job boards. embedded linux is a mixed bag while "embedded linux" in quotes shows limited openings. "yocto" is pretty sparse and "buildroot" even more so. I like what I do a lot, I just want to keep doing that. My current job didn't even know what embedded linux was when I got there, and certainly did not mention it in the job description.


r/embeddedlinux • • May 10 '23

[Job] [UK] Senior Embedded Linux Developer

Thumbnail
analogdevices.wd1.myworkdayjobs.com
0 Upvotes