Hi Martin, thank you so much! it works for me.

Now I just need to use the sd_card driver with Genode trustzone feature (hw_imx53_qsb_tz). I tried to incorporate sd_card driver with tz_vmm run script and make run/tz_vmm. I get the following log messages and it gets stuck. it doesn't even run tz_vmm application. I appreciate if you can give me some hints to fix this.

kernel initialized
Genode 15.08
int main(): create local services
int main(): start init
int main(): transferred 248 MB to init
int main(): init created, waiting for exit condition

[init -> sd_card_drv] Could not open ROM session for module "config
[init -> sd_card_drv] Could not obtain config file
[init -> sd_card_drv] no VFS configured
[init -> sd_card_drv] --- Imx53 SD card driver ---

thanks,

On Wed, Nov 11, 2015 at 3:03 PM, Martin Stein <martin.stein@...1...> wrote:
Hey Joseph,

Am 11.11.2015 um 00:53 schrieb Joseph Lee:
> Can anyone please tell me something about 'Completion host signal timed out' error message?

You get this message because the SDHC driver timed out when waiting for
the host state that signals that both the command and the transfer of a
multi-block access completed. In short, either one of the bits
"transfer-complete"/"command-complete" is missing or an unexpected IRQ
(e.g. an error) was raised. This may be a bug in the driver. To make
sure which is the case, could you please replace

   if (!wait_for<Irqstat>(irq_goal, _delayer)) {
      PERR("Completion host signal timed out");

in [1] with

   if (!wait_for<Irqstat>(irq_goal, _delayer, 3000)) {
      PERR("Completion host signal timed out %x", read<Irqstat>());

and post the new log (I also raised the time out, just in case that the
operation simple takes longer in your case).

Could you please also send me your custom sd_card.run file to enable me
to reproduce your scenario (assuming you modified nothing else)?

Cheers,
Martin

[2] repos/os/src/drivers/sd_card/spec/imx53/esdhcv2.cc: line 116

------------------------------------------------------------------------------
_______________________________________________
genode-main mailing list
genode-main@...12...ceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main