Xoblogs

Notes from the bare metal
by Sean "xobs" Cross

Novena Bootloader #novena

When the machine first powers on, it needs to load a bootloader. The processor knows just enough to be able to load a simple image, but in order to do something complicated like booting over the network or reading a kernel from a FAT partition, a more advanced piece of code must be loaded and run. Here, we opt to go with U-Boot for the task.

Read More »

Pwm Driver Part 3: Putting It Together #rpi

We have the basics of a kernel module, and the basics of PWM control in userspace. All that's left to do now is merge the two and add some spit-and-polish.

Read More »

Sd Card Harness Prototypes #sdcard

For the very first prototype, we just need an SD slot. There are a few approaches we can take, but the most flexible is to create an external board and run wires to it. In the future, we'll set up a jig to be able to probe NAND flash pins, but for now we just want to write our SD-over-SPI card stimulation software, and make sure that it's reliable. With that in mind, it's time to break out the soldering iron.

Read More »

Setting Up Userland #sdcard

Once we have the kernel running, we need to get an environment to boot into. Up until now, we've been using the stock chumby environment, but in the interest of flexibility, let's see if we can't get a more standard environment going. I'm going to be honest here: I'm going to massively cheat. But it'll at least get us to the point where we can work on the meat of the SD project, rather than fiddling around with generating a root filesystem from scratch.

Read More »