OpenWrt Forum Archive

Topic: what is the art.bin/nvram for ?

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

some says it is wireless driver, i don't think so.cause it's too simple in hex view.

I'v got two different version of RG100A-AA router, both works well with factory's firmware, when I flash the openwrt on both, one is good, another one's wifi signal turns to much lower.phones keep away above 1 meter then the wireless connection will lose.

I'v heard there is a wireless calibration process in manufacturing the Routers. is that true ? is that means the calibration data is saved in the art.bin/nvram partion ?

where can I get that tool ?

(Last edited by 9crk on 19 Dec 2013, 10:09)

anyone who konw this?

Art partition contains all kind of device-specific stuff. But the contents really depend on the router.

E.g. my wndr3700/v2/3800 routers' art data starts with the MAC addresses for LAN, Wifi, router serial number, WPS PIN code etc. So it contains unique data for each device.

https://www.dropbox.com/sh/t52c02rm20y8 … nation.txt

Additionally the remaining part probably contains stuff used by the OEM firmware (like wifi calibration etc.), but I think that Openwrt doesn't use that to any larger extent. (And I do not know any practical way to analyse or edit it.)

EDIT:
If you want to try to find out what there is, you have go deep into Openwrt's device-specific code.
E.g. for WNDR3700 the location of the MAC addresses is defined here: https://dev.openwrt.org/browser/trunk/t … 3700.c#L44

(Last edited by hnyman on 20 Dec 2013, 08:52)

thanks a lot for your reply.

I can't get the content of http://www.dropbox.com/sh/t52c02rm20y8x … nation.txt

the GREAT firewall blocked it...can you paste it here please?


btw, what if I designed a hardware with AR9331, and I didn't have a art.bin file?

how should I calibrate the wifi on it?

9crk wrote:

can you paste it here please?

Sure. That is the first ~120 bytes of my art.

00000000  74 44 01 02 a3 e7 74 44 01 02 a3 e8 74 44 01 02 a3 e9 31 32 33 34 35 36  tD£çtD£ètD£é123456
00000018  37 38 32 4d 31 32 33 43 34 56 35 36 37 38 45 00 02 32 39 37 36 33 36 35  782M123C4V5678E 2976365
00000030  34 2b 31 36 2b 31 32 38 57 4e 44 52 33 38 30 30 00 00 4e 45 54 47 45 41  4+16+128WNDR3800  NETGEA
00000048  52 30 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  R03                     
00000060  00 00 63 6c 6f 75 64 79 70 6f 6e 64 33 33 33 00 00 00 00 00 00 00 00 00    cloudypond333         
00000078  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                          

Explanations:
74 44 01 02 a3 e7         ETH0 MAC  / WLAN0 MAC   (also in the label in router's bottom)
74 44 01 02 a3 e8         ETH1 MAC
74 44 01 02 a3 e9         WLAN1 MAC
31 32 33 34 35 36 37 38   WPS PIN code
32 4d 31 32 33 43 34 56 35 36 37 38 45   Router serial number (in the label in router's bottom)
00 02
32 39 37 36 33 36 35 34 2b 31 36 2b 31 32 38   Magic? Part of firmware image ID
57 4e 44 52 33 38 30 30                  Router type (Openwrt uses for identification)
00 00
4e 45 54 47 45 41 52 30 33               Netgear firmware WLAN network default name (also in label)
00 ...
63 6c 6f 75 64 79 70 6f 6e 64 33 33 33   Netgear firmware WLAN network default keyphrase (also in label)


-----
WNDR3700v1 and WNDR3700v2 only have the header until the router serial number. The things after that are only in 3800.
9crk wrote:

btw, what if I designed a hardware with AR9331, and I didn't have a art.bin file?
how should I calibrate the wifi on it?

No idea. Most likely the drivers work with default settings in that case.

(Last edited by hnyman on 20 Dec 2013, 11:26)

That is the first ~120 bytes of my art.

00000000  74 44 01 02 a3 e7 74 44 01 02 a3 e8 74 44 01 02 a3 e9 31 32 33 34 35 36  tD£çtD£ètD£é123456
00000018  37 38 32 4d 31 32 33 43 34 56 35 36 37 38 45 00 02 32 39 37 36 33 36 35  782M123C4V5678E 2976365
00000030  34 2b 31 36 2b 31 32 38 57 4e 44 52 33 38 30 30 00 00 4e 45 54 47 45 41  4+16+128WNDR3800  NETGEA
00000048  52 30 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  R03                     
00000060  00 00 63 6c 6f 75 64 79 70 6f 6e 64 33 33 33 00 00 00 00 00 00 00 00 00    cloudypond333         
00000078  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                          

Explanations:
74 44 01 02 a3 e7         ETH0 MAC  / WLAN0 MAC   (also in the label in router's bottom)
74 44 01 02 a3 e8         ETH1 MAC
74 44 01 02 a3 e9         WLAN1 MAC
31 32 33 34 35 36 37 38   WPS PIN code
32 4d 31 32 33 43 34 56 35 36 37 38 45   Router serial number (in the label in router's bottom)
00 02
32 39 37 36 33 36 35 34 2b 31 36 2b 31 32 38   Magic? Part of firmware image ID
57 4e 44 52 33 38 30 30                  Router type (Openwrt uses for identification)
00 00
4e 45 54 47 45 41 52 30 33               Netgear firmware WLAN network default name (also in label)
00 ...
63 6c 6f 75 64 79 70 6f 6e 64 33 33 33   Netgear firmware WLAN network default keyphrase (also in label)


-----
WNDR3700v1 and WNDR3700v2 only have the header until the router serial number. The things after that are only in 3800.

wow, this is quite in-depth analysis and interpretation of the ART partition? Where is the most comprehensive about it?

Thanks so much.

The discussion might have continued from here.