How to bring up the Linux Kernel on a new platform

werwolv.net

69 points by WerWolv 4 days ago


Neywiny - an hour ago

I've done this for a cortex-m in qemu (meaning I wrote the chip and peripheral emulation code too for the timer, uart, sd controller with dma, and rcc). But I used buildroot. So much easier to keep track of everything and it's very easy to start with (unlike yocto). I recommend taking a look at buildroot.

You also don't need an MMU to run Linux. Just helps compatibility.

Good work

csdreamer7 - 4 days ago

Excellent post. Your file format RE looks like an additional one to add to the reading queue as well: https://werwolv.net/posts/file_format_reverse_engineering/

elevation - 4 days ago

Great post, so neat to see it running in the browser! One question: why not thin the config a little? USB, SOUND, VGA, etc. are all slowing down the boot but don't have hardware to control.