From: Chanho Park Date: Thu, 22 Oct 2015 07:02:14 +0000 (+0900) Subject: artik: configs: support modules partition X-Git-Tag: submit/tizen/20160318.071304~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54a85e5da2b8c9476bf8934eabece346e245319e;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik.git artik: configs: support modules partition This patch adds a modules partition which contains kernel modules. The size of partition is 32MB and located in second partition. Change-Id: Id4178f90f769b8f1ab1dfe135669f911f24a4a99 Signed-off-by: Chanho Park --- diff --git a/include/configs/artik_common.h b/include/configs/artik_common.h index a5c8638d4..47c8a29ff 100644 --- a/include/configs/artik_common.h +++ b/include/configs/artik_common.h @@ -228,17 +228,21 @@ #define CONFIG_ROOTFS_ATAGS #define CONFIG_ROOTFS_LEN 100000 -#define CONFIG_BOOT_PART_SIZE 64 +#define CONFIG_BOOT_PART_SIZE 32 +#define CONFIG_MODULE_PART_SIZE 32 #define CONFIG_ROOTFS_PART_SIZE 3072 #define CONFIG_ROOT_DEV 0 #define CONFIG_BOOT_PART 1 -#define CONFIG_ROOT_PART 2 +#define CONFIG_MODULE_PART 2 +#define CONFIG_ROOT_PART 3 #define PARTS_DEFAULT \ "uuid_disk=${uuid_gpt_disk};" \ "name=boot,start=1MiB,size=" __stringify(CONFIG_BOOT_PART_SIZE) \ "MiB,uuid=${uuid_gpt_boot};" \ + "name=modules,size=" __stringify(CONFIG_MODULE_PART_SIZE) \ + "MiB,uuid=${uuid_gpt_module};" \ "name=rootfs,size=-,uuid=${uuid_gpt_rootfs}\0" #define PARTS_ANDROID \ @@ -268,7 +272,7 @@ "fdtaddr=40800000\0" \ "initrd_file=uInitrd\0" \ "initrd_addr=43000000\0" \ - "sdrecovery=sdfuse format; sdfuse flashall 2\0" \ + "sdrecovery=sdfuse format; sdfuse flashall 3\0" \ "boot_cmd=fatload mmc 0:1 $kernel_addr $kernel_file;" \ "fatload mmc 0:1 $fdtaddr $fdtfile;" \ "bootz $kernel_addr - $fdtaddr\0" \