[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Microblaze4 slow kernel download with XMD



Hi,

Which Linux are you using to run EDK 8.1 .
I tried Fedora Core 2 but it does not work at all.
Impact fails to connect to the parallel port for download.

Regards,
BH Hlophe


Tel Work        : +2712-318-4124
Fax Work        : +2712-318-5294
Cellphone       : +2772-265-5523
Web                :www.hbhelectronics.co.za



-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Claudio
Lanconelli
Sent: Thursday, March 09, 2006 1:12 PM
To: mbucLinux mailing list
Subject: [microblaze-uclinux] Microblaze4 slow kernel download with XMD

Hi,
finally I got EDK8.1 and I tried to convert my Spartan3 design from
EDK7.1 with Microblaze3 + sdram
to EDK8.1  with Microblaze4 + MCH sdram controller.
The problem is XMD takes a very long time to download the kernel image,
although I connected FSL for fast download as with old Microblaze3 design.
I use dl.sh script for download, and xilinx parallel cable IV in
compatibility mode (cable III mode) in Linux.
The download time was 1min with Mb3 design versus 4min with Mb4 design! 
It seems the FSL fast download
doesn't work.

Do anyone has ever experimented this problem? Any tips?

After download the kernel boots and works fine.

Here is XMD log and my system.mhs file.

# time ./dl.sh
Kimage is /tftpboot/image.bin
Xilinx Microprocessor Debug (XMD) Engine Xilinx EDK 8.1.01 Build EDK_I.19.5
Copyright (c) 1995-2005 Xilinx, Inc.  All rights reserved.

XMD%
Loading MHS File..
Processor(s) in System ::

Microblaze(1) : microblaze_0
Address Map for Processor microblaze_0
  (0x00000000-0x00001fff) dlmb_cntlr    dlmb
  (0x00000000-0x00001fff) ilmb_cntlr    ilmb
  (0x40600000-0x4060ffff) console_uart  mb_opb
  (0x41200000-0x4120ffff) system_intc   mb_opb
  (0x41400000-0x4140ffff) debug_module  mb_opb
  (0x41c00000-0x41c0ffff) system_timer  mb_opb
  (0x80000000-0x81ffffff) sdram_controller      mb_opb
  (0x80000000-0x81ffffff) sdram_controller      ixcl
  (0x80000000-0x81ffffff) sdram_controller      dxcl

Reusing 780200E4 key.
Reusing FC0200E4 key.
Connecting to cable (Parallel Port - parport0).
 WinDriver v7.01 Jungo (c) 1997 - 2005 Build Date: Aug 10 2005 X86 32bit
16:24:42.
 parport0: baseAddress=0x378, ecpAddress=0x778  LPT base address = 0378h.
 ECP base address = 0778h.
 ECP hardware is detected.
Cable connection established.
Connecting to cable (Parallel Port - parport0) in ECP mode.
WARNING:iMPACT -  Module xpc4drvr is not loaded. Please reinstall the cable
   drivers. See Answer Record 18612.
Cable connection failed.
Connecting to cable (Parallel Port - parport0).
 WinDriver v7.01 Jungo (c) 1997 - 2005 Build Date: Aug 10 2005 X86 32bit
16:24:42.
 LPT base address = 0378h.
 ECP base address = 0778h.
Cable connection established.
ECP port test failed. Using download cable in compatibility mode.

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       05045093           8        XCF02S
 2       0141c093           6        XC3S400
Assuming, Device No: 2 contains the MicroBlaze system Connected to the JTAG
MicroProcessor Debug Module (MDM) No of processors = 1

MicroBlaze Processor 1 Configuration :
-------------------------------------
Version............................4.00.a
No of PC Breakpoints...............2
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x80000000 Instruction Cache High
Address.....0x81ffffff Data Cache Support.................on Data Cache Base
Address............0x80000000 Data Cache High Address............0x81ffffff
Exceptions  Support................off FPU
Support.......................off FSL DCache Support.................on FSL
ICache Support.................on Hard Divider Support...............on Hard
Multiplier Support............on Barrel Shifter Support.............on MSR
clr/set Instruction Support....on Compare Instruction Support........off
Number of FSL ports..............1
MBsfsl(0)-MDMmfsl(0) Connected..........Yes JTAG MDM Connected to MicroBlaze
1 Connected to "mb" target. id = 0 Starting GDB server for "mb" target (id =
0) at TCP port no 1234 Processor started. Type "stop" to stop processor
Closing MDM communication with Processor 1

real    4m5.909s
user    0m5.734s
sys     3m59.666s


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/