Hello Mark,
it seems the tool chain is not the problem here. Another guess would
be that your TCL interpreter or shell chokes on the respective exec
statement in tool/run/image/uboot
set entrypoint [exec [cross_dev_prefix]readelf -h $elf_img | \
grep "Entry point address: " | \
sed -e "s/.*Entry point address: *//"]
Please try to apply the attached patch to find out if readelf could be
executed individually.
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
tool/run/image/uboot | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tool/run/image/uboot b/tool/run/image/uboot
index bffe443..b919693 100644
--- a/tool/run/image/uboot
+++ b/tool/run/image/uboot
@@ -17,6 +17,9 @@ proc image_uboot_use_no_gzip { } { return [get_cmd_switch --image-uboot-no-gzip]
# \param elf_img ELF binary to build uImage from
#
proc run_image {elf_img} {
+ puts stderr "[exec [cross_dev_prefix]readelf -h $elf_img]"
+ puts stderr "worked"
+
# parse ELF entrypoint and load address
set entrypoint [exec [cross_dev_prefix]readelf -h $elf_img | \
grep "Entry point address: " | \
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main