summaryrefslogtreecommitdiffstats
path: root/include/configs/k2g_evm.h
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2016-03-09 15:39:38 +0530
committerTom Rini <trini@konsulko.com>2016-03-15 21:30:18 -0400
commitabca947746063e53e3aeadd5b809b4a7be913acf (patch)
tree59357ddf2650006581493f3abd8f076d05af72a9 /include/configs/k2g_evm.h
parent84fe28382c707786394218821568abc2645b6c0e (diff)
downloadtalos-obmc-uboot-abca947746063e53e3aeadd5b809b4a7be913acf.tar.gz
talos-obmc-uboot-abca947746063e53e3aeadd5b809b4a7be913acf.zip
keystone2: env: add env script for booting with an initramfs with firmware
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 <m-karicheri2@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/k2g_evm.h')
-rw-r--r--include/configs/k2g_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index 2c70df1f43..2e477635c5 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -21,6 +21,7 @@
"console=ttyS0,115200n8\0" \
"bootpart=0:2\0" \
"bootdir=/boot\0" \
+ "rd_spec=-\0" \
"addr_mon=0x0c040000\0" \
"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \
"root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0" \
@@ -34,6 +35,7 @@
"get_kern_mmc=load mmc ${bootpart} ${loadaddr} " \
"${bootdir}/${name_kern}\0" \
"get_mon_mmc=load mmc ${bootpart} ${addr_mon} ${bootdir}/${name_mon}\0"\
+ "name_fs=arago-base-tisdk-image-k2g-evm.cpio\0"
#define CONFIG_BOOTCOMMAND \
"run envboot; " \
OpenPOWER on IntegriCloud