Hello there,

Thanks a lot! We removed the entire tool-chain and reinstalled the precompiled one from the sourceforge project. The problem I think was that even after installing pre-compiled ones, we ran ./tool/tool_chain arm which might have altered certain files in /usr/local/genode-gcc, thus causing all the problems. We ran make VERBOSE= core with no error and make run/demo was successful, if only for an instant. QEMU failed.

Here's the log:

boot image: var/run/demo/image.elf

spawn qemu-system-arm -m 256 -serial mon:stdio -kernel var/run/demo/image.elf
: spawn id exp6 not open
    while executing
"expect {
        -i $running_spawn_id -re $wait_for_re { }
        eof     { puts stderr "Error: Spawned process died unexpectedly";   exit -3 }
        timeout { puts ..."
    (procedure "wait_for_output" line 11)
    invoked from within
"wait_for_output $wait_for_re $timeout_value $qemu_spawn_id"
    (procedure "spawn_qemu" line 51)
    invoked from within
"spawn_qemu $wait_for_re $timeout_value"
    (procedure "run_genode_until" line 18)
    invoked from within
"run_genode_until forever"
    (file "/media/work/genode-13.05/os/run/demo.run" line 139)
    invoked from within
"source $include_name"
    ("foreach" body line 3)
    invoked from within
"foreach include_name [get_cmd_arg --include ""] {
    puts "using run script $include_name"
    source $include_name
}"
    (file "/media/work/genode-13.05/tool/run" line 730)
make: *** [run/demo] Error 1

But we're trying to go according to this post https://github.com/genodelabs/genode/commit/ce58a63fb661df42e6bf283891589b11a1f411f2

Try to run it on the hardware straightaway.

Cheers
Aditya.



On Fri, Jul 5, 2013 at 2:11 PM, Christian Helmuth <christian.helmuth@...1...> wrote:
Hello Amit,

On Fri, Jul 05, 2013 at 12:18:51PM +0530, Amit Choudhari wrote:
> verbose_log:
>
>  [01;33m  Program  [0mcore/imx53/core
>     COMPILE  _main.o
> core/usr/local/genode-gcc/bin/genode-arm-g++  -std=gnu++11
> -DCORE_MAIN=_main -Wno-psabi -ffunction-sections -fno-strict-aliasing
> -nostdinc -g -march=armv7-a -O2 -MMD -MP -MT '_main.o _main.d' -Wall  -I.
> -I/media/work/genode-13.05/base-hw/src/core/imx53
> -I/media/work/genode-13.05/base-hw/src/core
> -I/media/work/genode-13.05/base-hw/src/core/include
> -I/media/work/genode-13.05/base-hw/include
> -I/media/work/genode-13.05/base-hw/src/platform
> -I/media/work/genode-13.05/base-hw/src/base
> -I/media/work/genode-13.05/base/src/core/include
> -I/media/work/genode-13.05/base/include
> -I/media/work/genode-13.05/base/src/platform
> -I/media/work/genode-13.05/base-hw/include/platform/imx53
> -I/media/work/genode-13.05/base/include/platform/imx53
> -I/media/work/genode-13.05/os/include/platform/imx53
> -I/media/work/genode-13.05/base-hw/include/arm
> -I/media/work/genode-13.05/base/include/arm
> -I/media/work/genode-13.05/base/include/32bit
> -I/media/work/genode-13.05/base-hw/include
> -I/media/work/genode-13.05/base/include
> -I/media/work/genode-13.05/os/include
> -I/media/work/genode-13.05/demo/include
> -I/usr/local/genode-gcc/bin/../lib/gcc/arm-elf-eabi/4.6.1/include -c
> /media/work/genode-13.05/base/src/platform/_main.cc -o _main.o
> /bin/bash: core/usr/local/genode-gcc/bin/genode-arm-g++: No such file or
> directory
> make[2]: *** [_main.o] Error 127
> make[1]: *** [core.prg] Error 2
> make: *** [gen_deps_and_build_targets] Error 2

It seems you fell into another pit by skipping one whitespace on the
proposed command line for "make". Please try again with

  make VERBOSE="" core

Mind the whitespace between 'VERBOSE=""' and 'core'.

> version_log:
>
> Using built-in specs.
> COLLECT_GCC=/usr/local/genode-gcc/bin/genode-arm-g++
> COLLECT_LTO_WRAPPER=/usr/local/genode-gcc/bin/../libexec/gcc/arm-elf-eabi/4.6.1/lto-wrapper
> genode-arm-g++ (GCC) 4.6.1
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The current Genode tool chain is

  COLLECT_GCC=/usr/local/genode-gcc/bin/genode-arm-g++
  COLLECT_LTO_WRAPPER=/usr/local/genode-gcc-4.7.2-64/bin/../libexec/gcc/arm-elf-eabi/4.7.2/lto-wrapper
  genode-arm-g++ (GCC) 4.7.2
  Copyright (C) 2012 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

So it seems you installed an old version in /usr/local. Please
move/remove /usr/local/genode-gcc and install the current tool chain.

Greets
--
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Genode-main mailing list
Genode-main@...12...ceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main