Odp: Linksys EA4500/E4200v2
Ja nie kompiluję trunka publicznie.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Linksys EA4500/E4200v2
Strony Poprzednia 1 2 3 4 5 6 7 8 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Ja nie kompiluję trunka publicznie.
Czy mógłby mi ktoś wkleić zawartość świeżego /etc/config/network?
Coś namieszałem i nie wiem już gdzie mam błąd...
Pokaż co masz teraz.
Podzieli się ktoś sprawdzonym obrazem factory z tunka?
Na https://downloads.openwrt.org/snapshots … d/generic/ jest
Właśnie nabyłem EA4500 V1 i postawiłem na nim OpenWrt od @Cezarego.
Przejmować się tymi błędami "blk_update_request: I/O error, dev mtdblock0, sector 16" ?
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** WNC BOARD: Viper R2.2 LE **
** For Development Only. Not For Demo **
U-Boot 1.1.4 (Sep 15 2011 - 15:46:36) Marvell version: 3.5.9
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB20
Soc: 88F6282 A1CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM (DDR2) CAS Latency = 6 tRP = 6 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Updating boot_count ... done
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
u_env Offset: 00080000
s_env Offset: 000a0000
Streaming disabled
Write allocate disabled
Module 0 is RGMII
USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x200000, size 0x200000
Reading data from 0x3ff800 -- 100% complete.
2097152 bytes read: OK
## Booting image at 02000000 ...
Image Name: ARM OpenWrt Linux-3.18.29
Created: 2016-04-15 19:15:15 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1741734 Bytes = 1.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.18.29 (cezary@eko.one.pl) (gcc version 4.8.3 (Ope
nWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 Fri Apr 15 21:14:42 CEST 2016
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397
f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: Linksys EA4500
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x8
0000@0x0(uboot),0x20000@0x80000(uboot_env),0x200000@0x200000(kernel),-@0x400000(
root) ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 124908K/131072K available (3470K kernel code, 151K rwdata
, 964K rodata, 140K init, 191K bss, 6164K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc045cd4c (4436 kB)
[ 0.000000] .init : 0xc045d000 - 0xc0480000 ( 140 kB)
[ 0.000000] .data : 0xc0480000 - 0xc04a5dfc ( 152 kB)
[ 0.000000] .bss : 0xc04a5dfc - 0xc04d5b04 ( 192 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474
836475ns
[ 0.000151] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[ 0.090091] pid_max: default: 32768 minimum: 301
[ 0.090228] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090247] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090710] CPU: Testing write buffer coherency: ok
[ 0.091018] Setting up static identity map for 0x10908 - 0x10944
[ 0.091290] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[ 0.093020] pinctrl core: initialized pinctrl subsystem
[ 0.093402] regulator-dummy: no parameters
[ 0.097097] NET: Registered protocol family 16
[ 0.097464] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.098266] cpuidle: using governor ladder
[ 0.098603] Feroceon L2: Enabling L2
[ 0.098645] Feroceon L2: Cache support initialised.
[ 0.098914] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet
0-port@0: local-mac-address is not set
[ 0.099002] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet
1-port@0: local-mac-address is not set
[ 0.106724] SCSI subsystem initialized
[ 0.107068] usbcore: registered new interface driver usbfs
[ 0.107147] usbcore: registered new interface driver hub
[ 0.107214] usbcore: registered new device driver usb
[ 0.108147] Switched to clocksource orion_clocksource
[ 0.109190] NET: Registered protocol family 2
[ 0.109886] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.109909] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.109928] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.109980] TCP: reno registered
[ 0.109992] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110015] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110233] NET: Registered protocol family 1
[ 0.111059] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112159] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.112179] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[ 0.112442] msgmni has been set to 243
[ 0.113249] io scheduler noop registered
[ 0.113267] io scheduler deadline registered (default)
[ 0.114384] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driv
er
[ 0.114933] irq: Cannot allocate irq_descs @ IRQ31, assuming pre-allocated
[ 0.115252] irq: Cannot allocate irq_descs @ IRQ63, assuming pre-allocated
[ 0.115852] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[ 0.115870] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.115881] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 0.115894] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.116330] PCI: bus0: Fast back to back transfers disabled
[ 0.116345] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec
onfiguring
[ 0.116359] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), rec
onfiguring
[ 0.116863] PCI: bus1: Fast back to back transfers disabled
[ 0.117379] PCI: bus2: Fast back to back transfers disabled
[ 0.117497] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[ 0.117514] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0100000-0xe01fffff]
[ 0.117530] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bi
t]
[ 0.117558] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0010000-0xe001ffff 64bi
t]
[ 0.117582] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.117596] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff]
[ 0.117614] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0100000-0xe010ffff 64bi
t]
[ 0.117641] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0110000-0xe011ffff 64bi
t]
[ 0.117665] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 0.117677] pci 0000:00:02.0: bridge window [mem 0xe0100000-0xe01fffff]
[ 0.149693] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.152699] console [ttyS0] disabled
[ 0.152776] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud =
12500000) is a 16550A
[ 0.706897] console [ttyS0] enabled
[ 0.711692] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 0.718071] nand: Hynix H27U1G8F2BTR-BC
[ 0.721946] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.727638] Scanning device for bad blocks
[ 0.756532] Bad eraseblock 383 at 0x000002fe0000
[ 0.802550] 4 cmdlinepart partitions found on MTD device orion_nand
[ 0.808859] Creating 4 MTD partitions on "orion_nand":
[ 0.814022] 0x000000000000-0x000000080000 : "uboot"
[ 0.819660] 0x000000080000-0x0000000a0000 : "uboot_env"
[ 0.825494] 0x000000200000-0x000000400000 : "kernel"
[ 0.831113] 0x000000400000-0x000008000000 : "root"
[ 0.837217] libphy: orion_mdio_bus: probed
[ 0.841499] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 0.849548] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address
c8:d7:19:23:0c:03
[ 0.858862] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address
c8:d7:19:23:0c:04
[ 0.867649] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.874229] ehci-pci: EHCI PCI platform driver
[ 0.878780] ehci-platform: EHCI generic platform driver
[ 0.884150] ehci-orion: EHCI orion driver
[ 0.888339] orion-ehci f1050000.ehci: EHCI Host Controller
[ 0.893876] orion-ehci f1050000.ehci: new USB bus registered, assigned bus nu
mber 1
[ 0.901710] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 0.918196] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 0.924941] hub 1-0:1.0: USB hub found
[ 0.928769] hub 1-0:1.0: 1 port detected
[ 0.933380] usbcore: registered new interface driver usb-storage
[ 0.940522] TCP: cubic registered
[ 0.943856] NET: Registered protocol family 17
[ 0.948410] bridge: automatic filtering via arp/ip/ip6tables has been depreca
ted. Update your scripts to load br_netfilter if you need this.
[ 0.961117] Bridge firewalling registered
[ 0.965263] 8021q: 802.1Q VLAN Support v1.8
[ 0.971003] UBI: attaching mtd3 to ubi0
[ 1.106830] UBI: scanning is finished
[ 1.118498] UBI: attached mtd3 (name "root", size 124 MiB) to ubi0
[ 1.124712] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 1.131551] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 1.138205] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[ 1.144932] UBI: good PEBs: 991, bad PEBs: 1, corrupted PEBs: 0
[ 1.150884] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.158049] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image seque
nce number: 788855304
[ 1.167059] UBI: available PEBs: 0, total reserved PEBs: 991, PEBs reserved f
or bad PEB handling: 19
[ 1.176441] UBI: background thread "ubi_bgt0d" started, PID 655
[ 1.185325] mvsw61xx 10.mvsw61xx: Found MV88E6171 at f1072004.mdio-bu:10
[ 1.192079] mvsw61xx 10.mvsw61xx: Using indirect addressing
[ 1.197749] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 1.220490] UBIFS: background thread "ubifs_bgt0_0" started, PID 708
[ 1.242563] UBIFS: recovery needed
[ 1.334569] UBIFS: recovery completed
[ 1.338359] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 1.344396] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes
: 2048 bytes/2048 bytes
[ 1.353589] UBIFS: FS size: 123475968 bytes (117 MiB, 957 LEBs), journal size
9033728 bytes (8 MiB, 71 LEBs)
[ 1.363468] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 1.368556] UBIFS: media format: w4/r0 (latest is w4/r0), UUID A19B1EB2-98B3-
4655-AD47-ADB1F94163B9, small LPT model
[ 1.379421] VFS: Mounted root (ubifs filesystem) on device 0:10.
[ 1.385868] Freeing unused kernel memory: 140K (c045d000 - c0480000)
[ 1.489805] init: Console is alive
[ 2.494618] init: - preinit -
[ 2.557343] random: procd urandom read with 3 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 5.651352] mount_root: mounting /dev/root
[ 5.656849] mount_root: loading kmods from internal overlay
[ 5.685220] __nand_correct_data: uncorrectable ECC error
[ 5.690609] __nand_correct_data: uncorrectable ECC error
[ 5.695950] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 5.702249] __nand_correct_data: uncorrectable ECC error
[ 5.707585] __nand_correct_data: uncorrectable ECC error
[ 5.712931] blk_update_request: I/O error, dev mtdblock0, sector 8
[ 5.719230] __nand_correct_data: uncorrectable ECC error
[ 5.724563] __nand_correct_data: uncorrectable ECC error
[ 5.729908] blk_update_request: I/O error, dev mtdblock0, sector 16
[ 5.736271] __nand_correct_data: uncorrectable ECC error
[ 5.741615] __nand_correct_data: uncorrectable ECC error
[ 5.746950] blk_update_request: I/O error, dev mtdblock0, sector 24
[ 5.753391] __nand_correct_data: uncorrectable ECC error
[ 5.758746] __nand_correct_data: uncorrectable ECC error
[ 5.764086] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 5.770295] Buffer I/O error on dev mtdblock0, logical block 0, async page re
ad
[ 5.819208] block: attempting to load /etc/config/fstab
[ 5.825919] block: extroot: not configured
[ 5.835952] procd: - early -
[ 6.899246] procd: - ubus -
[ 7.905037] procd: - init -
Please press Enter to activate this console.
[ 9.957554] NET: Registered protocol family 10
[ 10.002964] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.036053] Loading modules backported from Linux version v4.4-rc5-1913-gc8fd
f68
[ 10.043521] Backport generated by backports.git backports-20151218-0-g2f58d9d
[ 10.060265] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.076386] nf_conntrack version 0.5.0 (1953 buckets, 7812 max)
[ 10.188415] xt_time: kernel timezone is -0000
[ 10.487984] Marvell TOPDOG(R) 802.11 Wireless Network Driver version 0.13
[ 10.494866] pci 0000:00:01.0: enabling device (0140 -> 0142)
[ 11.368112] ieee80211 phy0: Command RF_ANTENNA error 0x2
[ 11.373486] ieee80211 phy0: failed to set # of RX antennas
[ 11.395056] ieee80211 phy0: Command RF_ANTENNA error 0x2
[ 11.400439] ieee80211 phy0: failed to set # of TX antennas
[ 11.405962] ieee80211 phy0: 88w8366 v48, c8d719230c05, STA firmware 4.1.0.3
[ 11.415129] pci 0000:00:02.0: enabling device (0140 -> 0142)
[ 12.231012] ieee80211 phy1: Command RF_ANTENNA error 0x2
[ 12.236360] ieee80211 phy1: failed to set # of RX antennas
[ 12.241921] ieee80211 phy1: Command RF_ANTENNA error 0x2
[ 12.247258] ieee80211 phy1: failed to set # of TX antennas
[ 12.252794] ieee80211 phy1: 88w8366 v48, c8d719230c07, STA firmware 4.1.0.3
[ 12.278906] PPP generic driver version 2.4.2
[ 12.284635] NET: Registered protocol family 24
[ 14.387774] __nand_correct_data: uncorrectable ECC error
[ 14.393165] __nand_correct_data: uncorrectable ECC error
[ 14.398522] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 14.404811] __nand_correct_data: uncorrectable ECC error
[ 14.410162] __nand_correct_data: uncorrectable ECC error
[ 14.415503] blk_update_request: I/O error, dev mtdblock0, sector 8
[ 14.421804] __nand_correct_data: uncorrectable ECC error
[ 14.427140] __nand_correct_data: uncorrectable ECC error
[ 14.432486] blk_update_request: I/O error, dev mtdblock0, sector 16
[ 14.438870] __nand_correct_data: uncorrectable ECC error
[ 14.444205] __nand_correct_data: uncorrectable ECC error
[ 14.449557] blk_update_request: I/O error, dev mtdblock0, sector 24
[ 14.469249] __nand_correct_data: uncorrectable ECC error
[ 14.474587] __nand_correct_data: uncorrectable ECC error
[ 14.479979] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 14.486190] Buffer I/O error on dev mtdblock0, logical block 0, async page re
ad
[ 15.836139] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, ful
l duplex, flow control disabled
[ 15.859296] device eth0 entered promiscuous mode
[ 15.867875] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 15.899886] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, ful
l duplex, flow control disabled
[ 16.828186] br-lan: port 1(eth0) entered forwarding state
[ 16.833656] br-lan: port 1(eth0) entered forwarding state
[ 16.840132] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 18.828158] br-lan: port 1(eth0) entered forwarding state
[ 73.628178] random: nonblocking pool is initializedBłędy w nand są spotykane i wynikają z (niedoskonałości) procesu produkcyjnego. Choć dziwne że podczas montowania ubifs tego nie wypisał że znalazł błędne bloki.
Tak myślałem, router "nówka" - zaraz po odpakowaniu dolutowałem goldpin-y i na oryginalnym sofcie wypluwał to samo.
Proces instalacji OpenWrt przebiegł bez żadnych błędów, rozumiem że te "miejsca" w NAND-zie są jakoś oznaczone i nie mają wpływu na stabilność pracy urządzenia?
System ubifs ma się tym zająć, poza tym komunikatem powinien działać normalnie.
Znalazłem podobny wpis w tym wątku. Czytałem go wcześniej z dwa razy i jakoś mi to umknęło ![]()
Ok, dzięki. Mogłem przeczytać ze zrozumieniem sekcję "Flash Layout" http://wiki.openwrt.org/toh/linksys/ea4500
Kolejna sprawa.... Zainstalowałem pakiet block-mount. Za każdym razem gdy odpalę 'block info' dostaje w logach:Sat May 23 18:20:07 2015 kern.err kernel: [20303.534179] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.539572] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.544913] blk_update_request: I/O error, dev mtdblock0, sector 0 Sat May 23 18:20:07 2015 kern.err kernel: [20303.551224] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.556555] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.561914] blk_update_request: I/O error, dev mtdblock0, sector 8 Sat May 23 18:20:07 2015 kern.err kernel: [20303.568195] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.573540] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.578873] blk_update_request: I/O error, dev mtdblock0, sector 16 Sat May 23 18:20:07 2015 kern.err kernel: [20303.585255] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.590599] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.595937] blk_update_request: I/O error, dev mtdblock0, sector 24 Sat May 23 18:20:07 2015 kern.err kernel: [20303.602760] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.608099] __nand_correct_data: uncorrectable ECC error Sat May 23 18:20:07 2015 kern.err kernel: [20303.613467] blk_update_request: I/O error, dev mtdblock0, sector 0 Sat May 23 18:20:07 2015 kern.err kernel: [20303.619673] Buffer I/O error on dev mtdblock0, logical block 0, async page readNawet ktoś zgłaszał: https://dev.openwrt.org/ticket/18612 Ale nie wygląda by było jakieś rozwiązanie.
Bać się? Czy wywalić block-mount i już?
Log jest identyczny, usunąłem "block-mount" i w logread cisza.
Rozumiem, że straciłem przez to możliwość automatycznego montowania.
Ręcznie będzie działać?
Ręcznie zawsze działa ![]()
Router działa już prawie rok i nic złego się nie dzieje, więc pewnie można te błędy nand zignorować.
Działa tak dobrze, że aż nudno
Korci mnie więc żeby spróbować nowe obrazy z trunka ale jak rozumiem musiałbym najpierw przez serial przejść na oryginał...
nie musisz przez serial, te sprzęty mają dual firmware
https://wiki.openwrt.org/toh/linksys/ea … k_firmware
wgrywając wolfteck/Candyhouse nadpisałeś jedną kopię oryginalnego fw, druga dalej tam jest
wystarczy ją uruchomić
Candyhouse był tylko przez chwilę. Od roku mam CC r45856 z którego nie można bezpośrednio przejść na trunk (podobno).
Bo sysupgrade w CC nie działa bo go nie było dla tej platformy.
Bo sysupgrade w CC nie działa bo go nie było dla tej platformy.
A gdybym sysupgrade z trunka sobie wkopiowal. Zadziałało by?
Nie. sysupgrade jako polecenie jest w CC, CC po prostu nie obsługuje aktualizacji na tej platformie.
Więc chyba przesadziłem, że z nand było wszystko OK. Próba przywrócenia softu oryginalnego:
Viper>> nand erase 0x200000 0x1500000
NAND erase: device 0 offset 0x200000, size 0x1500000
Skipping bad block at 0x00f00000
Erasing at 0x16e0000 -- 100% complete.
OK
Viper>> nand write 0x2000000 0x200000 0x1500000
NAND write: device 0 offset 0x200000, size 0x1500000
Failed write verify, nand offset 0x00f00000. Suggest to erase block and repeat write operation!
If problem persists suggest marking block as bad (nand markbad <offset>) and repeating the operation!
13631488 bytes written: ERROR
Viper>> nand markbad 0x00f00000
block 0x00f00000 successfully marked as bad
Viper>> nand write 0x2000000 0x200000 0x1500000
NAND write: device 0 offset 0x200000, size 0x1500000
Failed write verify, nand offset 0x00f00000. Suggest to erase block and repeat write operation!
If problem persists suggest marking block as bad (nand markbad <offset>) and repeating the operation!
13631488 bytes written: ERRORPo resetenv i reset router wstał niby na oryginalnym sofcie ale w konsoli było trochę błędów o nieodnalezionych programach i nawet DHCP nie działał. Spróbowałem więc ponownie po serialu, tym razem zgodnie z komunikatami powyżej robiłem nand markbad...ale dalej nand write pokazywał błędy. Próbowałem więc z nand scrub i offsetami i coś zepsułem bo po restarcie na konsoli już sie nic nie pokazuje. Pewnie nand do wymiany? ![]()
Ciekawe czy nie wyciachałeś bootloadera właśnie.
Wyciachałem, a jakże
Udało się bootloader odzyskać przez kwboot z http://www.wolfteck.com/projects/candyh … 2593096526
I teraz jestem w tym samym punkcie:
Viper>> setenv ipaddr 192.168.1.1
Viper>> setenv serverip 192.168.1.2
Viper>> tftpboot 0x2000000 FW_EA4500_2.1.41.164606.img
Using egiga0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'FW_EA4500_2.1.41.164606.img'.
Load address: 0x2000000
Loading: #################################################################
[...]
############################################################
done
Bytes transferred = 21603876 (149a624 hex)
Viper>> nand erase 0x200000 0x1500000
NAND erase: device 0 offset 0x200000, size 0x1500000
Skipping bad block at 0x00f00000
Erasing at 0x16e0000 -- 100% complete.
OK
Viper>> nand write 0x2000000 0x200000 0x1500000
NAND write: device 0 offset 0x200000, size 0x1500000
Failed write verify, nand offset 0x00f00000. Suggest to erase block and repeat write operation!
If problem persists suggest marking block as bad (nand markbad <offset>) and repeating the operation!
13631488 bytes written: ERROR
Viper>> nand bad
Device 0 bad blocks:
00f00000
02300000Czy skoro mam bad blok na 00f00000 to powinienem coś zmienić w parametrach nand erase/write ('wydłużyć')?
Czy mogę spróbować załadować obraz openwrt trunk bezpośrednio z bootloadera? Czy wszystkie parametry nand erase/nand write byłyby takie same?
Dodam jeszcze, że scrub sobie nie radzi:
Viper>> nand scrub 0x00f00000 0x80000
NAND scrub: device 0 offset 0xf00000, size 0x80000
Warning: scrub option will erase all factory set bad blocks!
There is no reliable way to recover them.
Use this command only for testing purposes if you
are sure of what you are doing!
Really scrub this NAND flash? <y/N>
NAND 128MB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xf60000 -- 100% complete.
OKPróby z write.e pokazywały błędy w dalszych obszarach pamięci. Robiłem więc scrub na tych obszarach i w końcu:
write.e zrobił tak:
Viper>> nand write.e 0x2000000 0x200000 0x1500000
NAND write: device 0 offset 0x200000, size 0x1500000
Bad block at 0xf00000 in erase block from 0xf00000 will be skipped
Writing data at 0x171f800 -- 100% complete.
22020096 bytes written: OKI wstał! Trunk też się zainstalował bez problemu. Teraz się zastanawiam, czy mogę jakoś przetestować cały nand?
W CC miałem cały nand dla siebie ~120MB. W wersji trunk jest pozostawiony oryginalny podział mtd i mam około 23MB na root. A to trochę mało. Nie mam żadnego pożytku z oryginalnego softu a ostatnia partycja mtd - syscfg ma 74MB. Fajnie byłoby wykorzystać to jako extroot. Da się zrobić extroot z ubi?
Powinno się dać, block rozpoznaje ubifs.
openwrt-kirkwood-linksys-viper-squashfs-factory
Wgrywam to i powinno działać?
Trunk, bez gui. tak.
Strony Poprzednia 1 2 3 4 5 6 7 8 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Linksys EA4500/E4200v2
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc