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

RE: [microblaze-uclinux] Booting uClinux




Hi, John.

Caches - I recall changing them with no problem, and no OS recompile.
uClinux seems to run fine with or without caches, and not to care
how big they are.  However, even small caches will help the performance
quite a lot.

XMD - I always run this from the XPS Tools menu, so the initialization
is more automatic than yours seems to be.  I do see "connect mb mdm" 
in there, but not the "force" part.  I always type "stop" before I
download, but it may not be necessary.  I guess it depends on what the
bootloop is doing (which should be very little).  I pasted my XMD
startup messages below.

If you have any doubt about the download, use ...
mrd (address) (number of lwords)
... to look at it.

>con 0x81800000
That's it.  Is your OS compiled for the correct amount of RAM?

As for terminal programs, I am using teraterm.  After I run it, I
do not have to tell it to connect. 

A snippet from this list talked me into teraterm:
>
> Also, it might be worth trying a decent terminal program -
hyperterminal
> is just horrible.  For PCs, teraterm is a good alternative.
> 
> Regards,
> 
> John
>
(http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/01/
msg00139.html)


Mike Lee




Xilinx Microprocessor Debug (XMD) Engine
Xilinx EDK 6.3 Build EDK_Gmm.12.3
Copyright (c) 1995-2004 Xilinx, Inc.  All rights reserved.

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

Microblaze(1) : microblaze_0
Address Map for Processor microblaze_0
  (0x00000000-0x00007fff) dlmb_cntlr    dlmb
  (0x00000000-0x00007fff) ilmb_cntlr    ilmb
  (0xc0000000-0xc0003fff) ethernet      mb_opb
  (0xfe000000-0xfeffffff) opb_sdram_0   mb_opb
  (0xff800000-0xffbfffff) sram_flash    mb_opb
  (0xffff1000-0xffff10ff) system_timer  mb_opb
  (0xffff2000-0xffff20ff) console_uart  mb_opb
  (0xffff3000-0xffff30ff) system_intc   mb_opb
  (0xffff5000-0xffff51ff) system_gpio   mb_opb
  (0xffffc000-0xffffc0ff) debug_module  mb_opb

Loading MSS File..
Executing Connect Cmd: connect mb mdm -cable type xilinx_parallel port
LPT1
-debugdevice cpunr 1 -pfsl port 0 type s
Connecting to cable (Parallel Port - LPT1).
Checking cable driver.
 Driver windrvr6.sys version = 6.2.2.2. LPT base address = 0378h.
 ECP base address = 0778h.
 ECP hardware is detected.
Cable connection established.
Connecting to cable (Parallel Port - LPT1) in ECP mode.
Checking cable driver.
 Driver xpc4drvr.sys version = 1.0.3.0. LPT base address = 0378h.
 Cable Type = 1, Revision = 3.
Cable connection established.

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       05046093           8        XCF04S
 2       05046093           8        XCF04S
 3       01440093           6        XC3S2000
Assuming, Device No: 3 contains the MicroBlaze system
Connected to the JTAG MicroBlaze Debug Module (MDM)
No of processors = 1

MicroBlaze Processor 1 Configuration :
-------------------------------------
Version............................3.00.a
No of PC Breakpoints...............2
No of Read Addr/Data Watchpoints...1
No of Write Addr/Data Watchpoints..1
Instruction Cache Support..........on
Instruction Cache Base Address.....0xfe000000
Instruction Cache High Address.....0xfeffffff
Data Cache Support.................on
Data Cache Base Address............0xfe000000
Data Cache High Address............0xfeffffff
MBsfsl(0)-MDMmfsl(0) Connected..........Yes
JTAG MDM Connected to MicroBlaze 1

Unable to open GDB Server at port: 1234
Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1235
INFO:EDK - MHS File already loaded

Processor (1) Already Connected


XMD%

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of John
McGrath
Sent: Wednesday, April 06, 2005 1:38 PM
To: microblaze-uclinux@itee.uq.edu.au
Subject: [microblaze-uclinux] Booting uClinux

Hi All,
Well It's come time to boot my system (I've not been able to work on it 
the the past while)...
My board is very basic. 8 LED's, a UART and 8MB RAM. (note, as my chip 
has few reources, had to reduce the size of the ICACHES/DCACHES - does 
uclinux-auto pick up on this? Is it possible to run uClinx without these

at all, and if so, will uclinux-auto pick up on this, and make the 
apropriate modifications to the auto-config.in?)

The question is, how do I boot it? Is it enough to simply do the
following:

run XMD
 > connect mb mdm
 > force_use_fsl_dow
 > dow -data image.bin 0x81800000           (note, does the image.elf 
contain the romfs? when I download it it seems to download a .romfs 
section, but I remember reading this is not the case..what is the
truth?)
 >con 0x81800000

The last step simply jumps to the start of the RAM. Is this the correct 
way to "boot"?
If so, do I have to type anything into the hyperterminal to get the 
system kicked into gear, or will it just immediatly begin to boot?
(I'm not having much luck..so far)

Cheers,
John

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


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