This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compilation of Linux source code (for ARM) on keil

hi friends,

I have started reading on porting Linux on the ARM. I have a question.
we can compile the simple project on the keil for ARM. can I compile the source code of linux(modified for that ARM) on keil???

thanks in advance.

Parents
  • Note that you can't ignore the drivers, since the drivers basically "are" the kernel. It's just a build flag for most drivers if they should be compiled into the kernel or compiled into modules that are loaded by the kernel.

    Please look at the makefiles for the Linux kernel, and you would quickly notice that lots of configurations, Makefiles etc are generated before the actual kernel is built. That is not something that happens by the compiler so just having a compiler will not be enough to build the Linux kernel.

    Next thing is that the standard ARM compiler supplied with Keil uVision is a compiler targeted at embedded processors. Most without any support for virtual memory, page protection etc. So the normal uVision license may not even be the correct license for targeting your intended processor.

Reply
  • Note that you can't ignore the drivers, since the drivers basically "are" the kernel. It's just a build flag for most drivers if they should be compiled into the kernel or compiled into modules that are loaded by the kernel.

    Please look at the makefiles for the Linux kernel, and you would quickly notice that lots of configurations, Makefiles etc are generated before the actual kernel is built. That is not something that happens by the compiler so just having a compiler will not be enough to build the Linux kernel.

    Next thing is that the standard ARM compiler supplied with Keil uVision is a compiler targeted at embedded processors. Most without any support for virtual memory, page protection etc. So the normal uVision license may not even be the correct license for targeting your intended processor.

Children
No data