<div dir="ltr"><div>Thank you Stefan,<br><br></div><div>I am able to silent this error message and got the understanding of config file. <br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div>Regards<br><br></div>Chirag Garg<br></div>IIT Madras , Rise Lab<br></div></div></div>
<br><div class="gmail_quote">On Wed, Feb 11, 2015 at 4:12 PM, Stefan Kalkowski <span dir="ltr"><<a href="mailto:stefan.kalkowski@...1..." target="_blank">stefan.kalkowski@...1...</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 02/04/2015 01:19 PM, chirag garg wrote:<br>
> Hi all,<br>
><br>
> I was trying to understand the flow of framebuffer flow for given imx53<br>
> code in the following directory<br>
> repos/os/src/drivers/framebuffer/imx53/main.cc<br>
><br>
> In the main function, one static variable "session_component" has been<br>
> created which uses the "config_attribute" function defined in line<br>
> number 115 which expect a config file in build process.<br>
><br>
> What is the need of this config file with respect to framebuffer and<br>
> where should i found this config file in the repository because when i<br>
> run the framebuffer script it is not able to open config file?<br>
<br>
The config file's content of a framebuffer driver is dependent on the<br>
actual driver. For some drivers you can specify the resolution for<br>
instance. The framebuffer driver for the i.MX53 used the config file to<br>
determine, whether it has to buffer write attempts of the client, or if<br>
the client directly writes to the framebuffer itself. A corresponding<br>
configuration looks like the following:<br>
<br>
  <config buffered="yes"/><br>
<br>
The configuration is optional, you see the try-catch clause around the<br>
config file access. If there is no config file for the driver available,<br>
it uses a default value (not buffered).<br>
<br>
Configuration files for Genode components are typically part of the<br>
whole system configuration delivered to the first init process of the<br>
system. Such configurations can be found in the different run-scripts of<br>
the Genode repositories. Have a look at the preliminary version of the<br>
Genode manual section 6:<br>
<br>
<br>
<a href="http://genode.org/files/e01096b9ffe3f416157f6ec46c467725/manual-2015-01-23.pdf" target="_blank">http://genode.org/files/e01096b9ffe3f416157f6ec46c467725/manual-2015-01-23.pdf</a><br>
<br>
Regards<br>
Stefan<br>
<br>
><br>
> Regards<br>
><br>
> Chirag Garg<br>
> IIT Madras , Rise Lab<br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> Dive into the World of Parallel Programming. The Go Parallel Website,<br>
> sponsored by Intel and developed in partnership with Slashdot Media, is your<br>
> hub for all things parallel software development, from weekly thought<br>
> leadership blogs to news, videos, case studies, tutorials and more. Take a<br>
> look and join the conversation now. <a href="http://goparallel.sourceforge.net/" target="_blank">http://goparallel.sourceforge.net/</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> genode-main mailing list<br>
> <a href="mailto:genode-main@lists.sourceforge.net">genode-main@...49....sourceforge.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>
<br>
--<br>
Stefan Kalkowski<br>
Genode Labs<br>
<br>
<a href="http://www.genode-labs.com/" target="_blank">http://www.genode-labs.com/</a> · <a href="http://genode.org/" target="_blank">http://genode.org/</a><br>
<br>
------------------------------------------------------------------------------<br>
Dive into the World of Parallel Programming. The Go Parallel Website,<br>
sponsored by Intel and developed in partnership with Slashdot Media, is your<br>
hub for all things parallel software development, from weekly thought<br>
leadership blogs to news, videos, case studies, tutorials and more. Take a<br>
look and join the conversation now. <a href="http://goparallel.sourceforge.net/" target="_blank">http://goparallel.sourceforge.net/</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>
</blockquote></div><br></div>