LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-28-2012, 07:51 PM   #1
Beanz239
LQ Newbie
 
Registered: Feb 2009
Location: Phoenix, AZ
Distribution: Linux Mint
Posts: 28

Rep: Reputation: 0
Very Low-Level Linux


I'm starting a project using the Linux kernel as a text-based system. I was wondering on how to go about getting just a very basic kernel running. I want to end up with the following in the stripped down OS:

Basic keyboard drivers

Basic text-based interface with prompt

Default network drivers with basic configuration options

Just enough drivers to run a very low-level graphics card with ability to detect HDMI resolution (no actual graphics will be required)

If there is already a distribution out there with these features and NO GUI, I would like to hear about it and the features it includes. Thanks to all who respond.
 
Old 04-28-2012, 08:24 PM   #2
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
Have you done Linux from scratch?

http://www.linuxfromscratch.org/

It walks you through building the linux kernel and necessary packages for a minimum system, and if you modify the kernel, you could end up with just what you're talking about.
 
1 members found this post helpful.
Old 04-28-2012, 09:06 PM   #3
Beanz239
LQ Newbie
 
Registered: Feb 2009
Location: Phoenix, AZ
Distribution: Linux Mint
Posts: 28

Original Poster
Rep: Reputation: 0
0.0 Wow. This looks like the kind of thing I was looking for. A bit of a big task by the looks of it, but I think it might be what I need. It would be helpful if you had an OS to suggest while I'm writing the actual software to test with if you know of any stripped down distros meant for low-power machines.

I'll definitely end up building a Linux distro from scratch with this (very) in-depth book, though. Now I just need to find a place to print this...
 
Old 04-28-2012, 09:40 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Any number of distros allow you to build a basic system - minus GUI.
None will have (such) a minimal kernel as they have to ship a kernel (plus initrd) that still boots on any one of the almost infinite combinations of hardware out there. Easy enough to rebuild the kernel later.
Personally I have liked Arch for the last little while - you add what you want the system to have, rather than having to take stuff out.

lfs is a different philosophy altogether; that's the whole kit and kaboodle - toolchain and all.
 
Old 04-29-2012, 02:42 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
"very low-level graphics card with ability to detect HDMI resolution (no actual graphics will be required)"

Kind of conflicting there.

Almost all hardware in linux needs some sort of driver.
Almost all video cards can run in vesa mode but not sure you could run hdmi. Never tried it. May work.

Last edited by jefro; 04-30-2012 at 04:21 PM.
 
Old 04-30-2012, 03:33 PM   #6
Beanz239
LQ Newbie
 
Registered: Feb 2009
Location: Phoenix, AZ
Distribution: Linux Mint
Posts: 28

Original Poster
Rep: Reputation: 0
Well, I'm running Linux on the machine I'm using now. When it starts up, before it has any video drivers to speak of, it adjusts the resolution at boot to match the TV it's connected to (1080p). I'm just wondering what kind of coding is required to poll that information. Obviously, they've updated HD displays to send that information back to the OS if it is polled. At least, I've never seen a VGA port do that accurately. In any case, I will be using the same video card throughout all of my machines and therefore won't need to worry about what video drivers they are. It will just be included with the OS. I'm just wondering what distro will have the essential keyboard drivers (essentially all of them) and the ability to put text out to the screen at the correct resolution without having to manually set it. And of course, if the display, for some reason, doesn't report back its resolution, it will default to a 640x480 and the user can manually set it later.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux USB Low Level Format Tools ?? mbzadegan Linux - Hardware 7 03-12-2012 03:47 AM
Low Sound Output Level In Linux joel112 Linux - Desktop 3 05-06-2009 01:16 PM
Linux: get low-level file structure information in userspace using C sam_vde Programming 6 07-25-2008 04:42 PM
WANTED: Low Level Disc Sector editor for LINUX SAB Linux - General 4 04-24-2005 08:24 PM
Low-level format under Linux with an AHA-1522 rcase5 Linux - Hardware 2 04-12-2005 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration