Project

General

Profile

RE: Usage of I2C1 to connect external peripheral ยป teraterm_log.txt

Raja Vankam, 05/04/2012 03:18 PM

 
1

    
2
U-Boot SPL 2011.09-00000-g23e81b9-dirty (Feb 24 2012 - 11:15:23)
3
Texas Instruments Revision detection unimplemented
4
PLL configuration complete
5
OMAP SD/MMC: 0
6
reading u-boot.img
7
reading u-boot.img
8

    
9

    
10
U-Boot 2011.09-00000-g23e81b9-dirty (Feb 24 2012 - 11:15:23)
11

    
12
I2C:   ready
13
DRAM:  256 MiB
14
WARNING: Caches not enabled
15
NAND:  HW ECC Hamming Code selected
16
256 MiB
17
MMC:   OMAP SD/MMC: 0
18
Net:   cpsw
19
Hit any key to stop autoboot:  3  2  1  0 
20
Setting bus to 1
21
reading uImage
22

    
23
3115840 bytes read
24
## Booting kernel from Legacy Image at 80007fc0 ...
25
   Image Name:   Linux-3.1.0-g0e9e502-dirty
26
   Image Type:   ARM Linux Kernel Image (uncompressed)
27
   Data Size:    3115776 Bytes = 3 MiB
28
   Load Address: 80008000
29
   Entry Point:  80008000
30
   Verifying Checksum ... OK
31
   XIP Kernel Image ... OK
32
OK
33

    
34
Starting kernel ...
35

    
36
Uncompressing Linux... done, booting the kernel.
37
[    0.000000] Linux version 3.1.0-g0e9e502-dirty (mitydsp@mitydsp-dev) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #27 Fri May 4 14:00:26 EDT 2012
38
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
39
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
40
[    0.000000] Machine: mityarm335x
41
[    0.000000] Memory policy: ECC disabled, Data cache writeback
42
[    0.000000] AM335X ES1.0 (neon )
43
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
44
[    0.000000] Kernel command line: console=ttyO0,115200n8 video=da8xx:bpp=16 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
45
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
46
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
47
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
48
[    0.000000] Memory: 256MB = 256MB total
49
[    0.000000] Memory: 252724k/252724k available, 9420k reserved, 0K highmem
50
[    0.000000] Virtual kernel memory layout:
51
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
52
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
53
[    0.000000]     DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
54
[    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
55
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
56
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
57
[    0.000000]       .text : 0xc0008000 - 0xc060f000   (6172 kB)
58
[    0.000000]       .init : 0xc060f000 - 0xc064a000   ( 236 kB)
59
[    0.000000]       .data : 0xc064a000 - 0xc06bcff8   ( 460 kB)
60
[    0.000000]        .bss : 0xc06bd01c - 0xc06f79e0   ( 235 kB)
61
[    0.000000] NR_IRQS:396
62
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
63
[    0.000000] Total of 128 interrupts on 1 active controller
64
[    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
65
[    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
66
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
67
[    0.000000] Console: colour dummy device 80x30
68
[    0.000192] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
69
[    0.059022] pid_max: default: 32768 minimum: 301
70
[    0.059148] Security Framework initialized
71
[    0.059254] Mount-cache hash table entries: 512
72
[    0.059620] CPU: Testing write buffer coherency: ok
73
[    0.064185] print_constraints: dummy: 
74
[    0.064559] NET: Registered protocol family 16
75
[    0.064890] GPMC revision 6.0
76
[    0.066864] OMAP GPIO hardware version 0.1
77
[    0.068981] omap_l3_smx omap_l3_smx.0: couldn't find resource
78
[    0.069730] omap_mux_init: Add partition: #1: core, flags: 0
79
[    0.072543]  omap_i2c.3: alias fck already exists
80
[    0.072820]  omap_i2c.2: alias fck already exists
81
[    0.074395] Registering mcspi 1 [2]
82
[    0.074441]  omap2_mcspi.1: alias fck already exists
83
[    0.074631] Registering mcspi 2 [2]
84
[    0.074666]  omap2_mcspi.2: alias fck already exists
85
[    0.078128] baseboard_init [MityARM-335x DevKit]...
86
[    0.078441]  omap_hsmmc.0: alias fck already exists
87
[    0.079685] MODIFIED LCD****...
88
[    0.079737] MODIFIED CAN and GPIO****...
89
[    0.079746] Configuring audio...
90
[    0.079897]  omap_i2c.1: alias fck already exists
91
[    0.098743] bio: create slab <bio-0> at 0
92
[    0.101457] SCSI subsystem initialized
93
[    0.103377] usbcore: registered new interface driver usbfs
94
[    0.103697] usbcore: registered new interface driver hub
95
[    0.103900] usbcore: registered new device driver usb
96
[    0.119166] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
97
[    0.120258] tps65910 3-002d: JTAGREVNUM 0x0
98
[    0.121889] print_constraints: VRTC: 
99
[    0.122580] print_constraints: VIO: at 1800 mV 
100
[    0.124849] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
101
[    0.126355] print_constraints: VDD2: at 1137 mV 
102
[    0.126589] print_constraints: VDD3: 5000 mV 
103
[    0.127229] print_constraints: VDIG1: at 1800 mV 
104
[    0.127889] print_constraints: VDIG2: at 1800 mV 
105
[    0.128538] print_constraints: VPLL: at 1800 mV 
106
[    0.129217] print_constraints: VDAC: at 1800 mV 
107
[    0.129895] print_constraints: VAUX1: at 1800 mV 
108
[    0.130565] print_constraints: VAUX2: at 3300 mV 
109
[    0.131215] print_constraints: VAUX33: at 3300 mV 
110
[    0.131878] print_constraints: VMMC: at 3300 mV 
111
[    0.132330] tps65910 3-002d: No interrupt support, no core IRQ
112
[    0.149110] omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
113
[    0.169085] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
114
[    0.170149] Advanced Linux Sound Architecture Driver Version 1.0.24.
115
[    0.171209] Switching to clocksource gp timer
116
[    0.179105] Switched to NOHz mode on CPU #0
117
[    0.186432] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
118
[    0.186626] musb-hdrc musb-hdrc.0: dma type: pio
119
[    0.187463] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18
120
[    0.187640] musb-hdrc musb-hdrc.1: dma type: pio
121
[    0.188364] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19
122
[    0.188774] NET: Registered protocol family 2
123
[    0.188971] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
124
[    0.189252] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
125
[    0.189409] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
126
[    0.189506] TCP: Hash tables configured (established 8192 bind 8192)
127
[    0.189519] TCP reno registered
128
[    0.189532] UDP hash table entries: 256 (order: 0, 4096 bytes)
129
[    0.189555] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
130
[    0.189742] NET: Registered protocol family 1
131
[    0.190024] RPC: Registered named UNIX socket transport module.
132
[    0.190038] RPC: Registered udp transport module.
133
[    0.190048] RPC: Registered tcp transport module.
134
[    0.190058] RPC: Registered tcp NFSv4.1 backchannel transport module.
135
[    0.190266] NetWinder Floating Point Emulator V0.97 (double precision)
136
[    0.202919] VFS: Disk quotas dquot_6.5.2
137
[    0.202985] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
138
[    0.203539] msgmni has been set to 493
139
[    0.204286] io scheduler noop registered
140
[    0.204300] io scheduler deadline registered
141
[    0.204364] io scheduler cfq registered (default)
142
[    0.206011] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
143
[    0.207745] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
144
[    0.805442] console [ttyO0] enabled
145
[    0.809662] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
146
[    0.817456] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
147
[    0.825170] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
148
[    0.832866] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
149
[    0.840503] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
150
[    0.856705] brd: module loaded
151
[    0.864580] loop: module loaded
152
[    0.868034] i2c-core: driver [tsl2550] using legacy suspend method
153
[    0.874528] i2c-core: driver [tsl2550] using legacy resume method
154
[    0.880944] at24 2-0050: 256 byte 24c02 EEPROM, read-only, 0 bytes/write
155
[    0.893804] MityARM-335x: Found MAC = 00:00:00:00:00:00
156
[    0.899252] MityARM-335x: Part Number = 80-000444RC-1
157
[    0.907222] m25p80 spi2.0: m25p64-nonjedec (8192 Kbytes)
158
[    0.912834] Creating 1 MTD partitions on "spi_flash":
159
[    0.918106] 0x000000000000-0x000000800000 : "NOR User Defined"
160
[    0.925826] omap2-nand driver initializing
161
[    0.930434] ONFI flash detected
162
[    0.933874] ONFI param page 0 valid
163
[    0.937516] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
164
[    0.945885] Creating 8 MTD partitions on "omap2-nand.0":
165
[    0.951441] 0x000000000000-0x000000020000 : "SPL"
166
[    0.957732] 0x000000020000-0x000000040000 : "SPL.backup1"
167
[    0.964713] 0x000000040000-0x000000060000 : "SPL.backup2"
168
[    0.971723] 0x000000060000-0x000000080000 : "SPL.backup3"
169
[    0.978545] 0x000000080000-0x000000260000 : "U-Boot"
170
[    0.985686] 0x000000260000-0x000000280000 : "U-Boot Env"
171
[    0.992482] 0x000000280000-0x000000780000 : "Kernel"
172
[    1.000863] 0x000000780000-0x000010000000 : "File System"
173
[    1.110220] OneNAND driver initializing
174
[    1.161267] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
175
[    1.167719] davinci_mdio davinci_mdio.0: detected phy mask fffffffd
176
[    1.174744] am335x_vsc8601_phy_fixup 70421 here addr = 1
177
[    1.180976] davinci_mdio.0: probed
178
[    1.184555] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
179
[    1.192069] CAN device driver interface
180
[    1.196064] CAN bus driver for Bosch D_CAN controller 1.0
181
[    1.202438] usbcore: registered new interface driver cdc_ether
182
[    1.208658] usbcore: registered new interface driver cdc_subset
183
[    1.214897] Initializing USB Mass Storage driver...
184
[    1.220193] usbcore: registered new interface driver usb-storage
185
[    1.226472] USB Mass Storage support registered.
186
[    1.231376]  gadget: using random self ethernet address
187
[    1.236830]  gadget: using random host ethernet address
188
[    1.242849] usb0: MAC 8a:c8:fa:24:3f:9a
189
[    1.246848] usb0: HOST MAC d6:ba:8d:e5:5e:89
190
[    1.251401]  gadget: Ethernet Gadget, version: Memorial Day 2008
191
[    1.257673]  gadget: g_ether ready
192
[    1.261261] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
193
[    1.266885] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
194
[    1.274729] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
195
[    1.281824] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
196
[    1.289352] usb usb1: Product: MUSB HDRC host driver
197
[    1.294535] usb usb1: Manufacturer: Linux 3.1.0-g0e9e502-dirty musb-hcd
198
[    1.301436] usb usb1: SerialNumber: musb-hdrc.0
199
[    1.307015] hub 1-0:1.0: USB hub found
200
[    1.310944] hub 1-0:1.0: 1 port detected
201
[    1.315713] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
202
[    1.321309] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
203
[    1.329092] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
204
[    1.336186] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
205
[    1.343725] usb usb2: Product: MUSB HDRC host driver
206
[    1.348896] usb usb2: Manufacturer: Linux 3.1.0-g0e9e502-dirty musb-hcd
207
[    1.355797] usb usb2: SerialNumber: musb-hdrc.1
208
[    1.361316] hub 2-0:1.0: USB hub found
209
[    1.365242] hub 2-0:1.0: 1 port detected
210
[    1.370317] mousedev: PS/2 mouse device common for all mice
211
[    1.377334] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
212
[    1.384036] omap_rtc: already running
213
[    1.388068] i2c /dev entries driver
214
[    1.392883] lm75: probe of 2-0001 failed with error -121
215
[    1.444415] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
216
[    1.451498] cpuidle: using governor ladder
217
[    1.456231] cpuidle: using governor menu
218
[    1.463929] usbcore: registered new interface driver usbhid
219
[    1.469745] usbhid: USB HID core driver
220
[    1.474574] usbcore: registered new interface driver snd-usb-audio
221
[    1.496714] ALSA device list:
222
[    1.499817]   No soundcards found.
223
[    1.503425] oprofile: hardware counters not available
224
[    1.508686] oprofile: using timer interrupt.
225
[    1.513173] nf_conntrack version 0.5.0 (3948 buckets, 15792 max)
226
[    1.519937] ip_tables: (C) 2000-2006 Netfilter Core Team
227
[    1.525616] TCP cubic registered
228
[    1.528983] NET: Registered protocol family 17
229
[    1.533637] can: controller area network core (rev 20090105 abi 8)
230
[    1.540168] NET: Registered protocol family 29
231
[    1.544815] can: raw protocol (rev 20090105)
232
[    1.549263] can: broadcast manager protocol (rev 20090105 t)
233
[    1.555209] Registering the dns_resolver key type
234
[    1.560187] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
235
[    1.568198] ThumbEE CPU extension supported.
236
[    1.579954] regulator_init_complete: VMMC: incomplete constraints, leaving on
237
[    1.588926] regulator_init_complete: VAUX33: incomplete constraints, leaving on
238
[    1.598860] regulator_init_complete: VAUX2: incomplete constraints, leaving on
239
[    1.606873] regulator_init_complete: VAUX1: incomplete constraints, leaving on
240
[    1.614878] regulator_init_complete: VDAC: incomplete constraints, leaving on
241
[    1.622778] regulator_init_complete: VPLL: incomplete constraints, leaving on
242
[    1.630665] regulator_init_complete: VDIG2: incomplete constraints, leaving on
243
[    1.638664] regulator_init_complete: VDIG1: incomplete constraints, leaving on
244
[    1.647119] regulator_init_complete: VDD2: incomplete constraints, leaving on
245
[    1.655020] regulator_init_complete: VIO: incomplete constraints, leaving on
246
[    1.662839] regulator_init_complete: VRTC: incomplete constraints, leaving on
247
[    1.670550] Detected MACID=d4:94:a1:89:36:aa
248
[    1.676537] omap_rtc omap_rtc: setting system clock to 2011-12-24 10:16:58 UTC (1324721818)
249
[    1.685832] Waiting for root device /dev/mmcblk0p2...
250
[    1.705472] mmc0: new SD card at address e624
251
[    1.710656] mmcblk0: mmc0:e624 SD02G 1.84 GiB 
252
[    1.721579]  mmcblk0: p1 p2 p3
253
[    2.409025] kjournald starting.  Commit interval 5 seconds
254
[    2.414856] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
255
[    2.433573] EXT3-fs (mmcblk0p2): using internal journal
256
[    2.439022] EXT3-fs (mmcblk0p2): recovery complete
257
[    2.520051] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
258
[    2.527296] VFS: Mounted root (ext3 filesystem) on device 179:2.
259
[    2.533919] Freeing init memory: 236K
260
INIT: version 2.86 booting
261
Please wait: booting...
262
Starting udev
263
Error opening /dev/fb0: No such device
264
[    3.189232] udevd (741): /proc/741/oom_adj is deprecated, please use /proc/741/oom_score_adj instead.
265
[    8.162442] kjournald starting.  Commit interval 5 seconds
266
[    8.168237] EXT3-fs (mmcblk0p3): warning: maximal mount count reached, running e2fsck is recommended
267
[    8.187988] EXT3-fs (mmcblk0p3): using internal journal
268
[    8.193492] EXT3-fs (mmcblk0p3): recovery complete
269
[    8.198490] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
270
[    8.322708] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
271
Remounting root file system...
272
Caching udev devnodes
273
ALSA: Restoring mixer settings...
274
/usr/sbin/alsactl: load_state:1625: No soundcards found...
275
Configuring network interfaces... [   10.248923] PHY 0:00 not found
276
[   10.252237] am335x_vsc8601_phy_fixup 70421 here addr = 1
277
[   10.258540] 
278
[   10.258544] CPSW phy found : id is : 0x70421
279
eth0      no wireless extensions.
280

    
281
udhcpc (v1.13.2) started
282
Sending discover...
283
Sending discover...
284
Sending discover...
285
No lease, forking to background
286
done.
287
Setting up IP spoofing protection: rp_filter.
288
INIT: Entering runlevel: 5
289
Starting system message bus: dbus.
290
Starting Hardware abstraction layer hald
291
Starting Dropbear SSH server: dropbear.
292
Starting telnet daemon.
293
Starting network benchmark server: netserver.
294
Starting syslogd/klogd: done
295
Starting thttpd.
296
Starting Lighttpd Web Server: lighttpd.
297
2011-12-24 10:17:16: (log.c.166) server started 
298
/
299
/
300
Starting Matrix GUI application.
301
FATAL: Module g_mass_storage not found.
302
***************************************************************
303
***************************************************************
304
NOTICE: This file system contains the followin GPLv3 packages:
305
	binutils-dev
306
	binutils-symlinks
307
	binutils
308
	gdbserver
309

    
310
If you do not wish to distribute GPLv3 components please remove
311
the above packages prior to distribution.  This can be done using
312
the opkg remove command.  i.e.:M
313
    opkg remo
314
                                                                                                    
315
,--.   ,--.,--.  ,--.            ,---.  ,------. ,--.   ,--. 
316
|   `.'   |`--',-'  '-.,--. ,--./  O  \ |  .--. '|   `.'   |
317
|  |'.'|  |,--.'-.  .-' \  '  /|  .-.  ||  '--'.'|  |'.'|  |
318
|  |   |  ||  |  |  |    \   ' |  | |  ||  |\  \ |  |   | 
319
`--'   `--'`--'  `--'  .-'  /  `--' `--'`--' '--'`--'   `--' 
320
                       `---'                                
321
          ,----. ,----. ,-----.,--.   ,--. 
322
          '.-.  |'.-.  ||  .--' \  `.'  /  
323
            .' <   .' < '--. `\  .'    \   
324
          /'-'  |/'-'  |.--'  / /  .'.  \  
325
          `----' `----' `----' '--'   '--' 
326

    
327
Critical Link LLC http://support.criticallink.com mityarm-335x ttyO0
328
        Linux kernel verison Linux armv7l #27 Fri May 4 14:00:26 EDT 2012
329

    
330
mityarm-335x login: root
331
root@mityarm-335x:~# cd /raj/
332
root@mityarm-335x:/raj# ./I2CTest
333
waiting start1
334
[  275.442906] i2C adapter: 2
335
Device Open success[  275.445610] i2c slave: 0x1
336
[  275.449798] Writing I2c:  node 2 C:10, D:1
337
I2C slave address set err status: 0
338
write failed:-1, errno: 121
339
errno details: EREMOTEIO
340
read bytes-1, errno:121
341
root@mityarm-335x:/raj# 
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)