Newbie and linux on virtex-II ppc

Grant Likely grant.likely at secretlab.ca
Tue Aug 28 23:55:21 EST 2007


On 8/28/07, schardt <g.schardt at fz-juelich.de> wrote:
> Grant Likely wrote:
> > On 8/28/07, schardt <g.schardt at fz-juelich.de> wrote:
> >
> >> Grant Likely wrote:
> >>
> >>> You've got 2 choices:
> >>> 1. use the new sysace driver; it's already in mainline.  The new
> >>> driver is faster, but it doesn't handle hotswap of the CF card (yet)
> >>>
> >>>
> >> But where in menuconfig could i find the sysace driver ? i'm blind, i
> >> think :)
> >>
> >
> > Which version of kernel are you using?  The new sysace driver was
> > merged into 2.6.22
> >
> >
> linux-2.6.22.5

Should be under drivers->block devices then.

> >>> 2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <grant.likely at secretlab.ca>
> >>> it merged:  http://git.secretlab.ca
> >>>
> >>>
> >>>
> >> i made an EDK update and now i have the linux_2_2 os in the software
> >> options. the bsp with all drivers is generated.
> >> and now ?
> >>  - copy to kernel tree
> >>  - use the xmake  to build the kernel, or make ?
> >>
> > Grant Likely <grant.likely at secretlab.ca>
> > Don't use EDK to build you're kernel.  It's too fragile and you need
> > to use the *exact* version of kernel that EDK expects.  You're better
> > off to manually copy the xparams file from the generated BSP.  (ie.
> > Don't let EDK know where your real kernel source tree is)
> >
> wuh ? i dont need all the driver from the generatet bsp files ? what
> about the gpios and leds  ?

Most drivers are already in my tree; any that are missing you can copy
over manually.

> i compile the kernel with a self made cross toolchain, not with the edk.
> until now i copied the bsp files into the kernel tree (modfied some
> defines) und compile with "make zImage". But know with the linux_2_6
> option there is some more stuff in the bsp directory and i don't know
> what to do with :)
>
> >
> >> and why is there no dokumentation :)
> >
> > Care to write some?
> >
> huh, not really :)
> im just a little newbie

best way to learn.  :-)

g.
-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195


More information about the Linuxppc-embedded mailing list