Terminus Logo  Secured by phpPhobos

Shadow Family   
  Login  - No Account?  Create One   
Search 
Friday, 26 April 2024  -
News FeedRSS Feed
rss rdf  
  Home 
  Authentication 
 Documentation 
    Site Documentation 
    About me 
  Legal Notice 
 Applications 
    Web Links 
 Hobbies 
    RC Models 
    RC Batteries 
    Build blogs 
 Modules 
    Downloads 
    Weblinks 
 Blacklists 
    Blacklist 
    Blockout 
    DNS Blacklist 
 Registered Bloggers 
  Joerg's Blog 
 Gallery [Listing]
  > Diving 
  > Steampunk 
  > RC Planes 
  > FPV Drones 
  > Indy travels 
 FAQ  [ Topics  ]
 Common Linux problem... 
 Routerboard RBxxxAH 
 Apple Mac-mini 
 PHP Phobos 
 Stargate's Backup sc... 
 eBook Reader / PRS-5... 
 RC Models 
 Server in SolLan 
Question ? How can I flash the BIOS on the Epia 10000M mini-ITX system under Linux ?   [
View DetailsView details
|
Print ViewPrint view
]

 This one took me some time to find out.
LinuxBIOS v2 contains a flash utility called "flash_rom". It can be found under LinuxBIOS - in the package under freebios2/util/flash_and_burn.
This utility can be used to flash the bios instead of awdflash.

# ./flash_rom --help
The arguments are:
usage: ./flash_rom [-rwv] [-c chipname] [-s exclude_start] [-e exclude_end] [file]
-r: read flash and save into file
-w: write file into flash (default when file is specified)
-v: verify flash against file
-c: probe only for specified flash chip
-s: exclude start position
-e: exclude end postion
 If no file is specified, then all that happens
 is that flash info is dumped

A tipical flash-session would be:

./flash_rom -r test.bin
The arguments are:
-r
test.bin
Calibrating timer since microsleep sucks ... takes a second
Setting up microsecond timing loop
260M loops per second
OK, calibrated, now do the deed
Enabling flash write on VT8235...OK
Trying Am29F040B, 512 KB
probe_29f040b: id1 0x24, id2 0xa6
Trying At29C040A, 512 KB
probe_jedec: id1 0xbf, id2 0xb6
Trying Mx29f002, 256 KB
probe_29f002: id1 0xbf, id2 0xb6
Trying SST29EE020A, 256 KB
probe_jedec: id1 0xbf, id2 0xb6
Trying SST28SF040A, 512 KB
probe_28sf040: id1 0x24, id2 0xa6
Trying SST39SF020A, 256 KB
probe_jedec: id1 0xbf, id2 0xb6
SST39SF020A found at physical address: 0xfffc0000
Part is SST39SF020A
Reading Flash...done

Get the new Bios - and burn it with:

# ./flash_rom -w epiam_116_fixed.bin
The arguments are:
-w
epiam_116_fixed.bin
Calibrating timer since microsleep sucks ... takes a second
Setting up microsecond timing loop
252M loops per second
OK, calibrated, now do the deed
Enabling flash write on VT8235...OK
Trying Am29F040B, 512 KB
probe_29f040b: id1 0x24, id2 0xa6
Trying At29C040A, 512 KB
probe_jedec: id1 0xbf, id2 0xb6
Trying Mx29f002, 256 KB
probe_29f002: id1 0xbf, id2 0xb6
Trying SST29EE020A, 256 KB
probe_jedec: id1 0xbf, id2 0xb6
Trying SST28SF040A, 512 KB
probe_28sf040: id1 0x24, id2 0xa6
Trying SST39SF020A, 256 KB
probe_jedec: id1 0xbf, id2 0xb6
SST39SF020A found at physical address: 0xfffc0000
Part is SST39SF020A
Programming Page: 0063 at address: 0x0003f000

You should then reread the installed bios from Flash - and compare it against the one you have just uploaded using:

 diff <newfile> <oldfile>

There should be no difference between the files ! 

Entered by smurphy on Saturday, 18 August 2007 @ 23:57:58  
Linux on VIA Epia Hardware - Epia M10000 / Hush, # Hits: 99317

Next  How can I flash the BIOS on the Epia 10000M mini-ITX system under DOS ? 
Next  BIOS Updates for Epia-Boards fix DMA-Issues 
  Back Back  
 
Problems to  webmaster(-AT-)solsys(-DOT-)org  - best viewed @ 1920bpp
This site is powered by phpPhobos v2.0b446
© J. Mertin smurphy(-AT-)solsys(-DOT-)org 
Icons - Copyright Breeze artists GPL 2+