Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
linux for 486sx
- 08-15-2009

Re: linux for 486sx

Well, for old technology, you could run an old distribution.
I can make the InfoMagic Linux Developer's Resource from
August 1997 available on a ftp site for you if you like. It
contains RedHat 4.2, Debian 1.3.1, Slackware 3.3, and kernel
sources 2.0.30 and 2.1.50.
Phil
--
If GML was an infant, SGML is the bright youngster far exceeds
expectations and made its parents too proud, but XML is the
If GML was an infant, SGML is the bright youngster far exceeds
expectations and made its parents too proud, but XML is the
We've slightly trimmed the long signature. Click to see the full one.

Re: linux for 486sx

well yes, but so old is the unit here not. It is brand new, but it is
486sx.
But it will need usb support etc, 2.4 kernel had this but 2.6x would
be much better in that for example. AFAIK bellow 2.4x there was no usb
support at all, so this might be a limit downwards.
the unit is 486sx, 300mhz, 128mb ram, something like PC104, but much
cheaper and kind of 'consumer' quality.

Re: linux for 486sx

AFAIK, the 2.6 Kernel is configurable to support restricted hardware.
But maybe you need to configure and compile it yourself. So either you
compile the Kernel on a full featured PC or you use a restricted
distribution to boot the 486 and compile compile a 2.6 Kernel.
Debian can be booted from a very minimal Media and will bring up itself
completely from the Internet. (It takes some time to do that, but it's
fun :). ) I don't know whether this "minimal boot media distribution
supports 468 without FPU, but it's quite likely it does. You'll find
instructions on the Debian website.
-Michael

Re: linux for 486sx

Not exactly: They need at least a 486 CPU. But they do not enable the FPU
emulation in their kernel, that is why they need a 486dx. It's only the
CONFIG_MATH_EMULATION symbol in their kernel configuration that is
still 'n'. All you need is "CONFIG_MATH_EMULATION=y".
jbe

Re: linux for 486sx

OK, this is nice info, I am just reading some howtos for kernel
compiling, have some 'config' from similar system for compilation from
config script, so will try to modify or add this and see if I succeed.
Is that correct this way? Add it to the config for compiler and it
will be set so?
Well I am so far just a user, kernel etc did not much buther me so
far, but now I have to bite myself into it somehow.

Re: linux for 486sx

No problem, simply enable the fpu emulation in your kernel. It does not make
things faster, but work.
You should use a cross toolchain that only creates softfloat. It will run
your programs a litte bit faster, because it does not need an exception on
every FPU opcode.
jbe

Re: linux for 486sx

Maybe they enabled the embedded config option (CONFIG_IKCONFIG=y) in their
kernels. Read the help of the corresponding menu entry (run "make
menuconfig" in your own kernel tree, enter "/", then enter "IKCONFIG" to
get an idea where this menu entry is). Extract the config of their kernel
as mentioned in the help text and use it as a template in your own kernel
tree.
Next enable "[ ] Math emulation" (in menu "Processor type and features"), to
get a "CONFIG_MATH_EMULATION=y" in your own .config file. Build this
kernel, run it and be happy. Hmm, and you should select "Processor family
(486)". BTW: You can build this kernel with your host compiler. Kernel's
build system will instruct the compiler to only use opcodes the 486 is able
to handle (even if your host is a new shiny XYZ-Pentium-Opteron).
jbe
Site Timeline
- » best pocket sized computer?
- — Next thread in » Embedded Linux
-
- » VDC Needs Your Help Studying Embedded Engineering Market
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Condensateur de démarrage 25µF pour remplacer u n 10µF ?
- — The site's Newest Thread. Posted in » Electronics (French)
-