From cdbad5a787b89364702894a37da0710ce2db4c26 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Mon, 19 Oct 2015 09:55:41 +0900 Subject: [PATCH] artik: configs: set ramfsboot to default boot method This patch changes the default boot method from mmcboot to ramfsboot which is booted from initrd. Change-Id: I01cfc644dc059c01fd873f48f2c529f99d64d6e0 Signed-off-by: Chanho Park --- include/configs/artik_common.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/configs/artik_common.h b/include/configs/artik_common.h index 4d8271463..a5c8638d4 100644 --- a/include/configs/artik_common.h +++ b/include/configs/artik_common.h @@ -283,13 +283,15 @@ "android_format=gpt write mmc 0 $partitions_android;" \ "setenv bootcmd run android_boot;" \ "saveenv; mmc rescan; fastboot\0" \ - "ramfsboot=run sdrecovery;" \ - "setenv bootargs ${console} root=/dev/ram0 " \ - "rootfstype=ext2 ${opts} recovery;" \ + "recoveryboot=run sdrecovery; setenv recoverymode recovery;" \ + "run ramfsboot\0" \ + "ramfsboot=setenv bootargs ${console} " \ + "root=/dev/mmcblk${rootdev}p${rootpart} ${root_rw} " \ + "rootfstype=ext4 ${opts} ${recoverymode};" \ "run boot_cmd_initrd\0" \ "mmcboot=setenv bootargs ${console} " \ "root=/dev/mmcblk${rootdev}p${rootpart} ${root_rw} " \ "rootfstype=ext4 ${opts};run boot_cmd\0" \ - "bootcmd=run mmcboot\0" + "bootcmd=run ramfsboot\0" #endif /* __ARTIK_COMMON_H */ -- 2.34.1