* uboot and ppc405
@ 2004-10-25 10:51 grave
2004-10-25 13:57 ` Jon Masters
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: grave @ 2004-10-25 10:51 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
We re starting a disign with xilinx chip Virtex II pro and I wonder the =20
typical size of an uboot binary. This is for our electronician disigner =20
in order to dimension the prom and so on...
Any hint welcome,
Thanks in advance, xavier grave
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: uboot and ppc405
2004-10-25 10:51 uboot and ppc405 grave
@ 2004-10-25 13:57 ` Jon Masters
2004-10-25 16:35 ` Peter Ryser
2004-10-25 18:12 ` Wolfgang Denk
2 siblings, 0 replies; 11+ messages in thread
From: Jon Masters @ 2004-10-25 13:57 UTC (permalink / raw)
To: grave; +Cc: linuxppc-embedded
On Mon, 25 Oct 2004 10:51:08 +0000, grave <grave@ipno.in2p3.fr> wrote:
> We re starting a disign with xilinx chip Virtex II pro and I wonder the
> typical size of an uboot binary. This is for our electronician disigner
> in order to dimension the prom and so on...
It might be worth asking your electronics people whether they're going
to use the Xilinx SysACE chip in your hardware design. If this is the
case then you can program the Virtex and load in the kernel and
bootloader from Compact Flash. I don't know whether uboot supports
this out of the box since I wrote my own Virtex II bootloader, but it
should be quite doable.
Certainly you really want to avoid PROMs in the design if at all
possible - with our design it's possible for us to swap out a CF and
in one step replace all hardware and software, upgrading is a case of
sending the customer a loopback mountable filesystem which reloads the
CF after the customer downloads the "firmware update" via a web page.
Cheers,
Jon.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-25 10:51 uboot and ppc405 grave
2004-10-25 13:57 ` Jon Masters
@ 2004-10-25 16:35 ` Peter Ryser
2004-10-25 21:07 ` Jon Masters
2004-10-25 18:12 ` Wolfgang Denk
2 siblings, 1 reply; 11+ messages in thread
From: Peter Ryser @ 2004-10-25 16:35 UTC (permalink / raw)
To: grave; +Cc: linuxppc-embedded
Hi,
please have a look at "Getting started with U-Boot and ML300"
http://www.xilinx.com/bvdocs/appnotes/xapp542.pdf that describes how to
use U-Boot with Xilinx Virtex-II Pro devices.
You might also want to have a look at the README.ml300 in the u-boot
source tree that provides a quick start.
- Peter
grave wrote:
> Hi,
>
> We re starting a disign with xilinx chip Virtex II pro and I wonder
> the typical size of an uboot binary. This is for our electronician
> disigner in order to dimension the prom and so on...
>
> Any hint welcome,
>
> Thanks in advance, xavier grave
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-25 16:35 ` Peter Ryser
@ 2004-10-25 21:07 ` Jon Masters
2004-10-26 5:39 ` Peter Ryser
0 siblings, 1 reply; 11+ messages in thread
From: Jon Masters @ 2004-10-25 21:07 UTC (permalink / raw)
To: Peter Ryser; +Cc: linuxppc-embedded
On Mon, 25 Oct 2004 09:35:42 -0700, Peter Ryser <peter.ryser@xilinx.com> wrote:
> please have a look at "Getting started with U-Boot and ML300"
> http://www.xilinx.com/bvdocs/appnotes/xapp542.pdf that describes how to
> use U-Boot with Xilinx Virtex-II Pro devices.
This appnote assumes that he's using the ML300, has the Montavista
tree, and a few other general assumptions that might well not be true
here, but is otherwise interesting if they decide to heed our
suggestions of using the SystemACE in the design.
btw Peter, I've been moaning about the weird interrupt behaviour of
the SysACE on e.g. the Memec board for some time (see archives for
various other people's experiences too) - and I've spoken to several
folks at Xilinx without getting very far. If there's a fundamental
problem then it probably makes sense for us to help get it fixed.
Cheers,
Jon.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-25 21:07 ` Jon Masters
@ 2004-10-26 5:39 ` Peter Ryser
2004-10-26 15:48 ` Jon Masters
2004-10-26 20:59 ` Stephen Williams
0 siblings, 2 replies; 11+ messages in thread
From: Peter Ryser @ 2004-10-26 5:39 UTC (permalink / raw)
To: jonathan; +Cc: linuxppc-embedded
>This appnote assumes that he's using the ML300, has the Montavista
>tree, and a few other general assumptions that might well not be true
>here, but is otherwise interesting if they decide to heed our
>suggestions of using the SystemACE in the design.
>
The app note concentrates on one example, however, it is generic enough
and applies to different setups. The MontaVista Linux preview kit for
the ML300 is free but you can use other distributions if you wish to do
so. The only thing you need for u-boot is the PowerPC cross-compiler.
You can use the cross-compiler that ships with EDK, however, I do not
recommend it as it is set up for a different environment than for Linux
and/or U-Boot and it will expect files like boot.o and libxil.a...
Other boards than the ML300 can be used, too. If you look at the
repository layout in U-Boot there is space for other boards than the
ML300. I'm sure Wolfgang will appreciate contributions and ports to
different boards.
>btw Peter, I've been moaning about the weird interrupt behaviour of
>the SysACE on e.g. the Memec board for some time (see archives for
>various other people's experiences too) - and I've spoken to several
>folks at Xilinx without getting very far. If there's a fundamental
>problem then it probably makes sense for us to help get it fixed.
>
Hmm, I'm not aware of any interrupt problems with System ACE CF. For
Linux it works for a long time unchanged as published in the
linuxppc_2_4_devel and linuxppc-2.4 repositories. I'm operating my own
web and mail server on a V2P based board using a 1GB MicroDrive through
System ACE CF as the root and swap filesystems. The system is up and
running for months now. No special tricks or hacks just a
straight-forward EDK FPGA design with a MVL kernel.
There is now a MVL preview kit for the Memec board. You might want to
try it out and see whether the problems you observe persist.
Looking at the postings back in April I can only say that I never saw
any similar problems. Please let me know if you have a specific test
case where you see problems and I'll be glad to look at it.
The implementation of System ACE CF functionality in U-Boot is written
for polled operation. In that case Stephen Williams wrote the actual
driver and we decided not to publish our own driver but reuse his.
- Peter
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-26 5:39 ` Peter Ryser
@ 2004-10-26 15:48 ` Jon Masters
2004-10-26 16:55 ` Peter Ryser
2004-10-26 20:59 ` Stephen Williams
1 sibling, 1 reply; 11+ messages in thread
From: Jon Masters @ 2004-10-26 15:48 UTC (permalink / raw)
To: Peter Ryser; +Cc: linuxppc-embedded
On Mon, 25 Oct 2004 22:39:30 -0700, Peter Ryser <peter.ryser@xilinx.com> wrote:
jcm>> btw Peter, I've been moaning about the weird interrupt behaviour of
jcm>> the SysACE on e.g. the Memec board for some time (see archives for
jcm>> various other people's experiences too) - and I've spoken to several
jcm>> folks at Xilinx without getting very far. If there's a fundamental
jcm>> problem then it probably makes sense for us to help get it fixed.
> Hmm, I'm not aware of any interrupt problems with System ACE CF.
It issues an extra interrupt after each sector write on our hardware,
in what seems to be a reasonably reproducible but not entirely
predictable fashion. This is after the interrupt we expect to get on
sector completion - it causes the Monta driver to go belly up because
it has no handling to check for interrupt on QUEUE_EMPTY or similar
error conditions.
I have every confidence that it works on the ML300, just not on other
boards, including both the Memec board and our in house prototypes.
Since it's not a major issue right now to have good performance from
the SysACE (just a reliable driver), I've created the patch I posted
previously to use polled IO instead.
> There is now a MVL preview kit for the Memec board. You might want to
> try it out and see whether the problems you observe persist.
Is this the one which doesn't actually use the SystemACE for a filesystem?
> Looking at the postings back in April I can only say that I never saw
> any similar problems.
Others have done so. I'll check with the hardware guys and see if I
can't send you a simple hardware case that falls over at some point -
I'm slightly constrained to release hardware designs and so on until
after this thing is ready to ship.
> The implementation of System ACE CF functionality in U-Boot is written
> for polled operation. In that case Stephen Williams wrote the actual
> driver and we decided not to publish our own driver but reuse his.
So it probably doesn't use the Xilinx HAL, that can only be a good thing :-)
Jon.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-26 15:48 ` Jon Masters
@ 2004-10-26 16:55 ` Peter Ryser
0 siblings, 0 replies; 11+ messages in thread
From: Peter Ryser @ 2004-10-26 16:55 UTC (permalink / raw)
To: jonathan; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]
>I have every confidence that it works on the ML300, just not on other
>boards, including both the Memec board and our in house prototypes.
>
My web and mail server runs on a Memec board. I've seen our and customer
boards up and running for extended periods of time without any problems
with regard to System ACE CF.
>>There is now a MVL preview kit for the Memec board. You might want to
>>try it out and see whether the problems you observe persist.
>>
>>
>
>Is this the one which doesn't actually use the SystemACE for a filesystem?
>
System ACE CF can be turned on in the kernel configuration. Making a
root filesystem on the CF or MD is straight forward.
>>Looking at the postings back in April I can only say that I never saw
>>any similar problems.
>>
>>
>
>Others have done so. I'll check with the hardware guys and see if I
>can't send you a simple hardware case that falls over at some point -
>I'm slightly constrained to release hardware designs and so on until
>after this thing is ready to ship.
>
Ok, that's a plan. When you are ready please file a web case and mention
my name so that the problem resolution gets tracked properly.
- Peter
[-- Attachment #2: Type: text/html, Size: 1880 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-26 5:39 ` Peter Ryser
2004-10-26 15:48 ` Jon Masters
@ 2004-10-26 20:59 ` Stephen Williams
1 sibling, 0 replies; 11+ messages in thread
From: Stephen Williams @ 2004-10-26 20:59 UTC (permalink / raw)
To: linuxppc-embedded
Peter Ryser wrote:
>> btw Peter, I've been moaning about the weird interrupt behaviour of
>> the SysACE on e.g. the Memec board for some time (see archives for
>> various other people's experiences too) - and I've spoken to several
>> folks at Xilinx without getting very far. If there's a fundamental
>> problem then it probably makes sense for us to help get it fixed.
>>
> Hmm, I'm not aware of any interrupt problems with System ACE CF. For
> Linux it works for a long time unchanged as published in the
> linuxppc_2_4_devel and linuxppc-2.4 repositories. I'm operating my own
> web and mail server on a V2P based board using a 1GB MicroDrive through
> System ACE CF as the root and swap filesystems. The system is up and
> running for months now. No special tricks or hacks just a
> straight-forward EDK FPGA design with a MVL kernel.
The SystemACE in the linuxppc-2.4 kernel works fine for me on
our JSE board. We keep a lightly used ext3 partition for root,
and a FAT partition in the beginning for boot and ACE files.
The Xilinx HAL, though ugly as sin, has not given us trouble.
We use a PPC405GPr with the SystemACE connected to a peripheral
bus. No VIIPro here. this is surely different from the ML300,
yet it works.
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
2004-10-25 10:51 uboot and ppc405 grave
2004-10-25 13:57 ` Jon Masters
2004-10-25 16:35 ` Peter Ryser
@ 2004-10-25 18:12 ` Wolfgang Denk
2 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Denk @ 2004-10-25 18:12 UTC (permalink / raw)
To: grave; +Cc: linuxppc-embedded
In message <1098701468l.31592l.0l@ipnnarval> you wrote:
>
> We re starting a disign with xilinx chip Virtex II pro and I wonder the =20
> typical size of an uboot binary. This is for our electronician disigner =20
> in order to dimension the prom and so on...
Depending on your configuration (selected features) U-Boot typically
needs 100...240 kB of flash memory. If you reseve 256 kB in flash you
should have no problems.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"More software projects have gone awry for lack of calendar time than
for all other causes combined."
- Fred Brooks, Jr., _The Mythical Man Month_
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: uboot and ppc405
@ 2004-10-25 18:40 Shamile Khan
0 siblings, 0 replies; 11+ messages in thread
From: Shamile Khan @ 2004-10-25 18:40 UTC (permalink / raw)
To: linuxppc-embedded
We are running U-boot/Linux on a custom Virtex II Pro board booting out
of a NOR flash chip. The size of U-boot binary is slightly over the size
one erase sector (128 KB). We have a 64 MB NOR flash chip so we dont
care about the size of u-boot:)
Regards,
--
Shamile Khan
Edgewater Computer Systems, Inc.
1125 Innovation Drive
(2nd Floor)
Kanata, Ontario, K2K 3G6
Tel: (613) 271-1101 ext. 240
Fax: (613) 271-1152
^ permalink raw reply [flat|nested] 11+ messages in thread
* uboot and ppc405
@ 2006-06-21 6:29 Zhang Ke
0 siblings, 0 replies; 11+ messages in thread
From: Zhang Ke @ 2006-06-21 6:29 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I want to use Uboot in v2pro for booting linux from xilinx flash PROM. is it doable?
my board is a custom board, which has a XC2VP20, XCF32P, DDR, UART
at present, i can run a open core linux on the board by JTAG and UART. but i must use iMPACT to download bit file(about 0.97MB), use XMD to download elf file(about 4.43MB). this is too slow :(
can i use flash PROM to store these two files? and when power on, the UBoot can download them automatically and orderly to FPGA?
I found the XAPP542 from xilinx, but it use UBoot to config FPGA from the files stored in SystemACE Compact Flash Card. Unfortunately, my board does NOT has SystemACE:(
I also want to ask you that whether my XCF32P(32 Mbit=4MB) is large enough for storing the whole things?
Help me :(
Thank you :)
--------------
Zhang Ke
2006-06-21
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-06-21 6:36 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-25 10:51 uboot and ppc405 grave
2004-10-25 13:57 ` Jon Masters
2004-10-25 16:35 ` Peter Ryser
2004-10-25 21:07 ` Jon Masters
2004-10-26 5:39 ` Peter Ryser
2004-10-26 15:48 ` Jon Masters
2004-10-26 16:55 ` Peter Ryser
2004-10-26 20:59 ` Stephen Williams
2004-10-25 18:12 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-10-25 18:40 Shamile Khan
2006-06-21 6:29 Zhang Ke
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).