<div>Now I see all the changes for Cortex A9 boards since the 15.11 release, the last one I cloned. The build works ok, now I need to understand the gory details.<br/>
<br/>
Bob Stewart<br/>
<br/>
<font color="#888888"><font color="#888888">Sent from my android device.</font></font><br/><br/>-----Original Message-----<br/>From: Bob Stewart <robjsstewart@...196...><br/>To: genode-main@lists.sourceforge.net<br/>Sent: Mon, 30 May 2016 1:34 PM<br/>Subject: Re: 16.05 printf test does not build for Cortex A9.<br/><br/></div>Also, it appears that there is no cpu.h any more in the
<br/>
core/include/spec/cortex-a9 directory as the compile of the new region
<br/>
map fails as follows:
<br/>
<br/>
bob@...297...:/Work/Genode/Builds/<a href="tel:1605437">16.05/437</a>x$ make run/printf
<br/>
including /Work/Genode/genode-16.05/tool/run/boot_dir/hw
<br/>
including /Work/Genode/genode-16.05/tool/run/image/uboot
<br/>
including /Work/Genode/genode-16.05/repos/base/run/<a href="http://printf.run">printf.run</a>
<br/>
building targets: core init test/printf
<br/>
spawn make core init test/printf
<br/>
make[1]: Entering directory `/Work/Genode/Builds/<a href="tel:1605437">16.05/437</a>x'
<br/>
checking library dependencies...
<br/>
Library platform
<br/>
Library cxx
<br/>
Library base-common
<br/>
Library syscall
<br/>
Library startup
<br/>
Library base
<br/>
Library config
<br/>
Program init/init
<br/>
Program test/printf/test-printf
<br/>
Library core-perf_counter
<br/>
Library core
<br/>
COMPILE core_region_map.o
<br/>
In file included from
<br/>
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/spec/cortex_a9/translation_table.h:19:0,
<br/>
from
<br/>
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/translation_table_allocator_tpl.h:20,
<br/>
from
<br/>
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/platform.h:29,
<br/>
from
<br/>
/Work/Genode/genode-16.05/repos/base-hw/src/core/core_region_<a href="http://map.cc:18">map.cc:18</a>:
<br/>
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/spec/arm/short_translation_table.h:27:17:
<br/>
fatal error: cpu.h: No such file or directory
<br/>
#include <cpu.h>
<br/>
^
<br/>
compilation terminated.
<br/>
make[3]: *** [core_region_map.o] Error 1
<br/>
make[2]: *** [<a href="http://core.lib">core.lib</a>] Error 2
<br/>
make[1]: *** [gen_deps_and_build_targets] Error 2
<br/>
make[1]: Leaving directory `/Work/Genode/Builds/<a href="tel:1605437">16.05/437</a>x'
<br/>
Error: Genode build failed
<br/>
make: *** [run/printf] Error 252
<br/>
<br/>
What have I missed?
<br/>
<br/>
Bob Stewart
<br/>
<br/>
<br/>
On 05/30/2016 12:45 PM, Bob Stewart wrote:
<br/>
> Hi,
<br/>
>
<br/>
> It appears that the 16.05 build uses a new environment parameter
<br/>
> BASE_HW_DIR, which cause a build on a Cortex A9 based platform to fail
<br/>
> in lib/mk (that is, base-hw/lib/mk/spec/cortex_a9.h)
<br/>
>
<br/>
> bob@...297...:/Work/Genode/Builds/<a href="tel:1605437">16.05/437</a>x$ make run/printf
<br/>
> including /Work/Genode/genode-16.05/tool/run/boot_dir/hw
<br/>
> including /Work/Genode/genode-16.05/tool/run/image/uboot
<br/>
> including /Work/Genode/genode-16.05/repos/base/run/<a href="http://printf.run">printf.run</a>
<br/>
> building targets: core init test/printf
<br/>
> spawn make core init test/printf
<br/>
> make[1]: Entering directory `/Work/Genode/Builds/<a href="tel:1605437">16.05/437</a>x'
<br/>
> checking library dependencies...
<br/>
> /Work/Genode/genode-16.05/repos/base-hw/lib/mk/spec/cortex_a9/<a href="http://core.inc:25">core.inc:25</a>:
<br/>
> /lib/mk/spec/smp/<a href="http://core.inc">core.inc</a>: No such file or directory
<br/>
> /Work/Genode/genode-16.05/repos/base-hw/lib/mk/spec/cortex_a9/<a href="http://core.inc:26">core.inc:26</a>:
<br/>
> /lib/mk/spec/arm_v7/<a href="http://core.inc">core.inc</a>: No such file or directory
<br/>
> make[3]: *** No rule to make target `/lib/mk/spec/arm_v7/<a href="http://core.inc">core.inc</a>'. Stop.
<br/>
> make[2]: *** [gen_prg_rule] Error 2
<br/>
> make[1]: *** [traverse_dependencies] Error 1
<br/>
> make[1]: Leaving directory `/Work/Genode/Builds/<a href="tel:1605437">16.05/437</a>x'
<br/>
> Error: Genode build failed
<br/>
> make: *** [run/printf] Error 252
<br/>
>
<br/>
> This can be fixed by including in cortex_a9.h the line;
<br/>
>
<br/>
> BASE_HW_DIR := $(REP_DIR)
<br/>
>
<br/>
> But why is it necessary to have this new variable?
<br/>
>
<br/>
>
<br/>
> Bob Stewart
<br/>
<br/>
<br/>
------------------------------------------------------------------------------
<br/>
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
<br/>
patterns at an interface-level. Reveals which users, apps, and protocols are
<br/>
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
<br/>
J-Flow, sFlow and other flows. Make informed decisions using capacity
<br/>
planning reports. <a href="https://ad.doubleclick.net/ddm/clk/305295220;132659582;e">https://ad.doubleclick.net/ddm/clk/305295220;132659582;e</a>
<br/>
_______________________________________________
<br/>
genode-main mailing list
<br/>
<a href="mailto:genode-main@lists.sourceforge.net">genode-main@lists.sourceforge.net</a>
<br/>
<a href="https://lists.sourceforge.net/lists/listinfo/genode-main">https://lists.sourceforge.net/lists/listinfo/genode-main</a>
<br/>