16.05 printf test does not build for Cortex A9.

robjsstewart at ...196... robjsstewart at ...196...
Tue May 31 00:20:57 CEST 2016


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.

Bob Stewart

Sent from my android device.

-----Original Message-----
From: Bob Stewart <robjsstewart at ...196...>
To: genode-main at lists.sourceforge.net
Sent: Mon, 30 May 2016 1:34 PM
Subject: Re: 16.05 printf test does not build for Cortex A9.

Also, it appears that there is no cpu.h any more in the 
core/include/spec/cortex-a9 directory as the compile of the new region 
map fails as follows:

bob at ...297...:/Work/Genode/Builds/16.05/437x$ make run/printf
including /Work/Genode/genode-16.05/tool/run/boot_dir/hw
including /Work/Genode/genode-16.05/tool/run/image/uboot
including /Work/Genode/genode-16.05/repos/base/run/printf.run
building targets: core init test/printf
spawn make core init test/printf
make[1]: Entering directory `/Work/Genode/Builds/16.05/437x'
checking library dependencies...
   Library platform
   Library cxx
   Library base-common
   Library syscall
   Library startup
   Library base
   Library config
   Program init/init
   Program test/printf/test-printf
   Library core-perf_counter
   Library core
     COMPILE  core_region_map.o
In file included from 
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/spec/cortex_a9/translation_table.h:19:0,
                  from 
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/translation_table_allocator_tpl.h:20,
                  from 
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/platform.h:29,
                  from 
/Work/Genode/genode-16.05/repos/base-hw/src/core/core_region_map.cc:18:
/Work/Genode/genode-16.05/repos/base-hw/src/core/include/spec/arm/short_translation_table.h:27:17: 
fatal error: cpu.h: No such file or directory
  #include <cpu.h>
                  ^
compilation terminated.
make[3]: *** [core_region_map.o] Error 1
make[2]: *** [core.lib] Error 2
make[1]: *** [gen_deps_and_build_targets] Error 2
make[1]: Leaving directory `/Work/Genode/Builds/16.05/437x'
Error: Genode build failed
make: *** [run/printf] Error 252

What have I missed?

Bob Stewart


On 05/30/2016 12:45 PM, Bob Stewart wrote:
> Hi,
>
>     It appears that the 16.05 build uses a new environment parameter 
> BASE_HW_DIR, which cause a build on a Cortex A9 based platform to fail 
> in lib/mk (that is, base-hw/lib/mk/spec/cortex_a9.h)
>
> bob at ...297...:/Work/Genode/Builds/16.05/437x$ make run/printf
> including /Work/Genode/genode-16.05/tool/run/boot_dir/hw
> including /Work/Genode/genode-16.05/tool/run/image/uboot
> including /Work/Genode/genode-16.05/repos/base/run/printf.run
> building targets: core init test/printf
> spawn make core init test/printf
> make[1]: Entering directory `/Work/Genode/Builds/16.05/437x'
> checking library dependencies...
> /Work/Genode/genode-16.05/repos/base-hw/lib/mk/spec/cortex_a9/core.inc:25: 
> /lib/mk/spec/smp/core.inc: No such file or directory
> /Work/Genode/genode-16.05/repos/base-hw/lib/mk/spec/cortex_a9/core.inc:26: 
> /lib/mk/spec/arm_v7/core.inc: No such file or directory
> make[3]: *** No rule to make target `/lib/mk/spec/arm_v7/core.inc'. Stop.
> make[2]: *** [gen_prg_rule] Error 2
> make[1]: *** [traverse_dependencies] Error 1
> make[1]: Leaving directory `/Work/Genode/Builds/16.05/437x'
> Error: Genode build failed
> make: *** [run/printf] Error 252
>
> This can be fixed by including in cortex_a9.h the line;
>
> BASE_HW_DIR := $(REP_DIR)
>
> But why is it necessary to have this new variable?
>
>
> Bob Stewart


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
genode-main mailing list
genode-main at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20160530/855394b3/attachment.html>


More information about the users mailing list