Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Question about compiling drivers for Android
New Posts  All Forums:Forum Nav:

Question about compiling drivers for Android

post #1 of 3
Thread Starter 
I've gotten ahold of the driver source code for my tablet's wifi chip and it seems to be the right one for embedded/mobile devices but I'm not sure how to determine if I need any special headers since the tablet and firmware is from a third-party vendor. Could I just compile with the 2.6 kernel and swap in the new .ko?
Black & Green
(12 items)
 
Dev Box
(7 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T ASRock 970 Extreme3 Gigabyte GTX 750 Ti mushkin Blackline PC-12800 DDR3 
Hard DriveCoolingOSMonitor
Samsung 850 EVO Cooler Master Hyper 212 EVO Debian -nosystemd- LG Flatron 
KeyboardPowerMouseAudio
MechanicalEagle Z-77 Corsair CS650M Kinzu V2 Pro Asus Xonar Essence STX 
CPUMotherboardRAMHard Drive
Core2 Duo E7400 Asus P5Q Hyper-X  Sandisk 
OSPower
Fedora 22 Thermaltake 650W 
  hide details  
Reply
Black & Green
(12 items)
 
Dev Box
(7 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T ASRock 970 Extreme3 Gigabyte GTX 750 Ti mushkin Blackline PC-12800 DDR3 
Hard DriveCoolingOSMonitor
Samsung 850 EVO Cooler Master Hyper 212 EVO Debian -nosystemd- LG Flatron 
KeyboardPowerMouseAudio
MechanicalEagle Z-77 Corsair CS650M Kinzu V2 Pro Asus Xonar Essence STX 
CPUMotherboardRAMHard Drive
Core2 Duo E7400 Asus P5Q Hyper-X  Sandisk 
OSPower
Fedora 22 Thermaltake 650W 
  hide details  
Reply
post #2 of 3
short answer: Linux kernel drivers are very picky, you have to have an identical kernel source to build drives.

I documented the process of a USB lan android driver here.
http://forum.xda-developers.com/showthread.php?p=37548841

long answer: its slightly possible to use a non-perfect source kernel, but I wouldn't count on it.. could be buggy,
http://glandium.org/blog/?p=2664
Alien Invasion
(12 items)
 
OC'in beast
(21 items)
 
StoreMaster9000
(11 items)
 
CPUMotherboardGraphicsRAM
AMD Threadripper 1950x Alienware Area-51 TR edition Radeon Pro Duo (aka R9 Fury x2) HyperX 32GB DDR4-2400 
Hard DriveHard DriveOSMonitor
Intel 600p NVME Samsung NVME Windows 10 RS3 Dell P4317Q 
KeyboardPowerCaseMouse
Cooler Master QuickFire Cherry Brown Dell 1500W Alienware Area-51 Logitech MX5500 
CPUMotherboardGraphicsGraphics
AMD FX-8350 (Vishera) Gigabyte GA-990XA AMD 285X (unreleased) AMD 285X (unreleased) 
RAMHard DriveHard DriveHard Drive
Mushkin Enhanced Blackline 8GB (996679) Western Digital WD10EALS 1TB Blue Corsair Force Series GT CSSD-F180GBGT-BK 180GB Intel 530 Series SSDSC2BW240A401 240GB 
Optical DriveCoolingCoolingCooling
Sony 20X Sata DVD-RW Scythe Mugen 2 rev B (3) Scythe Slip Stream SY1225SL12H-P Antec Tri-Cool 140mm 
CoolingCoolingOSMonitor
Antec Tri-Cool 120mm Scythe Ultra Kaze DFS123812-3000 Windows 7 Pro 64bit ASUS PA248Q 24.1" IPS 
KeyboardPowerCaseMouse
Coolermaster Storm QuickFire Stealth Cherry MX ... Antec Earthwatts EA-750 Antec 300 Logitech G5 
Mouse Pad
Steel Series Starcraft 2 Marine 
CPUMotherboardGraphicsRAM
Opteron 6386 SE TYAN S8236-IL el crappo onboard vga 48GB RDDR3-1600 ECC 
Hard DriveHard DriveHard DriveOS
Seagate IronWolf Intel 200G DC S3710 SATA SSD Seagate Pulsar.2 ST200FM0002 SAS SSD VMWare Esxi 6.0 + Freenas 9.10 
PowerCaseOther
550W 1RU Tyan Mellanox ConnectX-3 Dual 10G SFP+ 
  hide details  
Reply
Alien Invasion
(12 items)
 
OC'in beast
(21 items)
 
StoreMaster9000
(11 items)
 
CPUMotherboardGraphicsRAM
AMD Threadripper 1950x Alienware Area-51 TR edition Radeon Pro Duo (aka R9 Fury x2) HyperX 32GB DDR4-2400 
Hard DriveHard DriveOSMonitor
Intel 600p NVME Samsung NVME Windows 10 RS3 Dell P4317Q 
KeyboardPowerCaseMouse
Cooler Master QuickFire Cherry Brown Dell 1500W Alienware Area-51 Logitech MX5500 
CPUMotherboardGraphicsGraphics
AMD FX-8350 (Vishera) Gigabyte GA-990XA AMD 285X (unreleased) AMD 285X (unreleased) 
RAMHard DriveHard DriveHard Drive
Mushkin Enhanced Blackline 8GB (996679) Western Digital WD10EALS 1TB Blue Corsair Force Series GT CSSD-F180GBGT-BK 180GB Intel 530 Series SSDSC2BW240A401 240GB 
Optical DriveCoolingCoolingCooling
Sony 20X Sata DVD-RW Scythe Mugen 2 rev B (3) Scythe Slip Stream SY1225SL12H-P Antec Tri-Cool 140mm 
CoolingCoolingOSMonitor
Antec Tri-Cool 120mm Scythe Ultra Kaze DFS123812-3000 Windows 7 Pro 64bit ASUS PA248Q 24.1" IPS 
KeyboardPowerCaseMouse
Coolermaster Storm QuickFire Stealth Cherry MX ... Antec Earthwatts EA-750 Antec 300 Logitech G5 
Mouse Pad
Steel Series Starcraft 2 Marine 
CPUMotherboardGraphicsRAM
Opteron 6386 SE TYAN S8236-IL el crappo onboard vga 48GB RDDR3-1600 ECC 
Hard DriveHard DriveHard DriveOS
Seagate IronWolf Intel 200G DC S3710 SATA SSD Seagate Pulsar.2 ST200FM0002 SAS SSD VMWare Esxi 6.0 + Freenas 9.10 
PowerCaseOther
550W 1RU Tyan Mellanox ConnectX-3 Dual 10G SFP+ 
  hide details  
Reply
post #3 of 3
Thread Starter 
thank you, that walkthrough is great! +rep!
Black & Green
(12 items)
 
Dev Box
(7 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T ASRock 970 Extreme3 Gigabyte GTX 750 Ti mushkin Blackline PC-12800 DDR3 
Hard DriveCoolingOSMonitor
Samsung 850 EVO Cooler Master Hyper 212 EVO Debian -nosystemd- LG Flatron 
KeyboardPowerMouseAudio
MechanicalEagle Z-77 Corsair CS650M Kinzu V2 Pro Asus Xonar Essence STX 
CPUMotherboardRAMHard Drive
Core2 Duo E7400 Asus P5Q Hyper-X  Sandisk 
OSPower
Fedora 22 Thermaltake 650W 
  hide details  
Reply
Black & Green
(12 items)
 
Dev Box
(7 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T ASRock 970 Extreme3 Gigabyte GTX 750 Ti mushkin Blackline PC-12800 DDR3 
Hard DriveCoolingOSMonitor
Samsung 850 EVO Cooler Master Hyper 212 EVO Debian -nosystemd- LG Flatron 
KeyboardPowerMouseAudio
MechanicalEagle Z-77 Corsair CS650M Kinzu V2 Pro Asus Xonar Essence STX 
CPUMotherboardRAMHard Drive
Core2 Duo E7400 Asus P5Q Hyper-X  Sandisk 
OSPower
Fedora 22 Thermaltake 650W 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Question about compiling drivers for Android