Tom

On Wed, Aug 29, 2007 at 11:57:08AM -0400, Tom Mazzotta wrote:
> Subsequent to this test, I noticed that even when using the CPU_GEODE and 
> CPU_SOEKRIS directives to compile a kernel w/ the original geode.c source, I 
> did NOT see the /dev/led devices when booting on a net 4801 (I have both 4801 
> & 5501 for my testing). No doubt, I'm doing something wrong!
... or your BIOS version is different and the OEM BIOS strings have moved
in this case we would need to enlarge the BIOS address space being groped
i.e. expand the { 0xf0000, 0xf1000 } range in struct bios_oem bios_soekris

In any case, on a net4801 you should see in the dmesg:
  Geode Soekris net4801 comBIOS ver. 1.27a 20041206 Copyright (C) 2000-2004
otherwise all bets are off with regard to /dev/led/error!

Here are my stats:

On net4801
  comBIOS ver. 1.27a 20041206  Copyright (C) 2000-2004 Soekris Engineering.
  FreeBSD 6.2-STYX-20070430 #0: Tue May  1 05:39:26 UTC 2007
as well as
  FreeBSD 6.1-STYX-20060705 (STYXMFS) #0: Thu Jul  6 09:36:19 UTC 2006
(these are custom kernels builds based on FreeBSD on those dates)
both kernels report from sys/i386/i386/geode.c:
  Geode GPIO@ = 6100
  Geode Soekris net4801 comBIOS ver. 1.27a 20041206 Copyright (C) 2000-2004
and the led/error device is created:
  $ ls -l /dev/led/error 
  crw-------  1 root  wheel    0,  32 Sep  3 09:39 /dev/led/error
and
  # echo d12 >/dev/led/error
flashes the red LED.

I have in the kernel config:
  cpu I486_CPU
  cpu I586_CPU
  options CPU_SOEKRIS
  options CPU_GEODE
  options CPU_ELAN
(CPU_ELAN is in there so that the 4501 is supported as well).

On net4501:
  comBIOS ver. 1.22  20031029  Copyright (C) 2000-2003 Soekris Engineering.
  FreeBSD 6.1-STYX-20060705 #0: Thu Jul  6 09:31:22 UTC 2006
as well as
  FreeBSD 6.2-STYX-20070430 #0: Tue May  1 05:39:26 UTC 2007

reports from sys/i386/i386/elan-mmcr.c:
  Elan-mmcr driver: MMCR at 0xc5b68000.
  Elan-mmcr Soekris net45xx comBIOS ver. 1.22 20031029 Copyright (C) 2000-2003
and /dev/led/error works as expected

Hope this helps!
Adrian
_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to