Results 1 to 2 of 2
Please let me know which all are files in linux source tree we need to modify for porting linux kernel into custom board which is having i5 processor and QM57 ...
- 12-07-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 16
kernel porting
Please let me know which all are files in linux source tree we need to modify for porting linux kernel into custom board which is having i5 processor and QM57 chipset.In our case the custom board is certified by SuSE SLES11.So
1)Will it run without any modification done in the kernel source code of SuSE SLES11?
2)if this is not possible,please let me know which files we need to edit to handle modified memmory maps,changed chipselect,board-specfic GPIO assignments.
Thanks
- 12-08-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
You don't likely need to edit any files to do this. You need to intstall the kernel source and development packages, as well as the compiler tools. Once that is done, you go into the top directory of the kernel source where you see the Makefile. There you execute the command "make menuconfig". If you don't have the ncurses package installed, it will complain and quit. Once you do that, you will be presented with an application that allows you to configure the kernel with the packages and options you need. Once that is done, and you save/exit the menuconfig application, it will create a file named .config which contains the options and drivers you have configured into the kernel. Next, you run the make command without any arguments. That will build the kernel. You will find all the kernel cruft in the directory arch/i386/boot (for 32-bit builds) or arch/x86_64/boot (for 64-bit builds). Have fun.
One final thing. You might want to go to the Suse web site and look for their FAQ or Wiki on building kernels. Any distribution-specific stuff you need to know about will be found there.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote