ProfileMode image

Casper Andersson

Software Developer

Buildroot and U-boot on Raspberry Pi

This post guides you through setting up Buildroot together with U-boot on your Raspberry Pi and loading a kernel through U-boot (rootfs is separate and still needs to be flashed). Having a dedicated bootloader allows controlling the boot process without having to flash the SD card every time. I wrote this post because I didn’t find any guide when doing so myself, only a couple of posts that partially did it. None of which fully covered my needs. I have a Raspberry Pi 4 and that’s all this guide is tested with. ...

December 22, 2024 · 5 min

Don't use 'git stage -A'

This is a follow-up to my earlier post Don’t use ‘git commit -m’. Another common “anti-pattern” in standard Git usage (in my opinion, I have no data to back this up). Just like with git commit -m "msg", I see that using git stage -A to stage all modified files is a common practice amongst Git beginners. Or it’s friend git stage . to stage all files in the current (usually project root) directory. ...

December 22, 2024 · 2 min

Improving my task management with Emacs Org-mode

This is not a tutorial or guide to Emacs Org-mode. It is the journey of improving my workflow. If you wish to learn Org-mode yourself, look elsewhere. Living in Markdown I love Markdown. It’s versatile, yet so simple. I write all my notes in Markdown. This blog is written in Markdown. I have even made presentations in Markdown using Marp. For several years now, I have had a file called daily_tasks.md. This is a Markdown document where I keep track of things I am currently working on. It would always have a to-do list at the top, and that list would grow more and more over time. Many of the items directly corresponded to official Scrum tickets stored in our Scrum system. Keeping it in a Markdown document just makes it easier for me to work with. Other items are miscellaneous tasks I need or want to do, but which aren’t strictly in the plans. This could also be personal tasks like remembering to email someone or doing my monthly time reporting. I often add notes to the different tasks. Especially the ones I’m currently working on. I note down what I’m doing, edge cases I need to remember, and any other thoughts I have. This meant that a single task quickly grew in size, often to the point where I could no longer get a good overview of my tasks. ...

March 15, 2024 · 4 min