linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: bootstrap of virtex-ii pro eval board ML300
@ 2003-06-02 20:48 Kerl, John
  2003-06-02 20:53 ` Scott Anderson
  0 siblings, 1 reply; 10+ messages in thread
From: Kerl, John @ 2003-06-02 20:48 UTC (permalink / raw)
  To: 'Scott Anderson', Kerl, John; +Cc: ???, linuxppc-embedded


You're saying that the entire zvmlinux.initrd file
(2-3 MB, say) is contained in the FPGA bitstream??
I find that hard to believe ...

-----Original Message-----
From: Scott Anderson [mailto:sanders@mvista.com]
Sent: Monday, June 02, 2003 1:49 PM
To: Kerl, John
Cc: ???; linuxppc-embedded@lists.linuxppc.org
Subject: Re: bootstrap of virtex-ii pro eval board ML300


On Monday, June 2, 2003, at 01:41  PM, Kerl, John wrote:
> (2) Whether the bit file is obtained via System ACE or JTAG,
> the FPGA is initialized.  This includes populating the
> block RAM.
>
> Note that your block RAM will almost certainly not be
> big enough to contain your Linux kernel.  Sizes vary but
> in my experience they are measured in kilobytes -- e.g.
> 4KB to 64KB.  For this reason, it is preferable to have
> the ELF file that is contained in your bitstream be a *small*
> executable that can fit in the block RAM.  This small
> executable can *find* a larger executable (e.g. the Linux
> kernel image), from a flash device, compact flash, TFTP,
> etc., then load and run it.
>
Um, since he was asking about the ML300 specifically, my
experience on it is that the memory controller got initialized
along with everything else so that the ELF did not have to
fit in block RAM; rather the ELF got slammed right into
the 128MB of DDR SDRAM.

   Scott

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: bootstrap of virtex-ii pro eval board ML300
@ 2003-06-02 20:52 Kerl, John
  0 siblings, 0 replies; 10+ messages in thread
From: Kerl, John @ 2003-06-02 20:52 UTC (permalink / raw)
  To: 'Scott Anderson', Kerl, John; +Cc: ???, linuxppc-embedded


News to me.

Thanks.

-----Original Message-----
From: Scott Anderson [mailto:sanders@mvista.com]
Sent: Monday, June 02, 2003 1:53 PM
To: Kerl, John
Cc: ???; linuxppc-embedded@lists.linuxppc.org
Subject: Re: bootstrap of virtex-ii pro eval board ML300


On Monday, June 2, 2003, at 01:48  PM, Kerl, John wrote:
> You're saying that the entire zvmlinux.initrd file
> (2-3 MB, say) is contained in the FPGA bitstream??

I am saying that the entire zImage.embedded (without
an initrd) is in the FPGA bitstream.  Its root partition
is an ext2 partition on the IBM MicroDrive.

   Scott

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: bootstrap of virtex-ii pro eval board ML300
@ 2003-06-02 20:41 Kerl, John
  2003-06-02 20:49 ` Scott Anderson
  0 siblings, 1 reply; 10+ messages in thread
From: Kerl, John @ 2003-06-02 20:41 UTC (permalink / raw)
  To: 'Scott Anderson', ???; +Cc: linuxppc-embedded


There are two details here, one of them important.

(1) The System ACE is one configuration option; you can also
download a new bit file via the JTAG cable.

(2) Whether the bit file is obtained via System ACE or JTAG,
the FPGA is initialized.  This includes populating the
block RAM.

Note that your block RAM will almost certainly not be
big enough to contain your Linux kernel.  Sizes vary but
in my experience they are measured in kilobytes -- e.g.
4KB to 64KB.  For this reason, it is preferable to have
the ELF file that is contained in your bitstream be a *small*
executable that can fit in the block RAM.  This small
executable can *find* a larger executable (e.g. the Linux
kernel image), from a flash device, compact flash, TFTP,
etc., then load and run it.


-----Original Message-----
From: Scott Anderson [mailto:sanders@mvista.com]
Sent: Monday, June 02, 2003 1:36 PM
To: ???
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: bootstrap of virtex-ii pro eval board ML300



On Saturday, May 31, 2003, at 06:14  PM, 丁厚永 wrote:
\We have subscribe the ML300 demo board from xilinx,but it needs several
> months to arrive. I remember someone has done some work in virtex II
> pro demo boards.Will someone tell me some details about the bootstrap's
> procedure of such systems.

A quick high level description from my understanding:
There is a piece of Xilinx hardware called System ACE which reads
a rotary switch to determine which of eight possible files it
should load from the first partition (which must be a FAT partition)
of the IBM MicroDrive.  System ACE initializes the FPGA, processor
and memory by using the contents of this file to manipulate the
JTAG chain.  Xilinx provides tools so that you can combine an
ELF image (e.g. a Linux kernel) with an FPGA bitstream so that
when the processor comes out of reset, your image is already
loaded into memory ready to go.  For your development, I would
suggest using a JTAG debugger (specifically, the Abatron BDI2000)
to load your kernel into memory so that you don't have to keep
mucking with the MicroDrive.  Having the BDI2000 also gives you
a good tool for debugging the kernel and drivers.

    Scott


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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* bootstrap of virtex-ii pro eval board ML300
@ 2003-06-01  1:14 丁厚永
  2003-06-02 20:36 ` Scott Anderson
  0 siblings, 1 reply; 10+ messages in thread
From: 丁厚永 @ 2003-06-01  1:14 UTC (permalink / raw)
  To: linuxppc-embedded


Dear all,
We have subscribe the ML300 demo board from xilinx,but it needs several
months to arrive. I remember someone has done some work in virtex II
pro demo boards.Will someone tell me some details about the bootstrap's
procedure of such systems.

thanks in advance

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-06-05 15:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 20:48 bootstrap of virtex-ii pro eval board ML300 Kerl, John
2003-06-02 20:53 ` Scott Anderson
2003-06-04 16:45   ` Peter Ryser
2003-06-05  5:12     ` NARI_DHY
2003-06-05 15:16       ` Peter Ryser
  -- strict thread matches above, loose matches on Subject: below --
2003-06-02 20:52 Kerl, John
2003-06-02 20:41 Kerl, John
2003-06-02 20:49 ` Scott Anderson
2003-06-01  1:14 丁厚永
2003-06-02 20:36 ` Scott Anderson

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).