Making Picostation m2HP work
Luiz Otavio O Souza
lists.br at gmail.com
Mon Aug 19 12:59:25 UTC 2013
Hi Hiren,
I've looked at ubnt firmwares and there are a few identifiers that i can
gather:
All the 'M' series (rockets, airgrids and many others) uses the same
firmware identifier: 'XM'.
The b/g 2Ghz radios uses the 'XS2' identifier and the 5Ghz models uses the
'XS5'.
The original PicoStation2 HP firmware has the following identifier:
$ hexdump -C PicoStation2HP-v4.0.3.build5058.bin
00000000 55 42 4e 54 58 53 32 2e 61 72 32 33 31 36 2e 76
|UBNTXS2.ar2316.v|
00000010 34 2e 30 2e 33 2e 35 30 35 38 2e 31 33 30 33 32
|4.0.3.5058.13032|
00000020 38 2e 31 30 35 34 00 00 00 00 00 00 00 00 00 00
|8.1054..........|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
[...]
Can you try to build an image using 'XS2' as the board type and
'XS2.ar2316.FreeBSD' as the version string ?
If you create a correct image the update process will succeed even if the
compression is wrong (the loader will fail to boot, but that is ok, we can
hopefully fix the image later).
The kernel load address and entry point set by mkfwimage for the XS2 board
is different from what we expect:
.name = "XS2",
.kern_start = 0xbfc30000,
.kern_memstart = 0x80041000,
.kern_entry = 0x80041000,
.firmware_max_length= 0x00390000,
So you may need to adjust your kernel or the settings on mkfwimage for this
firmware template.
Luiz
More information about the freebsd-embedded
mailing list