Re: [PATCH] AMD Elan SC4x0 work-around, kernel 2.3.99-pre5

From: Anders Larsen (anders@alarsen.net)
Date: Thu Apr 20 2000 - 16:11:11 EST


Richard B. Johnson wrote:
>
> On Wed, 19 Apr 2000, Anders Larsen wrote:
>
> > Hi,
> >
> > the enclosed benign patch solves two independent problems with the AMD
> > Elan SC400 series of embedded CPUs (a 486 with DRAM controller, 8253,
> > dual 8259, 16550 and EPP on a single chip):
>
> How did you get it to boot? I have the same "demo-board". Linux comes
> up and crashes immediately with an unrecognizable scroll of high-speed
> junk on the screen. Further, the boot-ROM seems to leave the machine
> in virtual-86 mode after a reset so setting the PE bit traps to the
> built-in debugger.
>
> I have to boot DOS, then warm-boot Linux. NotGood(tm)

I'm using a credit-card size module "DIMM-PC EC" from the German company
Gesytec GmbH (http://www.gesytec.de/) which contains an SC410 CPU, a
Crystal CS8900 10Base-T, 4Mb Flash and 8Mb RAM.
A small part of the flash is factory-programmed with a boot-loader
taylored for Windoze CE.
What we did was to adapt the setup-code (bootsect.S and setup.S) to that
loader and hack a utility to pack the bzImage together with an initrd into
the format (M$ WinCE NK.bin) it will understand.

The module can boot from Flash or from the Ethernet (proprietary protocol
of course, but it turned out to be totally, utterly simple, something like
a stripped-down tftp :-).
I have a 2.2.14 (with the patch I submitted) running together with the
libs and utilities from the LEM package (http://www.linux-embedded.org/),
adapted to our special needs.
It's been running stable for more than a week now :-D

Our setup code and boot utilities will be published (GPL) after I've had
a chance to tidy up the code a bit...

Cheers
  Anders Larsen

#exclude <windows.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:17 EST