LinuxQuestions.org
Visit Jeremy's Blog.
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 12-16-2004, 11:50 PM   #1
TeasSumaire
LQ Newbie
 
Registered: Dec 2004
Location: California
Posts: 3

Rep: Reputation: 0
Exclamation i286 Linux




I am in need of a distrobution of linux that supports the following:

-able to be run on an i286 (16MHz) single board computer running out of flash ram (the mother board sees it as a harddrive)

-contains a free compiler for c or c++ or some derivative there of

Any help would be GREATLY appreciated.

If not linux, is there anything out there that is free and easy?

Thanks.
 
Old 12-16-2004, 11:53 PM   #2
SuperCoffeeMan
Member
 
Registered: Oct 2004
Location: Portland, Oregon
Distribution: Slackware and Ubuntu
Posts: 47

Rep: Reputation: 15
Linux was originally created on the i386 and I don't know if it is possible to compile it for a 286, maybe
 
Old 12-17-2004, 01:39 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
To quote from the TLDP

Quote:
Intel 386SX/DX/SL, 486SX/DX/SL/SX2/DX2/DX4, Pentium, Pentium Pro, Pentium II, Pentium III (regular and Xeon versions), Pentium 4, and Celeron are all supported.
Therefore, running Linux on a 286 would not be feasible. As SuperCoffeeMan indicated, perhaps somebody out there has a port for it, but to the best of my knowledge you would need at least a 386. -- J.W.
 
Old 12-17-2004, 09:37 AM   #4
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
I guess minix might be viable on i286
 
Old 12-17-2004, 12:39 PM   #5
thedan
LQ Newbie
 
Registered: Dec 2004
Location: Indiana, USA
Distribution: Mandrake 10.1
Posts: 3

Rep: Reputation: 0
Linux is a 32-bit OS. It won't work on anything less than an i386.
 
Old 12-17-2004, 03:17 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There are revisions of Linux for 286 though they will have a lot problems. This is because the 286 projects have stopped. You are on your own if you want to have a special program like GUI.
 
Old 12-17-2004, 08:22 PM   #7
TeasSumaire
LQ Newbie
 
Registered: Dec 2004
Location: California
Posts: 3

Original Poster
Rep: Reputation: 0
old distros?

Where might I find one of the old projects for the i286? I dont need anything special, half the time a monitor or video card wont even be connected. All I need to do is write a program to control an 8-bit ISA data input output board.
 
Old 12-17-2004, 10:07 PM   #8
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
I'm probably going to get flamed (putting on my asbestos suit) but linux really isn't practical on a 286. I would think about djgpp on msdos 6.x.

Last edited by kevinalm; 12-17-2004 at 10:09 PM.
 
Old 12-17-2004, 11:44 PM   #9
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Have a look at minix, it should run fine on that hardware...
 
Old 12-18-2004, 12:18 AM   #10
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I would second the opinion of running MSDOS 6 on it. It will likely run better than any Linux distribution is going to on such a slow processor.
 
Old 12-18-2004, 01:06 AM   #11
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
If you don't have MSDOS or one of the other proprietary DOSes, you could try FreeDOS. I'll likewise don my asbestos suit and say that I'd recommend MSDOS over FreeDOS at this point. FreeDOS is better in a lot of ways, but isn't all there yet. So MSDOS if you can; FreeDOS if you can't.
 
Old 12-18-2004, 01:18 AM   #12
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
I tried out Freedos on dosemu a year or two ago. Felt like the developers were going for a "better" dos rather than a "compatable" dos. Couldn't seem to get anything to work right. For one thing, there seemed to be major differences in batch file syntax. Finally wound up digging out my old dos 6.2 floppies.

Last edited by kevinalm; 12-18-2004 at 01:19 AM.
 
Old 12-18-2004, 01:45 AM   #13
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah - the ideal would be compatible+better. As is, it's a mix of compatible and incompatible; better and worse. Just doesn't feel or work 'right', though it mostly works.

And maybe one of them will work for TeasSumaire.
 
Old 12-18-2004, 01:09 PM   #14
TeasSumaire
LQ Newbie
 
Registered: Dec 2004
Location: California
Posts: 3

Original Poster
Rep: Reputation: 0
MSDOS

I had a feeling I would be brought to DOS. Not a problem, except where should I start looking for MSDOS floppies? I have a set of 6 and 6.1 but they seem to be corrupted because nothing will read them properly. I've found FreeDOS, but can't figure out how to turn the images into bootable floppies.

Also, I'm going to need a c or c++ compiler (or a some way to convert the c addresses 0x300 - 0x331 to whatever address format QBasic uses. With that, is 0xff the hex equivilant of 1111 1111 binary and 255 decimal?

Thanks for all the help guys....my knowledge is very specific, and programming across languages isnt one of the specifics.
 
Old 12-18-2004, 02:34 PM   #15
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
That's why I mentioned djgpp. It's basically a port of the gcc to dos. Console mode programs only, iirc. You can get rhide as well if you need an ide.
The 0x prefix is generally used to specify hex, so yes 0xff = 1111 1111 = 255 . Been a long time since I used qbasic, but I seem to recall there is no way to access port addresses, if that is what you have in mind. No peek or poke commands. (I could be wrong.)

>> opps. djgpp requires 32 bit as well. If you use dos you may have to dig up some old version of borland's compiler. I don't know anything about minix, maybe that might suit your purposes better.

Last edited by kevinalm; 12-18-2004 at 02:53 PM.
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

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

All times are GMT -5. The time now is 11:13 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