Quote:
Originally Posted by Pinkesh
How can I port CentOS linux kernel to ARM LPC2478 ?
|
is there any reason that you believe that this is possible, in this case. I note that
http://www.embeddedartists.com/produ...it.php?tab=mcu
where they do produce a kit with Linux included, there is an external 32
MB ram which supplements the internal 96
kB. How much RAM do you have? (Another vaguely memory-related issue is the prescence or otherwise of an MMU; server and desktop Linux packages assume the prescence of an MMU, the cheaper microcontrollers
don't have them and you need to select one of the very few Linux packages that do not assume an MMU; this is the first thing that you need to take care of before you buy anything. From what I know of the range, you seem to have chosen a microcontroller that has an EMC (ie, can produce the correct waveforms for DRAM) but not a memory management unit. Without an MMU, you could have to hack a Centos kernel so much, that it is arguable that you shouldn't call it a Centos Kernel anymore.)
In any case, the easiest approach is to buy a board which is available with a Linux BSP (Board Support Package), which some suppliers do make available. At a very minimum, you know that if you can buy it, it can be done. And you can pick through how the supplier has built their packages.
In any case I'd agree with the others that centos probably isn't the optimum starting place; in addition to emdebian, gentoo and whatever BSPs you can find, with the aid of a search engine,
http://www.uclinux.org/ would be another place to look.