From: Faiz Abbas <faiz_abbas@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 7/8] configs: j721e_evm_a72: Add Support for GPT partitions
Date: Tue, 19 Nov 2019 13:49:24 +0530 [thread overview]
Message-ID: <20191119081925.19497-8-faiz_abbas@ti.com> (raw)
In-Reply-To: <20191119081925.19497-1-faiz_abbas@ti.com>
Add CONFIG_CMD_GPT to help write GPT partitions to the eMMC. Also introduce
a default GPT partition table.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
---
configs/j721e_evm_a72_defconfig | 1 +
include/configs/j721e_evm.h | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
index 1b69817732..8b70f11a21 100644
--- a/configs/j721e_evm_a72_defconfig
+++ b/configs/j721e_evm_a72_defconfig
@@ -33,6 +33,7 @@ CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000
CONFIG_SPL_YMODEM_SUPPORT=y
CONFIG_CMD_ASKENV=y
# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_GPT=y
CONFIG_CMD_MMC=y
CONFIG_CMD_MTD=y
CONFIG_CMD_REMOTEPROC=y
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 639d87a4e5..c7a6cd4fab 100644
--- a/include/configs/j721e_evm.h
+++ b/include/configs/j721e_evm.h
@@ -72,6 +72,11 @@
"args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000\0" \
"run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}\0"
+#define PARTS_DEFAULT \
+ /* Linux partitions */ \
+ "uuid_disk=${uuid_gpt_disk};" \
+ "name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}\0"
+
/* U-Boot MMC-specific configuration */
#define EXTRA_ENV_J721E_BOARD_SETTINGS_MMC \
"boot=mmc\0" \
@@ -89,6 +94,7 @@
"load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && " \
"fdt apply ${overlayaddr};" \
"done;\0" \
+ "partitions=" PARTS_DEFAULT \
"get_kern_mmc=load mmc ${bootpart} ${loadaddr} " \
"${bootdir}/${name_kern}\0"
--
2.19.2
next prev parent reply other threads:[~2019-11-19 8:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 8:19 [U-Boot] [PATCH 0/8] Add Support for MMC/SD in J721e Faiz Abbas
2019-11-19 8:19 ` [U-Boot] [PATCH 1/8] mmc: am654_sdhci: Get Xin clock by name Faiz Abbas
2019-11-19 8:19 ` [U-Boot] [PATCH 2/8] mmc: am654_sdhci: Add Support for configuring PHY in J721e Faiz Abbas
2019-11-19 8:19 ` [U-Boot] [PATCH 3/8] arm: dts: k3-j721e-common-proc-board: Remove voltage-ranges from sdhci nodes Faiz Abbas
2019-11-19 8:19 ` [U-Boot] [PATCH 4/8] arm: dts: k3-j721e-common-proc-board: Add pinmux for SD card Faiz Abbas
2019-11-19 8:19 ` [U-Boot] [PATCH 5/8] configs: j721e_evm: Add configs for ADMA Support Faiz Abbas
2019-11-19 8:19 ` [U-Boot] [PATCH 6/8] configs: j721e_evm_a72: Enable FAT_WRITE Faiz Abbas
2019-11-19 8:19 ` Faiz Abbas [this message]
2019-11-19 8:19 ` [U-Boot] [PATCH 8/8] configs: j721e_evm_r5: Add configs for environment in eMMC Faiz Abbas
2020-01-07 11:22 ` [PATCH 0/8] Add Support for MMC/SD in J721e Faiz Abbas
2020-01-08 1:14 ` Peng Fan
2020-01-10 8:03 ` Faiz Abbas
2020-01-16 13:16 ` Lokesh Vutla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191119081925.19497-8-faiz_abbas@ti.com \
--to=faiz_abbas@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox