Odp: xiaomi Mi Router 3 Pro
Nie no nic to nie daje, przesylam rozne testowe pliki i w winscp niby sa, a w putty ich nie widac.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Sprzęt / Hardware → xiaomi Mi Router 3 Pro
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
Nie no nic to nie daje, przesylam rozne testowe pliki i w winscp niby sa, a w putty ich nie widac.
Jesteś pewien że podłączyłeś się do dobrego routera? Odczytaj zawartość pilików /tmp/sysinfo/board_name w winscp i w putty.
Ale wtopa, bylem tez polaczony poprzez wifi do innego routera z openwrt.
No dobrze, po rozlaczeniu z wifi winscp nie chce polaczyc sie z tym wlasciwym routerem. Nie odpowiada ani na protokol sftp, ani na scp.
Jeżeli się połączyłeś przez putty to winscp też musi. Przez scp.
No route to host 192.168.1.1
Uzyskałeś na karcie sieciowej adres ip? Czy nadal masz ustawiony 192.168.32.x?
Bingo!
Ale i tak po restarcie znowu jest to co przed flashowaniem uartem ![]()
root@OpenWrt:/tmp# sysupgrade -n /tmp/obraz.bin
Tue Jan 18 20:04:26 UTC 2022 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Tue Jan 18 20:04:27 UTC 2022 upgrade: Sending TERM to remaining processes ...
Tue Jan 18 20:04:27 UTC 2022 upgrade: Sending signal TERM to ntpd (1732)
Tue Jan 18 20:04:27 UTC 2022 upgrade: Sending signal TERM to ntpd (1735)
Tue Jan 18 20:04:31 UTC 2022 upgrade: Sending KILL to remaining processes ...
Tue Jan 18 20:04:31 UTC 2022 upgrade: Sending signal KILL to ntpd (1732)
Tue Jan 18 20:04:31 UTC 2022 upgrade: Sending signal KILL to ntpd (1735)
[ 3098.088438] stage2 (2376): drop_caches: 3
Tue Jan 18 20:04:37 UTC 2022 upgrade: Switching to ramdisk...
Tue Jan 18 20:04:39 UTC 2022 upgrade: Performing system upgrade...
Unlocking kernel ...Writing from <stdin> to kernel ...
[ 3102.512196] ubi0: attaching mtd9
[ 3103.777179] ubi0: scanning is finished
[ 3103.780935] ubi0: empty MTD device detected
[ 3103.816618] ubi0: attached mtd9 (name "ubi", size 245 MiB)
[ 3103.822156] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3103.829023] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3103.835780] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3103.842736] ubi0: good PEBs: 1964, bad PEBs: 0, corrupted PEBs: 0
[ 3103.848829] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 3103.856020] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 348688720
[ 3103.865035] ubi0: available PEBs: 1920, total reserved PEBs: 44, PEBs reserved for bad PEB handling: 40
[ 3103.874433] ubi0: background thread "ubi_bgt0d" started, PID 2999
UBI device number 0, total 1964 LEBs (249380864 bytes, 237.8 MiB), available 1920 LEBs (243793920 bytes, 232.5 MiB), LEB size 126976 bytes (124.0 KiB)
Volume ID 0, size 57 LEBs (7237632 bytes, 6.9 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 236556288
Volume ID 1, size 1863 LEBs (236556288 bytes, 225.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 3113.917608] reboot: Restarting system
Więc sobie flagi w bootloaderze. Tak jak to opisali na wiki openwrt.
W ktorym miejscu jest ten opis?
Ja juz sie dzisiaj poddaje, jutro wczesnie musze wstaje. Jutro wieczorem powalczymy. Dzieki Cezary za pomoc.
Unlocking & Installing OpenWrt (flag_try_sys1_failed=1)
Niestety ta komenda nie pomogla.
root@OpenWrt:/# flag_try_sys1_failed=1
root@OpenWrt:/# sysupgrade -n /tmp/obraz.bin
Tue Jan 18 19:18:49 UTC 2022 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Tue Jan 18 19:18:50 UTC 2022 upgrade: Sending TERM to remaining processes ...
Tue Jan 18 19:18:54 UTC 2022 upgrade: Sending KILL to remaining processes ...
[ 363.469132] stage2 (2324): drop_caches: 3
Tue Jan 18 19:19:00 UTC 2022 upgrade: Switching to ramdisk...
Tue Jan 18 19:19:02 UTC 2022 upgrade: Performing system upgrade...
Unlocking kernel ...Writing from <stdin> to kernel ...
removing ubiblock0_0
[ 368.058008] block ubiblock0_0: released
Volume ID 0, size 57 LEBs (7237632 bytes, 6.9 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 236556288
Volume ID 1, size 1863 LEBs (236556288 bytes, 225.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 371.638232] reboot: Restarting system===================================================================
MT7621 stage1 code May 28 2018 14:51:28 (ASIC)
CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL3 FB_DL: 0xc, 1/0 = 545/479 31000000
PLL2 FB_DL: 0x10, 1/0 = 745/279 41000000
PLL4 FB_DL: 0x14, 1/0 = 593/431 51000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
--------------------------------------------------------------------------------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:|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DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 72
B:| 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0
opt_dle value:9
DRAMC_DDR2CTL[07c]=C287221D
DRAMC_PADCTL4[0e4]=000044B3
DRAMC_DQIDLY1[210]=090A080A
DRAMC_DQIDLY2[214]=0709060A
DRAMC_DQIDLY3[218]=0B080707
DRAMC_DQIDLY4[21c]=0A070B09
DRAMC_R0DELDLY[018]=00001D1E
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 10 6 9 8 9 6 8 6 4 6
10 | 7 9 8 10 7 9
--------------------------------------==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =30 DQS1 = 29
==================================================================
bit DQS0 bit DQS1
0 (3~58)30 8 (1~52)26
1 (1~55)28 9 (1~56)28
2 (1~57)29 10 (1~56)28
3 (1~57)29 11 (1~53)27
4 (2~56)29 12 (1~56)28
5 (3~57)30 13 (0~56)28
6 (1~57)29 14 (1~58)29
7 (1~58)29 15 (0~56)28
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 10 8 10 9 10 6 9 7 7 7
10 | 8 11 9 11 7 10
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2
DQ loop=15, cmp_err_1 = ffff0022
dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=1
DQ loop=14, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=14, finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:88
[EMI] DRAMC calibration passed===================================================================
MT7621 stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================U-Boot 1.1.3 (Aug 6 2019 - 06:27:58)
Board: Ralink APSoC DRAM: 256 MB
Power on memory test. Memory size= 256 MB...OK!
relocate_code Pointer at: 8ffac000Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 8ffe0010
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C8 DA 90 95 44]
Device found in MTK table, ID: c8da, EXT_ID: 909544
Support this Device in MTK table! c8da
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 2047
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug 6 2019 Time:06:27:58
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768##### The CPU freq = 880 MHZ ####
estimate memory size =256 Mbytes
#Reset_MT7530
set LAN/WAN LLLLWPlease choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0
Boot failure detected on both systems
Boot failure detected on both systems - coś się nie wgrało. Wgraj jeszcze raz. Albo zrób najpierw recovery od oryginalnego oprogramowania xiaomi przez usb.
https://openwrt.org/toh/xiaomi/mi_router_3_pro
Masz na mysli akapit "To recover to Xiaomi stock:" ?
Wpisalem te komendy, ale nic sie nie dzieje.
OK!
relocate_code Pointer at: 8ffac000Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 8ffe0010
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C8 DA 90 95 44]
Device found in MTK table, ID: c8da, EXT_ID: 909544
Support this Device in MTK table! c8da
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 2047
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug 6 2019 Time:06:27:58
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768##### The CPU freq = 880 MHZ ####
estimate memory size =256 Mbytes
#Reset_MT7530
set LAN/WAN LLLLWPlease choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.You choosed 4
04: System Enter Boot Command Line Interface.
U-Boot 1.1.3 (Aug 6 2019 - 06:27:58)
MT7621 # setenv flag_try_sys1_failed 0 setenv flag_try_sys2_failed 1 setenv uart_en 1 saveenv reset
MT7621 # setenv flag_try_sys1_failed 0
MT7621 # setenv flag_try_sys2_failed 1
MT7621 # setenv uart_en 1
MT7621 # saveenv reset
Usage:
saveenv - save environment variables to persistent storageMT7621 #
wgraj mu initramfs , a potem normalnie zrób aktualizacje
saveenv, enter a później reset w osobnej linii. Czemu tak na odwal się robisz te polecenia?
Na wiki bylo w jednej linii wiec myslalem, ze mozna tak wklejac. Ale nieważne, udalo sie wgrac stock xiaomi firmware, a potem openwrt
Dziekuje za pomoc.
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Sprzęt / Hardware → xiaomi Mi Router 3 Pro
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc