Gigabyte GN-BR404W: Difference between revisions

From Appelwiki
 
(One intermediate revision by the same user not shown)
Line 163: Line 163:


====USB?====
====USB?====
When the pcmcia wireless card is removed the slot can be used to add usb ports.
  Without a usb2 pcmcia card:
  Without a usb2 pcmcia card:
  Intel ISA/PCI/CardBus PCIC probe:
  Intel ISA/PCI/CardBus PCIC probe:
Line 182: Line 183:
* [http://forum.openwrt.org/viewtopic.php?pid=17051#p17051 http://forum.openwrt.org/viewtopic.php?pid=17051#p17051]
* [http://forum.openwrt.org/viewtopic.php?pid=17051#p17051 http://forum.openwrt.org/viewtopic.php?pid=17051#p17051]
* [http://www.giga-byte.com/Support/Communication/Firmware_Model.aspx?ProductID=942 http://www.giga-byte.com/Support/Communication/Firmware_Model.aspx?ProductID=942]
* [http://www.giga-byte.com/Support/Communication/Firmware_Model.aspx?ProductID=942 http://www.giga-byte.com/Support/Communication/Firmware_Model.aspx?ProductID=942]
* [http://www.renesas.com/fmwk.jsp?cnt=sh7751r_root.jsp&fp=/products/mpumcu/superh_family/sh7750_series/sh7751r_group/ cpu]

Latest revision as of 18:59, 5 April 2006

A peek inside

Br404top.jpg Br404bottom.jpg

(note: look at the power Q2 and see what the wrong adapter did *murml* *murml*)

The console port

JP5:
?  O O TX
RX O X ?

The CPU

# cat /proc/cpuinfo
cpu family      : SH-4
cache size      : 8K-byte/16K-byte
bogomips        : 239.20
Machine: Gigabyte 7751Rgn
CPU clock: 240.01MHz
Bus clock: 120.00MHz
Peripheral module clock: 60.00MHz

Nice to know things

mount
rootfs on / type rootfs (rw)
/dev/root on / type cramfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
/dev/rd/0 on /ramdisk type ext2 (rw)
cat mtd
dev:    size   erasesize  name
mtd0: 00008000 00002000 "flash_boot"
mtd1: 00008000 00002000 "data_setting"
mtd2: 000f0000 00010000 "kernel"
mtd3: 002f0000 00010000 "file_system"
mtd4: 00010000 00010000 "default_mac"

The boot with RESET

========================================================================
===                    SH IPL+g version 1.03 - 16M                    ==
========================================================================
Booting from flash!
Setup Linux Kernel Parameters!
mem=16M sh_mv=MN75XX console=ttySC0,115200 root=/dev/mtdblock3 ro 
Copy Linux Kernel & File System from flash to dram
Uncompressing Linux... Ok, booting the kernel.
Linux version 2.4.20 (jkglee@NPCD94) (gcc version 3.0.4) #99 Wed Aug 3 21:41:14 CST 2005
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=16M sh_mv=MN75XX console=ttySC0,115200 root=/dev/mtdblock3 ro 
Setting GDB trap vector to 0x80000100
CPU clock: 240.01MHz
Bus clock: 120.00MHz
Module clock: 60.00MHz
Interval = 150010
Linux version 2.4.20 (jkglee@NPCD94) (gcc version 3.0.4) #99 Wed Aug 3 21:41:14 CST 2005
Linux version 2.4.20 (jkglee@NPCD94) (gcc version 3.0.4) #99 Wed Aug 3 21:41:14 CST 2005
On node 0 totalpages: 4096
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(0): 4096 pages.
zone(1): 0 pages.
zone(1): 0 pages.
zone(2): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=16M sh_mv=MN75XX console=ttySC0,115200 root=/dev/mtdblock3 ro 
Kernel command line: mem=16M sh_mv=MN75XX console=ttySC0,115200 root=/dev/mtdblock3 ro 
Setting GDB trap vector to 0x80000100
Setting GDB trap vector to 0x80000100
CPU clock: 240.01MHz
CPU clock: 240.01MHz
Bus clock: 120.00MHz
Bus clock: 120.00MHz
Module clock: 60.00MHz
Module clock: 60.00MHz
Interval = 150010
Interval = 150010
Calibrating delay loop... 239.20 BogoMIPS
Memory: 13904k/16384k available (1217k kernel code, 2480k reserved, 186k data, 48k init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
CPU: SH7750/SH7751
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
SH7751 PCI: Finished initialization of the PCI controller
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
SuperH SCI(F) driver initialized
ttySC0 at 0xffe00000 is a SCI
ttySC1 at 0xffe80000 is a SCIF
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
8139too Fast Ethernet driver 0.9.26
PCI: Enabling device Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (0000 -> 0003)
PCI: Setting latency timer of device Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ to 64
eth0: RealTek RTL8139 Fast Ethernet at 0xbd000000, 00:20:ed:09:38:79, IRQ 2
PCI: Enabling device Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (#2) (0000 -> 0003)
PCI: Setting latency timer of device Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (#2) to 64
eth1: RealTek RTL8139 Fast Ethernet at 0xbd000100, 00:20:ed:09:38:78, IRQ 5
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
HDLC support module revision 1.02 for Linux 2.4
physmap flash device: 4000000 at 8000000
CFI: Found no Physically mapped flash device at location zero
Probing for flash chips at 0x00000000:
Found: AMD AM29LV320DB
number of JEDEC chips: 1
7751RGN : Flash at 0x00000000
Using configured partition at 0x00008000.
Creating 5 MTD partitions on "7751RGN FLASH":
0x00000000-0x00008000 : "flash_boot"
0x00008000-0x00010000 : "data_setting"
0x00010000-0x00100000 : "kernel"
0x00100000-0x003f0000 : "file_system"
0x003f0000-0x00400000 : "default_mac"
Reset BRW404 Configure Data Button Driver version 1.0

fullboot.txt

Recovery

Put a jumper on JP7 and turn on your AP

=========================================================================
===                    SH IPL+g version 1.03 - 16M                    ===
=========================================================================
GBT_BR404W> h
SH IPL+g version 1.00
   ? --- Show this message (HELP)
   e --- Ether Download & Programming Flash
   r --- RS232 Download & Programming Flash
   l --- RS232 Download & Programming Flash - Boot
   k --- RS232 Download & Programming Flash - Kernel
   s --- RS232 Download & Programming Flash - File System
   b --- Booting System From Flash
   t --- Board Test
GBT_BR404W>
GBT_BR404W> s
Flash ROM data copy to RAM(File System)
Please Send A S-format Record
GBT_BR404W> e
Booting from network!
Initialization done, Searching for server (BOOTP/DHCP)...
<sleep>
<sleep>
IP Address: 192.168.1.49
Server: 192.168.1.222, Gateway 192.168.1.222
Kernel to load: "pxelinux.0"
No HOSTNAME is available
halted.

USB?

When the pcmcia wireless card is removed the slot can be used to add usb ports.

Without a usb2 pcmcia card:
Intel ISA/PCI/CardBus PCIC probe:
PCI: Enabling device Texas Instruments PCI1410 PC card Cardbus Controller (0000 -> 0002)
 TI 1410 rev 02 PCI-to-CardBus at slot 00:0a, mem 0xfd001000
   host opts [0]: [serial pci & irq] [pci irq 8] [lat 168/176] [bus 1/4]
   PCI card interrupts, polling interval = 1000 ms
With a usb2 pcmcia card:
Intel ISA/PCI/CardBus PCIC probe:
PCI: Enabling device Texas Instruments PCI1410 PC card Cardbus Controller (0000 -> 0002)
 TI 1410 rev 02 PCI-to-CardBus at slot 00:0a, mem 0xfd001000
   host opts [0]: [serial pci & irq] [pci irq 8] [lat 168/176] [bus 1/4]
   PCI card interrupts, polling interval = 1000 ms
cs: cb_alloc(bus 1): vendor 0x1033, device 0x0035

Links