Skip to contentSkip to conversation

debug Montavista on ML300

DISCUSSION hyding 2 participants 2 messages Oct 12, 2003 – Oct 14, 2003

lore
Share & tools
lore

hyding

author
#0 lore raw

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?

Quoted 1 line

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: [email protected]
Http: www.nari-china.com
---

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

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

Quoted 15 lines · hyding

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?

Quoted 1 line

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!

Quoted 14 lines

---
ding hou yong
Nanjing Electrical Automation Institute
Tel: 86-25-3429900-2425
GSM: 86-(0)13814021009
FAX: 86-25-3429900-2425
Email: [email protected]
Http: www.nari-china.com
---

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/