[QUOTE=pc054999;1098570]上面是我剛剛測試的 兩個crc32部分都是正確的 刷上去之後 出現一堆 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x7173 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220024: 0xc0de instead 而原廠的韌體是bad data crc[/QUOTE] 小弟沒下載原廠韌體, 所以搬移長度不正確, 請看: [code]Data Size: 1435411 Bytes = 1.4 MB[/code] 小弟已經改成搬移最大長度0x15ffde, 但是可能已經不重要, 因為你的實驗 (第二個方法) 似乎已經證明不能只搬動Image Header + Kernel? 那就還是只能全部往上搬 (第一個方法)? 或者網路埠或網路線還是有問題? 建議你在MZK-W04NU 和PC 之間再裝個10/100Mbps 交換器, 分享器也行, 但需避開192.168.1.1 不過你的問題實在很奇怪, 所以最保險的方法應該是在PC 修改好韌體, 或直接以10.03-rc3 squashfs.bin 為例, 然後計算CRC32, 上傳之後先比對 "crc32 0xa0800000 0x780000", 更新韌體之後, [B]立刻[/B]再比對 "crc32 0xbf050000 0x780000", 只有更新後立即比對才有效, 因為Reset 後會建立rootfs_data, 那就只能比對kernel, 或者小弟還得找出rootfs 實際長度 (第一個 "[B]DE AD C[U]0[/U] DE[/B]" 之前, 也就是 "[B]Dead C[U]o[/U]de[/B]"), 再計算CRC32 範圍 [URL="http://www.pczone.com.tw/vbb3/thread/67/134842/#post982781"]【下載】winMd5Sum - Nullriver Software - PCZONE 討論區 #7[/URL] |
回覆: 【問題】mzk-w04nu? ttl? 第一個方法 目前是卡在這邊,就沒反應了 我補上0x22個0xff,也是一樣 我就沒有刷上去 需要我刷上去看看嗎? [CODE]ar7100> iminfo 0xa0800022 ## Checking Image at a0800022 ... [/CODE] 第二個方法出現同個問題,以下是啟動畫面 [CODE] AP81 (ar7100) U-boot DRAM: sri 32 MB Top of RAM usable for U-Boot at: 82000000 Reserving 222k for U-Boot at: 81fc8000 Reserving 192k for malloc() at: 81f98000 Reserving 44 Bytes for Board Info at: 81f97fd4 Reserving 36 Bytes for Global Data at: 81f97fb0 Reserving 128k for boot params() at: 81f77fb0 Stack Pointer at: 81f77f98 Now running in RAM - U-Boot at: 81fc8000 id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: ag7100_enet_initialize... Fetching MAC Address from 0x81fedb10 eth0: 00:22:cf:04:df:57 dup 1 speed 100 eth0 up eth0 ====check reset button function==== ### main_loop entered: bootdelay=4 ### main_loop: bootcmd="bootm 0xbf050000" Hit any key to stop autoboot: 0 ## Booting image at bf050000 ... Image Name: MIPS OpenWrt Linux-2.6.32.25 Created: 2010-11-20 4:30:32 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1235039 Bytes = 1.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 33554432 Starting kernel ... Linux version 2.6.32.25 (openwrt@ampere) (gcc version 4.3.3 (GCC) ) #1 Fri Nov 19 20:27:50 PST 2010 bootconsole [early0] enabled CPU revision is: 00019374 (MIPS 24Kc) Atheros AR9132 rev 1, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd 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: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=MZK-W04NU PID hash table entries: 128 (order: -3, 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: 29304k/32768k available (2113k kernel code, 3464k reserved, 395k data, 152k init, 0k highmem) SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. NR_IRQS:56 Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200) Mount-cache hash table entries: 512 NET: Registered protocol family 16 MIPS: machine is Planex MZK-W04NU bio: create slab <bio-0> at 0 Switching to clocksource MIPS 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 squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) 穢 2001-2006 Red Hat, Inc. yaffs Nov 19 2010 20:21:41 Installing. msgmni has been set to 57 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A console [ttyS0] enabled, bootconsole disabled console [ttyS0] enabled, bootconsole disabled Atheros AR71xx SPI Controller driver version 0.2.4 m25p80 spi0.0: m25p64 (8192 Kbytes) Searching for RedBoot partition table in spi0.0 at offset 0x7e0000 Searching for RedBoot partition table in spi0.0 at offset 0x7f0000 No RedBoot partition table detected in spi0.0 spi0.0: no WRT160NL signature found Creating 6 MTD partitions on "spi0.0": 0x000000000000-0x000000040000 : "u-boot" 0x000000040000-0x000000050000 : "u-boot-env" 0x000000050000-0x0000001b0000 : "kernel" 0x0000001b0000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem split_squashfs: no squashfs found in "spi0.0" 0x0000007e0000-0x000000800000 : "art" 0x000000050000-0x0000007e0000 : "firmware" ag71xx_mdio: probed eth0: Atheros AG71xx at 0xb9000000, irq 4 eth1: Atheros AG71xx at 0xba000000, irq 5 Atheros AR71xx hardware watchdog driver version 0.1.0 TCP westwood 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]> yaffs: dev is 32505859 name is "mtdblock3" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.3, "mtdblock3" yaffs: MTD device is not NAND it's type 3 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x7173 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000002c: 0xe74c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0x0200 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000038: 0x1100 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000003c: 0x0100 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000044: 0xcf1e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x2000 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x2000 instead Empty flash at 0x0000005c ends at 0x00000060 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xffff instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x2000 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x4c97 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x6491 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x0ccf instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0xd85e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x2ee9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0xe153 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x80c4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0x79cb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0xa165 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0xba51 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0xa392 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0xf628 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xa3e0 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xf787 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x811a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0xa783 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0xd5a7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0xb695 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0xe97d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x7796 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0xb5cf instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x6917 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0x3f37 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0x8843 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x5e93 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x7980 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0xbb55 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x7576 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0x9477 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0xe1bb instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x5e2c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x3bf2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xae89 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x3132 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xeaeb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x6bb2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x803a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x769d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x5201 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x4685 instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x00043320 You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x5f23 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x9591 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0x4864 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0xe1f9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0x0c13 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050014: 0xcfec instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0xa6e3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0x337f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0xd6c9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0xb91c instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x00057828 You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x7458 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x8939 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x5c72 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0x9022 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0xf515 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0x86a2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0xbd72 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0xc079 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0x2d66 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0x3c65 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x2407 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x25de instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xa2ce instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0x3ff2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0x8145 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0x2b35 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0x89d4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0xbc43 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0xa20d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0x3c26 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x9092 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x95e0 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x90cf instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0x16d8 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0xa90a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0xd946 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x0b6e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0x0809 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0x23ca instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0x4f66 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0xfdf1 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x72c1 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xa998 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009000c: 0xb338 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0x6f70 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090014: 0xdcbe instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090018: 0x5853 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009001c: 0x78df instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090020: 0x378f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090024: 0x28e4 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x4d0b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0xdc6d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xf35e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0xd882 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0x8491 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0x0a28 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0xe012 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0x77e3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0xb152 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0x907d instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x7190 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0xf36e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0x0c4b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0x15bf instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0x16fa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0014: 0xe20a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0x1574 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b001c: 0x7c5d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0020: 0xcb39 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0024: 0x1588 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x3226 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x2023 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0x1d1d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x72c7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x13f2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x6545 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0x8e0c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0xc31c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0xbbda instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0x417f instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0xc0f9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x7703 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0x4662 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0xe605 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0x25ca instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0xc72e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0x305d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0xee4f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0x9764 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0024: 0x0cca instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x07af instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0xf9b3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0x762e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0x8ad2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0x18b8 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x071e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0x581f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0x9975 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0x1e95 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0024: 0xeae2 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x98ae instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x208b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0x4ceb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0xe160 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0x5a17 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0x63aa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0xcc7a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0x2e4d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0xf4c0 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0x9830 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0xfb92 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0x1c0e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0x8071 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0x5ff5 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0x9755 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0xc53d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0x97e4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010001c: 0x3c55 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100020: 0xcd72 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100024: 0x3505 instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x0010f22c You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110000: 0x601c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110004: 0xa14a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110008: 0x8e04 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011000c: 0x8678 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110010: 0xbe20 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110014: 0xdf51 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110018: 0x33c4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011001c: 0xcb54 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110020: 0x042a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110024: 0x7450 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x9f98 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0xdb42 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0x7b45 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0xba28 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0xc932 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0x2c99 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0x7845 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0x869d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0x55e6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0x6fc6 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130000: 0xd566 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130004: 0xbc2b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130008: 0x7f41 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013000c: 0x1830 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130010: 0xbfb7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130014: 0x70d3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130018: 0xb501 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013001c: 0x0039 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130020: 0x53e3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130024: 0x3641 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0x951c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0xdd06 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140008: 0xd05c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014000c: 0x4da9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140010: 0x5aac instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140014: 0xcb67 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140018: 0x2ac8 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014001c: 0x64b6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140020: 0x89e3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140024: 0xdae8 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150000: 0x4915 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150004: 0x1981 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150008: 0xcda9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015000c: 0x10ff instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150010: 0x17b5 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150014: 0x88c8 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150018: 0x7f4d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015001c: 0x02e9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150020: 0xd0c6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150024: 0xe050 instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x00155b3c You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0x7278 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0x144b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0xd351 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016000c: 0xe63f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160010: 0xef08 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0x80ad instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0x8258 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x683e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0x7186 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0x8404 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170000: 0xfdf0 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170004: 0xfa85 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170008: 0x6931 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017000c: 0xd053 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170010: 0xc5b2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170014: 0xa2a5 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170018: 0x7d0f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017001c: 0x24cd instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170020: 0x3c7f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170024: 0x748c instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180000: 0xe9fa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180004: 0xe9cd instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0xf89d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0x7216 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180010: 0x5759 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180014: 0xe2f8 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0x4b69 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0xec0a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0xa892 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180024: 0x87f9 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190000: 0xab90 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190004: 0xa758 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190008: 0x8003 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019000c: 0x11f4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190010: 0x56e6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190014: 0x9f8d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190018: 0xdbc1 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019001c: 0xd9de instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190020: 0x0509 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190024: 0x525e instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0000: 0xc220 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0004: 0xe7f0 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0008: 0x4173 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a000c: 0xaac7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0010: 0x736e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0014: 0xa309 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0018: 0x8e1e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a001c: 0x8eb1 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0020: 0xdb9d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0024: 0x2e3f instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0000: 0x2f10 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0004: 0xaf1f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0008: 0x7e43 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b000c: 0x5a31 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0010: 0xdb63 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0014: 0x40dd instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0018: 0x47b3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b001c: 0x1d89 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0020: 0xf628 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0024: 0x2e0b instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0000: 0xd681 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0004: 0x8aca instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0008: 0x6233 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c000c: 0x4bfb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0010: 0xf400 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0014: 0xfc43 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0018: 0x6e6a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c001c: 0x176d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0020: 0x00c7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0024: 0xf0f2 instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x001cdc3c You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0000: 0x14cb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0004: 0x72ec instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0008: 0x0cca instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d000c: 0x0462 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0010: 0xc524 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0014: 0x88c6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0018: 0x0ee4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d001c: 0x8521 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0020: 0xab58 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0024: 0xbcb2 instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x001d6d70 You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0000: 0xf07b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0004: 0x5e71 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0008: 0x4565 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e000c: 0xfe39 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0010: 0x8afb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0014: 0x4540 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0018: 0x572c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e001c: 0xd6c3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0020: 0x6fcc instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0024: 0x3da9 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0000: 0xbef3 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0004: 0x250f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0008: 0x4a1b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f000c: 0x9f4c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0010: 0x7984 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0014: 0xbf74 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0018: 0x618f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f001c: 0xef38 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0020: 0xcac4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0024: 0xd8d6 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200000: 0xea3d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200004: 0x9a86 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200008: 0x679b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020000c: 0xa3df instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200010: 0x7c09 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200014: 0xe983 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200018: 0x745e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020001c: 0xa221 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200020: 0x1094 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200024: 0x1d3f instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210024: 0xc0de instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220024: 0xc0de instead VFS: Mounted root (jffs2 filesystem) readonly on device 31:3. Freeing unused kernel memory: 152k freed Please be patient, while OpenWrt loads ... Kernel panic - not syncing: No init found. Try passing init= option to kernel. [/CODE] |
重新檢查factory.bin 之後, 確定只有第一個方法是正確的, 也就是必須全部往前搬移, 步驟已經修改過, 只需測試第一個方法 如果還不成功, 那就一步一步來, 請於PC 修改10.03.1-rc4 版openwrt-ar71xx-mzk-w04nu-squashfs-factory.bin[LIST=1][*]移除前0x22 Bytes[*]最後再補上0x22 Bytes 0xff[*]儲存成openwrt.bin[*]檢查檔案長度為7864320[*]計算CRC32 為0x19C8A102[/LIST]然後比對U-Boot 所計算的crc32, iminfo 出現錯誤或crc32 不吻合, 那就不必更新韌體, 代表硬體線路有問題, 請更換網路線或加裝交換器 |
回覆: 【問題】mzk-w04nu? ttl? 第一個方法可以,刷機完成後ping的到機器,實際上網尚未測試 測試版本是backfire10.03.1-rc4 事前設定 我這台u-boot server ip 預設192.168.1.230 ip 192.168.1.10 所以我就直接將我的網卡設定為192.168.1.230 這樣就不用setenv serverip 192.168.1.11 setenv ipaddr 192.168.1.1 crc32檢查,前後一制 以下是我整個過程包含reset [CODE]====check reset button function==== ### main_loop entered: bootdelay=4 ### main_loop: bootcmd="bootm 0xbf050000" Hit any key to stop autoboot: 0 ar7100> tftp 0xa0800000 openwrt.bin Using eth0 device TFTP from server 192.168.1.230; our IP address is 192.168.1.10 Filename 'openwrt.bin'. Load address: 0xa0800000 Loading: checksum bad checksum bad ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################## done Bytes transferred = 7864320 (780000 hex) ar7100> cp.b 0xa0800022 0xa0800000 0x77ffde ar7100> iminfo 0xa0800000 ## Checking Image at a0800000 ... Image Name: MIPS OpenWrt Linux-2.6.32.25 Created: 2010-11-20 4:30:32 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1235039 Bytes = 1.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK ar7100> crc32 0xa0800000 0x780000 CRC32 for a0800000 ... a0f7ffff ==> 19c8a102 ar7100> erase 0xbf050000 +0x780000 Erase Flash from 0xbf050000 to 0xbf7cffff in Bank # 1 First 0x5 last 0x7c sector size 0x10000 124 Erased 120 sectors ar7100> cp.b 0xa0800000 0xbf050000 0x780000 Copy to Flash... write addr: bf050000 done ar7100> iminfo 0xbf050000 ## Checking Image at bf050000 ... Image Name: MIPS OpenWrt Linux-2.6.32.25 Created: 2010-11-20 4:30:32 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1235039 Bytes = 1.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK ar7100> crc32 0xbf050000 0x780000 CRC32 for bf050000 ... bf7cffff ==> 19c8a102 ar7100> reset Resetting... U-Boot 1.1.4 (Oct 25 2007 - 15:28:59) AP81 (ar7100) U-boot DRAM: sri 32 MB Top of RAM usable for U-Boot at: 82000000 Reserving 222k for U-Boot at: 81fc8000 Reserving 192k for malloc() at: 81f98000 Reserving 44 Bytes for Board Info at: 81f97fd4 Reserving 36 Bytes for Global Data at: 81f97fb0 Reserving 128k for boot params() at: 81f77fb0 Stack Pointer at: 81f77f98 Now running in RAM - U-Boot at: 81fc8000 id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: ag7100_enet_initialize... Fetching MAC Address from 0x81fedb10 eth0: 00:22:cf:04:df:57 dup 1 speed 100 eth0 up eth0 ====check reset button function==== ### main_loop entered: bootdelay=4 ### main_loop: bootcmd="bootm 0xbf050000" Hit any key to stop autoboot: 0 ## Booting image at bf050000 ... Image Name: MIPS OpenWrt Linux-2.6.32.25 Created: 2010-11-20 4:30:32 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1235039 Bytes = 1.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 33554432 Starting kernel ... Linux version 2.6.32.25 (openwrt@ampere) (gcc version 4.3.3 (GCC) ) #1 Fri Nov 19 20:27:50 PST 2010 bootconsole [early0] enabled CPU revision is: 00019374 (MIPS 24Kc) Atheros AR9132 rev 1, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd 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: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=MZK-W04NU PID hash table entries: 128 (order: -3, 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: 29304k/32768k available (2113k kernel code, 3464k reserved, 395k data, 152k init, 0k highmem) SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. NR_IRQS:56 Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200) Mount-cache hash table entries: 512 NET: Registered protocol family 16 MIPS: machine is Planex MZK-W04NU bio: create slab <bio-0> at 0 Switching to clocksource MIPS 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 squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. yaffs Nov 19 2010 20:21:41 Installing. msgmni has been set to 57 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A console [ttyS0] enabled, bootconsole disabled console [ttyS0] enabled, bootconsole disabled Atheros AR71xx SPI Controller driver version 0.2.4 m25p80 spi0.0: m25p64 (8192 Kbytes) Searching for RedBoot partition table in spi0.0 at offset 0x7e0000 Searching for RedBoot partition table in spi0.0 at offset 0x7f0000 No RedBoot partition table detected in spi0.0 spi0.0: no WRT160NL signature found Creating 6 MTD partitions on "spi0.0": 0x000000000000-0x000000040000 : "u-boot" 0x000000040000-0x000000050000 : "u-boot-env" 0x000000050000-0x0000001b0000 : "kernel" 0x0000001b0000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=3C0000, len=420000 0x0000003c0000-0x0000007e0000 : "rootfs_data" 0x0000007e0000-0x000000800000 : "art" 0x000000050000-0x0000007e0000 : "firmware" ag71xx_mdio: probed eth0: Atheros AG71xx at 0xb9000000, irq 4 eth1: Atheros AG71xx at 0xba000000, irq 5 Atheros AR71xx hardware watchdog driver version 0.1.0 TCP westwood 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]> VFS: Mounted root (squashfs filesystem) readonly on device 31:3. Freeing unused kernel memory: 152k freed Please be patient, while OpenWrt loads ... input: gpio-buttons as /devices/platform/gpio-buttons/input/input0 Button Hotplug driver version 0.3.1 eth0: link up (100Mbps/Full duplex) - preinit - Registered led device: mzk-w04nu:green:status Registered led device: mzk-w04nu:blue:wps Registered led device: mzk-w04nu:green:wlan Registered led device: mzk-w04nu:green:usb Registered led device: mzk-w04nu:green:ap Registered led device: mzk-w04nu:green:router Press the [f] key and hit [enter] to enter failsafe mode - regular preinit - jffs2 not ready yet; using ramdisk mini_fo: using base directory: / mini_fo: using storage directory: /tmp/root - init - eth0: link down Please press Enter to activate this console. eth0: link up (100Mbps/Full duplex) device eth0 entered promiscuous mode br-lan: port 1(eth0) entering forwarding state Compat-wireless backport release: compat-wireless-2010-10-14-7-gab01eca Backport based on wireless-testing.git master-2010-10-19 cfg80211: Calling CRDA to update world regulatory domain usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub cfg80211: World regulatory domain updated: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) usbcore: registered new device driver usb ieee80211 phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a1 mem=0xb80c0000, irq=2 cfg80211: Calling CRDA for country: CO cfg80211: Regulatory domain changed to country: CO (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) (5170000 KHz - 5250000 KHz @ 20000 KHz), (300 mBi, 1700 mBm) (5250000 KHz - 5330000 KHz @ 20000 KHz), (300 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 20000 KHz), (300 mBi, 3000 mBm) PPP generic driver version 2.4.2 ip_tables: (C) 2000-2006 Netfilter Core Team NET: Registered protocol family 24 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1 ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000 ar71xx-ehci ar71xx-ehci: 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 nf_conntrack version 0.5.0 (460 buckets, 1840 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ath_hal: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR) ath_pci: trunk wlan: trunk wlan: mac acl policy registered ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk) ath_rate_minstrel: look around rate set to 10% ath_rate_minstrel: EWMA rolloff level set to 75% ath_rate_minstrel: max segment size in the mrr set to 6000 us ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 jffs2_build_filesystem(): unlocking the mtd device... done. jffs2_build_filesystem(): erasing all blocks after the end marker... mini_fo: using base directory: / mini_fo: using storage directory: /overlay[/CODE] |
[QUOTE=pc054999;1098580][CODE]jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 jffs2_build_filesystem(): unlocking the mtd device... done. jffs2_build_filesystem(): erasing all blocks after the end marker... mini_fo: using base directory: / mini_fo: using storage directory: /overlay[/CODE][/QUOTE] 看來JFFS2 已經建立, crc32 "0x19c8a102" 和小弟計算的也吻合, 那麼先前到底是什麼問題呢? 線路不穩定嗎? |
能否請你參考#28 再操作一次? 只要執行到erase 之前即可, 小弟只是想驗證變數 "filesize" |
回覆: 【問題】mzk-w04nu? ttl? 1 個附加檔案 [QUOTE]如果還不成功, 那就一步一步來, 請於PC 修改10.03.1-rc4 版openwrt-ar71xx-mzk-w04nu-squashfs-factory.bin[LIST=1][*]移除前0x22 Bytes[*]最後再補上0x22 Bytes 0xff[*]儲存成openwrt.bin[*]檢查檔案長度為7864320[*]計算CRC32 為0x19C8A102[/LIST][/QUOTE] 所謂的補上0x22 bytes 0xff 指的是下圖這樣嗎? [IMG]http://www.pczone.com.tw/vbb3/attachment.php?attachmentid=21186&stc=1&d=1290935542[/IMG] 下面那些ff原先是00,修改後的磁碟大小是7864320沒錯 我等下試試看原廠的 我第一次用的時候是因為只有砍掉magic number前面的東西 並沒有補上我砍掉的空位,所以出現Bad Header Checksum? 以此類推假設有其他的韌體(原廠,etc....) 也可以用這種方法? 砍掉magic number前面的,然後補齊剛剛所砍的 [QUOTE]看來JFFS2 已經建立, crc32 "0x19c8a102" 和小弟計算的也吻合, 那麼先前到底是什麼問題呢? 線路不穩定嗎?[/QUOTE] 網路線的部分,我是拔我正在使用的那條(電腦接分享器),"應該"不會跟我ttl線一樣搞那種烏龍吧... [QUOTE]能否請你參考#28 再操作一次? 只要執行到erase 之前即可, 小弟只是想驗證變數 "filesize"[/QUOTE] 這是我從u-boot開始操作的紀錄,我連erase之後也跟著做了... 所謂的printenv filesize他會隨著我tftp下的韌體而改變嗎? 假設我下載的是backfire10.03-rc3 [CODE]====check reset button function==== ### main_loop entered: bootdelay=4 ### main_loop: bootcmd="bootm 0xbf050000" Hit any key to stop autoboot: 0 ar7100> tftp 0xa0800000 openwrt.bin Using eth0 device TFTP from server 192.168.1.230; our IP address is 192.168.1.10 Filename 'openwrt.bin'. Load address: 0xa0800000 Loading: checksum bad checksum bad checksum bad ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################## done Bytes transferred = 7864320 (780000 hex) ar7100> printenv filesize filesize=780000 ar7100> cp.b 0xa0800022 0xa0800000 0x78ffde ar7100> iminfo 0xa0800000 ## Checking Image at a0800000 ... Image Name: MIPS OpenWrt Linux-2.6.32.25 Created: 2010-11-20 4:30:32 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1235039 Bytes = 1.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK ar7100> crc32 0xa0800000 0x780000 CRC32 for a0800000 ... a0f7ffff ==> d70250f7 ar7100> erase 0xbf050000 +0x790000 Erase Flash from 0xbf050000 to 0xbf7dffff in Bank # 1 First 0x5 last 0x7d sector size 0x10000 125 Erased 121 sectors ar7100> cp.b 0xa0800000 0xbf050000 0x780000 Copy to Flash... write addr: bf050000 done ar7100> iminfo 0xbf050000 ## Checking Image at bf050000 ... Image Name: MIPS OpenWrt Linux-2.6.32.25 Created: 2010-11-20 4:30:32 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1235039 Bytes = 1.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK ar7100> crc32 0xbf050000 0x780000 CRC32 for bf050000 ... bf7cffff ==> d70250f7 ar7100> [/CODE] |
[QUOTE=pc054999;1098585]所謂的補上0x22 bytes 0xff 指的是下圖這樣嗎?[/QUOTE] 非也! 是在Offset 0x77ffde 之後, 因為必須維持rootfs 起始於0x160000, 你檢查一下就知道, 這也是小弟發現第二個方法錯誤的原因 網路線有時也會出問題, 小弟覺得你原先連接Modem & WAN 的那條可能比較穩, 因為你可以執行opkg update & wget |
回覆: 【問題】mzk-w04nu? ttl? #28的方法可以運用在 石像鬼還有原廠的 皆可從uboot刷成功 [CODE]ar7100> cp.b 0xa0800022 0xa0800000 0x78ffde [/CODE] 這段意思是將0xa0800022大小0x78ffde的東西 copy到0xa0800000上? 那原先的0xa0800000到22會移動到0x78ffde之後? 為什麼會有補上0x22bytes的動作? |
[QUOTE=pc054999;1098594][CODE]ar7100> cp.b 0xa0800022 0xa0800000 0x78ffde [/CODE] 這段意思是將0xa0800022大小0x78ffde的東西 copy到0xa0800000上? 那原先的0xa0800000到22會移動到0x78ffde之後? 為什麼會有補上0x22bytes的動作?[/QUOTE] 嚴格來說該指令不完全正確, 若韌體大小為0x780000, 那麼此處應該改為0x77ffde, 因為是複製 (覆蓋), 並非移動, 所以複製之後0x77ffde~0x77ffff 內容不變, 若是0x78ffde, 那麼該位置內容就是0x780000~0x780021 的內容, 可能都是0, 但根據OpenWrt 網友敘述, 該位置應該沒有重要資料, 也不影響檢查碼, 因為rootfs 事實上非常小, 所以sysupgrade.bin 檔案長度才會遠小於factory.bin 此外, 如果把10.03-rc3 版squashfs.webui 移除前面0x22 Bytes, 結果應該就是squashfs.bin, 同理factory.bin 移除前面0x22 Bytes 也應該等於squashfs.bin (新版OpenWrt 並未提供) 少0x22 Bytes |
所有時間均為 +8。現在的時間是 10:34 PM。 |
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。