[U-Boot] [PATCH V3 3/3] rpi: add support for Raspberry Pi 2 model B

Simon Glass sjg at chromium.org
Tue Feb 17 05:15:05 CET 2015


Hi Stephen,

On 16 February 2015 at 21:09, Stephen Warren <swarren at wwwdotorg.org> wrote:
>
> On 02/16/2015 06:03 PM, Tom Rini wrote:
> > On Mon, Feb 16, 2015 at 12:16:15PM -0700, Stephen Warren wrote:
> >
> >> USB doesn't seem to work yet; the controller detects the on-board
> >> Hub/ Ethernet device but can't read the descriptors from it. I
> >> haven't investigated yet.
> >>
> >> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org> --- v3:
> >> Rebased on top of u-boot-dm merge. v2: Implement new board_rev
> >> decoding scheme, to avoid hard-coding the board revision onthe
> >> RPi 2.
> >
> > +(rpi_2) make[3]: *** No rule to make target
> > `arch/arm/cpu/armv7/bcm2835/../../arm1176/bcm2835//init.o', needed
> > by `arch/arm/cpu/armv7/bcm2835/built-in.o'.  Stop. +(rpi_2)
> > make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2 +(rpi_2) make[1]:
> > *** [arch/arm/cpu/armv7] Error 2
> >
> > When I try and build it with buildman.  Something get left out
> > somewhere?  Thanks!
>
> It works fine for me using make:
>
> export CROSS_COMPILE=arm-linux-gnueabi-
> make ARCH=arm rpi_2_defconfig && make ARCH=arm -j8 -s
>
> git status doesn't think I forgot to check anything in. The build
> works after git clean -f -d -x.
>
> I can't remember how to run buildman, and the help text doesn't really
> clue me in. I guess I'll go wade through the README.
>

Well worth it :-)

Something like this might work for you:

buildman --fetch-arch arm
buildman rpi_2

or if you want to build the whole branch:

buildman -b <local_branch> rpi_2

Regards,
Simon


More information about the U-Boot mailing list