I started from scratch and am trying to build the cuImage. I get this
compiler error.

arch/powerpc/boot/cuboot-pq2.c:14:20: error: bitops.h: No such file or directory
arch/powerpc/boot/cuboot-pq2.c: In function 'fixup_pci':
arch/powerpc/boot/cuboot-pq2.c:205: warning: implicit declaration of
function '__ilog2_u32'

I looks as though cuboot-pq2.c expects bitops.h to be in the same
directory, but it has moved to
linux/include/asm-powerpc/bitops.h

Did you run into this problem?

JB

On Mon, Mar 24, 2008 at 10:52 AM, Scott Wood <[EMAIL PROTECTED]> wrote:
> James Black wrote:
>  > Thanks much for the help Scott. Do you feel that the dts is correct
>  > now and probably not the culprit? Do you have 2.6.24.2 running on
>  > other boards?
>
>  I just booted 2.6.24.2 on pq2fads (using cuImage, since I don't have a
>  devtree-aware u-boot on this board).
>
>
>  >       [EMAIL PROTECTED] {
>  >               compatible = "fsl,mpc8250-localbus",
>  >                    "fsl,pq2-localbus";
>  >
>  >               #address-cells = <2>;
>  >               #size-cells = <1>;
>  >               reg = <f0010100 60>;
>  >               ranges = <0 0 fe000000 00200000>;
>  >
>  >               [EMAIL PROTECTED],0 {
>  >                       compatible = "cfi-flash";
>  >                       reg = <0 fe000000  00200000>;
>  >                       bank-width = <2>;
>  >                       device-width = <1>;
>  >               };
>
>  This is wrong; the flash will not translate since you didn't provide a
>  window at the address reg is at.
>
>  The first cell of the reg should be the chipselect, and the second cell
>  the offset.
>
>
>  >                       [EMAIL PROTECTED] {
>  >                               compatible = "fsl,mpc8250-brg",
>  >                                            "fsl,cpm2-brg",
>  >                                            "fsl,cpm-brg";
>  >                               reg = <119f0 10>;
>  >                       };
>
>  BRG should be <119f0 10 115f0 10>.
>
>  -Scott
>
>
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to