Skip to contentSkip to conversation

rpi_2 builds fine with make, fails with buildman

U-Boot Albert ARIBAUD 2 participants 3 messages Feb 24, 2015 – Feb 25, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

Can anyone confirm that on current u-boot/master, rpi_2 build fine with

git clean -xfd; make rpi_2_defconfig; make

but fails with

tools/buildman/buildman rpi_2

with the following error:

Review

Quoted 5 lines
       arm: +   rpi_2              
(quoted diff) +4 -0
+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.
+make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2
+make[1]: *** [arch/arm/cpu/armv7] Error 2
+make: *** [sub-make] Error 2

My gut feeling is that the problem lies with the fact that arch/arm/cpu/armv7/bcm2835/ contains a Makefile which refers to init.o, reset.o, timer.o and mbox.o but the source code for these resides in another directory, arch/arm/cpu/arm1176/bcm2835/.

CC:ing Stephen as directory arch/arm/cpu/armv7/bcm2835/ was introduced by his commit db75356f (committed by Tom, also cc:) and Simon, since the issue is related to buildman.

Amicalement,

Signature · 1 line
Albert.
#1 lore raw
Quoted 23 lines · Albert ARIBAUD

Hello,

Can anyone confirm that on current u-boot/master, rpi_2 build fine with

git clean -xfd; make rpi_2_defconfig; make

but fails with

tools/buildman/buildman rpi_2

with the following error:

Review

Quoted 5 lines
        arm: +   rpi_2
(quoted diff) +4 -0
+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.
+make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2
+make[1]: *** [arch/arm/cpu/armv7] Error 2
+make: *** [sub-make] Error 2

My gut feeling is that the problem lies with the fact that arch/arm/cpu/armv7/bcm2835/ contains a Makefile which refers to init.o, reset.o, timer.o and mbox.o but the source code for these resides in another directory, arch/arm/cpu/arm1176/bcm2835/.

Quoted 3 lines

CC:ing Stephen as directory arch/arm/cpu/armv7/bcm2835/ was introduced by his commit db75356f (committed by Tom, also cc:) and Simon, since the issue is related to buildman.

This problem exists with quite a few boards, including the rpi port before the addition of rpi_2 support. It's a bit intermittent which may be why you didn't notice before.

See the following, and replies:
http://lists.denx.de/pipermail/u-boot/2015-February/205255.html

#2 lore raw

Hello Stephen,

Quoted 28 lines · Stephen Warren
Quoted 23 lines · Albert ARIBAUD

Hello,

Can anyone confirm that on current u-boot/master, rpi_2 build fine with

git clean -xfd; make rpi_2_defconfig; make

but fails with

tools/buildman/buildman rpi_2

with the following error:

Review

Quoted 5 lines
        arm: +   rpi_2
(quoted diff) +4 -0
+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.
+make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2
+make[1]: *** [arch/arm/cpu/armv7] Error 2
+make: *** [sub-make] Error 2

My gut feeling is that the problem lies with the fact that arch/arm/cpu/armv7/bcm2835/ contains a Makefile which refers to init.o, reset.o, timer.o and mbox.o but the source code for these resides in another directory, arch/arm/cpu/arm1176/bcm2835/.

Quoted 3 lines

CC:ing Stephen as directory arch/arm/cpu/armv7/bcm2835/ was introduced by his commit db75356f (committed by Tom, also cc:) and Simon, since the issue is related to buildman.

Quoted 6 lines

This problem exists with quite a few boards, including the rpi port before the addition of rpi_2 support. It's a bit intermittent which may be why you didn't notice before.

See the following, and replies:
http://lists.denx.de/pipermail/u-boot/2015-February/205255.html

Thanks. Indeed it hadn't bitten me so far.

Amicalement,

Signature · 1 line
Albert.