This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6467 phy error

Other Parts Discussed in Thread: TMS320DM6467

Hi all!

I'm trying to establish a Linux OS on a DM6467. I have the TMS320DM6467 EVM as a reference board. I flashed the u-boot and uImage properly on the EVM board and it works fine. When I tried to flash the Linux on our board the phy won't work. I asked the board designer and he said that the phy area is copied from the TI board schemes, so it should work the same.

When I command 'ip=off' in the boot environment the Linux rise properly, but doesn't ping. I used the NAND flashing because otherwise the kernel won't download the NFS, so I flashed the RAMDISK to the NAND. The EVM worked properly with the DHCP, but I wanted to do the same process in order to find the difference.

My questions are:

  1. what is the phy driver? I'm using the LSI ET1011 phy as in the EVM but there isn't such en option in the kernel configurations. I added som kprints to find what driver it enters, but in the added log file you can see that it enters three different drivers.

  2. Can it be a hardware fault? If so, how can I find it?

  3. Before I flashed the NAND the uboot downloaded the kernel via Ethernet but the kernel couldn't download the NFS. What's the difference between the uboot end kernel, are they using different drivers?


Thanks a lot

Ely

 


Here is the log-file when I allow Ethernet:

Starting NAND Copy

Booting Application @ 0x81080000

U-Boot 2009.08 (Sep 05 2010 - 18:58:01)

I2C: ready

DRAM: 256 MB

NAND: 128 MiB

In: serial

Out: serial

Err: serial

ARM Clock :- 363MHz

DDR Clock :- 363MHz

Net: Ethernet PHY: GENERIC @ 0x01

DaVinci EMAC

Hit any key to stop autoboot: 3 \0x08\0x08\0x08 2 \0x08\0x08\0x08 1 \0x08\0x08\0x08 0


NAND read: device 0 offset 0x560000, size 0x500000

5242880 bytes read: OK


Loading from NAND 128MiB 3,3V 8-bit, offset 0x160000

Image Name: Linux-2.6.18_pro500-davinci_evm-

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 2051748 Bytes = 2 MB

Load Address: 80008000

Entry Point: 80008000

## Booting kernel from Legacy Image at 80700000 ...

Image Name: Linux-2.6.18_pro500-davinci_evm-

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 2051748 Bytes = 2 MB

Load Address: 80008000

Entry Point: 80008000

Verifying Checksum ... OK

Loading Kernel Image ... OK

OK


Starting kernel ...


Uncompressing Linux..................................................................................................................................... done, booting the kernel.

Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (root@rd3.linux4biz.lan) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Tue Sep 14 12:16:27 IST 2010

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

Machine: DaVinci DM6467 EVM

Memory policy: ECC disabled, Data cache writeback

DaVinci DM6467 variant 0x1

CPU0: D VIVT write-back cache

CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets

CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets

Built 1 zonelists. Total pages: 30720

Kernel command line: console=ttyS0,115200n8 root=/dev/ram rw initrd=0x81100000,16M mem=120M

PID hash table entries: 512 (order: 9, 2048 bytes)

Clock event device timer0_0 configured with caps set: 03

Console: colour dummy device 80x30

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 120MB = 120MB total

Memory: 100992KB available (3465K code, 697K data, 172K init)

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

Freeing initrd memory: 16384K

NET: Registered protocol family 16

DaVinci: 48 gpio irqs

=================>>>>>>>>>>>>>> phy_init

=================>>>>>>>>>>>>>> phy_driver_register

Generic PHY: Registered new driver

ch0 default output "COMPOSITE", mode "NTSC"

ch1 default output "", mode ""

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 4096 bind 2048)

TCP reno registered

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

squashfs: version 3.1 (2006/08/19) Phillip Lougher

Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.

yaffs Sep 14 2010 12:19:27 Installing.

SGI XFS with no debug enabled

Initializing Cryptographic API

io scheduler noop registered

io scheduler anticipatory registered (default)

=================>>>>>>>>>>>>>>ltt_facilities_init

LTT : ltt-facilities init

LTT : ltt-facility-core init in kernel

DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec

CIR device registered successfully (Major = 252, Minor = 0)

Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled

serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a ST16654

serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfec20400 (irq = 41) is a ST16650V2

serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ42): -28

RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize

=================>>>>>>>>>>>>>> marvell_init

=================>>>>>>>>>>>>>> phy_driver_register

Marvell 88E1101: Registered new driver

=================>>>>>>>>>>>>>> phy_driver_register

Davicom DM9161E: Registered new driver

=================>>>>>>>>>>>>>> phy_driver_register

Davicom DM9131: Registered new driver

=================>>>>>>>>>>>>>> phy_driver_register

SMSC LAN83C185: Registered new driver

=================>>>>>>>>>>>>>> phy_driver_register

Fixed PHY: Registered new driver

netconsole: not configured, aborting

TI DaVinci EMAC: MAC address is deadbeaf

TI DaVinci EMAC Linux version updated 4.0

TI DaVinci EMAC: Installed 1 instances.

Linux video capture interface: v2.00

i2c /dev entries driver

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

MUX: initialized ATAEN

ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio

Palm Chip BK3710 IDE Register Fail

Initializing USB Mass Storage driver...

usbcore: registered new driver usb-storage

USB Mass Storage support registered.

usbcore: registered new driver usbhid

drivers/usb/input/hid-core.c: v2.6:USB HID core driver

musb_hdrc: version 6.0, cppi-dma, host, debug=0

musb_hdrc: USB Host mode controller at c805c000 using DMA, IRQ 13

musb_hdrc musb_hdrc: MUSB HDRC host driver

musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

mice: PS/2 mouse device common for all mice

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

ASoC version 0.13.1

AIC3X Audio Codec 0.1

asoc: aic3x <-> davinci-i2s mapping ok

asoc: DIT <-> davinci-dit mapping ok

ALSA device list:

#0: DaVinci DM6467 EVM (aic3x)

IPv4 over IPv4 tunneling driver

TCP bic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

Time: timer0_1 clocksource has been installed.

Clock event device timer0_0 configured with caps set: 08

Switched to high resolution mode on CPU 0

Sending DHCP and RARP requests ...... timed out!

IP-Config: Reopening network devices...

Sending DHCP and RARP requests ...... timed out!

IP-Config: Reopening network devices...

Sending DHCP and RARP requests .....