Skip to contentSkip to conversation

am335x_evm: Enable GPT commands

PATCH New Tom Rini 1 participant 6 messages Jan 21, 2014 – Feb 21, 2014

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/3 am335x_evm: Enable GPT commands

---
 include/configs/am335x_evm.h |   11 +++++++++++
 1 file changed, 11 insertions(+)
include/configs/am335x_evm.h +11 -0
index 73a9adb..07c1b76 100644
@@ -31,6 +31,12 @@
 /* Always 128 KiB env size */
 #define CONFIG_ENV_SIZE			(128 << 10)
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #ifdef CONFIG_NAND
 #define NANDARGS \
 	"mtdids=" MTDIDS_DEFAULT "\0" \
@@ -64,6 +70,9 @@
 	"bootfile=zImage\0" \
 	"fdtfile=undefined\0" \
 	"console=ttyO0,115200n8\0" \
+	"partitions=" \
+		"uuid_disk=${uuid_gpt_disk};" \
+		"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
 	"optargs=\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 ro\0" \
@@ -295,6 +304,8 @@
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
 /* disable host part of MUSB in SPL */
 #undef CONFIG_MUSB_HOST
+/* disable partition UUID support */
+#undef CONFIG_PARTITION_UUIDS
 /*
  * Disable CPSW SPL support so we fit within the 101KiB limit.
  */
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/3 am335x_evm: Enable GPT commands

Quoted 34 lines · Tom Rini

---
include/configs/am335x_evm.h | 11 +++++++++++

 1 file changed, 11 insertions(+)
include/configs/am335x_evm.h +9 -0
index 73a9adb..07c1b76 100644
@@ -31,6 +31,12 @@
 /* Always 128 KiB env size */
 #define CONFIG_ENV_SIZE			(128 << 10)
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #ifdef CONFIG_NAND
 #define NANDARGS \
 	"mtdids=" MTDIDS_DEFAULT "\0" \
@@ -64,6 +70,9 @@
 	"bootfile=zImage\0" \
 	"fdtfile=undefined\0" \
 	"console=ttyO0,115200n8\0" \
+	"partitions=" \
+		"uuid_disk=${uuid_gpt_disk};" \
+		"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
 	"optargs=\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 ro\0" \

include/configs/am335x_evm.h line 311

Quoted 8 lines
include/configs/am335x_evm.h +2 -0
@@ -295,6 +304,8 @@
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
 /* disable host part of MUSB in SPL */
 #undef CONFIG_MUSB_HOST
+/* disable partition UUID support */
+#undef CONFIG_PARTITION_UUIDS
 /*
  * Disable CPSW SPL support so we fit within the 101KiB limit.
  */

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/16595ec2/attachment.pgp>
author
#2 lore raw

PATCH 2/3 am43xx_evm: Enable GPT commands

In reply to Tom Rini
---
 include/configs/am43xx_evm.h |    9 +++++++++
 1 file changed, 9 insertions(+)
include/configs/am43xx_evm.h +9 -0
index 4de495a..8d0929e 100644
@@ -79,6 +79,12 @@
 #define CONFIG_OMAP_USB_PHY
 #define CONFIG_AM437X_USB2PHY2_HOST
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x80200000\0" \
@@ -90,6 +96,9 @@
 	"bootdir=/boot\0" \
 	"bootfile=zImage\0" \
 	"console=ttyO0,115200n8\0" \
+	"partitions=" \
+		"uuid_disk=${uuid_gpt_disk};" \
+		"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
 	"optargs=\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \
Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH 2/3 am43xx_evm: Enable GPT commands

Quoted 24 lines · Tom Rini

---
include/configs/am43xx_evm.h | 9 +++++++++

 1 file changed, 9 insertions(+)
include/configs/am43xx_evm.h +6 -0
index 4de495a..8d0929e 100644
@@ -79,6 +79,12 @@
 #define CONFIG_OMAP_USB_PHY
 #define CONFIG_AM437X_USB2PHY2_HOST
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x80200000\0" \

include/configs/am43xx_evm.h line 104

Quoted 9 lines
include/configs/am43xx_evm.h +3 -0
@@ -90,6 +96,9 @@
 	"bootdir=/boot\0" \
 	"bootfile=zImage\0" \
 	"console=ttyO0,115200n8\0" \
+	"partitions=" \
+		"uuid_disk=${uuid_gpt_disk};" \
+		"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
 	"optargs=\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/666d9504/attachment.pgp>
author
#4 lore raw

PATCH 3/3 dra7xx_evm: Enable GPT commands

In reply to Tom Rini
---
 include/configs/dra7xx_evm.h |   11 +++++++++++
 1 file changed, 11 insertions(+)
include/configs/dra7xx_evm.h +11 -0
index f210ed8..94cfb5e 100644
@@ -34,8 +34,19 @@
 
 #define CONFIG_SYS_OMAP_ABE_SYSCK
 
+/* Define the default GPT table for eMMC */
+#define PARTS_DEFAULT \
+	"uuid_disk=${uuid_gpt_disk};" \
+	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
+
 #include <configs/omap5_common.h>
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 /* CPSW Ethernet */
 #define CONFIG_CMD_NET			/* 'bootp' and 'tftp' */
 #define CONFIG_CMD_DHCP
Signature · 1 line
1.7.9.5
author
#5 lore raw

PATCH 3/3 dra7xx_evm: Enable GPT commands

Quoted 20 lines · Tom Rini

---
include/configs/dra7xx_evm.h | 11 +++++++++++

 1 file changed, 11 insertions(+)
include/configs/dra7xx_evm.h +5 -0
index f210ed8..94cfb5e 100644
@@ -34,8 +34,19 @@
 
 #define CONFIG_SYS_OMAP_ABE_SYSCK
 
+/* Define the default GPT table for eMMC */
+#define PARTS_DEFAULT \
+	"uuid_disk=${uuid_gpt_disk};" \
+	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
+
 #include <configs/omap5_common.h>

include/configs/dra7xx_evm.h line 52

Quoted 10 lines
include/configs/dra7xx_evm.h +6 -0
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 /* CPSW Ethernet */
 #define CONFIG_CMD_NET			/* 'bootp' and 'tftp' */
 #define CONFIG_CMD_DHCP

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/e62cc701/attachment.pgp>