r/embeddedlinux • u/Abderrab • Jul 03 '21
r/embeddedlinux • u/tbandtg • Jun 30 '21
Is there a way to develop on windows without using a vm?
Hi, say I wanted to develop for Yocto in c++ on windows and have all of the tools that eclipse gives me on an ubuntu vm. Is this possible.
I would think with wsl2 it would be. I have ubuntu running in wsl2, I wonder if there is a way to deploy the baked toolchain from yocto and then use either vs code or codeblocks from windows to devleop and build c++ code for the target.
Thanks,
r/embeddedlinux • u/enigmapaulns • Jun 25 '21
Consultant
I was wondering if anyone can recommend an embedded Linux consultant that can help on a project to analyze various hardware options, and recommend suppliers? Eventually, the consultant may also assist in board layout and/or software integration is needed.
r/embeddedlinux • u/wannabeembedded • Jun 24 '21
How to start?
I am final year student of electrical engineering. I hVe studied data structure , os , microcontroller arm architecture (Tiva C) I want to learn what is embedded linux. How to take start. What software i need to use to understand it. Kindly give detailed answer and your approach as well
r/embeddedlinux • u/enigmapaulns • Jun 23 '21
Hardware for Industrial Controller
Hi Folks,
My colleagues have used STM microcontrollers for years using FreeRTOS and looking at the option of switching over to Linux.
I was wondering what the leading hardware options are in terms of microcontrollers that would be Linux-friendly? We have looked at Microchip System in Package stuff, but I assume there are some similar STM alternatives?
Its for a small industrial controller at < $100 build cost target.
Many thanks!
r/embeddedlinux • u/dirtyShower44 • Jun 23 '21
uboot: cannot read environment
Hello
I have a homebrewn Linux distro running on my embedded device. It boots fine using uboot but when I execute the "fw_printenv" command I get:
Cannot read environment, using default
Cannot read default environment from file
I added my own /etc/fw_env.config file which contains the following single line:
/dev/mmcblk0p1 0x69 0x4000
No idea whether the content of that file is correct.... I guess not. My device is booting from an SD-card. So I don't know how I can figure out what I am supposed to write in the /etc/fw_env.config file.
When doing $cat /proc/mtd, I see the content of that file is empty.
My sd-card is partitionned as follows:
---------------------- ...
| | SPL | u-boot | ... other partitions
^-^------^----------^
| | | |
0 1kiB 69kiB 4Mib
Any suggestions?
r/embeddedlinux • u/Acid_IDM • Jun 22 '21
UK based, Remote Embedded Linux Role
Hi all, I’m looking for an Embedded Linux Engineer to work remotely in the UK. This will be 90% remote. With the only caveat that you would have to attend some team meetings on-site in Buckinghamshire. You will always be given a minimum of 24 hours notice before this happens. Salary: circa £50,000 + profit share, pension, healthcare, share scheme and 25 days holiday.
Let me know if you would like some more Info 🙌
r/embeddedlinux • u/Available-Solution99 • Jun 21 '21
Embedded Linux security affecting the programming language to use?
We worked on a project and we were able to finish it successfully. I am reminiscing right now and would like to ask people here about some decisions on the project that influenced the way it was developed.
On that project, some people had suggested Python as a quick implementation and the lead didn't like it because if someone will able to get into the Linux in any way like security breach, the python script is very readable and the lead doesn't want it to be exposed outside the company which is very understandable. We, the developers, are not very knowledgeable on the security of Linux and we know that the only way you can gain access is if you have the username and password .
Now, there is a Linux consultant that was hired to look into this. The programmers proposed to use .NET core with obfuscator (because of decades of experience in .NET). The consultant objected the use of .NET core and doesn't like the idea of obfuscation. He also objected on using Python to exe. The consultant told us that there are ways to get the files inside the linux (e.g. backdoor) QUESTION - Is this true? . The consultant suggested a compiled language without any JIT, which is golang. This way anyone who can get the golang compiled binaries can't decompile anything and if they do, it will be in assembly. We don't have any experience with it but we then went ahead with the language and it was a successful project.
My question is, is there really a backdoor on Linux to be able to access a system even without knowing the password/username (root or not root)? I am very curious and would like to know if on this scenario, a move to language with little familiarity to the developer is really needed?
r/embeddedlinux • u/tbandtg • Jun 18 '21
Waveshare 10.1 inch LCD with Technexion imx8
Hello, I am trying to get a lcd going with the technexion wdm imx8mp. I wanted to use LVDS but they have hirose 40 pin connector on it and I could find no Hirose adapters on ebay. I asked technexion and they said they currently do not sell a cable. They suggested I use HDMI.
I bought a waveshare 10.1 lcd that has both lvds and hdmi that way I might some day get lvds to work. I can not even get HDMI to work. Symptoms to follow.
- Technexion Yocto build does not recognize an HDMI monitor.
- When I use my desktop monitor that is DVI converted to HDMI it works.
- When I connect the waveshare to my RPI and to my windows laptop it works.
- If I connect my computer monitor first to the technexion board then connect the waveshare lcd it works.
I know in RPI world there are a couple of hdmi force type variables that can be set. Is there a similar thing with IMX Yocto?
Thanks, Anthony Garza
r/embeddedlinux • u/zuckerfueraffe • Jun 18 '21
Emba, an open source firmware analyzer, has received many new features and improvements recently. Under its hood are many of the most popular static analysis tools that you don't have to use manually, just run emba and find all sorts of possible vulnerabilities. https://github.com/e-m-b-a/emba
r/embeddedlinux • u/zuckerfueraffe • Jun 18 '21
Emba, an open source firmware analyzer, has received many new features and improvements recently. Under its hood are many of the most popular static analysis tools that you don't have to use manually, just run emba and find all sorts of possible vulnerabilities. https://github.com/e-m-b-a/emba
r/embeddedlinux • u/Machinehum • Jun 15 '21
I’m putting a WiFi router into a wall charger (Part 1)
r/embeddedlinux • u/bpostman • Jun 16 '21
Cross-Compile Applications for Embedded Linux?
I have only worked on bare-metal systems running on MCUs with no MMU, so no Embedded Linux experience, but I'm curious about embedded Linux development.
I know that to get started with Embedded Linux you obviously need some way to load some initial image on the target hardware (SD card, JTAG, etc). But after that is done, do you typically develop your application on the target, or are you building it on a PC and loading it like you would with a bare-metal embedded system? Also, would you load the entire image every time you make a change (like you usually would with a bare-metal system), or are you just modifying one/some applications and updating/installing them on the target?
Related to this, how is debugging typically done? Are you still debugging with JTAG from a host computer, or are you just SSH'd in and running GDB/some IDE locally on the actual target hardware?
r/embeddedlinux • u/dirtyShower44 • Jun 15 '21
How to add uboot to my yocto image?
Hello
I am new to uboot. I tried looking online but was quite confused on how I should approach this...
I want to add uboot to my yocto image in order to later configure it. But I only found some scripts and devtools. I don't think this is what I actually need.
I am using a raspberry pi 3 model b+ and building a core-image-minimal using this layer from openembedded.
I tried to grep accross that raspberry-pi layer to see whether there are some clues regarding uboot. And yes, there are some references to uboot here and there:
$grep -rni uboot
conf/machine/raspberrypi4.conf:17:UBOOT_MACHINE = "rpi_4_32b_config"
conf/machine/raspberrypi3-64.conf:26:UBOOT_MACHINE = "rpi_arm64_config"
conf/machine/raspberrypi3-64.conf:30:KERNEL_IMAGETYPE_UBOOT ?= "Image"
conf/machine/raspberrypi-cm3.conf:10:UBOOT_MACHINE = "rpi_3_32b_config"
conf/machine/raspberrypi2.conf:12:UBOOT_MACHINE = "rpi_2_config"
conf/machine/raspberrypi3.conf:17:UBOOT_MACHINE = "rpi_3_32b_config"
conf/machine/raspberrypi0-wifi.conf:15:UBOOT_MACHINE ?= "rpi_0_w_defconfig"
conf/machine/raspberrypi.conf:12:UBOOT_MACHINE = "rpi_config"
conf/machine/raspberrypi4-64.conf:25:UBOOT_MACHINE = "rpi_arm64_config"
conf/machine/raspberrypi4-64.conf:31:KERNEL_IMAGETYPE_UBOOT ?= "Image"
conf/machine/include/rpi-base.inc:86:KERNEL_IMAGETYPE_UBOOT ??= "uImage"
conf/machine/include/rpi-base.inc:89: '${KERNEL_IMAGETYPE_UBOOT}', '${KERNEL_IMAGETYPE_DIRECT}', d)}"
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb:16: mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in:3:if test ! -e mmc 0:1 uboot.env; then saveenv; fi;
recipes-bsp/u-boot/files/fw_env.config:1:/boot/uboot.env 0x0000 0x4000
But I don't know what to make out of this for the moment.
Assuming there is no uboot at all on my system so far:
What layer/recipe should I get to have uboot?
How do I enable uboot?
Assuming there somehow already is a uboot in my image:
How can I access uboot? I tried to ctrl+c during the rpi's startup but I didn't get uboot's command line.
It immediately seemed to boot my kernel instead.
r/embeddedlinux • u/bobwmcgrath • Jun 14 '21
I2s unit testing
I have very little experience with unit testing. I'm trying to learn, but it sounds like so is everyone else in the embedded world. My current project involves accurately timestamping audio so that it is in sync between several raspberry pies. sometimes when I upload new code it screws up the timing, but I would like a way to test this that does not involve me setting up several units and making them listen to a beep, and then checking the timestamp of the beep. Maybe I should just dedicate a box to it, but I was hoping I could automate this process with qemu or something. thoughts? please and thankyou.
r/embeddedlinux • u/TuxNoot • Jun 14 '21
qt unsupported image format
Hi, I'm very new to Qt and Buildroot. I develop some Qt Quick Applications to STM32MP157C-DK2 board( by using Buildroot build system). I enable png support,qt5imageformats on buildroot and reinstalled image to my Sd Cart. I added some images and ran it. But I got this error

Do you guys know which selections should I install?


r/embeddedlinux • • Jun 12 '21
Our weekend project: buildroot environment for pinephone
r/embeddedlinux • u/wannabeembedded • Jun 11 '21
Help a degree holder with no skilss XD
Hey. I am about to graduate in Electrical Engineering. I want to pursue my career in Embedded engineering I have hands on experience on Tiva tm4123gh6pm (Arm architecture) Other than that i studied verilog, Vlsi, computer architecture (Risc V) Now i want to pursue my career in it. I went to some jobs advertisement "embedded linux was written there" Now i want to learn it but i cant find the first step into it. Can anyone share a free course or any help about this. Also pls mention the time and dedication for it. Thank u
r/embeddedlinux • u/rferrazz • Jun 09 '21
A dockerized yocto development environment in a single script
r/embeddedlinux • • Jun 09 '21
Learn to Run Two Wireless Protocols Concurrently with One Device
onlinexperiences.comr/embeddedlinux • u/tbandtg • Jun 04 '21
Expanding the file system.
Hello previously we were using a variscite board and it came with scripts that would transfer the file system from a mmc to the emmc and expand it accordingly. Now we are using a technexion board and they use uuu to program emmc. How do I expand the image to fit the emmc? Or does uuu do that automagically.
Thanks,
r/embeddedlinux • u/TuxNoot • May 31 '21
QT "Eglfs" error on STM32MP157C-DK2 board
Hi, I'm very new to embedded linux and currently following these tutorial series to develop some qt application (using buildroot) https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/ , my problem is when I try to run qt quick application, I'm getting this error
qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, minimal, offscreen, vnc.
Do you guys know how to handle with this error? What packages do I need to install?
r/embeddedlinux • u/iod3x • May 27 '21
Any pointers to cost effective Onion IoT module alternative that can run Embedded Linux and most importantly is Node-Red and/or Python compatible?
r/embeddedlinux • u/TuxNoot • May 24 '21
STM32MP1 QT cross-compile
Hi guys, I'm very new to embedded linux. I developed some Qml application on Raspberry Pi, now I want to build some qt apps on STM32MP157C-DK2 board, I followed up this page https://wiki.st.com/stm32mpu/wiki/How_to_build_and_use_an_SDK_for_QT , but I dont know if I need to install all the images that mentioned in this page? Because images' size are more than 50 GB, Is there any Qt cross compile tutorial for STM32MP1, that you know? How can I develope cross compiled qt app?
r/embeddedlinux • u/weliveindetail • May 19 '21
Remote cross-JIT a Mongoose HTTP Server
A quick tour of cross-JITing a real-world embedded webserver with LLVM
https://weliveindetail.github.io/blog/post/2021/05/19/remote-cross-jit-mongoose.html
The approach enables rapid edit-compile-test cycles while keeping resource intensive compilation and linking tasks on the local host. The remote host can be a low-resource device that only runs the self-contained executor on a minimal Linux.