<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Peter,<br>
<br>
First of all, you have a load address of 0x70010000 plus 7860047
Bytes image size at a max so your loaded image might pollute
memory up to 0x7097ef4f. Hence, an ext2load address of 0x70200000
might be to low. To play it safe, you may change it to something
like 0x71000000.<br>
<br>
Next, by replacing the warning PWRN("unknown exception"); in
base-hw/src/core/kernel/thread.cc by:<br>
<br>
PWRN("undefined instruction, thread %u (%s) in prog %u (%s), IP
%lx SP %lx", id(), label(), pd_id(), pd_label(), ip, sp);<br>
<br>
You see which thread triggers the problem at which instruction
pointer and wether its stack pointer is valid. To receive more
verbose information about all threads, you can use
_print_activity_table(); instead. It would be useful if you post
the results.<br>
<br>
Although I don't assume that this is the problem on your QSB board
you may check wether the board uses both RAM banks - 1 GiB at
0x70000000 and 1 GiB at 0xb0000000 - or only the former one.<br>
<br>
Cheers,<br>
Martin<br>
<br>
On 21.02.2015 09:12, Peter Teoh wrote:<br>
</div>
<blockquote
cite="mid:CAHnt0GUhZ_zBx4zFE-Hx1oZpdwwy-OS=FT5YgV65QhjvSD2BwA@...3..."
type="cite">
<div dir="ltr">Thanks to Martin Stein, I got imx53 to boot the
uImage (via uboot):<br>
<div><br>
=> bootm 0x70200000
<div> <br>
## Booting kernel from Legacy Image at 70200000
... <br>
Image
Name:
<br>
Image Type: ARM Linux Kernel Image (gzip
compressed) <br>
Data Size: 7860047 Bytes = 7.5
MiB <br>
Load Address:
70010000
<br>
Entry Point:
70010000
<br>
Verifying Checksum ...
OK <br>
Uncompressing Kernel Image ...
OK <br>
<br>
Starting kernel
...
<br>
<br>
kernel
initialized
<br>
Genode
14.11
<br>
int main(): --- create local services
--- <br>
int main(): --- start init
--- <br>
int main(): transferred 246 MB to
init <br>
int main(): --- init created, waiting for exit condition
--- <br>
[init] Could not open file "<a moz-do-not-send="true"
href="http://ld.lib.so" target="_blank">ld.lib.so</a>"
<br>
[init] parent
provides
<br>
[init] service
"ROM"
<br>
[init] service
"RAM"
<br>
[init] service
"IRQ"
<br>
[init] service
"IO_MEM"
<br>
[init] service
"CAP"
<br>
[init] service
"PD"
<br>
[init] service
"RM"
<br>
[init] service
"CPU"
<br>
[init] service
"LOG"
<br>
[init] service
"SIGNAL"
<br>
[init] service
"VM"
<br>
[init] child
"tz_vmm"
<br>
[init] RAM quota:
3932160 <br>
[init] ELF binary:
tz_vmm <br>
[init] priority:
0 <br>
[init -> tz_vmm] Start virtual machine
... <br>
undefined instruction <br>
<br>
</div>
<div>Can someone help me? Where did it stopped?<br>
<br>
</div>
<div>I need to at least stop at some hello world demo that
does nothing than to print to dmesg (or uart) some hello
world message.<br>
</div>
<div><br>
</div>
Or at least further than the following shows:<br clear="all">
<div>
<div><br>
<a moz-do-not-send="true"
href="http://sourceforge.net/p/genode/discussion/825067/thread/2177b474/"
target="_blank">http://sourceforge.net/p/genode/discussion/825067/thread/2177b474/</a><br>
<br>
</div>
Sorry .... I am still very new to this....:-(.<br>
<br>
</div>
<div>-- <br>
<div>Regards,<br>
Peter Teoh</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
<a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
genode-main mailing list
<a class="moz-txt-link-abbreviated" href="mailto:genode-main@...12...ceforge.net">genode-main@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/genode-main">https://lists.sourceforge.net/lists/listinfo/genode-main</a>
</pre>
</blockquote>
<br>
</body>
</html>