Hello Martin,
Thank you very much for your help!
Your correction fixed the issue.
Best regards,
Mahdi
>put the l4x_register_platform_device_callback behind the #endif.
> l4x_register_platform_device_callback("aaci", aaci_cb);
> #endif
> l4x_register_platform_device_callback("imx6q-fec.dev",
imx6q_device_cb_fec);
> }
On Thu, Oct 29, 2015 at 3:09 PM, Martin Schröder <
martin.schroeder(a)openlimit.com> wrote:
> Hi,
>
> Am 29.10.2015 um 14:42 schrieb Mahdi Aichouch:
>
>> Hello,
>>
>> Starting from a previous work [1] , I ported the i.MX6 FEC ethernet
>> device driver to L4Linux (l4re-snapshot-2014092821).
>>
>> There is no compilation error, but when I tested on the Freescale i.MX6
>> Sabre SDB, it seems that L4Linux does not start the device.
>> Below are the boot messages of L4 Fiasco + L4Linux.
>>
>> Does someone have an idea of what might be missing or wrong.
>>
>> To reproduce the test case using l4re-snapshot-2014092821, all
>> configuration files and patches are given below.
>>
>> Thank you very much in advance.
>>
> >
> > [...]
> >
>
>> static int dev_init_done;
>> @@ -238,6 +307,7 @@
>> l4x_register_platform_device_callback("compactflash",
>> realview_device_cb_pata);
>> l4x_register_platform_device_callback("smsc911x",
>> realview_device_cb_smsc);
>> l4x_register_platform_device_callback("aaci", aaci_cb);
>> +l4x_register_platform_device_callback("imx6q-fec.dev",
>> imx6q_device_cb_fec);
>> #endif
>> }
>>
>
> put the l4x_register_platform_device_callback behind the #endif.
>
> > l4x_register_platform_device_callback("aaci", aaci_cb);
> > #endif
> > l4x_register_platform_device_callback("imx6q-fec.dev",
> imx6q_device_cb_fec);
> > }
>
>
> Martin
>