From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 20 Jun 2018 17:01:17 +0900 Subject: How to correctly load a driver without device tree? In-Reply-To: <4c3432d4.7dbf.1641be90140.Coremail.kipade@163.com> References: <4c3432d4.7dbf.1641be90140.Coremail.kipade@163.com> Message-ID: <20180620080117.GA6735@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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?