From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Sat, 12 Mar 2016 20:36:12 -0800 Subject: How to load initramfs only on-demand? In-Reply-To: References: Message-ID: <20160313043612.GA6757@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sat, Mar 12, 2016 at 04:29:08PM +0800, Woody Wu wrote: > My question is, is there such a kernel parameter to do the job? Probably there > is a non-parameter solution like passing?the initramfs address in a register > when a boot loader transfer control to the kernel, but this is not an option to > me since my boot loader (u-boot) does not support doing this.?Thanks. You have the source to your bootloader, I suggest you fix that up to support this if you want it, not much the kernel can do on it's own here, sorry. good luck! greg k-h