From: Peter Ryser <Peter.Ryser@xilinx.com>
To: hyding <nari_dhy@nari-china.com>
Cc: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>,
"Kerl, John" <John.Kerl@avnet.com>
Subject: Re: debug Montavista on ML300
Date: Mon, 13 Oct 2003 22:43:20 -0700 [thread overview]
Message-ID: <3F8B8CF8.4000708@xilinx.com> (raw)
In-Reply-To: <002501c3906c$91a87570$4a44900a@hydingnb>
Hi,
you have a few options to download the Linux kernel to the board
depending on your work environment:
1. If you are using V2PDK, i.e the tool set that ships with the ML300,
then use GDB to download the kernel with the P4 cable.
a) open a V2PDK shell
b) change directories to the location where your Linux kernel resides
c) start GDB, download and start the kernel
$ powerpc-eabi-gdb -nw -nx zImage.embedded
(gdb) target ocd xilinx
(gdb) set download-write-size 0
(gdb) load
(gdb) c
2. If you are using EDK then use XMD to download the kernel with the P4
cable.
a) open a xygwin shell
b) change directories to the location where your Linux kernel resides
c) start XMD, download and start the kernel
$ xmd
XMD% ppcc
XMD% dow zImage.embedded
XMD% run
3. If you are using a 3rd party debugger follow the instructions of the
debugger manufacturer.
4. To generate an ACE file out of the bitstream and the Linux kernel
follow the instructions in the V2PDK or EDK documentation.
- Peter
hyding wrote:
>hi,
> Maybe this is not the right place to ask questions. But i wish
>someone in this list will give me some help. Any hint will be
>appreciable.
>
> I am doing some work on ML300. After i generate the configuration
>file(top.bit), i don't know how to download the OS image to DDR SDRAM.
>Can i use the Parallel Cabel IV to download the OS image to DDR SDRAM?
>>From some docs, i see the method to combine the configuration .bit file
>and OS image into a .ace file. Put the .ace into the CF card, the FPGA
>will be configured with this .ace after power. But how to make the .ace
>file including the .bit file and OS?
>
> Thanks!
>
>---
>ding hou yong
>Nanjing Electrical Automation Institute
>Tel: 86-25-3429900-2425
>GSM: 86-(0)13814021009
>FAX: 86-25-3429900-2425
>Email: nari_dhy@nari-china.com
>Http: www.nari-china.com
>---
>
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2003-10-14 5:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-12 2:57 debug Montavista on ML300 hyding
2003-10-14 5:43 ` Peter Ryser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F8B8CF8.4000708@xilinx.com \
--to=peter.ryser@xilinx.com \
--cc=John.Kerl@avnet.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=nari_dhy@nari-china.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).