[Ninux-Wireless] UniFi alla cieca

Filippo Sallemi tonyputi a gmail.com
Mar 14 Dic 2010 14:33:28 CET


Guarda io le mie due le ho flashate così e come per magia andavano. Occhio
che il led non funziona a meno che qualcuno non l'abbia risolto.

Hai provata ad attaccarla direttamente al tuo pc?

Ciao

2010/12/14 Emiliano Macedonio <emiliano a macedonio.it>

>  eccone un'altra
>
> ecco cosa mi è uscito dopo aver dato:
>
> BZ.v1.0# fwupdate.real -m
> openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -d
> Found mtd block: /dev/mtd0(u-boot)
> Found mtd block: /dev/mtd1(u-boot-env)
> Found mtd block: /dev/mtd2(kernel)
> Found mtd block: /dev/mtd3(rootfs)
> Found mtd block: /dev/mtd4(cfg)
> Found mtd block: /dev/mtd5(EEPROM)
> Got U-Boot variable: mtdparts =
> mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
> Adding U-Boot partition: u-boot 9F000000 00040000
> Adding U-Boot partition: u-boot-env 9F040000 00010000
> Adding U-Boot partition: kernel 9F050000 00100000
> Adding U-Boot partition: rootfs 9F150000 00660000
> Adding U-Boot partition: cfg 9F7B0000 00040000
> Adding U-Boot partition: EEPROM 9F7F0000 00010000
> Calculating flash size:
> Adding block: /dev/mtd0("u-boot") - size: 00040000
> Adding block: /dev/mtd1("u-boot-env") - size: 00010000
> Adding block: /dev/mtd2("kernel") - size: 00100000
> Adding block: /dev/mtd3("rootfs") - size: 00660000
> Adding block: /dev/mtd4("cfg") - size: 00040000
> Adding block: /dev/mtd5("EEPROM") - size: 00010000
> Total flash size: 00800000
> Flash start: 9F000000
> Flash end: 9F800000
> Header MAGIC 'OPEN'
> Current: BZ.ar7240.v1.0.6771.101007.1908
>
> New ver: UBNTXM.ar7240.OpenWrt.r24535
> FW Part: "kernel"(1), MAGIC: 'PART', Base: 0x9F050000, DLen: 0x00100000,
> PLen: 0x00100000
> FW Part: "rootfs"(2), MAGIC: 'PART', Base: 0x9F150000, DLen: 0x001A0000,
> PLen: 0x005A0000
> Adding adjusted FW partition:
> name:   'kernel'
> flash_base:     0x9F050000
> mem_base:       0x80002000
> size:           0x00100000
> entry_point:    0x80002000
> data_len:       0x00100000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Adding adjusted FW partition:
> name:   'rootfs'
> flash_base:     0x9F150000
> mem_base:       0x9F150000
> size:           0x005A0000
> entry_point:    0x00000000
> data_len:       0x001A0000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Signature MAGIC 'END.'
> Working(1) with block: /dev/mtd0
> Skipping: artificial: 0, unallocated: 0,writeable: 3(WRITEABLE: 3, flags:
> 7), fw.flash_base: 9F050000 < blk->base: 9F000000 + blk->size: 40000
> Copying FIS partition: 0 =>
> name:   'u-boot'
> flash_base:     0x9F000000
> mem_base:       0x00000000
> size:           0x00040000
> entry_point:    0x00000000
> data_len:       0x00040000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Working(1) with block: /dev/mtd1
> Skipping: artificial: 0, unallocated: 0,writeable: 3(WRITEABLE: 3, flags:
> 7), fw.flash_base: 9F050000 < blk->base: 9F040000 + blk->size: 10000
> Copying FIS partition: 1 =>
> name:   'u-boot-env'
> flash_base:     0x9F040000
> mem_base:       0x00000000
> size:           0x00010000
> entry_point:    0x00000000
> data_len:       0x00010000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Working(1) with block: /dev/mtd2
> Working(2) with block: /dev/mtd2
> End check: 9F050000 + 00100000 <= 9F150000
> Creating FIS partition: 2 =>
> name:   'kernel'
> flash_base:     0x9F050000
> mem_base:       0x80002000
> size:           0x00100000
> entry_point:    0x80002000
> data_len:       0x00100000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Working(1) with block: /dev/mtd2
> Skipping: artificial: 0, unallocated: 0,writeable: 3(WRITEABLE: 3, flags:
> 7), fw.flash_base: 9F150000 < blk->base: 9F050000 + blk->size: 100000
> Working(1) with block: /dev/mtd3
> Working(2) with block: /dev/mtd3
> End check: 9F150000 + 005A0000 <= 9F7B0000
> Creating FIS partition: 3 =>
> name:   'rootfs'
> flash_base:     0x9F150000
> mem_base:       0x9F150000
> size:           0x005A0000
> entry_point:    0x00000000
> data_len:       0x001A0000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Working(3) with block: /dev/mtd4
> Copying FIS partition: 4 <=
> name:   'cfg'
> flash_base:     0x9F7B0000
> mem_base:       0x00000000
> size:           0x00040000
> entry_point:    0x00000000
> data_len:       0x00040000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> Working(3) with block: /dev/mtd5
> Copying FIS partition: 5 <=
> name:   'EEPROM'
> flash_base:     0x9F7F0000
> mem_base:       0x00000000
> size:           0x00010000
> entry_point:    0x00000000
> data_len:       0x00010000
> desc_cksum:     0x00000000
> file_cksum:     0x00000000
> ===========================
> New FIS entries count 6
> Working(1) with block: /dev/mtd0
> Skipping: artificial: 0, unallocated: 0,writeable: 3(WRITEABLE: 3, flags: 7
>
>
> Ma poi si riavvia da sola? mmm mi sa che ho un bel frisbee bianco ora.....
>
>
> Il 14/12/2010 11:44, Filippo Sallemi ha scritto:
>
> si ammesso che quei due file siano integrati.
>
> Ciao
>
> Il giorno 14 dicembre 2010 02:13, ZioPRoTo (Saverio Proto) <
> zioproto a gmail.com> ha scritto:
>
>> Ma questa procedura:
>>
>> > 1. Accedete via ssh al vostro unifi;
>> > 2. Piazzatevi su /tmp
>> > 3. scp
>> >
>> filippo a 192.168.1.22:backfire/bin/ar71xx/openwrt-ar71xx-ubnt-unifi-squashfs-factory.bin
>> > .
>> > 4. fwupgrade.real -m openwrt-ar71xx-ubnt-unifi-squashfs-factory.bin -d
>>
>>  usando questa immagine:
>>
>> http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin
>>
>> è definitivamente affidabile ?
>>
>> la wikizziamo ?
>>
>> Saverio
>>  _______________________________________________
>> Wireless mailing list
>> Wireless a ml.ninux.org
>> http://ml.ninux.org/mailman/listinfo/wireless
>>
>
>
>
> --
> Filippo Sallemi
>
>
> _______________________________________________
> Wireless mailing listWireless a ml.ninux.orghttp://ml.ninux.org/mailman/listinfo/wireless
>
>
>
> _______________________________________________
> Wireless mailing list
> Wireless a ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/wireless
>
>


-- 
Filippo Sallemi
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://ml.ninux.org/pipermail/wireless/attachments/20101214/4a8be716/attachment-0001.html>


Maggiori informazioni sulla lista Wireless