* [U-Boot-Users] SystemACE
@ 2007-04-21 19:28 Michal Simek
2007-04-21 20:03 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2007-04-21 19:28 UTC (permalink / raw)
To: u-boot
Hi,
I have debugged systemace driver and ported it on Microblaze. I use
SystemACE for loading bitstream to FPGA. But if the SystemACE initializes
FPGA this part of code sets to zero CFGDONE bit in STATUSREG. And then
release_cf_lock function resets SystemACE.
I add this part of code to microblaze-git repository. Please test it if you
can.
Best regards,
Michal Simek
+/*
+ * For FPGA configuration via SystemACE is reset unacceptable
+ * CFGDONE bit in STATUSREG is not set to 1.
+ */
+#ifndef SYSTEMACE_CONFIG_FPGA
/* Reset the configruation controller */
val = ace_readw(0x18);
val |= 0x0080;
ace_writew(val, 0x18);
+#endif
retry = trans * 16;
while (retry > 0) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] SystemACE
2007-04-21 19:28 [U-Boot-Users] SystemACE Michal Simek
@ 2007-04-21 20:03 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2007-04-21 20:03 UTC (permalink / raw)
To: u-boot
On 4/21/07, Michal Simek <monstr@seznam.cz> wrote:
> Hi,
> I have debugged systemace driver and ported it on Microblaze. I use
> SystemACE for loading bitstream to FPGA. But if the SystemACE initializes
> FPGA this part of code sets to zero CFGDONE bit in STATUSREG. And then
> release_cf_lock function resets SystemACE.
> I add this part of code to microblaze-git repository. Please test it if you
> can.
>
> Best regards,
> Michal Simek
Cool, thanks Michal. I'll try it on my ml403 ppc design in the next
couple of days and provide feedback. I've also got a handful of
systemace patches pending in my tree, so I'll try to get those cleaned
up and out for you to take a look at.
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-21 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-21 19:28 [U-Boot-Users] SystemACE Michal Simek
2007-04-21 20:03 ` Grant Likely
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.