Re: Porting i.MX6 FEC ethernet device driver to L4Linux (l4re-snapshot-2014092821)

Mahdi Aichouch <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CAGBLRX46HuwgrTFFQEj6PBEU7Pt9KKWbCqJ=f=ATsWR2KEcvHA@mail.gmail.com>
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 <
[email protected]> 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
>

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.