Skip to contentSkip to conversation

Re-enabled DuoVero platform

PATCH New Ash Charles 2 participants 5 messages May 5, 2016 – May 6, 2016

lore
Share & tools
lore
#0 lore raw

cover Re-enabled DuoVero platform

The Gumstix DuoVero board isn't compiling currently. These patches get it compiling and booting again.

Ash Charles (2):
omap4: load files for legacy boot
omap4: duovero: Disable EFI booting

 include/configs/duovero.h         | 1 +
 include/configs/ti_omap4_common.h | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/2 omap4: load files for legacy boot

Be sure to load the zImage and fdtfile prior to actually booting in case we are doing a legacy boot.

---
 include/configs/ti_omap4_common.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
include/configs/ti_omap4_common.h +4 -1
index 586d848..5fad3c1 100644
@@ -122,7 +122,10 @@
 	"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
 	"mmcboot=echo Booting from mmc${mmcdev} ...; " \
 		"run args_mmc; " \
-		"bootz ${loadaddr} - ${fdtaddr}\0" \
+		"if run loadimage; then " \
+			"run loadfdt; " \
+			"bootz ${loadaddr} - ${fdtaddr}; " \
+		"fi;\0" \
 	"uimageboot=echo Booting from mmc${mmcdev} ...; " \
 		"run args_mmc; " \
 		"bootm ${loadaddr}\0" \
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/2 omap4: load files for legacy boot

Quoted 4 lines · Ash Charles

Be sure to load the zImage and fdtfile prior to actually booting in case we are doing a legacy boot.

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: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160506/7583cdba/attachment.sig>
#3 lore raw

PATCH 2/2 omap4: duovero: Disable EFI booting

In reply to Ash Charles

The DuoVero board fails to compile with EFI enabled as the generated binaries are too large. As this platform doesn't currently need EFI, disable this feature.

---
 include/configs/duovero.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/duovero.h +1 -0
index bb3ba55..48f768e 100644
@@ -22,6 +22,7 @@
 #include <configs/ti_omap4_common.h>
 
 #undef CONFIG_SPL_OS_BOOT
+#undef CONFIG_EFI_PARTITION
 
 #undef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
 #define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION
Signature · 1 line
2.1.4
#4 lore raw

PATCH 2/2 omap4: duovero: Disable EFI booting

Quoted 5 lines · Ash Charles

The DuoVero board fails to compile with EFI enabled as the generated binaries are too large. As this platform doesn't currently need EFI, disable this feature.

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: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160506/f15e9e7b/attachment.sig>