Marcus Folkesson

Embedded Linux Artist

Lund Linux Conference 2024

Lund Linux Conference 2024 I have started to write a few lines about this conference each year as I think it deserves attention. Also, the more attendees we are, the more fun we get. The conference Lund Linux Conference (LLC) [1] is a "half-open" conference located in Lund. It's a conference with a high quality and I appreciate that the athmosphere is more familiar than at the larger conferences. I've been at the conference several of times before and the quality on the talks this year was as good as usual. cover

TIL - Magic SysRq with SystemD

TIL - Magic SysRq with SystemD TIL, Today I Learned, is more of a "I just figured this out: here are my notes, you may find them useful too" rather than a full blog post The Magic SysRq [1] is a ueful tool for debugging and recovering from a frozen system and is something I use frequently. SystemD sets the permissions bitmask to 0x10 by default [2] , it means that only a subset of the available features is allowed. cover

Versioning with SWUpdate

Versioning with SWUpdate TLDR; It is now possible to let SWUpdate manage the sw-versions file entirely thanks to the --gen--swversions feature I've been working on. SWUpdate SWUpdate [1] is a project I've been using for a very long time for updating firmware on embedded systems. The update service is a critical part of any embedded system, so having a well-tested, flexible, competent and ready-to-use solution is so much worth. Too many times I've seen custom made update services that contain bugs, is not flexible enough or using slots for whatever software that could be updated. cover

Flattened Image Tree (FIT) with Yocto

Flattened Image Tree (FIT) with Yocto Long time ago, I wrota a post [1] that compared the legacy Image format against Flattened Image Tree Format (FIT) [2] and highlighted the benefits of using it. The benefits is still valid and FIT images is my preferred way to boot a Linux kernel. Dispite that, I almost never see that FIT images is used in examples nor Board Support Packages (BSPs). cover

Building an owl house

Building an owl house I like owls. I always have. There are so many reasons to be fascinated about owls. For example, did you know that Owls has special flight feathers that makes them almost silent? That they can swivel their heads around (how cool is'nt that?) is commonly known, but that they can do the same with their toes too? Their eares are asymmetrical to make them better to pinpoint the location of sounds in multiple dimensions? cover

Repair of an IC-211E HAM Radio

Repair of an IC-211E HAM Radio A friend of mine (SM7FWZ [3] ) gave me an ICOM IC-211E, a 2M all mode transceiver that I'm having a lot of fun with. When I got it, it had one drawback - transmitting on SSB (Single Side Band) didn't work very well, neither for USB (Upper Side Band) nor LSB (Lower Side Band). The signal that reached the antenna was really disturbed, so here is something that needs to be fixed! cover

Bird counting

Bird counting I've been counting birds for couple of years now, but for the last past six mounths I have also recorded which species I see at bird table. I live in the middle of a bird sanctuary, so I think it could be good to know my neighbors. So the main reason for this was to learn to tell the difference between different species for birds. I must say that this was a success, I can name about 30 different bird species with a fairly high degree of certainty around my bird table. cover

TIL - raw HTML in Hugo

TIL - raw HTML in Hugo TIL, Today I Learned, is more of a "I just figured this out: here are my notes, you may find them useful too" rather than a full blog post I'm using Hugo [1] for this website setup [2] and find it very satisfying. I can write all my content in reStructured Text [3] and create a website out from it. Today I needed to add a part of raw HTML into one of my pages and that was when I found Shortcodes [4] in which is very useful.

Working on U-boot from Yocto (iMX8)

Working on U-boot from Yocto (iMX8) I have been asked a couple of times how to quickly make changes for U-Boot in Yocto. Those who asked have used to rebuild and flash an entire image each time, which takes an unnecessarily which is not a fast procedure. To rebuild U-Boot is`nt significantly different from any other recipe, but one difference is that imx-mkimage must also be built to generate a bootable image.

Increase the quality of your commits with pre-commit

Increase the quality of your commits with pre-commit pre-commit [1] is a framework for managing and maintaining pre-commit hooks for git. By running hooks before any commit, many small pitfalls could be avoided before being pushed and will spare reviewers time and energy. Such hooks could for example check that commit messages follow a specific format or that the code pass a lint test for a specific type of file. cover