Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > OpenWRT/LEDE

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.12.2012, 09:02   #11
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию Выпайка Flash

Микросхема флеш находится на задней стороне роутера.(позаимствую картинку с форума)


-Просовываю под ножки мягкий проводок, делаю петлю.
-грею паяльниким сразу 4 ноги и когда дойдет до кондиции аккуратно тяну за петлю отгиная ножки
-далее пунцетом беру микросхему и грею остальные 4 ноги
оп...
микросхема в руках.

Последний раз редактировалось Andreyweb; 28.12.2012 в 09:07.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 09:14   #12
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию Программатор

Собрал на макетной плате такую схему
,
только резисторы заменил на 100 ом

Программа, взял здесь:http://rayer.ic.cz/programm/spipgm.zip

Образ флешки взял здесь:http://www.lan23.ru/forum/attachment...0&d=1340464332

Вот что получилось:

Для того, чтобы обхватить микросхему, я взял из старого картридера разьем от Compact FLASH, откусил по размеру, подогнул.
Напаял на флеш, другой стороной воткнул в разъем программатора. (Извините за фото, оно с телефона будет возможность перефоткаю)
Вложения
Тип файла: rar SPIPGM.rar (96.0 Кб, 3053 просмотров)
Тип файла: rar MR3020.rar (3.53 Мб, 3791 просмотров)

Последний раз редактировалось Andreyweb; 28.12.2012 в 09:36.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 09:48   #13
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию Программирование

-Копируем папку с программой на диск "C"
-в нее же копируем образ FoolFlash
-Запускаем CMD.exe


Последовательность команд для SPIPGMW
1. SPIPGMW.exe /i
2. SPIPGMW.exe /u
3. SPIPGMW.exe /e
4. SPIPGMW.exe /p c:\mr3020.bin
5. SPIPGMW.exe /d test.bin
6. Проверить файлы C:\SPIPGM\mr3020.bin и test.bin HEX редактором (сравнение файлов) или через TotalCmd


Если ошибок нет, то впаиваем флеш обратно.


Вот Архив собрано Все в одно http://andreyweb.narod2.ru/brainhome/Arhiv.RAR

Последний раз редактировалось Andreyweb; 28.12.2012 в 10:01.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 10:06   #14
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию Окончание

после впайки обратно Заходим на web interface


Все работает

PS
Будут вопросы задавайте.

Последний раз редактировалось Andreyweb; 28.12.2012 в 10:37.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 10:39   #15
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию УУУУУУУУУПС........

Whoops! This kernel is for product mr3020 v1.0!

да а у меня на плате написано V1.1
Ну ничего страшного, всеравно там будет OpenWrt.


перепрошил прошивкой с оф сайта через Веб интерфайсе. все ок.

Эксперименты продолжаются...

Последний раз редактировалось Andreyweb; 28.12.2012 в 11:04.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 10:52   #16
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию

Вот архив, собрано все в одном http://andreyweb.narod2.ru/brainhome/Arhiv.RAR там версия для платы Rev1.0.

Этого достаточно для первоначального запуска и последующей перепрошивки из под Web Хотя и с Rev1.0 работает.

Последний раз редактировалось Andreyweb; 28.12.2012 в 10:56.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 10:57   #17
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию

Вот часть лога загрузки (первая с прошивкой из терминала пропала не успел скопировать) роутера после перепрошивки последней прошивки с оф сайта:
Код HTML:
write successfully
reboot...
Erase from 0X3B0000 to 0X3C0000:.
Program from 0X3B0000 to 0X3C0000:.
write successfully
reboot...
Erase from 0X3C0000 to 0X3D0000:.
Program from 0X3C0000 to 0X3D0000:.
write successfully
reboot...
Erase from 0X3D0000 to 0X3E0000:.
Program from 0X3D0000 to 0X3E0000:.
write successfully
reboot...
usb_power_write 526: write gpio:value = 0

usb_power_write 526: write gpio:value = 0

usb_power_write 526: write gpio:value = 1

usb_power_write 526: write gpio:value = 1

umount: /var: Device or resource busy
umount: /tmp: Device or resource busy

The system is going down NOW !!

Sending SIGTERM to all processes.
br0: port 2(ath0) entering disabled state

Sending SIGKILL to all processes.

Please stand by while rebooting the system.
Res<0>

U-Boot 1.1.4 (Aug 17 2011 - 09:25:09)

AP121-2MB (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup 
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup 
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting AR9330(Hornet)...<0>
Linux version 2.6.31--LSDK-9.2.0.312 ([email protected]) (gcc version 4.3.3 (GCC) ) #15 Fri Aug 17 15:21:36 CST 2012
flash_size passed from bootloader = 4
CPU revision is: 00019374 (MIPS 24Kc)
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:128k(u-boot),1024k(kernel),2816(rootfs),64k(config),64k(ART) mem=32M
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29876k/32768k available (1884k kernel code, 2892k reserved, 521k data, 116k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 266.24 BogoMIPS (lpj=532480)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
===== ar7240_platform_init: 0


Whoops! This kernel is for product mr3020 v1.0!

bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
AR7240 GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/O].
msgmni has been set to 58
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
ttyS0: detected caps 00000000 should be 00000100
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
cmdlinepart partition parsing not available
set partition boot 
set partition kernel 
set partition rootfs 
set partition config 
set partition art 
set partition ÿ 
Searching for RedBoot partition table
5 RedBoot partitions found on MTD device ar7240-nor0
Creating 5 MTD partitions on "ar7240-nor0":
0x000000000000-0x000000020000 : "boot"
0x000000020000-0x000000120000 : "kernel"
0x000000120000-0x0000003e0000 : "rootfs"
0x0000003e0000-0x0000003f0000 : "config"
0x0000003f0000-0x000000400000 : "art"
->Oops: flash id 0x10215 . 
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Port Status 1c000004 
ar7240-ehci ar7240-ehci.0: ATH EHCI
ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1
ehci_reset Intialize USB CONTROLLER in host mode: 3
ehci_reset Port Status 1c000000 
ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000
ehci_reset Intialize USB CONTROLLER in host mode: 3
ehci_reset Port Status 1c000000 
ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
TCP cubic registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
ar7240wdt_init: Registering WDT success
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 116k freed

init started:  BusyBox v1.01 (2012.08.01-03:58+0000) multi-call binary
This Board use 2.6.31
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (512 buckets, 5120 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory

Now flash open!
 (none) mips #15 Fri Aug 17 15:21:36 CST 2012 (none)
(none) login: Now flash open!
Now flash open!
Now flash open!
Now flash open!
Erase from 0X3E0000 to 0X3E9980:.
Program from 0X3E0000 to 0X3E9980:
write successfully
ATHR_GMAC: Length per segment 1536
ATHR_GMAC: fifo cfg 3 01f00140
2
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   40
ATHR_GMAC: Max rx descriptor count :   96
ATHR_GMAC: Mac capability flags    :   4D83
1
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   40
ATHR_GMAC: Max rx descriptor count :   252
ATHR_GMAC: Mac capability flags    :   4403
athr_gmac_ring_alloc Allocated 640 at 0x81e87800
athr_gmac_ring_alloc Allocated 4032 at 0x81d61000
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...mac 0
athr_gmac_ring_alloc Allocated 640 at 0x81e87400
athr_gmac_ring_alloc Allocated 1536 at 0x81f2d000
Setting Drop CRC Errors, Pause Frames and Length Error frames 
ATHRS26: resetting s26
ATHRS26: s26 reset done
Setting PHY...mac 1
device eth0 entered promiscuous mode
Now flash open!
ATHR_GMAC: Enet Unit:1 PHY:4 is UP GMii 100Mbps full duplex
ATHR_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
br0: port 1(eth0) entering forwarding state
asf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 9.2.0_U5.508 (Atheros/multi-bss)
Boostrap clock 25MHz
ar9300RadioAttach: Need analog access recipe!!
Restoring Cal data from Flash
ath_get_caps[4735] rx chainmask mismatch actual 1 sc_chainmak 0
ath_get_caps[4710] tx chainmask mismatch actual 1 sc_chainmak 0
wifi0: Atheros 9380: mem=0xb8100000, irq=2
wlan_vap_create : enter. devhandle=0x80c642c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x80c642c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath0 created 
 
 DES SSID SET=TP-LINK_POCKET_3020_3ABB7A 
ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=c080f6c0 arg=81f2fac0
wlan_vap_delete : enter. vaphandle=0x81c5e000
wlan_vap_delete : exit. vaphandle=0x81c5e000
wlan_vap_create : enter. devhandle=0x80c642c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x80c642c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath0 created 
 
 DES SSID SET=TP-LINK_POCKET_3020_3ABB7A 
 ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 
WARNING: Fragmentation with HT mode NOT ALLOWED!!
device ath0 entered promiscuous mode
br0: port 2(ath0) entering forwarding state
 ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1 
br0: port 2(ath0) entering disabled state
 
 DES SSID SET=TP-LINK_POCKET_3020_3ABB7A 
br0: port 2(ath0) entering forwarding state
Now flash open!
Erase from 0X3E0000 to 0X3E9980:.
Program from 0X3E0000 to 0X3E9980:
write successfully
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 13:16   #18
Andreyweb
Member
 
Регистрация: 28.11.2012
Адрес: Липецк
Сообщений: 56
Вес репутации: 0
Andreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud ofAndreyweb has much to be proud of
Отправить сообщение для Andreyweb с помощью ICQ
По умолчанию MAC-Adres

Перешил Openwrt
192.168.1.1 телнетом заходит, после изменения ip на 192.168.0.254 не могу попасть.
Не могу законектиться
Подскажите пожлуйста как мне исправить MAC??? У меня он нулевой
Миниатюры
Нажмите на изображение для увеличения
Название: arp.JPG
Просмотров: 964
Размер:	41.5 Кб
ID:	701  

Последний раз редактировалось Andreyweb; 28.12.2012 в 13:49.
Andreyweb вне форума   Ответить с цитированием
Старый 28.12.2012, 14:19   #19
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9820
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию

Попробуй режим Recovery mode
Admin вне форума   Ответить с цитированием
Старый 04.01.2013, 20:44   #20
paulerr
Senior Member
 
Регистрация: 04.01.2013
Адрес: Москва
Сообщений: 461
Вес репутации: 1152
paulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond reputepaulerr has a reputation beyond repute
По умолчанию

Посмотрите MAC в прошивке. Тема по замене мас в загрузчике Uboot на OpenWRT

Последний раз редактировалось andr128; 05.01.2013 в 07:45. Причина: поправил ссылку
paulerr вне форума   Ответить с цитированием
Ответ


Здесь присутствуют: 4 (пользователей: 0 , гостей: 4)
 
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 19:27. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика