[U-Boot-Users] Srec problem and TQM860

Charles J Gillan C.Gillan at ecit.qub.ac.uk
Tue Oct 26 14:02:32 CEST 2004


Folks,

    I have encountered a problem with downloading Linux to my TQM860L
board using S records via the serial port. Any help or suggestions
would be greatly appreciated.

    Last week I followed the ELDK instructions to replace the TQ Monitor
on my board with Das U-Boot. I use ELDK 3.0 but download the U-Boot
1.1.1
source and compiled it rather than the 1.0.2 source delivered with ELDK
3.0.

I built U-Boot using 

              make TQM860L_config

I now realise that I have FEC on my board, and should have used 

              Make TQM860L_FEC_config

but I did not expect that this would impact on the serial port comms.
Perhaps this is the source of the problem ???

I used "cu" on my SuSe 8.2 PC to download U-Boot as SRECs over the
serial port.
 
All of this went well - I can log into U-Boot and execute commands such
as 
flinfo.

I then built the linux 2.4.24 kernel that comes with ELDK 3.0 and
converted
this to S records. My downloads fail at the seventh S record (see
attached
debug from "cu" at end of file); record 6 required a retry.

7 cu: fconn_io: Writing 44
"S2140000507800E45A0F701367767FAB3FB6843D4452"
cu: fconn_io: Wrote 44 of 44, read 0 of 16383
cu: fconn_io: Writing 1 "\r"
cu: fconn_io: Wrote 1 of 1, read 0 of 16383
cu: fconn_read: Read 16 "## S-Record down"  <----------- Error starts
here
cu: fconn_read: Read 8 "load abo"
cu: fconn_read: Read 9 "rted\r\n=> "

I have also tried using a RedHat PC which has a different implementation
of
"cu". The same problem exists.

Has this problem been seen before? Is there anything that can be done to
work around it?

Regards and thanks,

Charles.


========================================================================
=

Initial output
==============

U-Boot 1.1.1 (Oct 21 2004 - 11:46:31)

CPU:   XPC86xxxZPnnD3 at 50 MHz: 16 kB I-Cache 8 kB D-Cache FEC present
Board: TQM860LDB0A3-P50.208
DRAM:  16 MB
FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET [PRIME], FEC ETHERNET
PCMCIA:   No Card found

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot: 5 

=> flinfo

Bank # 1: FUJITSU AM29LV160B (16 Mbit, bottom boot sect)
  Size: 4 MB in 35 Sectors
  Sector Start Addresses:
    40000000 (RO) 40008000 (RO) 4000C000 (RO) 40010000 (RO) 40020000
(RO)
    40040000      40060000      40080000      400A0000      400C0000

    400E0000      40100000      40120000      40140000      40160000

    40180000      401A0000      401C0000      401E0000      40200000

    40220000      40240000      40260000      40280000      402A0000

    402C0000      402E0000      40300000      40320000      40340000

    40360000      40380000      403A0000      403C0000      403E0000


Bank # 2: FUJITSU AM29LV160B (16 Mbit, bottom boot sect)
  Size: 4 MB in 35 Sectors
  Sector Start Addresses:
    40400000      40408000      4040C000      40410000      40420000

    40440000      40460000      40480000      404A0000      404C0000

    404E0000      40500000      40520000      40540000      40560000

    40580000      405A0000      405C0000      405E0000      40600000

    40620000      40640000      40660000      40680000      406A0000

    406C0000      406E0000      40700000      40720000      40740000

    40760000      40780000      407A0000      407C0000      407E0000


=> erase 40040000 400fffff


... done
Erased 6 sectors
=> ~[approach].



Output from "loads"
===================

6 cu: fconn_io: Writing 44
"S2140000401F8B0808B40979410203766D6C696E75DA"
cu: fconn_io: Wrote 44 of 44, read 0 of 16383
cu: fconn_io: Writing 1 "\r"
cu: fconn_io: Wrote 1 of 1, read 0 of 16383
cu: fconn_read: Read 36 "S2140000401F8B0808B40979410036DC9E5A"
cu: fconn_read: Read 0 ""
R cu: fconn_io: Writing 1 "\025"
cu: fconn_io: Wrote 1 of 1, read 0 of 16348
cu: fconn_io: Writing 44 "S2140000401F8B0808B40979410203766D6C696E75DA"
cu: fconn_io: Wrote 44 of 44, read 0 of 16383
cu: fconn_io: Writing 1 "\r"
cu: fconn_io: Wrote 1 of 1, read 0 of 16383
cu: fconn_read: Read 25 "\025S100401F8B0808B409794102"
cu: fconn_read: Read 8 "03766D66"
cu: fconn_read: Read 8 "96E75DA\r"
7 cu: fconn_io: Writing 44
"S2140000507800E45A0F701367767FAB3FB6843D4452"
cu: fconn_io: Wrote 44 of 44, read 0 of 16383
cu: fconn_io: Writing 1 "\r"
cu: fconn_io: Wrote 1 of 1, read 0 of 16383
cu: fconn_read: Read 16 "## S-Record down"  <----------- Error starts
here
cu: fconn_read: Read 8 "load abo"
cu: fconn_read: Read 9 "rted\r\n=> "
8 cu: fconn_io: Writing 44
"S214000060C1B230E03F3230D40EAA232E305959C2E6"
cu: fconn_io: Wrote 44 of 44, read 0 of 16383
cu: fconn_io: Writing 1 "\r"
cu: fconn_io: Wrote 1 of 1, read 0 of 16383
cu: fconn_read: Read 12 "S214000060C1"
cu: fconn_read: Read 16 "B230E03F3230D40E"
cu: fconn_read: Read 8 "AA232E30"
cu: fconn_read: Read 8 "5959C2E6"
cu: fconn_read: Read 16 "\r\r\nUnknown comma"

========================================================================
=

Dr Charles J Gillan
The Institute of Electronics, Communications and Information Technology
(ECIT),
Queen's University Belfast,
Titanic Quarter
Queen’s Road, Queen’s Island, 
Belfast, BT3 9DT
Northern Ireland, UK
 
Tel: +44 (0) 2890 971847






More information about the U-Boot mailing list