Jump to content
XPEnology Community

Kernel building


medric

Recommended Posts

I uses windows 10 bash and download the source and tool chains and used old guides and drivers compiling as reference and compiled my own kernel with better cpu support for my 12 core cpu (E5-2695 v2 sandy bride)  and then i took the bzimage and renamed it to zimage and use osfmount to copy over the org zimage but it did not boot (it booted normally with the org zimage file) I could use some pointers on how or what to do next.

 

 

 

(please don't mention how powerful that cpu is and what i would use it for)

  • Like 1
Link to comment
Share on other sites

6 hours ago, filippo333 said:

I'd also be very interested in this, I have quite a lot of Linux knowledge and also am a C# coder, I've never built a kernel from source though.

A step by step guide would be much appreciated :smile: 

 

I have found a lot of info but dont have a lot of coding skills only used in school and that was assembly programming I will post all the info i have found and i think we can work on this together to get this done i know we can we just need to put all the pieces together. later tonight i will link to all my sources

Link to comment
Share on other sites

Here is the info that i pulled from

 

 

https://github.com/kref/scripts juns script i can read and understand a bit of it but its a bash script not my strong suite 

https://xpenology.club/compile-drivers-xpenology-with-windows-10-and-build-in-bash/

https://github.com/HuxyUK/xpenology-3.x old but still has good info

http://xpenology.com/wiki/en/building_xpenology old style for building the pat file but again has good place to start

 

https://help.ubuntu.com/community/Kernel/Compile standard compile for linux

https://github.com/0xAX/linux-insides/blob/master/Misc/how_kernel_compiled.md sandard compile for linux

 

 

 

 

Link to comment
Share on other sites

7 hours ago, medric said:

Here is the info that i pulled from

 

 

https://github.com/kref/scripts juns script i can read and understand a bit of it but its a bash script not my strong suite 

https://xpenology.club/compile-drivers-xpenology-with-windows-10-and-build-in-bash/

https://github.com/HuxyUK/xpenology-3.x old but still has good info

http://xpenology.com/wiki/en/building_xpenology old style for building the pat file but again has good place to start

 

https://help.ubuntu.com/community/Kernel/Compile standard compile for linux

https://github.com/0xAX/linux-insides/blob/master/Misc/how_kernel_compiled.md sandard compile for linux

 

 

 

 

 

Looks like a fair amount of assembly is involved in modifying/analysing synobios though most of the compilation is bash.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...