Skip to contentSkip to conversation

config_distro_bootcmd.h: Enable CONFIG_CMD_PART

PATCH Superseded Hans de Goede 3 participants 4 messages Feb 7, 2015 – Feb 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 config_distro_bootcmd.h: Enable CONFIG_CMD_PART

Hi Stephen & Tom,

Here is v2 of the patch to fix config_distro_bootcmd usage for sunxi (and possibly others). As requested I've removed the enabling of CONFIG_CMD_PART to config_distro_bootcmd.h .

Stephen, can you please review and ack ?

Tom, can you please merge this once acked ?

Regards,

Hans

#1 lore raw

PATCH v2 1/1 config_distro_bootcmd.h: Enable CONFIG_CMD_PART

The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be defined, as the default bootcmd now uses the "part" command.

This fixes sunxi boards not booting with v2015.04-rc1.

---
 include/config_distro_bootcmd.h | 4 ++++
 1 file changed, 4 insertions(+)
include/config_distro_bootcmd.h +4 -0
index 49674f4..07a0b3b 100644
@@ -10,6 +10,10 @@
 #ifndef _CONFIG_CMD_DISTRO_BOOTCMD_H
 #define _CONFIG_CMD_DISTRO_BOOTCMD_H
 
+/* We need the part command */
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #define BOOTENV_SHARED_BLKDEV_BODY(devtypel) \
 		"if " #devtypel " dev ${devnum}; then " \
 			"setenv devtype " #devtypel "; " \
Signature · 1 line
2.2.2
#2 lore raw

PATCH v2 1/1 config_distro_bootcmd.h: Enable CONFIG_CMD_PART

Quoted 4 lines · Hans de Goede

The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be defined, as the default bootcmd now uses the "part" command.

This fixes sunxi boards not booting with v2015.04-rc1.

#3 lore raw

PATCH v2 1/1 config_distro_bootcmd.h: Enable CONFIG_CMD_PART

In reply to Hans de Goede
Quoted 7 lines · Hans de Goede

The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be defined, as the default bootcmd now uses the "part" command.

This fixes sunxi boards not booting with v2015.04-rc1.

Applied to u-boot/master, thanks!

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