WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: modprobe nvram  (Read 4025 times)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
modprobe nvram
« on: September 20, 2011, 02:57:23 AM »
In order to manage Bios parameters, i need to access to the nvram.

is it possible with TC ?

Thanks
Daniel.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: modprobe nvram
« Reply #1 on: September 20, 2011, 04:55:06 AM »
I guess it depends what you mean with "access". Just for "fun" you could probably read some contents with commands like:
Code: [Select]
tc@box:~$ hexdump -vC /dev/nvram
00000000  00 00 00 00 00 00 0e 80  02 ff ff 00 00 00 00 00  |................|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  02 8e ff ff 20 00 00 07  00 20 20 00 00 00 00 31  |.... ....  ....1|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 01 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00                                             |..|
00000072
tc@box:~$ cat /proc/driver/nvram
Checksum status: valid
# floppies     : 0
Floppy 0 type  : none
Floppy 1 type  : none
HD 0 type      : none
HD 1 type      : none
HD type 48 data: 0/0/0 C/H/S, precomp 0, lz 0
HD type 49 data: 7/32/0 C/H/S, precomp 32, lz 0
DOS base memory: 640 kB
Extended memory: 65535 kB (configured), 65535 kB (tested)
Gfx adapter    : EGA, VGA, ... (with BIOS)
FPU            : installed
tc@box:~$
There are certainly some other tools, but I just could not be bothered to use goggle to find out more.

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: modprobe nvram
« Reply #2 on: September 20, 2011, 05:07:59 AM »
Thank you Maro!!!

In fact, i'm using flashrom for BIOS update.
I was reading http://www.pixelbeat.org/docs/bios/

I've got a program for nvram bios param update, but it doesn't run directly when i update from bios V1.00 to V2.20 (need reboot).
with that, i expect beeing able to do all in one boot!

Daniel.

PS: concerning flashrom, i've got flash erase pb (many case (and long time) to erase all flash).
But after, flashing BIOS is ok!

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: modprobe nvram
« Reply #3 on: September 20, 2011, 09:21:31 AM »
I make a flasrom modification!
It seems to run now :)

Daniel.