Xilinx FX60
After achieving complete success with my Linux kernel on the ML403, I've now started to build a kernel for my real target board with a Virtex4-FX60 (dual PPC cores)
Has anyone built a kernel for a dual core PPC Virtex? I have found very little docs on how to architect software for the dual-core PPC's. Will SMP Linux work on this platform? What would the bus setup be?
My kernel is partially booting, some of the time... I'm mystified by the situation. One time, I get all the happy boot messages through the UARTLite port, then the next reboot it stops at "Now booting the kernel" I'm only getting about 10% successful boots......
My EDK setup is as follows; I've disconnected the second PPC from the PLB to have a single PPC system, 32MB DDR on PLB, TEMAC on PLB, UARTLite on OPB.
We've been using Virtex 2 PRO with dual cores. We found it necessary to very tightly constrain clocks and resets. Also, constrain the reset block to adjacent to the ports on the PPC.
Another lightly documented feature is that the core clock must be an integer multiple of the PLB clock, say 300MHz/100MHz.
Robert Wood
GEFanuc Sensor Processing
5430 Canotek Road
Ottawa, Ontario
Canada K1J 9G2
613-749-9241 x270
=20
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Robert Woodworth
Sent: Wednesday, September 05, 2007 2:42 PM
To: [email protected]
Subject: Xilinx FX60
After achieving complete success with my Linux kernel on the ML403, I've now started to build a kernel for my real target board with a Virtex4-FX60 (dual PPC cores)
Has anyone built a kernel for a dual core PPC Virtex? I have found very little docs on how to architect software for the dual-core PPC's. =20 Will SMP Linux work on this platform? What would the bus setup be?
My kernel is partially booting, some of the time... I'm mystified by the situation. One time, I get all the happy boot messages through the UARTLite port, then the next reboot it stops at "Now booting the kernel" I'm only getting about 10% successful boots......
My EDK setup is as follows; I've disconnected the second PPC from the PLB to have a single PPC system, 32MB DDR on PLB, TEMAC on PLB, UARTLite on OPB.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Quoted 3 lines · GE Fanuc)
We've been using Virtex 2 PRO with dual cores. We found it necessary to very tightly constrain clocks and resets. Also, constrain the reset block to adjacent to the ports on the PPC.
What constraints did you tighten?? EDK or ISE?
Quoted 43 lines
Another lightly documented feature is that the core clock must be an integer multiple of the PLB clock, say 300MHz/100MHz.
Robert Wood
GEFanuc Sensor Processing
5430 Canotek Road
Ottawa, Ontario
Canada K1J 9G2
613-749-9241 x270-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Robert Woodworth
Sent: Wednesday, September 05, 2007 2:42 PM
To: [email protected]
Subject: Xilinx FX60After achieving complete success with my Linux kernel on the ML403, I've now started to build a kernel for my real target board with a Virtex4-FX60 (dual PPC cores)
Has anyone built a kernel for a dual core PPC Virtex? I have found very little docs on how to architect software for the dual-core PPC's. Will SMP Linux work on this platform? What would the bus setup be?
My kernel is partially booting, some of the time... I'm mystified by the situation. One time, I get all the happy boot messages through the UARTLite port, then the next reboot it stops at "Now booting the kernel" I'm only getting about 10% successful boots......
My EDK setup is as follows; I've disconnected the second PPC from the PLB to have a single PPC system, 32MB DDR on PLB, TEMAC on PLB, UARTLite on OPB.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
In the UCF we tightened up the spec for the core clock by around 15% rather than 10%.
The resets were given a max delay constraint and physical location.
Some examples taken from our UCF file.
NET EC_FPGA_RESET_N TIG;
NET "RSTC405RESETSYS" TPTHRU =3D RST_GRP;
NET "RSTC405RESETCHIP" TPTHRU =3D RST_GRP;
NET "RSTC405RESETCORE" TPTHRU =3D RST_GRP;
NET "C405RSTSYSRESETREQ" TPTHRU =3D RST_GRP;
NET "C405RSTCHIPRESETREQ" TPTHRU =3D RST_GRP;
NET "C405RSTCORERESETREQ" TPTHRU =3D RST_GRP; TIMESPEC "TS_RST1" =3D FROM CPUS THRU RST_GRP TO FFS TIG;=20
# Constrain Placement on PPC:
INST "ppc405_0/ppc405_0/PPC405_i" LOC =3D PPC405_X1Y0;
# Constrain the Xilinx IP reset block close to the PPC:
INST reset_block* AREA_GROUP=3D"RESET_BLOCK_GRP"; AREA_GROUP "RESET_BLOCK_GRP" RANGE=3DSLICE_X94Y81:SLICE_X109Y72;
INST "reset_block/reset_block/Rstc405resetcore" TNM =3D "reset_block/reset_block/Rstc405resetcore";
INST "reset_block/reset_block/Rstc405resetsys" TNM =3D "reset_block/reset_block/Rstc405resetsys";
INST "reset_block/reset_block/Rstc405resetchip" TNM =3D "reset_block/reset_block/Rstc405resetchip";
INST "ppc405_0/ppc405_0/PPC405_i" TNM =3D "ppc405_0/ppc405_0/PPC405_i"; TIMESPEC "TS_reset_core" =3D FROM "reset_block/reset_block/Rstc405resetcore" TO "ppc405_0/ppc405_0/PPC405_i" 2.0 ns;
TIMESPEC "TS_reset_sys" =3D FROM "reset_block/reset_block/Rstc405resetsys" TO "ppc405_0/ppc405_0/PPC405_i" 2.0 ns;
TIMESPEC "TS_reset_chip" =3D FROM "reset_block/reset_block/Rstc405resetchip" TO "ppc405_0/ppc405_0/PPC405_i" 2.0 ns;
Robert Wood
GEFanuc Sensor Processing
5430 Canotek Road
Ottawa, Ontario
Canada K1J 9G2
613-749-9241 x270
=20
-----Original Message-----
From: Robert Woodworth [mailto:[email protected]]=20
Sent: Wednesday, September 05, 2007 3:31 PM
To: Wood, Robert (GE Indust, GE Fanuc)
Cc: [email protected]
Subject: RE: Xilinx FX60
Quoted 1 line · GE Fanuc)
We've been using Virtex 2 PRO with dual cores. We found it necessary
to
Quoted 2 lines
very tightly constrain clocks and resets. Also, constrain the reset block to adjacent to the ports on the PPC.
What constraints did you tighten?? EDK or ISE?
Quoted 12 lines
Another lightly documented feature is that the core clock must be an integer multiple of the PLB clock, say 300MHz/100MHz.
=20
Robert Wood
GEFanuc Sensor Processing
5430 Canotek Road
Ottawa, Ontario
Canada K1J 9G2
613-749-9241 x270
=20
=20
-----Original Message-----
Quoted 8 lines
From: [email protected] [mailto:[email protected]] On Behalf Of Robert Woodworth
Sent: Wednesday, September 05, 2007 2:42 PM
To: [email protected]
Subject: Xilinx FX60
=20
After achieving complete success with my Linux kernel on the ML403,
I've
Quoted 4 lines
now started to build a kernel for my real target board with a Virtex4-FX60 (dual PPC cores)
=20
Has anyone built a kernel for a dual core PPC Virtex? I have found
very
Quoted 6 lines
little docs on how to architect software for the dual-core PPC's. =20 Will SMP Linux work on this platform? What would the bus setup be? =20
=20
=20
My kernel is partially booting, some of the time... I'm mystified by
the
Quoted 2 lines
situation. One time, I get all the happy boot messages through the UARTLite port, then the next reboot it stops at "Now booting the
kernel"
Quoted 5 lines
I'm only getting about 10% successful boots......
=20
=20
My EDK setup is as follows; I've disconnected the second PPC from the PLB to have a single PPC system, 32MB DDR on PLB, TEMAC on PLB,
UARTLite
Quoted 6 lines
on OPB.
=20
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Quoted 7 lines · On Wednesday 05 September 2007 22:42:28 Robert Woodworth wrote:
After achieving complete success with my Linux kernel on the ML403, I've now started to build a kernel for my real target board with a Virtex4-FX60 (dual PPC cores)
Has anyone built a kernel for a dual core PPC Virtex? I have found very little docs on how to architect software for the dual-core PPC's. Will SMP Linux work on this platform? What would the bus setup be?
It won't. There is no hardware cache coherency on Virtex.
Quoted 5 lines · Sergey Temerkhanov
Quoted 4 lines · On Wednesday 05 September 2007 22:42:28 Robert Woodworth wrote:
After achieving complete success with my Linux kernel on the ML403, I've now started to build a kernel for my real target board with a Virtex4-FX60 (dual PPC cores)
Quoted 7 lines
Quoted 3 lines
Has anyone built a kernel for a dual core PPC Virtex? I have found very little docs on how to architect software for the dual-core PPC's. Will SMP Linux work on this platform? What would the bus setup be?
It won't. There is no hardware cache coherency on Virtex.
Is it then possible to run two independent kernels, one on each PPC??
Quoted 7 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Quoted 9 lines · Robert Woodworth
Quoted 7 lines
Quoted 3 lines
Has anyone built a kernel for a dual core PPC Virtex? I have found very little docs on how to architect software for the dual-core PPC's. Will SMP Linux work on this platform? What would the bus setup be?
It won't. There is no hardware cache coherency on Virtex.
Is it then possible to run two independent kernels, one on each PPC??
Absolutely.
Cheers
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 4 lines
Quoted 2 lines
Is it then possible to run two independent kernels, one on each PPC??
Absolutely.
Are you meaning two entirely seperate systems, or two ones which share a common HW such as memory space? Is that possible without any memory confliction?
BR
Ming
_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com
Quoted 8 lines · Ming Liu
Quoted 4 lines
Quoted 2 lines
Is it then possible to run two independent kernels, one on each PPC??
Absolutely.
Are you meaning two entirely seperate systems, or two ones which share a common HW such as memory space? Is that possible without any memory confliction?
You can share physical memory as long as each processor is dedicated to separate regions. However, Linux on power expects memory to be based at 0. Therefore you need to tweak the memory design so that the second processor sees a different area of the ram based at zero.
You can even setup a shared memory region between the two processors, but you that region should be cache-inhibited.
Cheers,
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 1 line · On Thursday 06 September 2007 00:20:28 Robert Woodworth wrote:
Is it then possible to run two independent kernels, one on each PPC??
AMP must work there.
Quoted 5 lines
Quoted 5 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Quoted 2 lines
It won't. There is no hardware cache coherency on Virtex.
Is that possible if we turn off the cache?
BR
Ming
_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com
Quoted 3 lines · On Thursday 06 September 2007 00:40:33 Ming Liu wrote:
Quoted 1 line
It won't. There is no hardware cache coherency on Virtex.
Is that possible if we turn off the cache?
Not in current versions. Implementation of SMP will require implementing functions from struct smp_ops_t (defined in include/asm-ppc/machdep.h) and some additional work. Maybe PIC redesign/modification will be needed. And after all there will be significant performance hit with caches disabled.