[U-Boot] [PATCH 2/2] configs: sama5d2_ptc_ek: add default bootargs for MMC defconfig

Eugen Hristev eugen.hristev at microchip.com
Mon Oct 8 07:37:00 UTC 2018


Add default bootargs for the MMC defconfig to use SD-Card as rootfs

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
 configs/sama5d2_ptc_ek_mmc_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/sama5d2_ptc_ek_mmc_defconfig b/configs/sama5d2_ptc_ek_mmc_defconfig
index 147f9c9..e40ee00 100644
--- a/configs/sama5d2_ptc_ek_mmc_defconfig
+++ b/configs/sama5d2_ptc_ek_mmc_defconfig
@@ -13,6 +13,8 @@ CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"
 CONFIG_CONSOLE_MUX=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
-- 
2.7.4



More information about the U-Boot mailing list