<div dir="ltr">Hi Martin,<div><br></div><div>You were right. Adding a line break fixed it. Who would have thought? :-) </div><div><br></div><div>Great. We can proceed from here. Thank you for bearing with us.</div><div><br>
</div><div>Regards</div><div>Aditya</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 5:00 PM, Martin Stein <span dir="ltr"><<a href="mailto:martin.stein@...1..." target="_blank">martin.stein@...1...</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi Aditya<div class="im"><br>
<br>
On 29.01.2014 06:36, Aditya Kousik wrote:<br>
</div></div>
<blockquote type="cite">
<div dir="ltr">Hello all,
<div><br>
</div><div><div class="h5">
<div>Genode base-hw kernel runs successfully on i.MX6. Stefan:
we were looking at the wrong UART port (1 instead of 2) which
led us on a wild goose chase. And we set the GPIO pins
directly by setting IOMUX to GPIO mode: we lit a LED bulb
successfully. The driver, as you mentioned is quite complex. </div>
<div><br>
</div>
<div>We're getting the following message for test-printf ::</div>
<div><br>
</div>
<div>
<div>Starting kernel ...</div>
<div><br>
</div>
<div>int main(): --- create local services ---</div>
<div>int main(): --- start init ---</div>
<div>int main(): transferred 1020 MB to init</div>
<div>int main(): --- init created, waiting for exit condition
---</div>
<div>[init] Could not open file "<a href="http://ld.lib.so" target="_blank">ld.lib.so</a>"</div>
<div>[init -> test-printf] -1 = -1 = -1</div>
<div>[init] virtual void Genode::Child_policy::exit(int):
child exited with exit value 0</div>
<div><br>
</div>
<div>We ran nested_init to verify again and got the
following::</div>
</div>
<div><br>
</div>
<div>
<div>int main(): --- create local services ---</div>
<div>int main(): --- start init ---</div>
<div>int main(): transferred 1021 MB to init</div>
<div>int main(): --- init created, waiting for exit condition
---</div>
<div>[init] Could not open file "<a href="http://ld.lib.so" target="_blank">ld.lib.so</a>"</div>
<div>[init] parent provides</div>
<div>[init] service "ROM"</div>
<div>[init] service "RAM"</div>
<div>[init] service "CAP"</div>
<div>[init] service "PD"</div>
<div>[init] service "RM"</div>
<div>[init] service "CPU"</div>
<div>[init] service "LOG"</div>
<div>[init] service "SIGNAL"</div>
<div>[init] child "init"</div>
<div>[init] RAM quota: 10223616</div>
<div>[init] ELF binary: init</div>
<div>[init] priority: 0</div>
<div>[init -> init] Could not open file "<a href="http://ld.lib.so" target="_blank">ld.lib.so</a>"</div>
<div>[init -> init] parent provides</div>
<div>[init -> init] service "ROM"</div>
<div>[init -> init] service "RAM"</div>
<div>[init -> init] service "CAP"</div>
<div>[init -> init] service "PD"</div>
<div>[init -> init] service "RM"</div>
<div>[init -> init] service "CPU"</div>
<div>[init -> init] service "LOG"</div>
<div>[init -> init] service "SIGNAL"</div>
<div>[init -> init] child "init"</div>
<div>[init -> init] RAM quota: 4980736</div>
<div>[init -> init] ELF binary: init</div>
<div>[init -> init] priority: 0</div>
<div>[init -> init -> init] Could not open file "<a href="http://ld.lib.so" target="_blank">ld.lib.so</a>"</div>
<div>[init -> init -> init] parent provides</div>
<div>[init -> init -> init] service "ROM"</div>
<div>[init -> init -> init] service "RAM"</div>
<div>[init -> init -> init] service "CAP"</div>
<div>[init -> init -> init] service "PD"</div>
<div>[init -> init -> init] service "RM"</div>
<div>[init -> init -> init] service "CPU"</div>
<div>[init -> init -> init] service "LOG"</div>
<div>[init -> init -> init] service "SIGNAL"</div>
<div>[init -> init -> init] No children to start</div>
<div><br>
</div>
<div>One, Are these satisfactory messages? (Are the test
scripts running as they should) Two, Why does test-printf
not work when I try to print Genode::printf("Hello World!");
and consequently set run_genode_until "Hello World!" 10 (or
{Hello World!} 10). [init -> test-printf] does not get
initialized.</div>
<div><br>
</div>
<div>Regards</div>
<div>Aditya.</div>
</div>
</div></div></div>
</blockquote>
<br>
The output of your run/printf and run/nested_init looks fine. I
assume you're getting no output with Genode::printf("Hello World!");
because Genode buffers print jobs until a line-break comes in, to
save RPCs. Could please try Genode::printf("Hello World!\n"); ?<br>
<br>
Best regards,<br>
Martin<br>
<br>
</div>
<br>------------------------------------------------------------------------------<br>
WatchGuard Dimension instantly turns raw network data into actionable<br>
security intelligence. It gives you real-time visual feedback on key<br>
security issues and trends. Skip the complicated setup - simply import<br>
a virtual appliance and go from zero to informed in seconds.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>
Genode-main mailing list<br>
<a href="mailto:Genode-main@lists.sourceforge.net">Genode-main@...12...ceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/genode-main" target="_blank">https://lists.sourceforge.net/lists/listinfo/genode-main</a><br>
<br></blockquote></div><br></div>