Project

General

Profile

SPI interface for ADC5560 (MityDSP L138F) » debug_30june2017.txt

Vivek Ponnani, 06/30/2017 01:18 PM

 
1
OMAP-L138/AM-1808/AM-1810 initialization passed!
2
Configuring 128MB mDDR
3
                      Booting TI User Boot Loader
4
        UBL Version: 1.65:2.28.1 BuiltJul 11 2011 12:49:53
5
        UBL Flashtype: SPI
6
Starting SPI Memory Copy...
7
Valid magicnum, 0x55424CBB, found at offset 0x00010000.
8
   DONE
9
Jumping to entry point at 0xC1080000.
10

    
11

    
12
U-Boot 2009.11-00002-gc6adda5 (May 01 2015 - 11:42:37)
13

    
14
I2C:   ready
15
DRAM:  128 MB
16
NAND:  256 MiB
17
MMC:   davinci: 0
18
In:    serial
19
Out:   serial
20
Err:   serial
21
ARM    Clock : 300000000 Hz
22
DDR    Clock : 150000000 Hz
23
EMIFA  CLock : 100000000 Hz
24
DSP    Clock : 300000000 Hz
25
ASYNC3 Clock : 150000000 Hz
26
Enet  config : 2
27
MMC 0 Enable : 1
28
Resetting ethernet phy
29
Net:   No ETH PHY detected!!!
30

    
31
U-Boot > config set
32
Ethernet Config : 0
33
UART - 0 Configuration ---
34
Enable UART : 0
35
UART - 1 Configuration ---
36
Enable UART : 1
37
Baud : 115200
38
HW Flow Control : 0
39
Is Console : 1
40
UART - 2 Configuration ---
41
Enable UART : 0
42
SPI - 0 Configuration ---
43
Enable SPI : 0
44
SPI - 1 Configuration ---
45
Enable SPI : 1
46
CLK is Output : 1
47
Chip Select [0] Enable : 01
48
Chip Select [1] Enable : 00
49
Chip Select [2] Enable : 00
50
Chip Select [3] Enable : 00
51
Chip Select [4] Enable : 00
52
Chip Select [5] Enable : 00
53
Chip Select [6] Enable : 00
54
Chip Select [7] Enable : 00
55
ENA ENable : 0
56
CLK Rate : 30000000
57
LCD Configuration
58
LCD Enable : 0
59
MMC 0 Configuration
60
MMC 0 Enable : 1
61
Write Protect Pin bank : 4
62
Write Protect Pin bank offset : 1
63
Card Detect Pin bank : 4
64
Card Detect Pin bank offset : 0
65
U-Boot > config save
66
Configuration Saved
67
U-Boot > OMAP-L138/AM-1808/AM-1810 initialization passed!
68
Configuring 128MB mDDR
69
                      Booting TI User Boot Loader
70
        UBL Version: 1.65:2.28.1 BuiltJul 11 2011 12:49:53
71
        UBL Flashtype: SPI
72
Starting SPI Memory Copy...
73
Valid magicnum, 0x55424CBB, found at offset 0x00010000.
74
   DONE
75
Jumping to entry point at 0xC1080000.
76

    
77

    
78
U-Boot 2009.11-00002-gc6adda5 (May 01 2015 - 11:42:37)
79

    
80
I2C:   ready
81
DRAM:  128 MB
82
NAND:  256 MiB
83
MMC:   davinci: 0
84
In:    serial
85
Out:   serial
86
Err:   serial
87
ARM    Clock : 300000000 Hz
88
DDR    Clock : 150000000 Hz
89
EMIFA  CLock : 100000000 Hz
90
DSP    Clock : 300000000 Hz
91
ASYNC3 Clock : 150000000 Hz
92
Enet  config : 2
93
MMC 0 Enable : 1
94
Resetting ethernet phy
95
Net:   No ETH PHY detected!!!
96

    
97
U-Boot > mmcinfo
98
Device: davinci
99
Manufacturer ID: 3
100
OEM: 5344
101
Name: SD04G
102
Tran Speed: 25000000
103
Rd Block Len: 512
104
SD version 2.0
105
High Capacity: Yes
106
Capacity: 3965190144
107
Bus Width: 4-bit
108
U-Boot > setenv bootargs mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mmcblk0p1 rw rootwait ip=off
109
U-Boot > ext2load mmc 0:1 c0700000 /boot/uImage
110
Loading file "/boot/uImage" from mmc device 0:1 (xxa1)
111
2530232 bytes read
112
U-Boot > bootm
113
## Booting kernel from Legacy Image at c0700000 ...
114
   Image Name:   Linux-3.2.0
115
   Image Type:   ARM Linux Kernel Image (uncompressed)
116
   Data Size:    2530168 Bytes =  2.4 MB
117
   Load Address: c0008000
118
   Entry Point:  c0008000
119
   Verifying Checksum ... OK
120
   Loading Kernel Image ... OK
121
OK
122

    
123
Starting kernel ...
124

    
125
Uncompressing Linux... done, booting the kernel.
126
Linux version 3.2.0 (root@mitydsp) (gcc version 4.5.4 20120305 (prerelease) (GCC) ) #1 PREEMPT Mon Jan 13 11:06:16 EST 2014
127
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
128
CPU: VIVT data cache, VIVT instruction cache
129
Machine: MityDSP-L138/MityARM-1808
130
Ignoring unrecognised tag 0x42000101
131
Memory policy: ECC disabled, Data cache writethrough
132
DaVinci da850/omap-l138/am18x variant 0x1
133
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24384
134
Kernel command line: mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mmcblk0p1 rw rootwait ip=off
135
PID hash table entries: 512 (order: -1, 2048 bytes)
136
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
137
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
138
Memory: 96MB = 96MB total
139
Memory: 91368k/91368k available, 6936k reserved, 0K highmem
140
Virtual kernel memory layout:
141
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
142
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
143
    vmalloc : 0xc6800000 - 0xfea00000   ( 898 MB)
144
    lowmem  : 0xc0000000 - 0xc6000000   (  96 MB)
145
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
146
      .text : 0xc0008000 - 0xc052c598   (5266 kB)
147
      .init : 0xc052d000 - 0xc0555000   ( 160 kB)
148
      .data : 0xc0556000 - 0xc05b5a80   ( 383 kB)
149
       .bss : 0xc05b5aa4 - 0xc05e2490   ( 179 kB)
150
NR_IRQS:245
151
Console: colour dummy device 80x30
152
Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
153
pid_max: default: 32768 minimum: 301
154
Mount-cache hash table entries: 512
155
CPU: Testing write buffer coherency: ok
156
devtmpfs: initialized
157
DaVinci: 144 gpio irqs
158
print_constraints: dummy:
159
NET: Registered protocol family 16
160
baseboard_pre_init: Entered
161
mityomapl138_setup_nand: using 8 bit data
162
baseboard_init [IndustrialIO]...
163
bio: create slab <bio-0> at 0
164
SCSI subsystem initialized
165
usbcore: registered new interface driver usbfs
166
usbcore: registered new interface driver hub
167
usbcore: registered new device driver usb
168
print_constraints: VDCDC1: 1150 <--> 1350 mV at 1200 mV
169
print_constraints: VDCDC2: 1800 mV
170
print_constraints: VDCDC3: 1200 mV
171
print_constraints: LDO1: 1800 mV
172
print_constraints: LDO2: 2500 <--> 3300 mV at 3300 mV
173
Advanced Linux Sound Architecture Driver Version 1.0.24.
174
Switching to clocksource timer0_1
175
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
176
Waiting for USB PHY clock good...
177
musb-hdrc musb-hdrc: USB OTG mode controller at fee00000 using PIO, IRQ 58
178
NET: Registered protocol family 2
179
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
180
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
181
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
182
TCP: Hash tables configured (established 4096 bind 4096)
183
TCP reno registered
184
UDP hash table entries: 256 (order: 0, 4096 bytes)
185
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
186
NET: Registered protocol family 1
187
RPC: Registered named UNIX socket transport module.
188
RPC: Registered udp transport module.
189
RPC: Registered tcp transport module.
190
RPC: Registered tcp NFSv4.1 backchannel transport module.
191
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
192
msgmni has been set to 178
193
io scheduler noop registered (default)
194
start plist test
195
end plist test
196
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
197
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
198
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
199
console [ttyS1] enabled
200
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
201
brd: module loaded
202
at24 1-0050: 256 byte 24c02 EEPROM, read-only, 0 bytes/write
203
MityOMAPL138: Found MAC = 40:d8:55:17:c8:1c
204
MityOMAPL138: Part Number = L138-FG-225-RC
205
ahci ahci: forcing PORTS_IMPL to 0x1
206
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
207
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
208
scsi0 : ahci_platform
209
ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
210
ONFI flash detected
211
ONFI param page 0 valid
212
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
213
Bad block table found at page 131008, version 0x01
214
Bad block table found at page 130944, version 0x01
215
Creating 2 MTD partitions on "davinci_nand.1":
216
0x000000000000-0x000008000000 : "rootfs"
217
0x000008000000-0x000010000000 : "homefs"
218
davinci_nand davinci_nand.1: controller rev. 2.5
219
spi_davinci spi_davinci.1: DMA: supported
220
spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
221
m25p80 spi1.0: m25p64-nonjedec (8192 Kbytes)
222
Creating 8 MTD partitions on "m25p80":
223
0x000000000000-0x000000010000 : "ubl"
224
0x000000010000-0x000000090000 : "u-boot"
225
0x000000090000-0x0000000a0000 : "u-boot-env"
226
0x0000000a0000-0x0000000b0000 : "periph-config"
227
No LCD configured
228
MII PHY configured
229
0x0000000b0000-0x000000100000 : "reserved"
230
0x000000100000-0x000000400000 : "kernel"
231
0x000000400000-0x000000600000 : "fpga"
232
0x000000600000-0x000000800000 : "spare"
233
spi_davinci spi_davinci.1: Controller at 0xfef0e000
234
CAN device driver interface
235
ata1: SATA link down (SStatus 0 SControl 300)
236
mcp251x spi1.1: MCP251x didn't enter in conf mode after reset
237
mcp251x spi1.1: Probe failed
238
mcp251x spi1.1: probe failed
239
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
240
davinci_mdio davinci_mdio.0: no live phy, scanning all
241
davinci_mdio: probe of davinci_mdio.0 failed with error -5
242
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
243
ohci ohci.0: DA8xx OHCI
244
ohci ohci.0: new USB bus registered, assigned bus number 1
245
Waiting for USB PHY clock good...
246
ohci ohci.0: irq 59, io mem 0x01e25000
247
hub 1-0:1.0: USB hub found
248
hub 1-0:1.0: 1 port detected
249
Initializing USB Mass Storage driver...
250
usbcore: registered new interface driver usb-storage
251
USB Mass Storage support registered.
252
mousedev: PS/2 mouse device common for all mice
253
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
254
omap_rtc: RTC power up reset detected
255
i2c /dev entries driver
256
cpuidle: using governor ladder
257
cpuidle: using governor menu
258
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
259
usbcore: registered new interface driver usbhid
260
usbhid: USB HID core driver
261
mmc0: new SDHC card at address 8eeb
262
mmcblk0: mmc0:8eeb SD04G 3.69 GiB
263
 mmcblk0: p1
264
dsd1791 spi1.2: Failed to add route LLOUT->Line Out
265
asoc: dsd1791 <-> davinci-mcasp.0 mapping ok
266
ALSA device list:
267
  #0: MityDSP-L138 INDIO
268
TCP cubic registered
269
NET: Registered protocol family 17
270
can: controller area network core (rev 20090105 abi 8)
271
NET: Registered protocol family 29
272
can: raw protocol (rev 20090105)
273
regulator_init_complete: LDO2: incomplete constraints, leaving on
274
regulator_init_complete: LDO1: incomplete constraints, leaving on
275
regulator_init_complete: VDCDC3: incomplete constraints, leaving on
276
regulator_init_complete: VDCDC2: incomplete constraints, leaving on
277
regulator_init_complete: VDCDC1: incomplete constraints, leaving on
278
console [netcon0] enabled
279
netconsole: network logging started
280
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
281
kjournald starting.  Commit interval 5 seconds
282
EXT3-fs (mmcblk0p1): using internal journal
283
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
284
VFS: Mounted root (ext3 filesystem) on device 179:1.
285
devtmpfs: mounted
286
Freeing init memory: 160K
287
Failed to mount /sys/kernel/security: No such file or directory
288

    
289
Welcome to The Ångström Distribution!
290

    
291
NET: Registered protocol family 10
292
Starting LSB: The RPC portmapper...
293
Starting udev Coldplug all Devices...
294
Starting Remount API VFS...
295
Starting Temporary Directory...
296
Starting Journal Service...
297
Started Journal Service                                                [  OK  ]
298
Starting POSIX Message Queue File System...
299
Starting Apply Kernel Variables...
300
Starting Debug File System...
301
Started Set Up Additional Binary Formats                               [  OK  ]
302
Started Huge Pages File System                                         [  OK  ]
303
Starting Load Kernel Modules...
304
Starting File System Check on Root Device...
305
Starting udev Kernel Device Manager...
306
Started LSB: The RPC portmapper                                        [  OK  ]
307
Started Remount API VFS                                                [  OK  ]
308
Started Temporary Directory                                            [  OK  ]
309
Started POSIX Message Queue File System                                [  OK  ]
310
Started Apply Kernel Variables                                         [  OK  ]
311
Started Debug File System                                              [  OK  ]
312
udevd[1097]: starting version 182
313
Started File System Check on Root Device                               [  OK  ]
314
Started udev Kernel Device Manager                                     [  OK  ]
315
Started Load Kernel Modules                                            [  OK  ]
316
Started Configuration File System                                      [  OK  ]
317
Started FUSE Control File System                                       [  OK  ]
318
Starting Remount Root FS...
319
Started Remount Root FS                                                [  OK  ]
320
Started Machine ID first boot configure                                [  OK  ]
321
Starting Load Random Seed...
322
Starting Recreate Volatile Files and Directories...
323
Started Run pending postinsts                                          [  OK  ]
324
Started Load Random Seed                                               [  OK  ]
325
Started Recreate Volatile Files and Directories                        [  OK  ]
326
Starting Restore Sound Card State...
327
Starting Timestamping service...
328
Started Timestamping service                                           [  OK  ]
329
Started SSH Key Generation                                             [  OK  ]
330
Starting Permit User Sessions...
331
portmap[1077]: Starting portmap daemon...
332
Started Permit User Sessions                                           [  OK  ]
333
Started Restore Sound Card State                                       [  OK  ]
334
Starting Serial Getty on ttyS1...
335
Started Serial Getty on ttyS1                                          [  OK  ]
336

    
337
.---O---.
338
|       |                  .-.           o o
339
|   |   |-----.-----.-----.| |   .----..-----.-----.
340
|       |     | __  |  ---'| '--.|  .-'|     |     |
341
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
342
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
343
                -'  |
344
                '---'
345

    
346
The Angstrom Distribution mityomapl138 ttyS1
347

    
348
Angstrom v2012.05 - Kernel 3.2.0
349

    
350
mityomapl138 login: Started udev Coldplug all Devices                                      [  OK  ]
351
Starting Networking...
352
PHY 0:03 not found
353
net eth0: could not connect to phy 0:03
354
ADDRCONF(NETDEV_UP): eth0: link is not ready
355
Started Networking                                                     [  OK  ]
356
Starting DropBear SSH Server...
357
Started DropBear SSH Server                                            [  OK  ]
358
Starting Getty on tty1...
359
Started Getty on tty1                                                  [  OK  ]
360

    
361
.---O---.
362
|       |                  .-.           o o
363
|   |   |-----.-----.-----.| |   .----..-----.-----.
364
|       |     | __  |  ---'| '--.|  .-'|     |     |
365
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
366
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
367
                -'  |
368
                '---'
369

    
370
The Angstrom Distribution mityomapl138 ttyS1
371

    
372
Angstrom v2012.05 - Kernel 3.2.0
373

    
374
mityomapl138 login: root
375
Last login: Sat Jan  1 00:12:53 UTC 2000 on ttyS1
376
root@mityomapl138:~# mount
377
rootfs on / type rootfs (rw)
378
/dev/root on / type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data=writeback)
379
devtmpfs on /dev type devtmpfs (rw,relatime,size=45684k,nr_inodes=11421,mode=755)
380
proc on /proc type proc (rw,relatime)
381
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
382
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
383
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
384
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
385
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
386
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
387
tmpfs on /tmp type tmpfs (rw,relatime)
388
mqueue on /dev/mqueue type mqueue (rw,relatime)
389
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
390
/dev/mmcblk0p1 on /media/mmcblk0p1 type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data=writeback)
391
root@mityomapl138:~# cp /media/mmcblk0p1/home/root/TestuPPLBARM /tmp/
392
root@mityomapl138:~# cp /media/mmcblk0p1/home/root/TestuPPLBDSP.out /tmp/
393
root@mityomapl138:~# insmod /lib/modules/$(uname -r)/extra/dsplinkk.ko
394
Disabling lock debugging due to kernel taint
395
DSPLINK Module (1.65.00.03) created on Date: Jan 13 2014 Time: 16:10:29
396
root@mityomapl138:~# ./TestuPPLBARM TestuPPLBDSP.out
397
can't set spi mode: Bad file descriptor
398
Aborted
399
root@mityomapl138:~# ./TestuPPLBARM TestuPPLBDSP.out
400
can't set spi mode: Bad file descriptor
401
Aborted
402
root@mityomapl138:~#
(2-2/3) Go to top
Add picture from clipboard (Maximum size: 1 GB)