From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 16 Mar 2016 22:04:38 -0400 Subject: [U-Boot] [U-Boot, 09/10] keystone2: env: add env script for booting with an initramfs with firmware In-Reply-To: <1457518179-25947-10-git-send-email-lokeshvutla@ti.com> References: <1457518179-25947-10-git-send-email-lokeshvutla@ti.com> Message-ID: <20160317020438.GU23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 09, 2016 at 03:39:38PM +0530, Lokesh Vutla wrote: > From: Murali Karicheri > > This patch updates the env script to include a initramfs with firmware > loaded and provided to kernel through second argument of bootz command > during boot. Defined DEFAULT_FW_INITRAMFS_BOOT_ENV to have all of the > required env variables and use it in evm specific config file. > > The K2 linux drivers for PCIe and NetCP (1G, 10G) requires serdes > firmwares. These requires firmware to be available early through the boot > process in some cases to satisfy firmware requests from driver. Hence use > a small initramfs to provide the same and update boot env to accommodate > this in the boot flow. This method is used when rootfs is nfs and ubifs. > This fs contains just lib/firmware folder with all required firmware. > > When rootfs is on initramfs, then the filesystem has the firmware under > lib/firmware and this early initramfs is not required and is not used. > > Signed-off-by: Murali Karicheri > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: