|
悬赏100恩山币未解决
近日通过咸鱼购买:88FR131 512M Ram 128M Flash 路由器,自带系统是任/子/行/NET/1、1,0系统,
到手收第一时间备份固件后捣鼓
- mtd信息
- root@OpenWrt:/mnt# cat /proc/mtd
- dev: size erasesize name
- mtd0: 00100000 00020000 "u-boot"
- mtd1: 00300000 00020000 "uImage"
- mtd2: 06400000 00020000 "yaffs"
- mtd3: 00400000 00020000 "Config"
- mtd4: 00400000 00020000 "Factory"
- mtd5: 00400000 00020000 "Config1"
- mtd6: 00400000 00020000 "Config2"
- mtd7: 00400000 00020000 "Config3
复制代码
- 挂载U盘后通过以下命令成功备份:
- dd if=/dev/mtd0 of=/mnt/sda5/u-boot
- dd if=/dev/mtd1 of=/mnt/sda5/uImage
- dd if=/dev/mtd2 of=/mnt/sda5/yaffs
- dd if=/dev/mtd3 of=/mnt/sda5/Config
- dd if=/dev/mtd4 of=/mnt/sda5/Factory
- dd if=/dev/mtd5 of=/mnt/sda5/Config1
- dd if=/dev/mtd6 of=/mnt/sda5/Config2
- dd if=/dev/mtd7 of=/mnt/sda5/Config3
复制代码
刷了论坛里面两个MI424路由系统的潘多拉固件,看了别人刷机信息有看到88FR131cpu,但刷完后没有进入系统:
开机直接进入了TFTP
开启TFTP服务端后刷入uImage后能启动系统
卡在:Root-NFS: Unable to get mountd port number from server, using default
启动信息如下:
- U-Boot 1.1.4 (Mar 1 2014 - 09:16:55) Marvell patched
- U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006D29E0
- Soc: 88F6281 A1CPU running @ 1200Mhz L2 running @ 400Mhz
- SysClock = 400Mhz , TClock = 200Mhz
- DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
- DRAM CS[0] base 0x00000000 size 256MB
- DRAM CS[1] base 0x10000000 size 256MB
- DRAM Total size 512MB 16bit width
- Addresses 8M - 0M are saved for the U-Boot usage.
- Mem malloc Initialization (8M - 7M): Done
- NAND:MAFID:0xEC DEVID:0XF1
- 128 MB
- Flash: 0 kB
- U-Boot 1.1.4 (Mar 1 2014 - 09:16:55) Marvell patched
- U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006D29E0
- Soc: 88F6281 A1CPU running @ 1200Mhz L2 running @ 400Mhz
- SysClock = 400Mhz , TClock = 200Mhz
- DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
- DRAM CS[0] base 0x00000000 size 256MB
- DRAM CS[1] base 0x10000000 size 256MB
- DRAM Total size 512MB 16bit width
- Addresses 8M - 0M are saved for the U-Boot usage.
- Mem malloc Initialization (8M - 7M): Done
- NAND:MAFID:0xEC DEVID:0XF1
- 128 MB
- Flash: 0 kB
- CPU : Marvell Feroceon (Rev 1)
- Streaming disabled
- Write allocate disabled
- Module 0 is RGMII
- Module 1 is TDM
- USB 0: host mode
- PEX 0: PCI Express Root Complex Interface
- PEX interface detected Link X1
- Net: egiga0, egiga1 [PRIME]
- Hit '9' key to stop autoboot: 0
- egiga1 no link
- Using egiga0 device
- TFTP from server 172.16.31.99; our IP address is 172.16.31.77
- Filename 'uImage'.
- Load address: 0x2000000
- Loading: T T T T T T T T T T
- Retry count exceeded; starting again
- egiga1 no link
- Using egiga0 device
- TFTP from server 172.16.31.99; our IP address is 172.16.31.77
- Filename 'uImage'.
- Load address: 0x2000000
- Loading: T T T T #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- ##############################
- done
- Bytes transferred = 3145728 (300000 hex)
- ## Booting image at 02000000 ...
- Image Name: Linux-2.6.31.8
- Created: 2014-03-10 6:31:19 UTC
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 2998328 Bytes = 2.9 MB
- Load Address: 00008000
- Entry Point: 00008000
- Verifying Checksum ... OK
- OK
- Starting kernel ...
- Uncompressing Linux............................................................................................................................................................................................... done, booting the kernel.
- Initializing cgroup subsys cpuset
- Linux version 2.6.31.8 (root@localhost) (gcc version 4.3.3 (GCC) ) #10 Mon Mar 10 14:31:01 CST 2014
- CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
- CPU: VIVT data cache, VIVT instruction cache
- Machine: Feroceon-KW
- Using UBoot passing parameters structure
- Memory policy: ECC disabled, Data cache writeback
- Built 1 zonelists in Zone order, mobility grouping off. Total pages: 130048
- Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root) root=/dev/nfs rw nfsroot=172.16.31.99:/srv/ubuntu ip=172.16.31.77:172.16.31.99:::DB88FXX81:eth0:none mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 mv_phone_config=dev[0]:fxs,dev[1]:fxo video=dovefb:lcd0: clcd.lcd0_enable=
- PID hash table entries: 2048 (order: 11, 8192 bytes)
- Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
- Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
- Memory: 256MB 256MB = 512MB total
- Memory: 509312KB available (5472K code, 364K data, 144K init, 0K highmem)
- SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- Hierarchical RCU implementation.
- NR_IRQS:128
- Console: colour dummy device 80x30
- Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
- Mount-cache hash table entries: 512
- Initializing cgroup subsys ns
- Initializing cgroup subsys cpuacct
- Initializing cgroup subsys devices
- CPU: Testing write buffer coherency: ok
- NET: Registered protocol family 16
- Feroceon L2: Enabling L2
- Feroceon L2: Cache support initialised.
- CPU Interface
- -------------
- SDRAM_CS0 ....base 00000000, size 256MB
- SDRAM_CS1 ....base 10000000, size 256MB
- SDRAM_CS2 ....disable
- SDRAM_CS3 ....disable
- PEX0_MEM ....base e0000000, size 128MB
- PEX0_IO ....base f2000000, size 1MB
- INTER_REGS ....base f1000000, size 1MB
- NFLASH_CS ....base fa000000, size 2MB
- SPI_CS ....base f4000000, size 16MB
- PEX1_MEM ....no such
- PEX1_IO ....no such
- BOOT_ROM_CS ....no such
- DEV_BOOTCS ....no such
- CRYPT_ENG ....base fb000000, size 64KB
- Marvell Development Board (LSP Version KW_LSP_5.1.3)-- RD-88F6281A Soc: 88F6281 A1 LE
- Detected Tclk 200000000 and SysClk 400000000
- MV Buttons Device Load
- Marvell USB EHCI Host controller #0: 9005e6c0
- PEX0 interface detected Link X1
- PCI: bus0: Fast back to back transfers disabled
- mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
- 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
- Slow work thread pool: Starting up
- Slow work thread pool: Ready
- FS-Cache: Loaded
- CacheFiles: Loaded
- NET: Registered protocol family 2
- IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
- TCP established hash table entries: 65536 (order: 7, 524288 bytes)
- TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
- TCP: Hash tables configured (established 65536 bind 65536)
- TCP reno registered
- NET: Registered protocol family 1
- RTC has been updated!!!
- rtc mv_rtc: rtc core: registered kw-rtc as rtc0
- RTC registered
- cpufreq: Init kirkwood cpufreq driver
- XOR registered 4 channels
- XOR 2nd invalidate WA enabled
- cesadev_init(8000e198)
- mvCesaInit: sessions=640, queue=64, pSram=f0000000
- Warning: TS unit is powered off.
- MV Buttons Driver Load
- VFS: Disk quotas dquot_6.5.2
- Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
- NTFS driver 2.1.29 [Flags: R/O].
- JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
- SGI XFS with ACLs, security attributes, realtime, no debug enabled
- SGI XFS Quota Management subsystem
- yaffs Mar 6 2014 09:06:29 Installing.
- msgmni has been set to 995
- alg: No test for cipher_null (cipher_null-generic)
- alg: No test for ecb(cipher_null) (ecb-cipher_null)
- alg: No test for digest_null (digest_null-generic)
- alg: No test for compress_null (compress_null-generic)
- alg: No test for stdrng (krng)
- alg: No test for hmac(digest_null) (hmac(digest_null-generic))
- Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
- io scheduler noop registered
- io scheduler anticipatory registered (defualt)
- Initializing ths8200_init
- Initializing dove_adi9889_init
- gpio_request 0
- alarm: alarm module inited!
- gpio_request 0
- sataled: sataled0 module inited!
- gpio_request 0
- usbpwrctl: usbpwrctrl module inited!
- button: button module inited!
- Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
- serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
- console [ttyS0] enabled
- brd: module loaded
- loop: module loaded
- nbd: registered device at major 43
- Integrated Sata device found
- IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
- scsi0 : Marvell SCSI to SATA adapter
- scsi1 : Marvell SCSI to SATA adapter
- Loading Marvell Ethernet Driver:
- o Cached descriptors in DRAM
- o DRAM SW cache-coherency
- o 1 Giga ports supported
- o Single RX Queue support - ETH_DEF_RXQ=0
- o Single TX Queue support - ETH_DEF_TXQ=0
- o TCP segmentation offload (TSO) supported
- o Large Receive offload (LRO) supported
- o Receive checksum offload supported
- o Transmit checksum offload supported
- o Network Fast Processing (Routing) supported - (Disabled)
- o Driver ERROR statistics enabled
- o Driver INFO statistics enabled
- o Proc tool API enabled
- o SKB Reuse supported - (Disabled)
- o SKB Recycle supported - (Disabled)
- o Gateway support enabled
- o Using Marvell Header Mode
- o L2 IGMP support
- o Rx descripors: q0=128
- o Tx descripors: q0=532
- o Loading network interface(s):
- o Loading Gateway interface(s):
- o Using command line network interface configuration
- o MTU set to 1500.
- o mac_addr 00:50:43:68:24:2d, VID 0x100, port list: port-0 port-1 port-2 port-3
- o register under mv88fx_eth platform
- o eth0, ifindex = 2, GbE port = 0
- mvFpRuleDb (90800000): 16384 entries, 65536 bytes
- PPP generic driver version 2.4.2
- PPP Deflate Compression module registered
- PPP BSD Compression module registered
- PPP MPPE Compression module registered
- NET: Registered protocol family 24
- PPPoL2TP kernel driver, V1.0
- tun: Universal TUN/TAP device driver, 1.6
- tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
- usbcore: registered new interface driver asix
- usbcore: registered new interface driver cdc_ether
- usbcore: registered new interface driver net1080
- usbcore: registered new interface driver rndis_host
- usbcore: registered new interface driver cdc_subset
- usbcore: registered new interface driver zaurus
- NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
- Scanning device for bad blocks
- Bad eraseblock 300 at 0x000002580000
- 2 cmdlinepart partitions found on MTD device nand_mtd
- Using command line partition definition
- Creating 2 MTD partitions on "nand_mtd":
- 0x000000000000-0x0000000c0000 : "uboot"
- 0x000000100000-0x000008000000 : "root"
- ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
- ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
- ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
- ehci_marvell ehci_marvell.70059: 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
- ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
- uhci_hcd: USB Universal Host Controller Interface driver
- Initializing USB Mass Storage driver...
- usbcore: registered new interface driver usb-storage
- USB Mass Storage support registered.
- usbcore: registered new interface driver usbserial
- USB Serial support registered for generic
- usbcore: registered new interface driver usbserial_generic
- usbserial: USB Serial Driver core
- USB Serial support registered for GSM modem (1-port)
- usbcore: registered new interface driver option
- option: v0.7.2:USB Driver for GSM modems
- i2c /dev entries driver
- Orion Watchdog Timer: Initial timeout 8 sec
- mmc0: mvsdio driver initialized, using GPIO 42 for card detection
- Netfilter messages via NETLINK v0.30.
- nf_conntrack version 0.5.0 (8192 buckets, 32768 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.
- xt_time: kernel timezone is -0000
- IPVS: Registered protocols (TCP, UDP, AH, ESP)
- IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
- IPVS: ipvs loaded.
- IPVS: [rr] scheduler registered.
- IPVS: [wrr] scheduler registered.
- IPVS: [lc] scheduler registered.
- IPVS: [wlc] scheduler registered.
- IPVS: [lblc] scheduler registered.
- IPVS: [lblcr] scheduler registered.
- IPVS: [dh] scheduler registered.
- IPVS: [sh] scheduler registered.
- IPVS: [sed] scheduler registered.
- IPVS: [nq] scheduler registered.
- IPVS: ftp: loaded support on port[0] = 21
- IPv4 over IPv4 tunneling driver
- GRE over IPv4 tunneling driver
- ip_tables: (C) 2000-2006 Netfilter Core Team
- ClusterIP Version 0.8 loaded successfully
- arp_tables: (C) 2002 David S. Miller
- TCP cubic registered
- NET: Registered protocol family 17
- NET: Registered protocol family 15
- Bridge firewalling registered
- Ebtables v2.0 registered
- ebt_ulog: out of memory trying to call netlink_kernel_create
- RPC: Registered udp transport module.
- RPC: Registered tcp transport module.
- 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
- All bugs added by David S. Miller <davem@redhat.com>
- rtc mv_rtc: setting system clock to 2000-01-01 09:56:15 UTC (946720575)
- usb 1-1: new high speed USB device using ehci_marvell and address 2
- usb 1-1: configuration #1 chosen from 1 choice
- scsi2 : SCSI emulation for USB Mass Storage devices
- Port 1: Link-up, Full-duplex, Speed-100Mbps.
- mv_gateway: starting eth0
- IP-Config: Guessing netmask 255.255.0.0
- IP-Config: Complete:
- device=eth0, addr=172.16.31.77, mask=255.255.0.0, gw=255.255.255.255,
- host=DB88FXX81, domain=, nis-domain=(none),
- bootserver=172.16.31.99, rootserver=172.16.31.99, rootpath=
- Looking up port of RPC 100003/2 on 172.16.31.99
- IGMP snoop: Local IGMP messages (224.0.0.x) must be flooded
- scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
- sd 2:0:0:0: Attached scsi generic sg0 type 0
- sd 2:0:0:0: [sda] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB)
- sd 2:0:0:0: [sda] Write Protect is off
- sd 2:0:0:0: [sda] Assuming drive cache: write through
- sd 2:0:0:0: [sda] Assuming drive cache: write through
- sda: sda1
- sd 2:0:0:0: [sda] Assuming drive cache: write through
- sd 2:0:0:0: [sda] Attached SCSI removable disk
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=224.0.1.255, port=1, vlanDB=0)
- IGMP snoop: Empty MAC node list
- IGMP snoop: Add a new MAC node (mac=01:00:5e:0:1:ff, ip=224.0.1.255, port=1)
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.250, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fa) ...
- IGMP snoop: Add a new MAC node (mac=01:00:5e:ff:ff:fa, ip=239.255.255.250, port=1)
- IGMP snoop: Local IGMP messages (224.0.0.x) must be flooded
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=224.0.1.255, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:0:1:ff) ...
- IGMP snoop: MAC address was found in the list
- IGMP snoop: Searching for IP(224.0.1.255) ...
- IGMP snoop: IP address was found in the list
- IGMP snoop: Local IGMP messages (224.0.0.x) must be flooded
- IGMP snoop: Local IGMP messages (224.0.0.x) must be flooded
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.250, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fa) ...
- IGMP snoop: MAC address was found in the list
- IGMP snoop: Searching for IP(239.255.255.250) ...
- IGMP snoop: IP address was found in the list
- rpcbind: server 172.16.31.99 not responding, timed out
- Root-NFS: Unable to get nfsd port number from server, using default
- Looking up port of RPC 100005/1 on 172.16.31.99
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.251, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fb) ...
- IGMP snoop: Add a new MAC node (mac=01:00:5e:ff:ff:fb, ip=239.255.255.251, port=1)
- IGMP snoop: IGMPv2 LEAVE (if="eth0", group=239.255.255.251, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fb) ...
- IGMP snoop: MAC address was found in the list
- IGMP snoop: Searching for IP(239.255.255.251) ...
- IGMP snoop: IP address was found in the list
- IGMP snoop: Last port on IP node, delete the IP entry
- IGMP snoop: Send port bitmap (0x0) and MAC address (01:00:5e:255:255:251) to switch DB (dbnum=0)
- IGMP snoop: Last port on MAC node, delete the MAC entry
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.251, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fb) ...
- IGMP snoop: Add a new MAC node (mac=01:00:5e:ff:ff:fb, ip=239.255.255.251, port=1)
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.251, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fb) ...
- IGMP snoop: MAC address was found in the list
- IGMP snoop: Searching for IP(239.255.255.251) ...
- IGMP snoop: IP address was found in the list
- IGMP snoop: Local IGMP messages (224.0.0.x) must be flooded
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.251, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fb) ...
- IGMP snoop: MAC address was found in the list
- IGMP snoop: Searching for IP(239.255.255.251) ...
- IGMP snoop: IP address was found in the list
- IGMP snoop: Local IGMP messages (224.0.0.x) must be flooded
- IGMP snoop: IGMPv2 JOIN (if="eth0", group=239.255.255.250, port=1, vlanDB=0)
- IGMP snoop: Searching for MAC(01:00:5e:ff:ff:fa) ...
- IGMP snoop: MAC address was found in the list
- IGMP snoop: Searching for IP(239.255.255.250) ...
- IGMP snoop: IP address was found in the list
- rpcbind: server 172.16.31.99 not responding, timed out
- <font color="Red">Root-NFS: Unable to get mountd port number from server, using default</font>
复制代码 貌似只能通过NFS进入系统,还没研究Nfs系统怎么架设。此时能ping通路由器的IP:172.16.31.77
通过U-boot 启动U盘刷机,能读出U盘上的文件,但不知如何用fatload 来写入,主要是不知道flash地址怎么写
- U-Boot 1.1.4 (Mar 1 2014 - 09:16:55) Marvell patched
- U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006D29E0
- Soc: 88F6281 A1CPU running @ 1200Mhz L2 running @ 400Mhz
- SysClock = 400Mhz , TClock = 200Mhz
- DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
- DRAM CS[0] base 0x00000000 size 256MB
- DRAM CS[1] base 0x10000000 size 256MB
- DRAM Total size 512MB 16bit width
- Addresses 8M - 0M are saved for the U-Boot usage.
- Mem malloc Initialization (8M - 7M): Done
- NAND:MAFID:0xEC DEVID:0XF1
- 128 MB
- Flash: 0 kB
- CPU : Marvell Feroceon (Rev 1)
- Streaming disabled
- Write allocate disabled
- Module 0 is RGMII
- Module 1 is TDM
- USB 0: host mode
- PEX 0: PCI Express Root Complex Interface
- PEX interface detected Link X1
- Net: egiga0, egiga1 [PRIME]
- Hit '9' key to stop autoboot: 0
- Marvell>> usb start
- (Re)start USB...
- USB: scanning bus for devices... 2 USB Device(s) found
- Waiting for storage device(s) to settle before scanning...
- 1 Storage Device(s) found
- Marvell>> fatls usb 0
- ......
- 4194304 config2
- 4194304 config3
- 4194304 factory
- 1048576 u-boot
- 3145728 uimage
- 104857600 yaffs
- 4194304 config
- 4194304 config1
- 8 file(s), 0 dir(s)
- Marvell>>
复制代码 输入这条命令后能加载成功,然后自动重启到tftp刷机,开始循环:
- fatload usb 0 0x00100000 u-boot
- fatload usb 0 0x00300000 uimage
复制代码
1.请教在未进入系统的情况下通过什么方式能将原厂备份的mtd文件写入
2.有没有88FR131能使用的Openwrt路由固件或NAS固件
万分感谢!
|
|