forgetful... *dumpdevmem inconsistency*

Peter Fox peter.fox at aeroflex.com
Tue Oct 14 03:21:01 CEST 2003


I think you were advised to use dumpdevmem in the utils directory before.

I've just been trying to use it myself, and discovered that the output is not
that of my BIOS.

I have a 256k bios, so tried

dumpdevmem 0xFFFC0000 0x40000 > file

Of course, it didn't produce the correct data until I tried

dumpdevmem 0xFFFC 0x40000 > file

but dumpdevmem --help says:

Usage: ./dumpdevmem [high 16 bits of base address [size]]
Dumps dev mem, starting at either argv[1]<<16 or (default) 0xffe00000 for
0x200000 bytes (i.e. last 2MB of memory
Example: ./dumpdevmem 0xfff00000 0x100000  <<<<<<<<<<<<<<<<<<<<<<<< Wrong !
Dumps last 1M of memory to stdout

Personally, I would prefer the base address to be not shifted, as that has the
least suprise for me, so get rid of all those <<16.

I still can't get flash_rom to recognise my AM29F040 though.

--
Peter Fox <peter.fox at aeroflex.com>     Aeroflex Test Solutions
Principal Design Engineer                            Stevenage
Any opinions expressed above are      http://www.aeroflex.com/
not necessarily those of Aeroflex.   Tel: + 44 (0) 1438 742200

  -----Original Message-----
  From: linuxbios-admin at clustermatic.org
  [mailto:linuxbios-admin at clustermatic.org]On Behalf Of Nathanael Noblet
  Sent: 13 October 2003 18:00
  To: linuxbios at clustermatic.org
  Subject: forgetful...


  Hello,
  	I've tried google for the last 5 minutes. I can't remember how to
  backup the original BIOS. I fried my working flash copy of it, and have
  only the original, which I'd like to extract and put into another
  working part as safety, but can't find how I did it in the first place.

  --
  Nathanael Noblet
  Gnat Solutions
  4604 Monterey Ave NW
  Calgary, AB
  T3B 5K4

  T/F 403.288.5360
  C 403.809.5368

  http://www.gnat.ca/

  _______________________________________________
  Linuxbios mailing list
  Linuxbios at clustermatic.org
  http://www.clustermatic.org/mailman/listinfo/linuxbios




More information about the coreboot mailing list