Find the answer to your Linux question:
Results 1 to 6 of 6
I need to modify an existing Linux Kernel to work across multiple cores on a new chip (a kernel already exists for the single core version of the chip). This ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    7

    Getting Started


    I need to modify an existing Linux Kernel to work across multiple cores on a new chip (a kernel already exists for the single core version of the chip). This would involve changing the memory management and scheduler, etc. I have a fairly good understanding of OS principles (I wrote my own OS back in university), but am not familiar with the inner workings of Linux.

    I was wondering if someone could suggest some resources (books, websites, other reading materials), which could get me started.

    John

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    This is pretty straightforward, if you have the kernel source installed for the kernel you are running, just go into the source folder, and run make menuconfig, this will bring up a menu where you can easily enable more CPU's and anything else.

    If you want to change a running kernel to add more CPU,that is not possible, you have to rebuild it from source.

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    7
    I don't think it will be that simple -- the scheduler will have to be modified to be realtime as well (this is for an embedded system), and I will be required to do some custom changes (limit the priority of user apps, etc). Once done, I need to support it.

    Soo... I need to understand the inner workings of the Linux Core, and I'm looking for some resources to help me get there. It would also be nice to understand from purely an interest sake as well


    Thanks,

    John

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    I think the best place is still to look in the source, and look at the options available when compiling the kernel, you will probably find most of the things you need are in there. There are options specifically designed for embedded linux. Another place is KernelTrap.

  6. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    7
    Is there a book that describes the inner workings of Linux??? I will end up looking at the code in detail later on, but for now I need a higher level view of how Linux works, so that I know what parts of the source I need to look at.

    Thanks

    John

  7. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Linux Online - Free Online Books

    google will be vital to your linux survival

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •