Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3078461pxu; Tue, 8 Dec 2020 03:02:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJylL90zeCCVkY4i2WVpo5VNTzDfvmcetLyPZD6wbGq4s0MDwomczXQmWfT8OS4dwdNeu1/X X-Received: by 2002:aa7:dc4b:: with SMTP id g11mr24930501edu.379.1607425347684; Tue, 08 Dec 2020 03:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607425347; cv=none; d=google.com; s=arc-20160816; b=kiVorGHYJqLQwYVPrXkkhZx8I4ujAelEYy/g7R9RoE6siiwA0KAopNFu1Yu4gJHdod 2heJ4NCi4w2K6QzziI/5CSOJpn86lzGmuOUdDZJgDVrm4uqpJBCyw8cvt2TxsotkzFl8 K5i+L/9rF+8wkyEcD4qbwv5kbZQXajVR5yKFtU2ZIfTLGSETfR7ptWMcDaSgDARBwGZ/ PixJQfwpD89oKZ7WLKbuxQ1zz9E07/X/fYuLESnAM10bjMOqX4gRThAEcAN9gQHvIY3s 6uMb6RS5tNFliPMMWXOFuNUqe6m491Kltm7FiUG28EmSFUv+mcNyOAAH7nTyUIVKRqhs 0tgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=HlpSjiJLdxKHfOV/EQYpqUcPqEQzFmZQvG/1Gsejey8=; b=EUK3juTo4PT+uvhaDSbbDiRf5D/JpsVjFKUY5rhhNApXF/r5pYs1pia+csuoh2F5vr xbQZCai1/ThO2Ndq4EOEFvlUOAXJi4S5FtHiYANF/THQcxT36IXfnUy6R/Z2sHp+vHnn zAcSM4EyY0A57VaQeRML0+zNnLCuSOt1x2qvygJpeFKKwPil98liG+gxWzIe7faXO9oz 7tYFq6EsrzIvrmUTpOLKwqpHxjqgWR8sXILOy/lKXOAmDqrYlsLOXQ77OoUAEcrbvFtg DfQRAJg2Or1+FGc0cT1IEg8NWamM26RjCeUfdKzKZiLWxUMBybH1iOX5SgsUKVpl2xen 9NaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si10091145edv.243.2020.12.08.03.02.05; Tue, 08 Dec 2020 03:02:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729167AbgLHK7Y (ORCPT + 99 others); Tue, 8 Dec 2020 05:59:24 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:53153 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728780AbgLHK7Y (ORCPT ); Tue, 8 Dec 2020 05:59:24 -0500 Received: from [192.168.0.3] (ip5f5af449.dynamic.kabel-deutschland.de [95.90.244.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 91CC820647B77; Tue, 8 Dec 2020 11:58:41 +0100 (CET) Subject: Re: Pass modules to Linux kernel without initrd To: "Enrico Weigelt, metux IT consult" , LKML Cc: Luis Chamberlain , Hans de Goede , Ben Hutchings References: <6fbaf375-389d-6581-55a1-78bbe2852e2d@molgen.mpg.de> <8aac3537-e84b-057d-94d8-0327261daaf8@metux.net> From: Paul Menzel Message-ID: <2f67eee5-b613-43ef-7790-7f29f203c808@molgen.mpg.de> Date: Tue, 8 Dec 2020 11:58:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <8aac3537-e84b-057d-94d8-0327261daaf8@metux.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Enrico, Am 08.12.20 um 10:38 schrieb Enrico Weigelt, metux IT consult: > On 08.12.20 10:24, Paul Menzel wrote: > >> Similar to passing firmware and microcode update files to Linux or >> building these into the Linux kernel image, would it be possible to >> append the required modules to the Linux kernel image, and Linux would >> load these? > > Indeed, yes it does. Just set the corresponding CONFIG_ symbols to 'y' > instead of 'm'. If you don't need to dynamically load any modules > (already have everything you need compiled-in), you can completely > disable module support via disabling CONFIG_MODULES. […] Thank you. I know this and do it myself. But, the requirement is to use the distribution Linux kernel (package). I am sorry for being unclear. Kind regards, Paul