Marcus Folkesson

Embedded Linux Artist

Leather penguin

Leather penguin A Linux guy needs his penguin, right? I found this pattern [1] on etsy and thought it would be a fun project to make a little companion. The leather I'm using for this is a 2-3oz veg-tanned goat skin. It is a little too thin to make a robust penguin, but I rather want it soft and squeeze-friendly than robust. That's how I prefer to have my companions. cover

Player's handbook, Dungeon Master's Guide and Monster Manual

Player's handbook, Dungeon Master's Guide and Monster Manual These three books are the "core books" for Dungeons and Dragons 5e. This is not an in depth review of these books as they are so fundamental. But I think it is good to mention them at least, before I go any further with the more cool-but-not-so-neccessary-books. Player's Handbook The Players Handbook [1] (PHB) contains all the basic rules that the player needs to know to play the game, equipment, spells, character options, feats, races, backgrounds and everything to put it all together.

D&D - My confession

Dungeons and dragons - My confession I have always been fascinated about fantasy. The computer games I appreciated most during my young days was role-playing game such as Baldur's Gate, Diablo and Neverwinter Nights, all games with their own mysterious setting there evil lurks at every corner. For half a year ago, a friend of mine introduced me to Dungeons and Dragons 5e and I was hooked. Maybe a little too much. cover

V4L2 and media controller

V4L2 and media controller The media infrastructure in the kernel is a giant beast handling many different types of devices involving different busses and electrical interfaces. Providing an interface to handle the complexity of the hardware is not an easy task. Most devices have multiple ICs with different communication protocols... so the device drivers tends to be very complex as well. Video For Linux 2 (V4L2) is the interface for such media devices. cover

Parsing command line options

Parsing command line options Parsing command line options is something almost every command or applications needs to handle in some way, and there is too many home-made argument parsers out there. As so many programs needs to parse options from the command line, this facility is encapsulated in a standard library function getopt(2). The GNU C library provides an even more sophisticated API for parsing the command line, argp(), and is described in the glibc manual [1].

Embedded Linux Conference 2019

Embedded Linux Conference 2019 Here we go again! This trip got exited even before it begun. I checked my passport the day before we should leave and noticed that my passport has expired. Outch. Fortunately I was able to get a temporary passport at the airport. I must admit that I'm not traveling that often and do not have these 'must-checks' in my muscle memory.. This time we were heading Lyon in France. cover

ligsegfault.so

libsegfault.so The dynamic linker [1] in a Linux system is using several environment variables to customize it's behavior. The most commonly used is probably LD_LIBRARY_PATH which is a list of directories where it search for libraries at execution time. Another variable I use quite often is LD_TRACE_LOADED_OBJECTS to let the program list its dynamic dependencies, just like ldd(1). For example, consider the following output $ LD_TRACE_LOADED_OBJECTS=1 /bin/bash linux-vdso.so.1 (0x00007ffece29e000) libreadline. cover

Embedded Linux Conference 2018

Embedded Linux Conference 2018 OK, time for another conference. This time in Edinburgh, Scotland. My travel is limited to Edinburgh, but this city has a lot of things to see, including Edinburgh Castle, the Royal Botanic Garden, the clock that is always is 3 minutes wrong [1] and lots of more. A side note, yes I've tried Haggis as it's a must-try-thing and so should you. But be prepared to buy a backup-meal. cover

Oppigård Amarillo, third batch

Oppigård Amarillo, third batch This recipe is also from the book [1] and the third batch of this beer and it is one of my favorite hopier beer. I think it is fun to brew single hop beers since you learn to recognize the taste and aroma of a single hop at a time. The aroma of Amarillo is described as flowery, spicy and citrus-like with a distinct orange bouquet. cover

Green fingers

Green fingers This year I have engaged more than usual in growing vegetables. I grow quite common things like cucumbers, tomatoes, dill, beans, peas, squash, salad, carrots and potatoes. We live in a moss that cools the environment quite a bit, so it's hard to grow without a greenhouse - which we happily have. In the past years it has become a mediocre harvest of vegetables, but this year it has really exploded. cover