<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I don't use systemd on my arm linux board. I use init.<br>
My system is booting with device tree. But, some node<br>
were destroyed after booting completed. So, when<br>
I use insmod loading the driver, it would match no<br>
device.<br>
<br>
<div class="moz-cite-prefix">On 2018年06月20日 16:58, Gajjar Akash
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAqBNVzA7S-i6FzuCB2-4Uvj11Hb=eoKaEiuDdZkeJTOr1WS0w@mail.gmail.com">
<div dir="auto"><span style="font-family:sans-serif">Hi there, </span>
<div dir="auto" style="font-family:sans-serif"><br>
</div>
<div dir="auto" style="font-family:sans-serif">If you are using
systemd, you can make your own Target like early.target and
load modules without udev.</div>
<div dir="auto" style="font-family:sans-serif"><br>
</div>
<div dir="auto" style="font-family:sans-serif">But you need to
load modules without device tree, I guess that's not possible.</div>
<div dir="auto" style="font-family:sans-serif"><br>
</div>
<div dir="auto" style="font-family:sans-serif">your system is
booting without device tree?</div>
<div dir="auto" style="font-family:sans-serif"><br>
</div>
<div dir="auto" style="font-family:sans-serif">Thanks,</div>
<div dir="auto" style="font-family:sans-serif">Akash</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Jun 20, 2018, 14:03 kipade <<a
href="mailto:kipade@163.com" moz-do-not-send="true">kipade@163.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">That's a usb
host driver. As I know, the whole usb subsystem<br>
initialization would take up to 2 seconds while booting. In<br>
another word, that will make the system booting time more<br>
longer. So, I have to build all the usb driver as module and<br>
insert them latter, when the system was usable.<br>
<br>
On 2018年06月20日 16:01, Greg KH wrote:<br>
> On Wed, Jun 20, 2018 at 02:36:52PM +0800, kipade wrote:<br>
>> Now, most of kernel device are initialized by its
driver according by<br>
>> what described within device tree block. Here, the
dtb was parsed<br>
>> and used during kernel booting. If so, I want to load
a device driver<br>
>> after kernel booting using insmod, there would be no
device tree<br>
>> block present, so, the device would not be configured
correctly.<br>
>> so, how to make it usable?<br>
> Why can you not build it into your kernel?<br>
><br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org"
target="_blank" rel="noreferrer" moz-do-not-send="true">Kernelnewbies@kernelnewbies.org</a><br>
> <a
href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org"
target="_blank" rel="noreferrer" moz-do-not-send="true">Kernelnewbies@kernelnewbies.org</a><br>
<a
href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>