ubnt解决方案
楼主: lintel

[原创] 【最简单的JTAG】使用JTAG修复SMC无线硬盘盒(MGB100)

[复制链接]

82

回帖

1036

积分

50 小时

在线时间

上尉

注册时间
2008-6-9
金币
710 个
威望
28 个
荣誉
9 个

尚未签到

发表于 2008-12-27 19:25
高手。。雷倒我了

wuyou 的 兄弟

928

回帖

6125

积分

949 小时

在线时间

中校

技术发烧友

杰出会员鲁班小弟

注册时间
2007-10-20
金币
4761 个
威望
30 个
荣誉
10 个
累计签到:16 天
连续签到:0 天
[LV.20]漫游旅程
发表于 2008-12-28 15:39
不错不错,可以参考再测试下

11

回帖

15

积分

2 小时

在线时间

新兵上阵

注册时间
2008-12-27
金币
3 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2008-12-29 10:45
实现方式是通过U-BOOT加载IDE驱动,然后通过U-BOOT里边设定好的参数,加载/dev/md1,完成根文件系统的挂载。

这里U-BOOT比Redboot方便很多,因为U-BOOT本身就能够读取EXT2的文件系统,可以加载ide设备的驱动。这样在引导参数里边就可以指定加载内核文件(硬盘上的)到内存中,而且更方便的就是能够在加载的时候向内核传递参数,比如说根文件系统的位置。

Redboot的方式没大搞明白,因为网上的信息都是针对使用CF卡的情况,没有硬盘引导的相关信息。

u-boot的i386支持是指的AMD SC520的芯片,这个rdc的不知道情况怎么样,可以提供rdc的内存和cpu初始化的汇编代码,因为不是搞这方面工作的,也就不知道uboot能不能移植到这个上边了。

ftp://ftp.prochip.ru/Support/RDC ... ization%20Guide.doc

其实现在已经做到DEBIAN能够使用就很不错了,但是如果能够做到自动加载debian和能够以debian的方式更新内核,就更完美了,呵呵

198

回帖

5618

积分

70 小时

在线时间

中校

Embedded Linux砖家

注册时间
2008-10-23
金币
4923 个
威望
55 个
荣誉
12 个

尚未签到

发表于 2008-12-29 13:52
实现方式是通过U-BOOT加载IDE驱动,然后通过U-BOOT里边设定好的参数,加载/dev/md1,完成根文件系统的挂载。

这里U-BOOT比Redboot方便很多,因为U-BOOT本身就能够读取EXT2的文件系统,可以加载ide设备的驱动。 ...
gavin27 发表于 2008-12-29 10:45


其实,可以把内核放在FLASH上的,让内核自己挂载文件系统。
你提供的那个FTP里面的linux内核测试了,通过。
承接OpenWrt.AirOS,DD-WRT 移植‘修改等项目。

198

回帖

5618

积分

70 小时

在线时间

中校

Embedded Linux砖家

注册时间
2008-10-23
金币
4923 个
威望
55 个
荣誉
12 个

尚未签到

发表于 2008-12-29 14:01
以下是端口的启动调试信息:
+Ethernet eth0: MAC address 00:00:01:02:03:04
IP: 192.168.123.254, Default server: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v2_0 - built 17:35:13, Aug  7 2007

Platform: PC (I386)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x000f0000, 0x00072390-0x000a0000 available
MGB100-RB by Lintel  08/08/08
<press Ctrl+C to enter prompt mode>

RedBoot>
mem_size: 2000000
initrd 1e00000 len 1e0000
Linux version 2.6.16.7 (root@dnserver.rdc) (gcc version 4.0.0 20050519 (Red Hat
4.0.0-8)) #60 Wed Oct 25 11:34:34 CST 2006
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
0MB HIGHMEM available.
32MB LOWMEM available.
DMI not present or invalid.
Allocating PCI resources starting at 10000000 (gap: 02000000:fe000000)
Built 1 zonelists
Kernel command line: console=ttyS0,38400
Initializing CPU#0
PID hash table entries: 256 (order: 8, 4096 bytes)
Using pit for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 27244k/32768k available (1907k kernel code, 5136k reserved, 674k data, 1
28k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512
CPU: 486
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 1920k freed
NET: Registered protocol family 16
PCI: Using configuration type 1
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
fuse init (API version 7.6)
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
i8042.c: Warning: Keylock active.
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 13824K size 1024 blocksize
loop: loaded (max 8 devices)
r6040: RDC R6040 net driver, version 0.13 (24Aug2006)
r6040: RDC R6040 net driver, version 0.13 (24Aug2006)
r6040: RDC R6040 net driver, version 0.13 (24Aug2006)
ehci_hcd 0000:00:0a.1: EHCI Host Controller
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.1: irq 14, io mem 0xc1000000
ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0a.0: irq 15, io mem 0xc1001000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Using IPI Shortcut mode
RAMDISK: Compressed image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 128k freed
running rc.sysinit of ramdisk...
  Vendor: Multi     Model: Flash Reader      Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
mount USB Flash Disk...
mount root ramdisk to new_root...
mount: rimg: No such file or directory
mountKernel panic - not syncing: Attempted to kill init!
: Could not setu p loop device
pivot_root: pivot_root: No such file or directory
/sbin/init: 17: cannot open dev/console: No such file
承接OpenWrt.AirOS,DD-WRT 移植‘修改等项目。

37

回帖

159

积分

41 小时

在线时间

上等兵

注册时间
2008-1-31
金币
117 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-1-1 13:50
这个实用啊,收下了

8

回帖

106

积分

52 小时

在线时间

上等兵

注册时间
2009-1-12
金币
93 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-1-12 15:13
感谢lintel 兄,俺刚刚买了个盒子,没要外壳,自己刷的时候操作错误了,奶奶的,上火。结果开机就是左边一排灯全亮,知道完了,所以就找到这里,我准备先找那些线,然后试试。

332

回帖

2345

积分

97 小时

在线时间

少校

注册时间
2008-12-30
金币
2000 个
威望
0 个
荣誉
0 个
累计签到:2 天
连续签到:0 天
[LV.20]漫游旅程
发表于 2009-1-13 09:45
太棒了 這樣子怎麼刷都不怕刷死了

8

回帖

106

积分

52 小时

在线时间

上等兵

注册时间
2009-1-12
金币
93 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-1-18 15:40
感谢lintel兄,我用你这个方法修好了我的盒子,可是web管理用户名和密码不知道,admin、airlive、aaaaa都不好用,谁能告诉我?

8

回帖

106

积分

52 小时

在线时间

上等兵

注册时间
2009-1-12
金币
93 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-1-19 16:34
我已经刷成WMU-6000FS了,密码也不用了,嘿嘿!
soner 该用户已被删除
发表于 2009-2-23 21:24
提示: 作者被禁止或删除 内容自动屏蔽

162

回帖

321

积分

104 小时

在线时间

少尉

注册时间
2009-1-13
金币
119 个
威望
2 个
荣誉
0 个

尚未签到

发表于 2009-4-5 21:40
顶上来.为白鼠做准备.

站点统计 | Archiver | 手机版 | 无线门户 ( 粤ICP备11076993号|粤公网安备44010602008359号 ) |网站地图

GMT+8, 2024-4-25 08:28

返回顶部 返回列表