Das serielle Interface

Der erste Schritt zur open-FW ist gemacht, ein Signalpegelwandler von 3V auf 5V ist fertig.
Es ist nichts Besonderes dazu nötig, nur ein IC Maxim232 und einige Kondensatoren und Dioden, die sich eigentlich in jeder Bastlerkiste finden.
Stromlaufplan und Bild folgen noch.

Nach einigen Tests mit Window´s Hyperterminal waren die richtigen Einstellungen gefunden:
Baudrate: 115000, Datenbits: 8, Parität: keine, Stopbits: 1, Flusssteuerung: kein

Und hier nun wahrscheinlich eine Premiere im Internet - das erste Log des Netcenter-Bootvorgangs:
(aufgezeichnet am 26.07.2006)

------------------------------------------------------------------------------------------
CFE version 1.3.5 for BCM94780 (32bit,SP,LE)
Build Date: Sun Jun 19 14:28:51 PDT 2005 (builder@nlab-sv1-builder)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
CPU type 0x29006: 264MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE: 0x80300000 - 0x80441A90 (1317520)
Initialized Data: 0x8033BEC0 - 0x8033E6E0 (10272)
BSS Area: 0x8033E6E0 - 0x8033FA90 (5040)
Local Heap: 0x8033FA90 - 0x8043FA90 (1048576)
Stack Area: 0x8043FA90 - 0x80441A90 (8192)
Text (code) segment: 0x80300000 - 0x8033BEC0 (245440)
Boot area (physical): 0x00442000 - 0x00482000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-90-A9-01-A0-02, ipaddr 192.168.1.175, mask 255.255.255.0
gateway not set, nameserver not set

Waiting to load image on IP 192.168.1.175, ^C to abort...Failed.: Timeout occured

Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 2666496 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029006
Primary instruction cache 16kb, linesize 16 bytes (2 ways)
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (root@sun_r_linux) (gcc version 3.0 20010422 (prerelease) with bcm4710a0 modifications) #1 Wed Oct 19 10:56:18 UTC 2005
BCM47XX ChipID = 0x4704, RevisionID = 8, Options = 0x2
Waiting for GPIO 0 to toggl
GPIO 0 has toggled, continuing. v Setting GPIO 3 to output of 1.
Setting GPIO 4 to output of 1.
Setting GPIO 6 to output of 1.
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Calibrating delay loop... 263.78 BogoMIPS
Memory: 29544k/32768k available (2370k kernel code, 3224k reserved, 132k data, 84k init, 0k highmem
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver v1.1.22 [Flags: R/O]
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-algo-bit.o: i2c bit algorithm module
i2c-proc.o version 2.6.1 (20010825)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
Generic MIPS RTC Driver v1.0
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AEC6265: IDE controller on PCI bus 01 dev 10
PCI: Enabling device 01:02.0 (0000 -> 0003)
AEC6265: chipset revision 16
AEC6265: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AEC6265: ROM disabled a
ide2: BM-DMA at 0x0180-0x0187, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x0188-0x018f, BIOS settings: hdg:pio, hdh:pio
IDE: While probing, found an IDE channel that is busy (hde).
IDE: Probably, this means the drive hasn't spun up yet.
IDE: We'll wait for it to spin up (but no more than 30 seconds).
IDE: The IDE channel is not busy any more, so we can continue probing.
hde: WDC WD2500BB-22GUC0, ATA DISK drive
ide2 at 0x100-0x107,0x10a on irq 2
blk: queue 802b7888, I/O limit 4095Mb (mask 0xfffffff
hde: 488395776 sectors (250059 MB) w/2048KiB Cache, CHS=30401/255/63, (U)DMA
Partition check:
/dev/ide/host2/bus0/target0/lun0: p1 p63<6>PPP generic driver version 2.4.2
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
Flash device: 0x800000 at 0x1c000000
Physically mapped flash: cramfs filesystem found at block 1386
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 :
0x00040000-0x007e0000 : "linux"
0x0015abac-0x007e0000 : "rootfs"
0x007e0000-0x007f0000 : "nvramcopy"
0x007f0000-0x00800000 : "nvram"
sflash: found no supported devices
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 01:03.2 (0000 -> 0002)
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c000f000
usb.c: new USB bus registered, assigned bus number 1
ECHI PCI device 31041106 found.
ECHI reg 0x49 = 80235920
ECHI reg 0x49 changed to = 80235900
ECHI reg 0x4b = 80235909
ECHI reg 0x4b changed to = 80235929
PCI: 01:03.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 10:58:52 Oct 19 2005
host/usb-uhci.c: High bandwidth mode enabled
PCI: Enabling device 01:03.0 (0000 -> 0001)
ECHI PCI device 30381106 found.
UCHI reg 0x41 = 10
UCHI reg 0x41 changed to = 0
host/usb-uhci.c: USB UHC
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
ECHI PCI device 30381106 found.
UCHI reg 0x41 = 10
UCHI reg 0x41 changed to = 0
host/usb-uhci.c: USB UHCI at I/O 0x220, IRQ 2
host/usb-uhci.c: Detected 2 ports
hub.c: port 3 over-current change
usb.c: new USB bus registered, assigned bus number 3
hub.c: port 4 over-current change
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
host/usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver.
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
md: linear personality registered as nr
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Skipping autodetection of RAID arrays.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
Using /lib/modules/2.4.20/kernel/arch/mips/brcm-boards/bcm947xx/bcmserbus.o
Using /lib/modules/2.4.20/kernel/drivers/i2c/bcm2wire.o
Using /lib/modules/2.4.20/kernel/arch/mips/brcm-boards/bcm947xx/bcmrtcst4181.o
Using /lib/modules/2.4.20/kernel/arch/mips/brcm-boards/bcm947xx/bcmlm63.o
Using /lib/modules/2.4.20/kernel/
Using /lib/modules/2.4.20/kernel/drivers/scsi/frodo/frodo.o
insmod: init_module: frodo: Device or resource busy
Using /lib/modules/2.4.20/kernel/arch/mips/brcm-boards/bcm947xx/bcmgpio.o
Using /lib/modules/2.4.20/security/sec.o
Using /lib/modules/2.4.20/kernel/drivers/se/bcm_se.o
Checking to see that USB initialization is done
Turning on swapping...
handling MD device /dev/md/0
analyzing super-block
disk 1: /dev/null, failed
disk 2: /dev/null, failed
disk 3: /dev/null, failed
disk 4: /dev/null, failed
disk 5: /dev/null, failed
disk 6: /dev/null, failed
disk 7: /dev/null, failed
Setting up swapspace version 1, size = 511995904 bytes
handling MD device /dev/md/1
analyzing super-block
Mounting /dev/se/2 on /shares/Main.
Hit enter to short-circuit regular system start-up...No SATA controller found.
eth0: No such process
eth2: No such device
eth1: No such device
killall: udhcpd: no process killed
killall: udhcpd: no process killed
info, udhcp server (v0.9.8) started
error, SIOCGIFADDR failed, is the interface up and
killall: dnsmasq: no process killed
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
httpd changing to language directory `English'.
httpd pid is 61.
info, udhcp server (v0.9.8) started
error, SIOCGIFADDR failed, is the interface up and configured?: No such device
sensord: No such file or directory
sensord pid is 0.
eth0: No such process
eth2: No such device
eth1: No such device
No interface specified. Quitting...
killall: udhcpd: no process killed
killall: udhcpd: no process killed
info, udhcp server (v0.9.8) started
error, SIOCGIFADDR failed, is the interface up and configured?: No such device
killall: dnsmasq: no process killed
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
iptables who? (do you need to insmod?)
mountd started successfully on try number 1.
Deleting user note pool_Main_unmounted.
Deleting user note pool_Main_unmounted.
-[ WD Startup Script ]-
Checking if Nvram variables are up to date
Configuring GPIOs
Starting WD Network Services
Responder up with GUID 90A901A002
Service Smb added
Service Web Config added
Service Nfs added
Service Smb information set
Service Web Config information set
Service Nfs information set
Setting up media
Hit enter to continue...

BusyBox v1.00-pre2 (2005.05.05-21:50+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

#
# help

Built-in commands:
-------------------
. : break cd continue eval exec exit export help login newgrp
read readonly set shift times trap umask wait

#

------------------------------------------------------------------------------------------

Beim Herunterfahren des Netcenters mittels des Fronttasters kommt diese Ausgabe:

# -[ WD Shutdown Script ]-
Stopping WD Network Services
killall: vsftpd: no process killed
killall: brcm-av: no process killed
killall: smbd: no process killed
killall: nmbd: no process killed
killall: printd: no process killed
killall: smbd: no process killed
killall: nmbd: no process killed
killall: [rpciod]: no process killed
killall: [lockd]: no process killed
killall: rpc.statd: no process killed
killall: [nfsd]: no process killed
killall: ses: no process
killall: sensord: no process killed
killall: nas: no process killed
killall: upnp: no process killed
killall: udhcpd: no process killed
killall: udhcpd: no process killed
killall: dnsmasq: no process killed
killall: stats: no process killed
killall: ntpclient: no process killed
eth1: No such device
killall: klogd: no process killed
killall: syslogd: no process killed
Unmounting all pools.

The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIGKILL to all processeRestarting system.

CFE version 1.3.5 for BCM94780 (32bit,SP,LE)
Build Date: Sun Jun 19 14:28:51 PDT 2005 (builder@nlab-sv1-builder)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
CPU type 0x29006: 264MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE: 0x80300000 - 0x80441A90 (1317520)
Initialized Data: 0x8033BEC0 - 0x8033E6E0 (10272)
BSS Area: 0x8033E6E0 - 0x8033FA90 (5040)
Local Heap: 0x8033FA90 - 0x8043FA90 (1048576)
Stack Area: 0x8043FA90 - 0x80441A90 (8192)
Text (code) segment: 0x80300000 - 0x8033BEC0 (245440)
Boot area (physical): 0x00442000 - 0x00482000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-90-A9-01-A0-02, ipaddr 192.168.1.175, mask 255.255.255.0
gateway not set, nameserver not set

Waiting to load image on IP 192.168.1.76, ^C to abort...Failed.: Timeout occured

Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 2666496 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000

------------------------------------------------------------------------------------------

Home