6.4.1 Inbetriebnahme des COBRA-Boards mit neuer SWUmstellung der Netzadressen mit dBUG: ower-on Reset ColdFire MCF5282 on the COBRA5282 Firmware v3b.1a.10 (Build 3 on Mar 2 2004 10:52:53) Copyright 1995-2003 Motorola, Inc. All Rights Reserved. senTec Elektronik GmbH Enter 'help' for help. dBUG> show base: 16 baud: 19200 server: 192.168.100.1 client: 192.168.100.2 gateway: 0.0.0.0 netmask: 255.255.255.0 filename: image.bin filetype: Image ethaddr: 00:CF:52:82:CF:01 dBUG> set client 192.168.178.11 dBUG> set server 192.168.178.21 dBUG> show base: 16 baud: 19200 server: 192.168.178.21 client: 192.168.178.11 gateway: 0.0.0.0 netmask: 255.255.255.0 filename: image.bin filetype: Image ethaddr: 00:CF:52:82:CF:01 dBUG> dn Ethernet Address is 00:CF:52:82:CF:01 Downloading Image 'image.bin' from 192.168.178.21 TFTP download successful Read 1705552 bytes (3332 blocks) dBUG> Und der Start von Linux: dBUG> go 10000 Linux version 2.4.24-uc0 (andreas@gericom) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and s6 uClinux/COLDFIRE(m5282) COLDFIRE port done by Greg Ungerer, gerg@snapgear.com Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne On node 0 totalpages: 2048 zone(0): 0 pages. zone(1): 2048 pages. zone(2): 0 pages. Kernel command line: Calibrating delay loop... 6.96 BogoMIPS Memory available: 6284k/8192k RAM, 0k/0k ROM (712k kernel code, 203k data) kmem_create: Forcing size word alignment - vm_area_struct kmem_create: Forcing size word alignment - mm_struct kmem_create: Forcing size word alignment - filp Dentry cache hash table entries: 1024 (order: 1, 8192 bytes) Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) kmem_create: Forcing size word alignment - bdev_cache kmem_create: Forcing size word alignment - cdev_cache kmem_create: Forcing size word alignment - kiobuf Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 2048 (order: 1, 8192 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 kmem_create: Forcing size word alignment - sock Initializing RT netlink socket Starting kswapd kmem_create: Forcing size word alignment - file_lock_cache kmem_create: Forcing size word alignment - nfs_read_data kmem_create: Forcing size word alignment - nfs_write_data ColdFire internal UART serial driver version 1.00 ttyS0 at 0x40000200 (irq = 77) is a builtin ColdFire UART ttyS1 at 0x40000240 (irq = 78) is a builtin ColdFire UART kmem_create: Forcing size word alignment - blkdev_requests fec.c: Probe number 0 with 0x0000 eth0: FEC ENET Version 0.2, 00:cf:52:82:cf:01 fec: PHY @ 0x1f, ID 0x20005c30 -- DP83847 Blkmem copyright 1998,1999 D. Jeff Dionne Blkmem copyright 1998 Kenneth Albanowski Blkmem 7 disk images: 0: F5208-1C3207 [VIRTUAL F5208-1C3207] (RO) 1: FFC00000-FFC3FFFF [VIRTUAL FFC00000-FFC3FFFF] (RW) 2: FFC00000-FFC07FFF [VIRTUAL FFC00000-FFC07FFF] (RW) 3: FFC08000-FFC3FFFF [VIRTUAL FFC08000-FFC3FFFF] (RW) 4: FFC40000-FFFFFFFF [VIRTUAL FFC40000-FFFFFFFF] (RW) 5: FFD00000-FFDFFFFF [VIRTUAL FFD00000-FFDFFFFF] (RW) 6: FFC00000-FFFFFFFF [VIRTUAL FFC00000-FFFFFFFF] (RW) RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP kmem_create: Forcing size word alignment - ip_dst_cache IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 512) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (romfs filesystem) readonly. Freeing unused kernel memory: 24k freed (0xdc000 - 0xe1000) Shell invoked to run file: /etc/rc Command: hostname cobra1 Command: /bin/expand /etc/ramfs.img /dev/ram0 Command: mount -t proc proc /proc Command: mount -t ext2 /dev/ram0 /var Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.255.255.0 lo Command: # set up the fixed ip address of the target: Command: #ifconfig eth0 192.168.178.11 broadcast 192.168.178.255 netmask 255.255.255.0 up Command: # add a route via eth0 (only for fixed ip): Command: #route add -net 192.168.178.0 netmask 255.255.255.0 eth0 Command: Command: # or get ip address from DHCP-Server Command: route add -host 255.255.255.255 dev eth0 rIOCADDRT: No nsufchs d evwicae pnidi 1n3:g f:ai lemd o17u92n tCo mmvaned:r dshcipcod n-p -na eetwh0e &r [1t4]h rConmm ankd:e : nomemalnd # start the portmapper (needed for nfs): CommanRd:P pCor:tm ape &r r[1o5]r ieo9mm7an d:c #o tnhen feolclotwiingn lgin e tiso a n sexeamrplve,e hrow t.o ,mo unet xnfis tdiirenctgor s: :/ofmmsan_d:g #emotun_t r-to nofst -:o rsgizee=t40a96t,wtsirze =4e09r6 r19o2.r16 8.=17 8.521 homne/fansdr_ears/euCalidnu_x s/uusrp icormm:an d:g meoutnt -rt onfos t-o risinzeo=4d09e6, wsfizae=i40l96e gder om:/home/andreas/uClinux /usr mount: gericom: Unknown host mount: nfsmount failed: No such file or directory mount: Mounting gericom:/home/andreas/uClinux on /usr failed: Invalid argument pid 16: failed 256 Command: cat /etc/motd =============================================== COBRA5282 board Version 20040324 =============================================== Command: Execution Finished, Exiting Sash command shell (version 1.1.1) /> ping 192.168.178.21 ping: sendto: Network is unreachable pid 21: failed 256 /> ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 iB) TX bytes:0 (0.0 iB) /> Wie man sieht, funktioniert auch schon der Befehl route add -host 255.255.255.255 dev eth0 nicht richtig. Also stelle ich wieder auf statische Adressen zurück. Aber dies könnte auch eine neue Aufgabenstellung werden für unsere embedded-linux-community! Nach der Umstellung zurück auf die statischen Adressen funktioniert der QADC-Test auf Anhieb. Jetzt lautet die Browseradresse: http://192.168.178.11/cgi-bin/cgi_qadc Hostnamen funktionieren ebenfalls grundsätzlich nicht. Könnte auch noch ein weiteres Betätigungsfeld werden. Copyright © Andreas Birkert Letzte Aktualisierung am 20. Dezember 2013 |