Dear all, I have a mini2440 friendly ARM board. I have ported kernel which is shipped in CD and working fine. Now I want to port a new kernel from "kernel.org". How can I port it can any body help me....
How to port new kernel on mini2440
Viresh, Do you mean you downloaded the kernel on the DVD or you re-compiled (ported?) it for your needs? With a lot of difficulty! What do you want to keep working, because I couldn't tell you how many of the patches that this platform needs to operate ever got into mainline. Also, there have been some major(?) changes in the way different bits of hardware are supported in newer kernels (board files versus device tree). If you want to experiment with newer kernels I'd suggest http://www.oselas.org/oselas/bsp/pengutronix/mini2440_bsp_en.html
Thanks davef, I have re-compiled it and download to mini2440. working fine... Now I have a kernel version 2.6.32 from "kernel.org" and try to compile it..... is it work? if not than what to do? I will try to experiment as per http://www.oselas.org/oselas/bsp/pengutronix/mini2440_bsp_en.html
Why do you want to compile and patch 2.6.32 when you already have 2.6.32.2 which FriendlyArm has spent a lot of effort to patch for the mini2440? If you download the mini2440BSP from the site I suggested you can then look into the patch set that is required to get a more modern kernel to work on the mini2440.
Thanks davef, Yes, I agree FriendlyArm has spent a lot of effort to patch for the mini2440. But I want to learn how to make kernel "from kernel.org" compatible with mini2440 or any other ARM board . I have mini2440 so I am interested for it. I aspect some suggestion from you.
The only example that I know of for the mini2440 is the Pengutronix BSP. If you search for some of the early stuff on the mini2440 by a guy named <buserror> you might find some hints on the patches required for the mini2440. As far as I am aware few if any of the required patches ever made in into mainline. I also believe that the way different hardware platforms are being handling in current Linux kernels is changing. See <device tree>. I made one patch, for the SPI driver, but never attempted the task that you would like to do. The LCD drivers seemed the most complicated part. Good luck!