请选择 进入手机版 | 继续访问电脑版

GODIY 自己动手亲力亲为的DIY社区一起来吧--GODIY论坛

 找回密码
 注册

扫一扫,访问微社区

搜索
楼主: xxcat

2014版openwrt+新内核+最新版samba,系统基本制作完成(已上传网盘)

[复制链接]
发表于 2014-1-3 22:43:22 | 显示全部楼层
镜像恢复不成功,求详细教程。
未命名.jpg
 楼主| 发表于 2014-1-3 23:37:23 | 显示全部楼层
本帖最后由 xxcat 于 2014-1-3 23:39 编辑

回复 31# atsky


    估计是硬盘正在被win使用。你先diskpart
list disk
select disk n (注意别搞错,n是你要使用这个硬盘)
clean或者用windows的硬盘管理工具先删除所有分区
发表于 2014-1-3 23:46:08 | 显示全部楼层
你这让我怎么刷。我只能刷固件文件,rootfs.ubi,  stage1.wrapped,uImage 这样的。
发表于 2014-1-4 01:16:20 | 显示全部楼层
怎么挂载硬盘,移动硬盘插上去看不到,硬盘的剩余容量不知道跑哪里去了
发表于 2014-1-4 01:18:12 | 显示全部楼层
本帖最后由 lsl3700 于 2014-1-4 12:08 编辑
你这让我怎么刷。我只能刷固件文件,rootfs.ubi,  stage1.wrapped,uImage 这样的。 ...
showdoi 发表于 2014-1-3 23:46


用winhex,置顶有教程 https://godiy.net/thread-13338-1-1.html
发表于 2014-1-4 12:15:29 | 显示全部楼层
回复 1# xxcat


   楼主,这个内核比较新,安装其他无线网卡 比如ath9 的 驱动会出现内核版本不相符的情况,无法安装一些其他网卡的驱动啊
发表于 2014-1-4 13:25:26 | 显示全部楼层
能否弄成NAND版的!直接刷入POGO里,不用硬盘!行不?
发表于 2014-1-4 14:27:32 | 显示全部楼层
回复 37# ok_welcome


   xxcat还提供了一个roof包,不知道是不是能刷到NAND,你也研究一下呗
发表于 2014-1-4 15:13:21 | 显示全部楼层
本帖最后由 elickson 于 2014-1-4 15:20 编辑

原厂uboot+ navym uImage.pci内核,改bootargs后,把disk.img镜像到U盘:   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.11.1+ (mahaijun@ubuntu) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #941 SMP Thu Oct 10 08:47:12 CST 2013
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: PLXTECH NAS782X SoC (Flattened Device Tree), model: plxtech,nas7820
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 7 pages/cpu @c07a4000 s6592 r8192 d13888 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: root=/dev/sdb1 ubi.mtd=2,512 rootfstype=ext4 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x25,0x31,0x31,0x55,0xAA rootwait mem=128M poweroutage=yes
[    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: 123068K/131072K available (4609K kernel code, 218K rwdata, 1516K rodata, 154K init, 237K bss, 8004K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 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 - 0xc0603710   (6126 kB)
[    0.000000]       .init : 0xc0604000 - 0xc062a9c0   ( 155 kB)
[    0.000000]       .data : 0xc062c000 - 0xc06629a8   ( 219 kB)
[    0.000000]        .bss : 0xc06629a8 - 0xc069e100   ( 238 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949ms
[    0.000000] Console: colour dummy device 80x30
[    0.000232] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050042] pid_max: default: 32768 minimum: 301
[    0.050250] Mount-cache hash table entries: 512
[    0.052303] CPU: Testing write buffer coherency: ok
[    0.052710] Setting up static identity map for 0xc0461728 - 0xc0461784
[    0.054085] CPU1: Booted secondary processor
[    0.112883] Brought up 2 CPUs
[    0.112911] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.114055] devtmpfs: initialized
[    0.117480] pinctrl core: initialized pinctrl subsystem
[    0.117800] NET: Registered protocol family 16
[    0.118366] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.121405] gpio-oxnas 44000000.gpio: at address c8846000
[    0.121610] gpio-oxnas 44100000.gpio: at address c8848000
[    0.122058] pinctrl-oxnas pinctrl.5: initialized OX820 pinctrl driver
[    0.128499] bio: create slab <bio-0> at 0
[    0.239321] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5
[    1.242647] oxnas-pcie 47c00000.pcie-controller: link down
[    1.242849] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00
[    1.242869] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    1.242887] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    1.242900] pci_bus 0000:00: root bus resource [io  0x4be00000-0x4befffff]
[    1.242915] pci_bus 0000:00: root bus resource [bus 00-7f]
[    1.242974] PCI: bus0: Fast back to back transfers enabled
[    1.243317] vgaarb: loaded
[    1.243732] SCSI subsystem initialized
[    1.244403] usbcore: registered new interface driver usbfs
[    1.244482] usbcore: registered new interface driver hub
[    1.244666] usbcore: registered new device driver usb
[    1.244759] pps_core: LinuxPPS API ver. 1 registered
[    1.244771] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.244802] PTP clock support registered
[    1.246906] Switched to clocksource rps_clocksource_timer
[    1.246932] cfg80211: Calling CRDA to update world regulatory domain
[    1.259770] NET: Registered protocol family 2
[    1.260423] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    1.260469] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    1.260503] TCP: Hash tables configured (established 1024 bind 1024)
[    1.260595] TCP: reno registered
[    1.260615] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.260654] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.260953] NET: Registered protocol family 1
[    1.261437] RPC: Registered named UNIX socket transport module.
[    1.261455] RPC: Registered udp transport module.
[    1.261463] RPC: Registered tcp transport module.
[    1.261473] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.275422] fuse init (API version 7.22)
[    1.276311] msgmni has been set to 240
[    1.280038] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.280058] io scheduler noop registered
[    1.280069] io scheduler deadline registered
[    1.280307] io scheduler cfq registered (default)
[    1.280750] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.281955] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
[    1.769482] console [ttyS0] enabled
[    1.776176] loop: module loaded
[    2.027566] scsi0 : sata_oxnas
[    2.080588] ata1: SATA max UDMA/133 irq 50
[    2.084753] ox820sata: reseting SATA core
[    2.086228] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    2.086246] Scanning device for bad blocks
[    2.121694] Bad eraseblock 319 at 0x0000027e0000
[    2.204288] 2 ofpart partitions found on MTD device 41000000.nand
[    2.210375] Creating 2 MTD partitions on "41000000.nand":
[    2.215764] 0x000000000000-0x000000e00000 : "boot"
[    2.221841] 0x000000e00000-0x000008000000 : "data"
[    2.228346] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    2.233374]  Ring mode enabled
[    2.236405]  DMA HW capability register supported
[    2.240975]  Enhanced/Alternate descriptors
[    2.245309]  Enabled extended descriptors
[    2.249346]  RX Checksum Offload Engine supported (type 2)
[    2.254804]  TX Checksum insertion supported
[    2.259087]  Wake-Up On Lan supported
[    2.262773]  Enable RX Mitigation via HW Watchdog Timer
[    2.270899] libphy: stmmac: probed
[    2.274293] eth0: PHY ID 001cc914 at 0 IRQ 0 (stmmac-0:00) active
[    2.280414] eth0: PHY ID 001cc914 at 3 IRQ 0 (stmmac-0:03)
[    2.286033] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.292579] ehci-pci: EHCI PCI platform driver
[    2.297287] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    2.302799] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    2.310574] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100
[    2.326937] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    2.333017] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.339840] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.347061] usb usb1: Product: EHCI Host Controller
[    2.351915] usb usb1: Manufacturer: Linux 3.11.1+ ehci_hcd
[    2.357406] usb usb1: SerialNumber: 40200100.ehci
[    2.362787] hub 1-0:1.0: USB hub found
[    2.366540] hub 1-0:1.0: 2 ports detected
[    2.371051] usbcore: registered new interface driver usb-storage
[    2.377280] usbcore: registered new interface driver usbserial
[    2.383157] usbcore: registered new interface driver ch341
[    2.388710] usbserial: USB Serial support registered for ch341-uart
[    2.395002] usbcore: registered new interface driver pl2303
[    2.400629] usbserial: USB Serial support registered for pl2303
[    2.406824] mousedev: PS/2 mouse device common for all mice
[    2.412692] usbcore: registered new interface driver usbhid
[    2.418278] usbhid: USB HID core driver
[    2.422359] TCP: cubic registered
[    2.426455] NET: Registered protocol family 10
[    2.432107] sit: IPv6 over IPv4 tunneling driver
[    2.437550] NET: Registered protocol family 17
[    2.444167] UBI error: ubi_init: cannot open mtd 2, error -19
[    2.616944] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.624030] ata1.00: ATA-8: Hitachi HDP725032GLA360, GM3OA5BA, max UDMA/133
[    2.630993] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.638694] ata1.00: configured for UDMA/133
[    2.643463] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HDP72503 GM3O PQ: 0 ANSI: 5
[    2.652605] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    2.660605] sd 0:0:0:0: [sda] Write Protect is off
[    2.665589] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.686999] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    2.699850]  sda: sda1 < sda5 >
[    2.705154] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.709882] Waiting for root device /dev/sdb1...
[    2.838763] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.845452] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.852610] usb 1-1: Product: USB2.0 Hub
[    2.857507] hub 1-1:1.0: USB hub found
[    2.861642] hub 1-1:1.0: 4 ports detected
[    3.147394] usb 1-1.1: new high-speed USB device number 3 using oxnas-ehci
[    3.259389] usb 1-1.1: New USB device found, idVendor=0930, idProduct=6545
[    3.266260] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.273594] usb 1-1.1: Product: DataTraveler G2
[    3.278133] usb 1-1.1: Manufacturer: Kingston
[    3.282470] usb 1-1.1: SerialNumber: 0050BACA27F7B911132600E7
[    3.288995] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    3.295585] scsi1 : usb-storage 1-1.1:1.0
[    4.298124] scsi 1:0:0:0: Direct-Access     Kingston DataTraveler G2  PMAP PQ: 0 ANSI: 0 CCS
[    4.308897] sd 1:0:0:0: [sdb] 15687680 512-byte logical blocks: (8.03 GB/7.48 GiB)
[    4.317061] sd 1:0:0:0: [sdb] Write Protect is off
[    4.322426] sd 1:0:0:0: [sdb] No Caching mode page present
[    4.327969] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    5.066309] sd 1:0:0:0: [sdb] No Caching mode page present
[    5.071854] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    5.079006]  sdb: sdb1 sdb2
[    5.082073] sdb: p2 size 1953025456 extends beyond EOD, enabling native capacity
[    5.091804] sd 1:0:0:0: [sdb] No Caching mode page present
[    5.097359] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    5.104391]  sdb: sdb1 sdb2
[    5.107535] sdb: p2 size 1953025456 extends beyond EOD, truncated
[    5.116551] sd 1:0:0:0: [sdb] No Caching mode page present
[    5.122094] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    5.128250] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.136401] EXT4-fs (sdb1): INFO: recovery required on readonly filesystem
[    5.143347] EXT4-fs (sdb1): write access will be enabled during recovery
[    5.173222] EXT4-fs (sdb1): recovery complete
[    5.182338] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[    5.190100] VFS: Mounted root (ext4 filesystem) readonly on device 8:17.
[    5.198456] devtmpfs: mounted
[    5.201648] Freeing unused kernel memory: 152K (c0604000 - c062a000)
procd: Console is alive
procd: - preinit -
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
procd: - early -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    9.971136] eth0: device MAC address 1e:15:7c:b0:f7:19
[   11.967104] libphy: stmmac-0:00 - Link is Up - 1000/Full
[   13.322926] BUG: Bad rss-counter state mm:c7a7af00 idx:1 val:1
procd: - init complete -



回车进入到:
BusyBox v1.19.4 (2014-01-02 00:39:52 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r39183)
-----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 1E:15:7C:B0:F7:19
          inet addr:192.168.2.5  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::1c15:7cff:feb0:f719/64 Scopeink
          inet6 addr: fd0f:e56c:8e45::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:180 (180.0 B)  TX bytes:10091 (9.8 KiB)
          Interrupt:40 Base address:0xc000

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2914 (2.8 KiB)  TX bytes:2914 (2.8 KiB)

ping 网卡ping不通。

是不是要把uboot也换了才行?
navym的uboot应该如何刷?
发表于 2014-1-4 15:18:33 | 显示全部楼层
谁有刷navyM新uboot的经验,介绍一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|GODIY论坛 ( 粤ICP备12089271号

GMT+8, 2018-12-14 07:55 , Processed in 0.191668 second(s), 7 queries , File On.

Powered by Godiy.net

快速回复 返回顶部 返回列表