内容简介 :
Introduction
So, you have some ARM* based hardware that you want to port the
Linux kernel to. This is a task that a competent software engineer can
undertake assisted by relevant information such as this article,
although previous familiarity with the Linux kernel will make it a lot
easier. If your platform is a lot like something that has gone before
then the port can be relatively simple, but if it's all new then it could
be a big job, and you might well be advised to get help from someone
experienced in these things, depending on how much of a challenge
you want. And of course, if you don't actually know that your hardware
works properly (you usually know this if it has already run some
OS other than Linux), then again things can get exciting as you may
not know if the hardware is broken or your kernel changes are wrong.
This article can't tell you everything you need to know about kernel
hacking – it's a huge subject. If you don't know how the kernel works
you need to read some relevant documentation. What I will try to
cover are the procedures and conventions used in the ARM kernel
development community, how the ARM architecture files are set out
in the source, and the basics of what you will need to change to port
the core of the kernel to your new platform – enough so that it boots
and sends serial debug info.