Dellflash - DELL的BIOS擦写工具


ISC
BSD
C/C++

软件简介

Dellflash 是一个用来在 OpenBSD 系统下擦写 DELL 计算机的
BIOS 的工具。

$ cd /tmp/                                                                                                                                                                     
$ ftp http://opensource.conformal.com/snapshots/dellflash/dellflash-0.2.tgz  
Trying 10.137.0.23...  
Requesting http://opensource.conformal.com/snapshots/dellflash/dellflash-0.2.tgz  
100% |*****************************************************|  4796       00:00      
4796 bytes received in 0.00 seconds (2.59 MB/s)  
$ tar zxvf dellflash-0.2.tgz                                                                                                                                                   
dellflash-0.2  
dellflash-0.2/flashit  
dellflash-0.2/flashit/Makefile  
dellflash-0.2/flashit/flashit.c  
dellflash-0.2/Makefile  
dellflash-0.2/README  
dellflash-0.2/module  
dellflash-0.2/module/Makefile  
dellflash-0.2/module/biosmod.c  
dellflash-0.2/module/biosmod.h  
$ cd dellflash-0.2                                                                                                                                                             
$ ls -la  
total 28  
drwxr-xr-x  4 marco  wheel   512 Jan 10 10:09 .  
drwxrwxrwt  9 root   wheel   512 Jan 10 10:28 ..  
-rw-r--r--  1 marco  wheel   149 Nov 17  2009 Makefile  
-rw-r--r--  1 marco  wheel  2283 Jan 10 10:05 README  
drwxr-xr-x  2 marco  wheel   512 Jan 10 10:09 flashit  
drwxr-xr-x  2 marco  wheel   512 Jan 10 10:09 module  
$ make   
===> module  
cc -O2 -pipe  -fPIC -fno-builtin -D_KERNEL -I/sys  -c biosmod.c  
===> flashit  
cc -O2 -pipe  -Wall -Werror   -c flashit.c  
cc   -o flashit flashit.o   
$ sudo make load  
===> module  
modload -o biosmod -ebiosmod biosmod.o  
Module loaded as ID 0  
===> flashit  
$ sudo ./flashit/flashit /tmp/E6500A24.HDR  
$ sudo /sbin/reboot