How to use imgtool_nvram

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
mkk
DD-WRT Novice


Joined: 11 Nov 2008
Posts: 9
Location: Hong Kong PRC

PostPosted: Sun Nov 16, 2008 18:38    Post subject: How to use imgtool_nvram Reply with quote
Does any one how to use the imgtool to set defalut nvram setting ? when i use it on vxkiller it said that the offset is not correct.


>imgtool_nvram.exe

imgtool_nvram 0.02 alpha - (c)2006 Jeremy Collake (jeremy@bitsum.com)
Free for all the world. GPL License.


Usage: imgtool_nvram cfeimage.bin [-offset x] [-size x] var1=xxx var2=yyy ...

cfeimage.bin is the input file (image of the CFE).
-offset supplies the nvram area offset (default is 4096)
-size supplies the nvram area maximum size (default is 4096)

Any number of variables can be specified. If an existing variable
already exists, it will be replaced.

Variables whose value includes spaces should be encapsulated in
quotation marks.

If no variables are specified, the current variables are shown.


>imgtool_nvram.exe CFE.bin

imgtool_nvram 0.02 alpha - (c)2006 Jeremy Collake (jeremy@bitsum.com)
Free for all the world. GPL License.

+ CFE image: CFE.bin
+ Reading nvram ...
boardtype=0x0467
boardnum=WAP54GV3_8M_0614
boardrev=0x13
boardflags=0x0758
sromrev=2
clkfreq=200
sdram_init=0x0002
sdram_config=0x0032
sdram_refresh=0
sdram_ncdl=0
et0macaddr=00:90:4c:91:00:01
et0phyaddr=30
et0mdcport=0
et1phyaddr=0x1f
wl0id=0x4318
il0macaddr=00:90:4c:91:00:02
aa0=3
ag0=2
pa0maxpwr=72
pa0itssit=62
pa0b0=0x176e
pa0b1=0xfa35
pa0b2=0xfe77
opo=12
wl0gpio0=0
wl0gpio1=255
wl0gpio2=255
wl0gpio3=255
wl0gpio5=2
cctl=0
ccode=0
vlan0hwname=et0
vlan0ports=1 2 3 4 5*
vlan1hwname=et0
vlan1ports=0 5u
landevs=vlan0 wl0
wandevs=et0
lan_ipaddr=192.168.1.245
lan_netmask=255.255.255.0
boot_wait=on
reset_gpio=7
watchdog=3000
gpio1=ses_led
gpio14=ses_button
Embedding nvram ...
+ Writing nvram ...
boardtype=0x0467
boardnum=WAP54GV3_8M_0614
boardrev=0x13
boardflags=0x0758
sromrev=2
clkfreq=200
sdram_init=0x0002
sdram_config=0x0032
sdram_refresh=0
sdram_ncdl=0
et0macaddr=00:90:4c:91:00:01
et0phyaddr=30
et0mdcport=0
et1phyaddr=0x1f
wl0id=0x4318
il0macaddr=00:90:4c:91:00:02
aa0=3
ag0=2
pa0maxpwr=72
pa0itssit=62
pa0b0=0x176e
pa0b1=0xfa35
pa0b2=0xfe77
opo=12
wl0gpio0=0
wl0gpio1=255
wl0gpio2=255
wl0gpio3=255
wl0gpio5=2
cctl=0
ccode=0
vlan0hwname=et0
vlan0ports=1 2 3 4 5*
vlan1hwname=et0
vlan1ports=0 5u
landevs=vlan0 wl0
wandevs=et0
lan_ipaddr=192.168.1.245
lan_netmask=255.255.255.0
boot_wait=on
reset_gpio=7
watchdog=3000
gpio1=ses_led
gpio14=ses_button

Completed successfully..

>imgtool_nvram.exe vxworks_killer_g_v06.bin

imgtool_nvram 0.02 alpha - (c)2006 Jeremy Collake (jeremy@bitsum.com)
Free for all the world. GPL License.

+ CFE image: vxworks_killer_g_v06.bin
+ Reading nvram ...
! ERROR: Read

! ERROR: NVRAM manipulation failed.

>
Sponsor
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 370

PostPosted: Tue Jun 16, 2009 1:27    Post subject: Reply with quote
Hi mkk,

I was wondering if you sitl got this file:

imgtool_nvram.exe ????????

If you do, can you please please send it to me as i cant find it nowhere on the net and not at: www.bitsum.com

Thanks in advance,
Vaako
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Tue Jun 16, 2009 1:37    Post subject: Reply with quote
Every tutorial for neutered routers links to it...

http://www.bitsum.com/openwiking/owbase/ow.asp?WRT54G5_CFE

http://www.bitsum.com/files/imgtool_nvram.zip

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 370

PostPosted: Tue Jun 16, 2009 21:14    Post subject: Reply with quote
@phuzi0n

THANK YOU !

_________________
Regards,
Vaako

1x Netgear R7800 Nighthawk - firmware not decided yet !!!!
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum