Forum: Mikrocontroller und Digitale Elektronik AVR32 Linux Netzwerk Verbindung Problem


von Peter (Gast)


Lesenswert?

Hallo Leute,

Ich gurke gerade seit einigen Tagen an meinem neuen AVR32 Linux Board 
herum (von IC Nova, OEM plus) und schaff es einfach nicht eine 
Verbindungen via Ethernet zu meinen PC herzustellen um dann auf den 
vorinstallierten Webserver zuzugreifen. Ich poste hier man den Text beim 
booten:
1
U-Boot 2009.03-rc1-00001-gab9d96f-dirty (Mär 12 2009 - 11:19:51)
2
3
U-Boot code: 00000000 -> 00014950  data: 0001c4f0 -> 00053c28
4
malloc: Using memory from 0x13f6c000 to 0x13fac000
5
DMA: Using memory from 0x13f68000 to 0x13f6c000
6
Flash:  1 MB at address 0x00000000
7
DRAM Configuration:
8
Bank #0: 10000000 64 MB
9
256 MiB
10
In:    serial
11
Out:   serial
12
Err:   serial
13
Net:   macb0
14
Press SPACE to abort autoboot in 1 seconds
15
16
NAND read: device 0 offset 0x0, size 0x200000
17
 2097152 bytes read: OK
18
## Booting kernel from Legacy Image at 10400000 ...
19
   Image Name:   Linux-2.6.28-icnova_base1-00000-
20
   Image Type:   AVR32 Linux Kernel Image (gzip compressed)
21
   Data Size:    1388017 Bytes =  1.3 MB
22
   Load Address: 10000000
23
   Entry Point:  90000000
24
   Verifying Checksum ... OK
25
   Uncompressing Kernel Image ... OK
26
27
Starting kernel at 90000000 (params at 13f6c008)...
28
29
Linux version 2.6.28-icnova_base1-00000-g260dc83-dirty (benjamin@marvin) (gcc ve
30
rsion 4.2.2-atmel.1.0.8) #418 Mon Mar 23 15:23:54 CET 2009
31
CPU: AT32AP700x chip revision C
32
CPU: AP7 [01] core revision 0 (AVR32B arch revision 1)
33
CPU: MMU configuration: Shared TLB
34
CPU: features: dsp simd ocd perfctr java
35
CPU: Running at 140.000 MHz
36
Physical memory:
37
  10000000-13ffffff
38
Reserved memory:
39
  10000000-1018d54f: Kernel code
40
  1018d550-1024b46f: Kernel data
41
Exception vectors start at 90014000
42
CPU: Paging enabled
43
Node 0: start_pfn = 0x10000, low = 0x14000
44
Node 0: mem_map starts at 9024e000
45
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
46
Kernel command line: root=1F01 rootfstype=jffs2
47
PID hash table entries: 256 (order: 8, 1024 bytes)
48
avr32_comparator: irq 0, 140.000 MHz
49
Console: colour dummy device 80x25
50
console [tty0] enabled
51
console [ttyS0] enabled
52
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
53
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
54
Memory: 62548k/62612k available (1509k kernel code, 2924k reserved, 148k data, 8
55
0k init)
56
Calibrating delay using timer specific routine.. 281.52 BogoMIPS (lpj=469643)
57
Mount-cache hash table entries: 512
58
net_namespace: 296 bytes
59
smc smc.0: Atmel Static Memory Controller at 0xfff03400
60
NET: Registered protocol family 16
61
pdc pdc.0: Atmel Peripheral DMA Controller enabled
62
at32_eic at32_eic.0: External Interrupt Controller at 0xfff00100, IRQ 19
63
at32_eic at32_eic.0: Handling 4 external IRQs, starting with IRQ 64
64
AVR32 AP Power Management enabled
65
ICnova: 5 Leds
66
Requested PIN5
67
Call trace:
68
 [<90000ff6>] at32_select_gpio+0x12/0xec
69
 [<900016ec>] at32_spi_setup_slaves+0x40/0x4c
70
 [<9000efc4>] spi0_board_info+0x30/0x38
71
 [<9000ecdc>] spi0_pins.20822+0x0/0x4
72
 [<90001b5a>] at32_add_device_spi+0x3a/0x8c
73
 [<9000ef94>] spi0_board_info+0x0/0x38
74
 [<90002298>] icnova_add_spi+0x0/0x1c
75
 [<900022ac>] icnova_add_spi+0x14/0x1c
76
 [<900135cc>] __early_initcall_end+0x98/0x324
77
 [<90013534>] __early_initcall_end+0x0/0x324
78
 [<90002298>] icnova_add_spi+0x0/0x1c
79
 [<900152f2>] do_one_initcall+0x32/0x104
80
 [<900396f0>] register_irq_proc+0x48/0x6c
81
 [<9003973a>] init_irq_proc+0x26/0x48
82
 [<90000352>] kernel_init+0x46/0x90
83
 [<900135cc>] __early_initcall_end+0x98/0x324
84
 [<90013534>] __early_initcall_end+0x0/0x324
85
 [<90020b10>] do_exit+0x0/0x460
86
 [<9000030c>] kernel_init+0x0/0x90
87
 [<90020b10>] do_exit+0x0/0x460
88
89
Requested PIN16
90
Call trace:
91
 [<90000ff6>] at32_select_gpio+0x12/0xec
92
 [<90001dba>] at32_add_device_mci+0x92/0x128
93
 [<9000efcc>] mci0_data+0x0/0x30
94
 [<900022b4>] icnova_setup_mmc+0x0/0x10
95
 [<900022be>] icnova_setup_mmc+0xa/0x10
96
 [<900135d0>] __early_initcall_end+0x9c/0x324
97
 [<90013534>] __early_initcall_end+0x0/0x324
98
 [<900022b4>] icnova_setup_mmc+0x0/0x10
99
 [<900152f2>] do_one_initcall+0x32/0x104
100
 [<900396f0>] register_irq_proc+0x48/0x6c
101
 [<9003973a>] init_irq_proc+0x26/0x48
102
 [<90000352>] kernel_init+0x46/0x90
103
 [<900135d0>] __early_initcall_end+0x9c/0x324
104
 [<90013534>] __early_initcall_end+0x0/0x324
105
 [<90020b10>] do_exit+0x0/0x460
106
 [<9000030c>] kernel_init+0x0/0x90
107
 [<90020b10>] do_exit+0x0/0x460
108
109
bio: create slab <bio-0> at 0
110
usbcore: registered new interface driver usbfs
111
usbcore: registered new interface driver hub
112
usbcore: registered new device driver usb
113
NET: Registered protocol family 2
114
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
115
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
116
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
117
TCP: Hash tables configured (established 2048 bind 2048)
118
TCP reno registered
119
NET: Registered protocol family 1
120
ICnova: registering NAND-Devices
121
registring isp176x
122
audit: initializing netlink socket (disabled)
123
type=2000 audit(1167609600.510:1): initialized
124
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
125
msgmni has been set to 122
126
alg: hash: Chunking test 1 failed for md5-generic
127
00000000: 24 e5 f6 e1 36 2e 67 bb a6 f6 2f 5f 81 ff bb a4
128
alg: No test for stdrng (krng)
129
io scheduler noop registered
130
io scheduler cfq registered (default)
131
atmel_lcdfb atmel_lcdfb.0: 225KiB frame buffer at 13980000 (mapped at b3980000)
132
Console: switching to colour frame buffer device 40x30
133
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0xff000000 (mapped at ff000000), i
134
rq 1
135
atmel_usart.0: ttyS0 at MMIO 0xffe00c00 (irq = 6) is a ATMEL_SERIAL
136
atmel_usart.1: ttyS1 at MMIO 0xffe01000 (irq = 7) is a ATMEL_SERIAL
137
atmel_usart.2: ttyS2 at MMIO 0xffe01400 (irq = 8) is a ATMEL_SERIAL
138
atmel_usart.3: ttyS3 at MMIO 0xffe01800 (irq = 9) is a ATMEL_SERIAL
139
eth0 (macb): not using net_device_ops yet
140
MACB_mii_bus: probed
141
eth0: Atmel MACB at 0xfff01800 irq 25 (00:1f:e5:00:0b:c4)
142
eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=0:00, irq=67)
143
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-b
144
it)
145
Scanning device for bad blocks
146
Bad eraseblock 1931 at 0x0f160000
147
Creating 3 MTD partitions on "atmel_nand":
148
0x00000000-0x00200000 : "kernel"
149
0x00200000-0x01200000 : "root"
150
0x01200000-0x10000000 : "Data"
151
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xffe00000 (irq 3)
152
isp176x isp176x.0: NXP ISP1760 USB Host Controller
153
isp176x isp176x.0: new USB bus registered, assigned bus number 1
154
isp176x isp176x.0: bus width: 32, oc: digital
155
isp176x isp176x.0: irq 64, io mem 0x04000000
156
isp176x isp176x.0: USB ISP 1761 HW rev. 1 started
157
usb usb1: configuration #1 chosen from 1 choice
158
hub 1-0:1.0: USB hub found
159
hub 1-0:1.0: 1 port detected
160
usbcore: registered new interface driver libusual
161
ads7846 spi0.2: touchscreen, irq 144
162
input: ADS784x Touchscreen as /class/input/input0
163
at32_wdt at32_wdt.0: AT32AP700X WDT at 0xfff000b0, timeout 2 sec (nowayout=0)
164
leds-gpio: probe of leds-gpio.0 failed with error -16
165
dw_dmac.0: DesignWare DMA Controller, 3 channels
166
usbcore: registered new interface driver usbhid
167
usbhid: v2.6:USB HID core driver
168
TCP cubic registered
169
NET: Registered protocol family 17
170
port 1 high speed
171
RPC: Registered udp transport module.
172
RPC: Registered tcp transport module.
173
cpufreq: AT32AP CPU frequency driver
174
usb 1-1: new high speed USB device using isp176x and address 2
175
atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff02400 irq 28, 1 slots
176
Empty flash at 0x00650890 ends at 0x00651000
177
jffs2_scan_inode_node(): CRC failed on node at 0x006547d0: Read 0xffffffff, calc
178
ulated 0x1894fea1
179
Empty flash at 0x0065481c ends at 0x00655000
180
jffs2_scan_inode_node(): CRC failed on node at 0x0065afcc: Read 0xffffffff, calc
181
ulated 0x7cc5db16
182
Empty flash at 0x0065b7f0 ends at 0x0065b800
183
Empty flash at 0x0065cf48 ends at 0x0065d000
184
Empty flash at 0x0065e748 ends at 0x0065e800
185
Empty flash at 0x00ba4474 ends at 0x00ba4800
186
Empty flash at 0x00ba70c0 ends at 0x00ba7800
187
Empty flash at 0x00ba9aa4 ends at 0x00baa000
188
Empty flash at 0x00bab3e4 ends at 0x00bab800
189
Empty flash at 0x00bad924 ends at 0x00bae000
190
jffs2_scan_inode_node(): CRC failed on node at 0x00bb0fe8: Read 0xffffffff, calc
191
ulated 0x0fb5e0bc
192
Empty flash at 0x00bb1030 ends at 0x00bb1800
193
Empty flash at 0x00bb9098 ends at 0x00bb9800
194
port 1 high speed
195
usb 1-1: configuration #1 chosen from 1 choice
196
hub 1-1:1.0: USB hub found
197
hub 1-1:1.0: 3 ports detected
198
VFS: Mounted root (jffs2 filesystem) on device 31:1.
199
Freeing init memory: 80K (90000000 - 90014000)
200
JFFS2 notice: (819) check_node_data: wrong data CRC in data node at 0x00baaf24:
201
read 0xc9a72cec, calculated 0x8abd2554.
202
203
204
205
Thank you for using In-Circuit ICnova
206
207
icnova login: root
208
209
BusyBox v1.5.0 (2008-11-24 13:52:40 CET) Built-in shell (ash)
210
Enter 'help' for a list of built-in commands.

dann checke ich mit ifconfig mal eth0:
1
# ifconfig eth0
2
eth0      Link encap:Ethernet  HWaddr 00:1F:E5:00:0B:C4
3
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
4
          RX packets:0 errors:1 dropped:0 overruns:0 frame:0
5
          TX packets:1 errors:1 dropped:0 overruns:0 carrier:1
6
          collisions:0 txqueuelen:1000
7
          RX bytes:0 (0.0 B)  TX bytes:590 (590.0 B)
8
          Interrupt:25 Base address:0x1800
9
10
# ifconfig eth0 155.55.55.55 netmask 255.255.255.0 up
11
# ifconfig eth0
12
eth0      Link encap:Ethernet  HWaddr 00:1F:E5:00:0B:C4
13
          inet addr:155.55.55.55  Bcast:155.55.55.255  Mask:255.255.255.0
14
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
15
          RX packets:0 errors:1 dropped:0 overruns:0 frame:0
16
          TX packets:1 errors:1 dropped:0 overruns:0 carrier:1
17
          collisions:0 txqueuelen:1000
18
          RX bytes:0 (0.0 B)  TX bytes:590 (590.0 B)
19
          Interrupt:25 Base address:0x1800

Der PC zeigt keine Verbindung an, wenn ich in den Browser die IP Adresse 
angebe, wird gemeldet, dass keine Verbindung besteht, worin liegt der 
Fehler? Vielen Dank für jede Hilfe im Voraus,

mfg

von Gast (Gast)


Lesenswert?

Hast du das IC-Nova-Board direkt über Netzwerkleitung mit dem PC 
verbunden? Wenn ja, dann musst du eine Crossover-Netzwerkleitung 
benutzen.

von Peter (Gast)


Lesenswert?

das wirds wahrscheinlich sein, habe aber gerade kein solches kabel, muss 
mir morgen eines kaufen

von Klaus W. (mfgkw)


Lesenswert?

.. oder einen Hub dazwischen hängen, vielleicht liegt der ja noch rum.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.