Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Input on custom kernel?
New Posts  All Forums:Forum Nav:

Input on custom kernel? - Page 2

Poll Results: Build a custom kernel? Please leave a comment explaining your position.

 
  • 50% (2)
    Yes! Power to the end user!
  • 50% (2)
    No! Are you nuts?!
4 Total Votes  
post #11 of 24
Quote:
Originally Posted by Plan9 View Post

Yeah I get that, but why would you want to upgrade the kernel on your Android handset to a generic kernel when some hardware doesn't have open source drivers? You'd ultimately end up with downgrading your phones functionality for the sake of open sourcing the kernel - which seems a pretty bad trade off to me.
Or have I misunderstood which device you're compiling the kernel for?

Hmm... I believe I didn't explain clearly.

The source from the manufacturer is also opensourced (they have to release the source since the Linux Kernel is GPL'ed) but the only folks who contribute are the employees of this manufacturers, and they have time and business constraints ; whereas in the mainline where everyone contribute to it, and the managers are employed by the Linux Foundation which is a non-lucrative association so they don't have those constraints.

Basically what Im saying is that it has interest to recompile for Android since you can fix/improve the code, tune the kernel for smaller devices, add overclock etc etc. (so yea its not just a matter of recompiling).
The kernel in your PC has already clean code with everything fine-tuned so it makes no sense to recompile it, even considering that it has been built to have the best compatibility ~ the Linux Kernel is very good for modularity.
Ti-89 Titanium
(13 items)
 
 
Would be nice!
(4 items)
 
CPUMotherboardRAMHard Drive
Motorola 68k @16 MHz Ti-89 HW4 256 KB 2.6 MB Flash ROM 
OSMonitorPowerCase
Ti-89 OS 3.10 LCD Dot-Matrix 160x100 4x 1.5V AAA Ti-89 HW4 Black 
CPUMotherboardGraphicsRAM
Intel Core™ i7 930 Gigabyte GA-X58A-UD3R 2.0 Gigabyte GTX 470 SOC G.Skill RX 2x4GB 1600C8 
Hard DriveHard DriveOptical DriveCooling
PNY Prevail Elite 120GB Hitachi 7K1000.C 1TB LG GH24LS50 Noctua NH-C12P SE14 
OSOSMonitorKeyboard
Windows 8 Pro x64 Linux Mint 14 x64 Samsung BX2250 Logitech Illuminated 
PowerCaseMouseAudio
Be Quiet! S.P. E⁷ 600W Fractal Design Core 3000 Logitech Pilot Optical AKG K240 Studio 
CPUCoolingPowerCase
Haswell Thermalright Macho Rev.A B/W Silverstone ST60F-PS Silverstone SG10 
  hide details  
Reply
Ti-89 Titanium
(13 items)
 
 
Would be nice!
(4 items)
 
CPUMotherboardRAMHard Drive
Motorola 68k @16 MHz Ti-89 HW4 256 KB 2.6 MB Flash ROM 
OSMonitorPowerCase
Ti-89 OS 3.10 LCD Dot-Matrix 160x100 4x 1.5V AAA Ti-89 HW4 Black 
CPUMotherboardGraphicsRAM
Intel Core™ i7 930 Gigabyte GA-X58A-UD3R 2.0 Gigabyte GTX 470 SOC G.Skill RX 2x4GB 1600C8 
Hard DriveHard DriveOptical DriveCooling
PNY Prevail Elite 120GB Hitachi 7K1000.C 1TB LG GH24LS50 Noctua NH-C12P SE14 
OSOSMonitorKeyboard
Windows 8 Pro x64 Linux Mint 14 x64 Samsung BX2250 Logitech Illuminated 
PowerCaseMouseAudio
Be Quiet! S.P. E⁷ 600W Fractal Design Core 3000 Logitech Pilot Optical AKG K240 Studio 
CPUCoolingPowerCase
Haswell Thermalright Macho Rev.A B/W Silverstone ST60F-PS Silverstone SG10 
  hide details  
Reply
post #12 of 24
Quote:
Originally Posted by adridu59 View Post

Hmm... I believe I didn't explain clearly.
The source from the manufacturer is also opensourced (they have to release the source since the Linux Kernel is GPL'ed)
Legally you're right, but from what I've heard (and bare in mind I've heard this 3rd hand so there might be a case of Chinese whispers at play) the manufacturers aren't always keen to release the source.
Quote:
Originally Posted by adridu59 View Post

but the only folks who contribute are the employees of this manufacturers, and they have time and business constraints ; whereas in the mainline where everyone contribute to it, and the managers are employed by the Linux Foundation which is a non-lucrative association so they don't have those constraints.
Basically what Im saying is that it has interest to recompile for Android since you can fix/improve the code, tune the kernel for smaller devices, add overclock etc etc. (so yea its not just a matter of recompiling).
The kernel in your PC has already clean code with everything fine-tuned so it makes no sense to recompile it, even considering that it has been built to have the best compatibility ~ the Linux Kernel is very good for modularity.

I see. Thanks for the clarification

Is this something you've done often?
post #13 of 24
Quote:
Originally Posted by adridu59 View Post

(they have to release the source since the Linux Kernel is GPL'ed)

Technically yes, but in practice not necessarily. Violations of the GPL are "fine" if the original owner allows them, same with any license. The kernel already contains non-free blobs.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
OCZ Vertex Caviar Black ASUS DVD-RW Windows 8 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Dogitech G5 Everglide Titan Sennheiser HD201 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
OCZ Vertex Caviar Black ASUS DVD-RW Windows 8 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Dogitech G5 Everglide Titan Sennheiser HD201 
  hide details  
Reply
post #14 of 24
Thread Starter 
Well it seems that the general consensus is to not bother. But that just wouldn't be any fun!

I'll probably just take a look around, delete extraneous notes (majority of the changelog, comments, etc), and maybe tweak minor things. In the end, I'm probably doing it just to say I did it, but I agree with all of you. Today it seems that the kernel is very much streamlined.

I might need to change window managers, as well. Move away from KDE to something smaller. Any suggestions? I believe that is something you can do without having to re-install, correct?

If that doesn't cure the itch to change, I might jump over to something more difficult, such as arch on my personal laptop instead of my work laptop.

Edit: I am interested in the phone kernels, however, cm7 is treating me well and I don't want to screw that up as of right now.
Edited by cmorin - 6/26/12 at 6:44am
post #15 of 24
Quote:
Originally Posted by cmorin View Post

I might need to change window managers, as well. Move away from KDE to something smaller. Any suggestions? I believe that is something you can do without having to re-install, correct?

OpenBox. That's what ArchLinux features.
Quote:
Originally Posted by randomizer View Post

Technically yes, but in practice not necessarily. Violations of the GPL are "fine" if the original owner allows them, same with any license. The kernel already contains non-free blobs.

Yes, but most of the time the manufacturer doesn't want to get sued for that, really. http://gpl-violations.org/
Quote:
Originally Posted by Plan9 View Post

Is this something you've done often?

https://github.com/adridu59
Edited by adridu59 - 6/26/12 at 7:04am
Ti-89 Titanium
(13 items)
 
 
Would be nice!
(4 items)
 
CPUMotherboardRAMHard Drive
Motorola 68k @16 MHz Ti-89 HW4 256 KB 2.6 MB Flash ROM 
OSMonitorPowerCase
Ti-89 OS 3.10 LCD Dot-Matrix 160x100 4x 1.5V AAA Ti-89 HW4 Black 
CPUMotherboardGraphicsRAM
Intel Core™ i7 930 Gigabyte GA-X58A-UD3R 2.0 Gigabyte GTX 470 SOC G.Skill RX 2x4GB 1600C8 
Hard DriveHard DriveOptical DriveCooling
PNY Prevail Elite 120GB Hitachi 7K1000.C 1TB LG GH24LS50 Noctua NH-C12P SE14 
OSOSMonitorKeyboard
Windows 8 Pro x64 Linux Mint 14 x64 Samsung BX2250 Logitech Illuminated 
PowerCaseMouseAudio
Be Quiet! S.P. E⁷ 600W Fractal Design Core 3000 Logitech Pilot Optical AKG K240 Studio 
CPUCoolingPowerCase
Haswell Thermalright Macho Rev.A B/W Silverstone ST60F-PS Silverstone SG10 
  hide details  
Reply
Ti-89 Titanium
(13 items)
 
 
Would be nice!
(4 items)
 
CPUMotherboardRAMHard Drive
Motorola 68k @16 MHz Ti-89 HW4 256 KB 2.6 MB Flash ROM 
OSMonitorPowerCase
Ti-89 OS 3.10 LCD Dot-Matrix 160x100 4x 1.5V AAA Ti-89 HW4 Black 
CPUMotherboardGraphicsRAM
Intel Core™ i7 930 Gigabyte GA-X58A-UD3R 2.0 Gigabyte GTX 470 SOC G.Skill RX 2x4GB 1600C8 
Hard DriveHard DriveOptical DriveCooling
PNY Prevail Elite 120GB Hitachi 7K1000.C 1TB LG GH24LS50 Noctua NH-C12P SE14 
OSOSMonitorKeyboard
Windows 8 Pro x64 Linux Mint 14 x64 Samsung BX2250 Logitech Illuminated 
PowerCaseMouseAudio
Be Quiet! S.P. E⁷ 600W Fractal Design Core 3000 Logitech Pilot Optical AKG K240 Studio 
CPUCoolingPowerCase
Haswell Thermalright Macho Rev.A B/W Silverstone ST60F-PS Silverstone SG10 
  hide details  
Reply
post #16 of 24
Quote:
Originally Posted by adridu59 View Post

OpenBox. That's what ArchLinux features.
Err, what? Arch Linux uses whatever you want it to!

You should check out Xfce, it's a bit more like the standard paradigm. Openbox is lighter, but a bit more of a learning curve.

Btw, there's a difference between recompiling your kernel, and hacking it. You don't need to hack it to recompile it. In fact, I've never hacked it (I don't know C), but I've recompiled many times (including downloading the latest vanilla source - the only way to do it really)
 
Black 'n' blue II
(13 items)
 
 
CPUMotherboardGraphicsOptical Drive
Intel Core i5-2515E Acer Aspire 5755G NVIDIA GeForce GT630M  DVD/CD 
OSOSMonitorCase
Linux Mint 14 x64 (Cinnamon) Windows 7 Home Premium 15.6 LED screen Acer Aspire 5755G 
Audio
Intel HD Audio 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveOSMonitor
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Vista Home Premium x64 Hyundai BlueH H224W 22" LCD 
KeyboardPowerCaseMouse
Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III Logitech MX518 
  hide details  
Reply
 
Black 'n' blue II
(13 items)
 
 
CPUMotherboardGraphicsOptical Drive
Intel Core i5-2515E Acer Aspire 5755G NVIDIA GeForce GT630M  DVD/CD 
OSOSMonitorCase
Linux Mint 14 x64 (Cinnamon) Windows 7 Home Premium 15.6 LED screen Acer Aspire 5755G 
Audio
Intel HD Audio 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveOSMonitor
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Vista Home Premium x64 Hyundai BlueH H224W 22" LCD 
KeyboardPowerCaseMouse
Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III Logitech MX518 
  hide details  
Reply
post #17 of 24
Createing a custom kernel is pretty easy. You only need to find the right drivers. Then you need a bit try and error for the cpu and disk scheduler. To find the right driver I use lspci command with verbose switch. There I can find all my pc components. The biggest advantage is that you can use any kernel version you want and when you have create a makefile the compile time reduce very fast. You can also build a kernel without this initram which I find useless. I can recommend to do so because it's very simple and the Linux kernel is just <10 MB. There is also a project "Linuxdna" to compile the kernel with the Intel C Compiler. I've contributed a script or two. The kernel works and it was a bit faster then with gcc. I can also recommend the BFS scheduler because it's very fast and very stable. If you are lucky you can even increase the stability of your Linux.
Edited by Recursion - 6/26/12 at 8:46am
Budget-PC
(42 items)
 
Media-PC
(12 items)
 
Laptop
(23 items)
 
CPUCPUMotherboardGraphics
AMD Phenom II X2 550 Black Edition RB-C2 AMD FX-4170 Biostar TA870+  Powercolor HD 6950 
GraphicsRAMRAMHard Drive
Sapphire HD 6950 Corsair XMS3 PC-12080 Kingston Hitachi 
Hard DriveHard DriveHard DriveOptical Drive
Western Digital Samsung Western Digital LG DVD-RW DH16A1L 
CoolingCoolingCoolingCooling
Scythe Musashi 140 mm Cooltek fan Scythe Musashi 92 mm fan Noname 
CoolingCoolingCoolingCooling
Antec Kühler 920 Phobya G-Silent 12 Phobya G-Silent 12 Noctua NF-P12 premium fan 
CoolingCoolingCoolingCooling
Noctua NF-P12 premium fan noctua NH-U12P SE2 140 mm Cooltek fan 140 mm Cooltek fan 
CoolingOSOSMonitor
140 mm Cooltek fan Windows 7 Ultimate OpenSuSE 12.2 22" LG Flatron W2243T 
KeyboardPowerCaseMouse
Keysonic Enermax Pro87+ 500 Watt Corsair Carbide 400R Logitech Gaming Mouse 
AudioAudioOtherOther
Samsung 240T Loudspeaker Onboard SATA Y power cable 4x S-ATA cable black 50 cm 
OtherOtherOtherOther
ATX Adapter-SET Cable 20 Pin to 24 Pin 12volt 4x 3-pin power cable adapter 2x Y 3-pin power cable AMD Crossfire Bridge 70 mm 
OtherOther
Wireless PCI-adapter Gigabyte GA-990FXA UD3 Rev. 3 
CPUMotherboardGraphicsRAM
AMD Athlon 2x 2800 Mhz Asrock N68C-S UCC ATI Radeon HD 4300 Noname Ram 
Hard DriveCoolingCoolingCooling
Samsung LC Power Cosmo Cool LC-CC95 Arctic Cooler F9 PWM Arctic Cooler F8 PWM 
OSMonitorKeyboardOther
Windows 7 Ultimate 27" Acer Noname 3.5" 1.44 MB disk drive  
CPUMotherboardGraphicsGraphics
Turion 64 X2 Ultra  SB 700 series HD 3650 HD 3200 
RAMRAMHard DriveHard Drive
Komputerbay Noname Samsung Spinpoint M8 Samsung Spinpoint M8 
Hard DriveHard DriveOptical DriveOS
Western Digital Caviar Blue  Western Digital Caviar Blue  Sony DVD/DV-RW TS-L633A Windows 8 
MonitorKeyboardMouseAudio
LG Flatsscreen PS/2 compatible PS/2 compatible AMD High Definition Audio Device 
OtherOtherOtherOther
Bluetooth Adapter Winbond CIR Transceiver IEEE 1394 Firewire Qualcomm Atheros AR928X wireless 
OtherOtherOther
JMicron PCIe MS/SD/MMC/xD Host Controller Realtek PCIe GBE  Logitech 1.3 M WebCam 
  hide details  
Reply
Budget-PC
(42 items)
 
Media-PC
(12 items)
 
Laptop
(23 items)
 
CPUCPUMotherboardGraphics
AMD Phenom II X2 550 Black Edition RB-C2 AMD FX-4170 Biostar TA870+  Powercolor HD 6950 
GraphicsRAMRAMHard Drive
Sapphire HD 6950 Corsair XMS3 PC-12080 Kingston Hitachi 
Hard DriveHard DriveHard DriveOptical Drive
Western Digital Samsung Western Digital LG DVD-RW DH16A1L 
CoolingCoolingCoolingCooling
Scythe Musashi 140 mm Cooltek fan Scythe Musashi 92 mm fan Noname 
CoolingCoolingCoolingCooling
Antec Kühler 920 Phobya G-Silent 12 Phobya G-Silent 12 Noctua NF-P12 premium fan 
CoolingCoolingCoolingCooling
Noctua NF-P12 premium fan noctua NH-U12P SE2 140 mm Cooltek fan 140 mm Cooltek fan 
CoolingOSOSMonitor
140 mm Cooltek fan Windows 7 Ultimate OpenSuSE 12.2 22" LG Flatron W2243T 
KeyboardPowerCaseMouse
Keysonic Enermax Pro87+ 500 Watt Corsair Carbide 400R Logitech Gaming Mouse 
AudioAudioOtherOther
Samsung 240T Loudspeaker Onboard SATA Y power cable 4x S-ATA cable black 50 cm 
OtherOtherOtherOther
ATX Adapter-SET Cable 20 Pin to 24 Pin 12volt 4x 3-pin power cable adapter 2x Y 3-pin power cable AMD Crossfire Bridge 70 mm 
OtherOther
Wireless PCI-adapter Gigabyte GA-990FXA UD3 Rev. 3 
CPUMotherboardGraphicsRAM
AMD Athlon 2x 2800 Mhz Asrock N68C-S UCC ATI Radeon HD 4300 Noname Ram 
Hard DriveCoolingCoolingCooling
Samsung LC Power Cosmo Cool LC-CC95 Arctic Cooler F9 PWM Arctic Cooler F8 PWM 
OSMonitorKeyboardOther
Windows 7 Ultimate 27" Acer Noname 3.5" 1.44 MB disk drive  
CPUMotherboardGraphicsGraphics
Turion 64 X2 Ultra  SB 700 series HD 3650 HD 3200 
RAMRAMHard DriveHard Drive
Komputerbay Noname Samsung Spinpoint M8 Samsung Spinpoint M8 
Hard DriveHard DriveOptical DriveOS
Western Digital Caviar Blue  Western Digital Caviar Blue  Sony DVD/DV-RW TS-L633A Windows 8 
MonitorKeyboardMouseAudio
LG Flatsscreen PS/2 compatible PS/2 compatible AMD High Definition Audio Device 
OtherOtherOtherOther
Bluetooth Adapter Winbond CIR Transceiver IEEE 1394 Firewire Qualcomm Atheros AR928X wireless 
OtherOtherOther
JMicron PCIe MS/SD/MMC/xD Host Controller Realtek PCIe GBE  Logitech 1.3 M WebCam 
  hide details  
Reply
post #18 of 24
Quote:
Originally Posted by adridu59 View Post

https://github.com/adridu59
thank you smile.gif
Quote:
Originally Posted by chemicalfan View Post

Err, what? Arch Linux uses whatever you want it to!
trusay
Quote:
Originally Posted by chemicalfan View Post

You should check out Xfce, it's a bit more like the standard paradigm. Openbox is lighter, but a bit more of a learning curve.
+1 for XFCE. But there's also LXDE, which uses Openbox as it's WM but with a nice traditional desktop environment. So it's super lean while still being fully functional.

Personally though, I only use KDE4 and Awesome (which I know are gulfs apart laugher.gif) or just a headless console prompt.
Edited by Plan9 - 6/26/12 at 8:25am
post #19 of 24
Quote:
Originally Posted by Plan9 View Post

thank you smile.gif
trusay
+1 for XFCE. But there's also LXDE, which uses Openbox as it's WM but with a nice traditional desktop environment. So it's super lean while still being fully functional.
Personally though, I only use KDE4 and Awesome (which I know are gulfs apart laugher.gif) or just a headless console prompt.

KDE4's trimmed up nicely it seems. I was actually quite impressed with how smooth it runs on a decent system now a days. It's what I would tell people to use as well, though I'll have to say gnome-shell with tweaks is pretty nice. I have it decked out with a custom task bar (tint2) and it works very close to the old one with a minimal footprint.

Either way, I'll agree with the other two on XFCE, it's the best small DE I've seen. Mainly because it's extremely polished compared to the others.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 B45 3.6GHz M3A770DE HD 7950 (1100/1450) 8G Muskin DDR3 1600@8CLS 
Hard DriveOptical DriveOSMonitor
160G WD LiteOn DVD-RW DL Linux (Fedora)-Win7 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 B45 3.6GHz M3A770DE HD 7950 (1100/1450) 8G Muskin DDR3 1600@8CLS 
Hard DriveOptical DriveOSMonitor
160G WD LiteOn DVD-RW DL Linux (Fedora)-Win7 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #20 of 24
Thread Starter 
soo I think I rebuilt my kernel?? Hopefully with a lot of extra crap removed. I roughly followed this guide:

http://fedoraproject.org/wiki/Building_a_custom_kernel

Unfortunately, I am not sure how to check if my kernel was actually implemented.

Also, I made the switch to XFCE and I have to admit, I like it so far. Work still needs to be done to make it visually fit my wants, but i like the configuration of panels and simplistic menus. I need to find a way to make the panels transparent and maybe find some widgets.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Input on custom kernel?