Dear All:

We are using DM355 EVM.
After we change the boot NAND to a new K9F5608U0D (32MB Samsung NAND).
We find that the u-boot can not TFTP to transfer any data.
We tried K9F5608U0C and it was OK.
However, K9F5608U0C is already phased out, because it is not lead free.

Originally the u-boot can not recognize the DM9000a ethernet chip.
After I changed the delay after the reset from 1ms to 3 ms,
it is improved. But TFTP still does not work.

After I turned on the debug message of ethernet driver,
I find that ARP is OK and the request is sent successfully,
but the received data will have checksum error.
The following is the log from the RS-232 console.

We are wondering if there is anything need to be changed in AEMIF timing?!
However, since NAND and DM9000a are using two different CS and
different memory space,
I can not figure out why the new NAND will affect DM9000a.

Can anyone give us some advice? Thank you in advance.

Best regards,

Ray

===================Console Log====================


UBL: detected valid U-Boot magic number
UBL: booting to U-Boot


U-Boot 1.2.0 (Jan 29 2009 - 08:07:34)

U-Boot code: 81080000 -> 810A0298  BSS: -> 810A62B8
RAM Configuration:
Bank #0: 80000000 128 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND
32MiB 3,3V 8-bit)
Bad block table found at page 65504, version 0x00
Bad block table found at page 65472, version 0x00
nand_read_bbt: Bad block at 0x00004000
nand_read_bbt: Bad block at 0x00020000
nand_read_bbt: Bad block at 0x00028000
nand_read_bbt: Bad block at 0x0002c000
nand_read_bbt: Bad block at 0x00030000
nand_read_bbt: Bad block at 0x00034000
nand_read_bbt: Bad block at 0x00038000
nand_read_bbt: Bad block at 0x0003c000
nand_read_bbt: Bad block at 0x00040000
nand_read_bbt: Bad block at 0x00044000
nand_read_bbt: Bad block at 0x00048000
32 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
### main_loop entered: bootdelay=1

### main_loop: bootcmd="nboot 80700000 0 400000;bootm"
Hit any key to stop autoboot:  1  0

Loading from NAND 32MiB 3,3V 8-bit, offset 0x400000

** Bad Magic Number 0xffffffff **
## Booting image at 80700000 ...
Bad Magic Number
DM355 EVM # tftp 80700000 uImage-dm355

eth_halt
eth_init()
resetting
dm9000 i/o: 0x4014000, id: 0x90000a46
MAC: 00:0e:99:02:d5:ff
operating at 100M full duplex mode
TFTP from server 192.168.11.5; our IP address is 192.168.11.120
Filename 'uImage-dm355'.
Load address: 0x80700000
Loading: *sending ARP for 050ba8c0
ARP broadcast 1
eth_send: length: 42
transmit done

Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REPLY, set server/gtwy eth addr (00:18:f3:c0:9c:ed)
Got it
eth_send: length: 73
transmit done

T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
eth_send: length: 73
transmit done

Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x800
Got IP
len=40, v=45
checksum bad 
<------------------------------------------------------------------------------------
Checksum ERROR!!!
Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x800
Got IP
len=40, v=45
checksum bad 
<------------------------------------------------------------------------------------
Checksum ERROR!!!
Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
eth_send: length: 42
transmit done

Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x800
Got IP
len=40, v=45
checksum bad 
<------------------------------------------------------------------------------------
Checksum ERROR!!!
T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
eth_send: length: 73
transmit done

Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
eth_send: length: 42
transmit done

Rrx status: 0x0001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

Rrx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
transmit done

Rrx status: 0x4001 rx len: 248
packet received
packet received
Receive from protocol 0x800
Got IP
len=229, v=45
checksum bad 
<------------------------------------------------------------------------------------
Checksum ERROR!!!
Rrx status: 0x4001 rx len: 248
packet received
packet received
Receive from protocol 0x800
Got IP
len=229, v=45
checksum bad 
<------------------------------------------------------------------------------------
Checksum ERROR!!!
rx status: 0x4001 rx len: 248
packet received
packet received
Receive from protocol 0x800
Got IP
len=229, v=45
checksum bad 
<------------------------------------------------------------------------------------
Checksum ERROR!!!
rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
rx status: 0x4001 rx len: 64
packet received
packet received
Receive from protocol 0x806
Got ARP
Got ARP REQUEST, return our IP
transmit done

T sending UDP to 050ba8c0/00:18:f3:c0:9c:ed
transmit done
........................

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to