Re:Kernel 101 – Let’s write a Kernel
by TallGuyShort on Tuesday April 15, 2014 @10:49AM
(#7592100)
On the topic of ARM, does anybody know of a similar example like this for ARM? One that just shows you how to pass control to C and do some basic I/O?
[ Parent
| on HN ]
Re:Kernel 101 – Let’s write a Kernel
by TallGuyShort on Tuesday April 15, 2014 @02:12PM
(#7593368)
Too late to edit my post, but I eventually found this: http://wiki.osdev.org/ARM_Integrator-CP_Bare_Bones. I haven't tried it out yet as I'm still getting the cross-compiler toolchain together (doesn't seem to be part of OpenSUSE 12, at least not an obvious part), and it's not as well explained, but still the best I've found.
It would be difficult to write an article similar to this on ARM, because there's no equivalent of what the PC "standard" is to x86 for ARM. Every ARM board and SoC have different boot protocols and peripheral devices.
There are some bootloaders that are commonly used in ARM, such as U-Boot. Perhaps that could be used to get started.