problems with 'XPAR_PLB_CLOCK_FREQ_HZ'.

Grant Likely grant.likely at secretlab.ca
Fri Apr 18 13:14:27 EST 2008


On Thu, Apr 17, 2008 at 12:15 PM, rodolfo <rodolfo at lesc.ufc.br> wrote:
> Hi, everybody,
>
>  my xparameters_ml300.h does not include 'XPAR_PLB_CLOCK_FREQ_HZ'.
>
>
>   CC      arch/ppc/boot/simple/embed_config.o
>  arch/ppc/boot/simple/embed_config.c: In function 'embed_config':
>  arch/ppc/boot/simple/embed_config.c:781: error: 'XPAR_PLB_CLOCK_FREQ_HZ'
>  undeclared (first use in this function)
>  arch/ppc/boot/simple/embed_config.c:781: error: (Each undeclared identifier
>  is reported only once
>  arch/ppc/boot/simple/embed_config.c:781: error: for each function it
>  appears in.)
>  make[2]: ** [arch/ppc/boot/simple/embed_config.o] Erro 1
>  make[1]: ** [simple] Erro 2
>  make: ** [zImage] Erro 2
>

You probably didn't select the "linux_26" OS target in software
platform settings before generating your xparameters_ml40x.h file.

>
>  Can I replace 'XPAR_PLB_CLOCK_FREQ_HZ' for XPAR_CORE_CLOCK_FREQ_HZ/3
>  knowing that my MHS file description is:

No; that one is different.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Linuxppc-embedded mailing list