From: kipade@163.com (kipade) Date: Wed, 20 Jun 2018 16:30:40 +0800 Subject: How to correctly load a driver without device tree? In-Reply-To: <20180620080117.GA6735@kroah.com> References: <4c3432d4.7dbf.1641be90140.Coremail.kipade@163.com> <20180620080117.GA6735@kroah.com> Message-ID: <578ab0bd-b8e1-8270-bc04-dc12cf6f8ddb@163.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org That's a usb host driver. As I know, the whole usb subsystem initialization would take up to 2 seconds while booting. In another word, that will make the system booting time more longer. So, I have to build all the usb driver as module and insert them latter, when the system was usable. On 2018?06?20? 16:01, Greg KH wrote: > On Wed, Jun 20, 2018 at 02:36:52PM +0800, kipade wrote: >> Now, most of kernel device are initialized by its driver according by >> what described within device tree block. Here, the dtb was parsed >> and used during kernel booting. If so, I want to load a device driver >> after kernel booting using insmod, there would be no device tree >> block present, so, the device would not be configured correctly. >> so, how to make it usable? > Why can you not build it into your kernel? > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies